-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EnableWindowMode regression after v1.1.6900.22. Fallout Tactics crashes on startup #340
Comments
Thanks for reporting this. The logs don't have much in them to help, so I am kind of taking a guess at what it might be. Can you check with this build: dxwrapper.zip Note: if you still see issues with this build try enabling the Please tell me the results of your testing. |
Unfortunately didn't work. Tried EnableWindowMode with and without SetSwapEffectShim. Still same error. Log with both enabled: Fallout Tactics forces you to choose 16 or 32 color depth when choosing any resolution. The game can be launched with Dd7to9 if you change the game color depth config {display.bpp} = {32} to {display.bpp} = {0}, but this forces 800x600 windowed mode (without needing EnableWindowMode). When trying to select any resolution with ingame settings it crashes with the same error. Fallout Tactics supports shortcut commands: "-g" supports any resolution windowed mode with colors depth 16 or 32, allows using Dd7to9, but breaks startup videos (other videos work fine) and adds an annoying 2px wide border (not normal windows border) when trying to do borderless using FullScreen = 1 "-gdi" same behavior as "-g" |
Thanks for testing that. Can you try this update and see what the results are: dxwrapper.zip |
Tried it. No luck. |
Ok, thanks for your testing! I will need to get the game and debug it to see what is happening. |
Yeah no problem. Fallout Tactics usually sells at 2 bucks when it goes on sale, but no rush. Although I forgot to mention that I use the steam version, GOG might have additional compatibility fixes. Anyway v1.1.6900.22 runs flawlessly at 4k with EnableWindowMode=1 so I am doing a playthrough with that. |
Every version of dxwrapper I tested when setting Dd7to9 = 1 causes Fallout Tactics to display this startup error:
C:\dev\phoenix\display\win32\win32_window.cpp(873): fatal error: Could not create display buffers
Followed by Visual C++ runtime error (abnormal termination)
Using Google search it seems this error isn't exclusive to dxwrapper
But version v1.1.6900.22 and any older version with EnableWindowMode = 1 enabled fixes this error and makes the game ran much better (quicker alt tabbing and much smoother mouse movement)
Unfortunately any version v1.2.7200.25 and newer with EnableWindowMode = 1 causes fatal error
Fallout Tactics dxwrapper v1.2.7500.25 log with Dd7to9 and EnableWindowMode enabled (crashes):
dxwrapper-bos_hr.log
Fallout Tactics dxwrapper v1.1.6900.22 log with Dd7to9 and EnableWindowMode enabled (plays fine):
dxwrapper-bos_hr.log
The text was updated successfully, but these errors were encountered: