joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.67k stars 378 forks source link

Edge Scrolling not working in any version of SimCity for DOS #2880

Open ssybesma opened 3 years ago

ssybesma commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

When you install any version of SimCity for DOS, you will notice you cannot scroll the map by moving the mouse to the edges of the screen. For the first two versions of SimCity (Original v1.07 and Classic v2.0) this DOES work in vanilla DOSBox. In neither flavor of DOSBox does this edge scrolling work in SimCity for DOS Enhanced CD-ROM.

One key troubleshooting step I did that seems to indicate this is not supported is that I renamed config file for DOSBox and used that in place of config file for DOSBox-X. It does not matter of you select Aspect=True in Render section. DOSBox works with it set to False. Mouse capture enabled doesn't affect the issue as well. It's possible there are more commands for config file available for DOSBox-X than DOSBox and one of those could make this work...or else it has to be programmed in.

To Reproduce Steps to reproduce the behavior:

All you have to do is find SimCity for MS-DOS on archive.org and install it. All three versions should be there, but focus on SimCity (original) version 1.07 and SimCity Classic for DOS (version 2.0) in order to resolve this. You can later attempt to get this working with SimCity for DOS Enhanced CD-ROM which doesn't have a version number.

I can get all three versions for you. The game has been released to the Public Domain.

Expected behavior

The mouse when moved to any edge of the screen should allow the map to scroll in that direction.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

The conclusion I come up with is that it's either a programming enhancement that's needed or an unforseen setting in the config file that hasn't been tried yet

Allofich commented 2 years ago

Works fine for me. I installed from an image of SimCity 1.07 on 3.5" floppy. I chose the default installation options (installed to C:/SIMCITY, VGA/EGA at 640x350 w/color, no joystick, IBM sound) Running the game with default .conf options with the SDL1 x64 Visual Studio build, it scrolls just as expected when I put the mouse cursor at the edge of the screen.

Allofich commented 2 years ago

The problem is actually now happening for me, both with the v0.83.18 SDL1 x64 release and with the latest code (e82ad2b). It worked correctly when I tested a couple days ago, but now it doesn't seem to work whether I use no .conf or my usual one. I'm probably doing something differently, but I don't know what. I'll look into it again later.

ssybesma commented 2 years ago

Thank you Jon.

Hard to say where the 'bellybutton' is for that problem.

I haven't tried to play SimCity on DOSBox-X in a little while.

I'll start paying attention again.

It seems worth fixing...I suspect some games probably use similar type of scrolling based on same APIs.

(Don't know that SimCity did anything particularly weird.)

Everything back then was geared for MS-DOS.

I was one of the oddballs who loved DR DOS and Novell DOS, though.

Steve Sybesma

On 2021-10-22 13:40, Allofich wrote:

Wait, the problem does happen for me, trying with the v0.83.18 SDL1 x64 release. Let me try again with a build from the latest code...

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. Triage notifications on the go with GitHub Mobile for iOS [3] or Android [4].

Links:

[1] https://github.com/joncampbell123/dosbox-x/issues/2880#issuecomment-949913966 [2] https://github.com/notifications/unsubscribe-auth/AK7AT2PONWNSAZF5IEU4MTLUIG44RANCNFSM5DN3QG5A [3] https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 [4] https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub

Allofich commented 2 years ago

Oh I'm not Jon, that's @joncampbell123, the project maintainer.

Certainly would be good to get to the bottom of this. Hopefully I can find out what the difference is between when scrolling works and when it doesn't, since I've had both of them happen.

Edit: Scrolling is now working again, and I can't figure out how to make it not work. It's not .conf file contents, DOSBox-X version, or some change in the game files, because those are all the same as when it didn't work, so all I can think is maybe it's something Windows-related (maybe restarting my computer fixed it?) or there's some subtle difference in what I did when scrolling worked and when it didn't, like the timing that I clicked on something.

ssybesma commented 2 years ago

OK, sorry.

Yeah, that's a good one that once resolved could resolve related issues.

I really want to see DOSBox-X be very successful where a DOS VM in Virtualbox can be avoided.

Problem with Oracle is they don't care to make Virtualbox work better for DOS clients, whereas you care how well DOSBox-X works.

I donate monthly. I realize there is work involved and am glad to help in my own little way.

Steve

On 2021-10-22 21:29, Allofich wrote:

Oh I'm not Jon, that's @joncampbell123 [1], the project maintainer.

Certainly would be good to get to the bottom of this. Hopefully I can find out what the difference is between when scrolling works and when it doesn't, since I've had both of them happen.

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [2], or unsubscribe [3]. Triage notifications on the go with GitHub Mobile for iOS [4] or Android [5].

Links:

[1] https://github.com/joncampbell123 [2] https://github.com/joncampbell123/dosbox-x/issues/2880#issuecomment-950049614 [3] https://github.com/notifications/unsubscribe-auth/AK7AT2LGMD3TZDNGJC2WB3DUIITZJANCNFSM5DN3QG5A [4] https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 [5] https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub

Allofich commented 2 years ago

I can't reproduce the no-scrolling issue anymore. @ssybesma, do you still have the issue? Does it happen every time for you? If you still have the issue, can you please post the .conf and DOSBox-X version with which it happens?

ssybesma commented 2 years ago

Will try later this week. Got lots going on now.

It was a consistent issue with not one exception.

It involved the DOSBox-X version that was most current at the time I first reported the problem and I have not upgraded.

When I do try again, I'll see if there's an update, then run the game and share the .conf file with you through this email address.

So what you're saying is that it's scrolling properly, which is encouraging.

Thanks!

Steve Sybesma

On 2021-10-26 06:25, Allofich wrote:

I can't reproduce the no-scrolling issue anymore. @ssybesma [1], do you still have the issue? Does it happen every time for you? If you still have the issue, can you please post the .conf and DOSBox-X version with which it happens?

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [2], or unsubscribe [3]. Triage notifications on the go with GitHub Mobile for iOS [4] or Android [5].

Links:

[1] https://github.com/ssybesma [2] https://github.com/joncampbell123/dosbox-x/issues/2880#issuecomment-951886863 [3] https://github.com/notifications/unsubscribe-auth/AK7AT2JAW4DUVNDVDGALP53UI2M33ANCNFSM5DN3QG5A [4] https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 [5] https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub