dxwrapper icon indicating copy to clipboard operation
dxwrapper copied to clipboard

WinBolo fails in VMware

Open FunkyFr3sh opened this issue 1 year ago • 7 comments

Posting here so we don'T have to spam off-topic things in the other issue 😄

Game doesn't seem to work with the test build you posted, got many of these in the logs:

3936 03:29:17.199 m_IDirectDrawSurfaceX::ColorFill Error: invalid rect: {0,85,3,85}
3936 03:29:17.199 m_IDirectDrawSurfaceX::ColorFill Error: invalid rect: {12,85,15,85}
3936 03:29:17.199 m_IDirectDrawSurfaceX::ColorFill Error: invalid rect: {36,85,39,85}
3936 03:29:17.199 m_IDirectDrawSurfaceX::PresentSurfaceToWindow Error: Failed to copy surface: {574,325,613,410} -> {446,155,485,240}
3936 03:29:17.200 m_IDirectDrawSurfaceX::PresentSurfaceToWindow Error: Failed to copy surface: {149,442,621,477} -> {21,272,493,307}
3936 03:29:17.200 m_IDirectDrawSurfaceX::PresentSurfaceToWindow Error: Failed to copy surface: {590,255,597,269} -> {462,85,469,99}
3936 03:29:17.200 m_IDirectDrawSurfaceX::PresentSurfaceToWindow Error: Failed to copy surface: {590,269,597,283} -> {462,99,469,113}
3936 03:29:17.200 m_IDirectDrawSurfaceX::PresentSurfaceToWindow Error: Failed to copy surface: {478,400,538,423} -> {350,230,410,253}
3936 03:29:17.200 m_IDirectDrawSurfaceX::PresentSurfaceToWindow Error: Failed to copy surface: {571,197,611,237} -> {443,27,483,67}

To test just start the game and click on tutorial (this is where the actual gameplay starts)

FunkyFr3sh avatar May 24 '24 01:05 FunkyFr3sh

That is weird. Works fine for me. I tried both the tutorial and the practice.

Here is the debug build. Maybe this will give us some clues: dxwrapper.zip

elishacloud avatar May 24 '24 01:05 elishacloud

I forgot to mention that the game is actually closing (crashing?) once you get into the gameplay

Here's a log from my Win7 VM where the bug occurs:

dxwrapper-winbolo.log

FunkyFr3sh avatar May 24 '24 01:05 FunkyFr3sh

Do you have a Windows 10 to try with? I have not tested on Win7 in a long time.

elishacloud avatar May 24 '24 01:05 elishacloud

Same problem there^

https://github.com/elishacloud/dxwrapper/assets/8355237/e591e818-b322-4271-8b7d-97fddce20d59

FunkyFr3sh avatar May 24 '24 01:05 FunkyFr3sh

That is weird because it works fine for me.

https://github.com/elishacloud/dxwrapper/assets/25625456/c5ba14a2-366a-409b-983f-12a1f8db562e

For you, it looks like it is failing here:

3248 03:45:19.597 m_IDirectDrawSurfaceX::PresentSurfaceToWindow Error: Failed to copy surface: {621,247,661,287} -> {443,27,483,67}

The code that is failing is here, which runs this code here. I don't think I have ever seen that code fail. Must be something to do with your video card. I see you are using VMware. Do you have a physical device you can try on? I wonder if it is a VMware issue?

elishacloud avatar May 24 '24 03:05 elishacloud

I just tried it on VMware and I am seeing something similar. I am not sure if dxwrapper can support VMware. I need to look into what is happening.

elishacloud avatar May 24 '24 03:05 elishacloud

Ah right... Well, it's not that important I guess, just wanted to report it.

It does work in other games though, I got almost all of my games in these VM's and DxWrapper had no issues in there so far

FunkyFr3sh avatar May 24 '24 04:05 FunkyFr3sh

This is fixed with the latest build. Just enable the dd7to9 feature and it should work, even on VMware.

dxwrapper.zip

elishacloud avatar Oct 02 '24 22:10 elishacloud