JHRobotics / softgpu

SW and HW accelerated GPU driver for Windows 9x Virtual Machines
MIT License
662 stars 18 forks source link

Sims 1 issues on VMware Workstation 17.5.2 #95

Open dyharlan opened 1 month ago

dyharlan commented 1 month ago

Whenever I play the Sims 1 on Windows 98 with the latest driver, I get a corrupted screen on "system" ddraw mode, or no character models on "wine" mode image

JHRobotics commented 1 month ago

I’m still not able to solve this issue :-(

I looks like the game accessing VRAM surface directly, but this is problem on virtual GPU, because there isn’t HW mouse support in 16bpp and also missing switching framebuffers.

Maybe it can be solved by extra framebuffer spawning, but it'll takes some time (and maybe it'll be too slow).

JHRobotics commented 1 month ago

OK, when I tried to trace this bug, I found 2 nasty errors in lasted release, first one was that DDHAL not worked and second was, that surface line alignment was too large and it corrupted 800x600 resolution (made it something like 832x640). Now, when you update to 0.6.2024.37, The Sims with ddraw sets to "system" should work[^1].

[^1]: Cursor still flashing and drawing is relatively slow, but this is virtual GPU architecture problem and I can't solve it now.