-
Notifications
You must be signed in to change notification settings - Fork 92
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
Transport Giant Crashes After Launch #326
Comments
From the log it looks like dxwrapper is not even doing anything in the game. What settings do you have enabled? If the game is using DX7 or older I recommend enabling |
It's 2003 game, so it's using DX7. 'Dd7to9' was already enabled, but I managed to "skip" the crash by setting At the same time I started using dgVoodoo2 and it seems to work perfectly fine, and even allowed me to use 2k / 4k resolution with my small program: TransportGiantScreenResolutionLauncher. So I suppose dv2 is still overpowered wrapper for directX 7 thanks to their video card emulation. |
Ok, I didn't notice this before but it appears that dxwrapper is having an issue loading. It thinks it is already loaded. I may have a logic issue here. What stub(s) are you using and does dxwrapper only exist once in the folder? You don't accidentally have a renamed version of dxwrapper in there?
Here is an updated dxwrapper and ddraw stub. Let me know what happens with this update: dxwrapper.zip |
I only have The new log is: I guess it shows more now since there are And of course in the game it looks... bad. Just out of curiosity, I found this small .dll: https://github.com/UCyborg/LegacyD3DResolutionHack |
You shouldn't have both Try deleting |
Ahhh... I didn't expect the game to load .asi. But that's actually The new log is: However, there are many graphical bugs: The windowed mode worked, so dxwrapper is loading correctly. I'm still using |
Ok, that looks a lot better. The only thing I can see wrong are these:
Try enabling only |
With the default config and only I suppose it's at the moment when the game is trying to set a screen resolution. It always starts in 1024x768, and then switches to the saved (supported) or the other screen resolution. |
Ok, thanks. This looks like a similar issue to another game I have. I will have to debug this later. BTW: did you say that the game works in Windowed mode? Are you using dxwrapper's windowed mode or the game's windowed mode? |
The game has very limited graphics settings, so it only starts in the Full Screen mode, and since on-launch resolution is always 1024x768 it moves all other windows to different screens... very annoying, because I then need to move everything back with Win+Shift+Arrows. So by the Windowed mode, I meant that the game started in the windowed mode when I set it up to start this way in dxwrapper. That's how I knew that it's loading correctly. By the way, does dxwrapper use the screen resolution fix, like: https://github.com/UCyborg/LegacyD3DResolutionHack ? For me it looks like with dxwrapper and:
It still fallbacks to FullHD, from 2560x1440. Even if in the game config it's:
This config-screen-resolution modification works fine in dgv2 as well as with that mentioned LegacyD3DResolutionHack, but not with dxwrapper. |
Yes. That code is enabled by default in dxwrapper, but is not needed when using
I don't recommend setting those options. Those are for specific use cases where you need to stretch the game window in dxwrapper. Try using this ini file: dxwrapper.zip |
Yeah, the same AppCrash with that .ini, and with HandleExceptions on 1 it has the mentioned graphics bugs. Regarding the resolution tweak, it still behaves differently. Normally that LegacyD3DResolutionHack or dgvoodo allow higher resolutions, but with dxwrapper it's never getting set to that one. |
I believe there is an exception in dxwrapper and some code is getting nulled out. dxwrapper queries all the resolutions and gives them all to the game. So you should see all resolutions in the game. However, when there is an exception it could cause any kind of effect. Try enabling the Edit: some games remember the resolution based on the video card. With dxwrapper the game may think there is a different video card and thus set the resolution differently (i.e. back to default). Once the game is working you can then set the in game resolution as you like. |
Ahh, somehow it worked now for the resolution. It's still not displaying in the game settings, but started after config file modification. I had to set the Windowed Mode to get there. So only this weird graphics bug is remaining where buildings / vehicles are invisible. Possibly related to that AppCrash. It's not a big deal though, since I still can play fine with dgv2, just wanted to report this issue to help improve dxwrapper. |
Is the game still crashing with |
Yes. and if additionally I don't think they hardcoded the resolutions on the list though. I did a lot of searching to find HEX with screen resolutions int displayed in not-too-long-code-distance (generally searched for multiple decimals in chunks of the binary to find the area with some of screen resolutions, but didn't find any). |
Hi. I was testing if dxwrapper works with Transport Giant (Steam Edition, as well as the Gog Version). It seems like there's an AppCrash right after game starts and the main menu is about to load (
FaultingOffset 00373e39
).The log doesn't show anything useful for me, but maybe it's just me :)
dxwrapper-transportgiant.log
I wonder what settings in dxwrapper.ini I could try to run it?
The text was updated successfully, but these errors were encountered: