Lyall / SMTVFix

A fix for ultrawide/narrower displays in Shin Megami Tensei V: Vengeance.
MIT License
94 stars 1 forks source link

Game won't start with versions above 0.8.3 #23

Closed Nashekni closed 4 months ago

Nashekni commented 4 months ago

Thank you for this amazing fix, but i tried updating it from version 0.8.3 to 0.8.6 and the game won't start. The log is created, but is empty. Tried with 0.8.4 and 0.8.5 and the game won't start with those too. Any idea to what may be causing this? I really want to try the GTAO and better LoD distance.

yakumomo011 commented 4 months ago

0.8.9 and 0.9.0 crashes the game randomly for me, tried troubleshooting with all the helpful tips here. Only 0.8.6 works for me.

fluxehub commented 4 months ago

Okay so mixed results then. I've put out v0.9.0 with more build optimisations removed. If you still encounter crashing, please try changing the ASI loader filename dsound.dll to d3d12.dll or d3d11.dll depending on what renderer you are using. Also try adding an ini file named d3d12.ini or d3d11.ini with the contents:

[GlobalSets]
DontLoadFromDllMain=0

If you are using Linux/Steam Deck, you'll need to change the launch command to reflect the new DLL name.

Still not working for me on Whisky and 0.9, tried dsound.dll, d3d12.dll and d3d11.dll with the respective renderers, and with the extra .ini file added and removed. All result in the same crash.

Messaika commented 4 months ago

Tried all the fixes in here, and the only thing that works outside .83 is .88 with the build1 fix. Have windows 11, Ryzen 5 3600x, ROG Strix X570F, and a RTX 3080.

Lyall commented 4 months ago

For those that are still having issues with crashing on startup, can you please try v0.9.1?

There are some changes there that may resolve the issue. For one, the C++ runtime is now statically linked, meaning that you shouldn't have to worry about having the right version of visual C++ runtimes installed. The second part is an injection delay parameter. You can increase this to try and delay when hooks are being added, this value may make a difference for certain users but you'll need to experiment.

fluxehub commented 4 months ago

0.9.1 works for me on macOS Whisky as long as I set the delay to 10 seconds! (there may be a lower working value but I didn't test) Everything still works as expected on my PC.

Kierek commented 4 months ago

0.9.1 works for me too(Linux), but with default delay. Thank you!

yakumomo011 commented 4 months ago

0.9.1 works perfectly, thanks for the update!

Messaika commented 4 months ago

Wooo! It works with no tampering now! Thanks~

Lyall commented 4 months ago

Alright it seems like this is fixed for most users now in v0.9.1. There's still possibly issues with the MS Store version but that's for another issue.