LostArtefacts / TRX

Open source re-implementation of Tomb Raider I and Tomb Raider II, along with additional enhancements and bugfixes
https://lostartefacts.dev/
GNU General Public License v3.0
594 stars 37 forks source link

"Failed to create device" when toggling fullscreen #1842

Open Richard-L opened 1 week ago

Richard-L commented 1 week ago

image

Using: https://github.com/LostArtefacts/TRX/releases/tag/tr2-0.6

When the game starts (in windowed mode), and you toggle fullscreen with ALT+ENTER, the error appears. I don't have access to vanilla PC TR2, and the vanilla tomb2.exe doesn't do anything anymore now when I try to run it. So can't verify OG bug on this hardware or not. This was the case because TR2X was still also running in the background.

In OG, it attempts to go to fullscreen, fails without notice, and after some time of a black screen returns to windowed mode.

rr- commented 1 week ago

What if you run the setup window and try to start in fullscreen mode from start?

Richard-L commented 1 week ago

I forget: Do I need to run TR2X.exe -setup or tomb2.exe -setup?

rr- commented 1 week ago

TR2X.exe -setup.

Richard-L commented 1 week ago

https://github.com/user-attachments/assets/40454467-a0f5-420e-a7f3-8179062efbf4

This will work, albeit 4:3 aspect ratio is disregarded.