[Runtime bug] Infinitely growing window - Xuan-Yuan Sword: Cloud of Han [and related titles]
Describe the bug
- Synopsis: When changing resolutions in-game, Xuan-Yuan Sword: The Cloud of Han will resize and begin infinitely growing in increments of ten pixels. This is believed to be an infinite loop similar to what has been observed with several Unity games, though this title was developed using RenderWare.
- Related issue: #178
- Remix version: 0.5.0 Release
- GPU: Geforce RTX 3080
- GPU Driver: Nvidia Studio 536.67
- Game version: Steam
The log (SwdHC_d3d9.log) as well as VS debugging will reveal that Remix is infinitely looping D3D9DeviceEx::ResetSwapChain, which was also observed with Unity titles in the #178 ticket.
Attach files! Report Info 2024-05-07.zip The following ZIP is packaged with logs and the rtx.conf file used for this title.
To Reproduce Note: Directions are written for Traditional Chinese version, labels may slightly differ if changed to Simplified. No English version is available. Steps to reproduce the behavior:
- Set up Remix 0.5.0 for this game.
- Go to '環境設定' (Settings- fourth option)
- Make sure the game is already in Windowed mode (視窗 on top bar)
- Change selected resolution in menu (second prompt in menu)
- Click 確認 (Accept) - Left option on bottom of menu
- Window will begin growing until application is terminated. I recommend having Task Manager ready to end SWDHC.exe if not using a debugger.
Expected behavior
- The window should resize to the desired resolution.
REMIX-3088 for tracking
Closing issue as it has been addressed and fixed while fixing a related issue with Unity 4/5 games.