ThirteenAG / GTAIV.EFLC.FusionFix

This project aims to fix or address some issues in Grand Theft Auto IV: The Complete Edition
GNU General Public License v3.0
918 stars 43 forks source link

Game doesn't load regardless if I launch it from Steam or from RGL #275

Closed honest4life closed 9 months ago

honest4life commented 9 months ago

Ever since I installed v2.1 of Fusion Fix, game is stuck on an endless loop trying to launch and after a few seconds, RGL will say "A game is currently running - Grand Theft Auto IV is currently running. By choosing to exit, Grand Theft Auto IV will be quit and any unsaved progress will be lost".

RGL problem

I also tried removing every other mod and installing only FusionFix to see if it is really a fusion fix issue or it is in conflict with some other mod. Again, the same result: Screenshot_12

Now, upon discovering, I checked the "CrashDumps" folder that I created in the root folder of GTA IV. I then noticed some files, which never appeared before because the game was loading up just fine with zero issues. I will add what I encountered in case if it is of any help:

GTAIV.exe.20231125204846.dmp GTAIV.exe.20231125204846.log

honest4life commented 9 months ago

I reverted back to v2.0 of Fusion Fix and the game loads up as it should. Only Fusion Fix was installed, no other mod was installed

honest4life commented 9 months ago

I also forgot to mention, this was tested on version 1.2.0.5.9. of GTA IV Complete Edition. No downgrades or anything like that Screenshot_13

ThirteenAG commented 9 months ago

Your crash dump looks like a crash that happens when RGL fails to launch the game for some reason. It happens even without any mods, randomly. Usually when fusion fix crashes, it's shown in the dump. Are you sure 2.1 doesn't work? It's not much different from 2.0, I see no reason for it to crash like that.

honest4life commented 9 months ago

A couple of hours later, I noticed FusionFix was updated again, 6 hours ago at the time I am writing this comment. Anyway, I decided to download the latest version again and this time, with nothing else besides FusionFix. Here are a couple of screenshots showcasing the error, as well as the date of the file FusionFix.asi file, in case it helps you. Oddly enough, now I didn't get any crashdumps in folder. And you also have a screenshot of my game's root folder to see if it is something there that it is installed oddly:

Screenshot_15 Screenshot_16 Screenshot_17

ThirteenAG commented 9 months ago

Go to task manager and kill gtaiv.exe process. Perhaps it's just stuck.

honest4life commented 9 months ago

I just did that. Still the same.

I even tried a PC restart and even uninstalling and reinstalling the game through Steam. Same result.

Here is a link with me using OBS in case it helps you what it is wrong: https://streamable.com/j164px

I also got two more crashdumps:

GTAIV.exe.20231126144654.log [Uploading GTAIV.exe.20231126143239.dmp…]()

ThirteenAG commented 9 months ago

I can't reproduce this, also tried to install clean steam version. When fusion fix crashes, your log should say something like: Unhandled exception at 0x6BEBED5F in GTAIV.EFLC.FusionFix.asi (+0x3ed5f): 0xC0000005: Access violation reading location 0x00000000. Instead what you have: Unhandled exception at 0x72A416AD in GTAIV.exe: 0xC0000005: Access violation DEP at 0x72A416AD. That could be pretty much anything. You have extra files in your directory, like what appears to be dxvk, and other plugins, try without them. If you're doing a fresh install, make sure those files are removed from directory before installation.

ThirteenAG commented 9 months ago

Also you have two asi loaders, dinput8.dll and dsound.dll, normally it shouldn't be a problem, but since you have project 2dfx, and it's rather old, it's loaded twice because it doesn't have a check to prevent that and crashes.

honest4life commented 9 months ago

ok, this time, I removed some of the files, including something like the GTAIV.exe and other essentials (just to make sure) and then I went to Steam and clicked on "Verify Integrity of game files". Once I clicked on it, the vanilla files reinstalled back. I then tried to launch the Complete Edition normally without mods and it worked and then I installed FusionFix 2.1. update and this time, it actually run. I only got the error with "Not being signed in on Social Club", but it is irrelevant as I got to the game.

Link: https://streamable.com/z9p3gp

Should I insert inside the plugins/GTAIV.EFLC.FusionFix.ini an argument like "SkipIntro = 0" ; "SkipMenu = 0"? I like the GTA IV intro and menu screens.

honest4life commented 9 months ago

also tried installing a new version of Project2DFX, which is the 4.5 and still the game loaded up. So, I guess, Project2DFX isn't to blame here either

ThirteenAG commented 9 months ago

Well, maybe dsound somehow caused another thing that prevented you from launching the game. You don't need to edit ini for menu options now, just change them via in-game menu.

ThirteenAG commented 9 months ago

Social club message means that social club is still loading, not my fault it's too slow for no reason at all. Once it's loaded, game proceeds automatically.

honest4life commented 9 months ago

ok, I then tried a complete reinstall of all the following mods and currently, GTA IV Complete Edition v1.2.0.59 launches without any issues. Here is a list of the following mods:

I have to say. Thank you very much for helping me troubleshoot the game. I have no idea what could have caused it as with all the FusionFix updates, I always removed the previous version before installing a new one and every time, the game launched normally as it should, but this time, it wasn't the case.

Once again, thanks for your help! I appreciate your work

ThirteenAG commented 9 months ago

Alright, closing.