Jump to content

Grand Theft Auto IV has stopped working...


CG Blaze

Recommended Posts

So, 

 

Let me start this by saying I know you guys are working hard on getting this right, and I really appreciate the efforts put forth. I know it must be a little disappointing seeing so many problems arise so quickly, but I don't blame you guys. You've built the best mod for the worst port ever; things like this are gonna happen, and I understand that. lol

 

Anyway, so I think I've got a new problem. And it may not be answerable, and it may just be a fluke, but I figured it was worth noting.

 

Made a fresh install of 1.0.7.0, didn't change anything save for adding SNT, ELS v7 and swapping out the default police cars for Lt. Caine's ELS-enabled versions. Tried an auto-install on another GTAIV directory prior to this, and gave up on it after I received the "Loader.Loader" bug. This time around, I did the manual install, step by step into the new, fresh GTAIV directory. Still working fine, but I'm still getting the "Loader.Loader" bug. So, I figured it must've been something else. I changed the whole directory from Read-Only to... well, not Read-Only. I ran it as an admin. Same bug.  So I figured maybe I needed to update my C++ and .NET redistributables. Did that, and now when I hit "Play (Offline)", it straight up crashes immediately, giving me an ambiguous "Grand Theft Auto IV has stopped working" error. Then, the same error pops up again, and upon closing them both, a little bubble on the bottom right pops up and tells me it was stopped to prevent data execution. Sure.

 

 

LCPDFR log:

------------------------
[INFO - 1:27:57 PM] [Log] Started
[INFO - 1:27:57 PM] [Main] Main: Initializing...
[INFO - 1:27:57 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 1:27:57 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[ERROR - 1:27:59 PM] [] System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.
File name: 'AdvancedHook.dll'
   at freval_187.fr0()
   at freval_187..ctor()
   at LCPD_First_Response.Engine.Main.eval_fr4()
   at LCPD_First_Response.Engine.Main.fr3()
 
 
Other logs are empty, and ScriptHook.log tells me it's being used by another process so it can't be opened. 
 

I have a feeling this one's unanswerable, but like I said, I also felt it worth sharing. Playing this game is like being stuck in an abusive marriage.

 

Keep your chins up, boys, and thanks for your time!

Link to comment
Share on other sites

Same exact issue. I right click, hit "Run As Administrator" and it's like I'm opening the "has stopped working" dialog.

 

Every so often, Windows would pop up a DEP Error Message when it crashed... I disabled DEP all together, rebooted my PC, and still having the same issue. Uninstalled LCPD:FR multiple times, tried the manual and automatic installs, repairs, overwriting the automatic install files with the manual install files, nothing works.

 

Windows doesn't even give me any details about the crash. Logfiles:

 

AdvancedHookInit.log

Log started on: 14:4:15 12-29-2013
------------------------
[INFO - 14:4:15] Gameversion - 1.0.7.0
[INFO - 14:4:15] AdvancedHookInit 0.3 (C) 2013 LMS - Initialized
[INFO - 14:4:15] Attaching hooks...
[INFO - 14:4:15] CPools::InstallHooks: Hooking CPool__Initialize
[INFO - 14:4:15] CPools::InstallHooks: Hooking CPedFactory
[INFO - 14:4:15] XLiveLess present - skipping xlive changes
[INFO - 14:4:15] Disabling network connection check
[INFO - 14:4:15] Spawning patcher thread
[INFO - 14:4:15] Patching files

AdvancedHook.log

Log started on: 15:6:24 12-28-2013
------------------------
[INFO - 15:6:24] Gameversion - 1.0.7.0
[INFO - 15:6:24] XLiveLess present - skipping xlive changes
[INFO - 15:6:24] AdvancedHook 0.1f14 LCPD:FR 0.95 (C) 2010-2011 LMS - Initialized
[INFO - 15:6:24] Thanks to listener, aru and #iv-modding
[INFO - 15:6:24] Attaching exception handler...
[INFO - 15:6:24] Exception handler attached
[INFO - 15:6:24] Patching game functions...
[INFO - 15:25:0] An exception occured
[INFO - 15:25:0] Process: FFE80000 

 Address: A19BAC 

 Code: C0000005 

 Registerdump - EAX: 0 EBP: 1C9D854 EBX: 1 ECX: 64 EDI: 6DD6EB60 EDX: 0 EIP: A19BAC ESI: 75D0EB36 ESP: 1C9D790 


asilog.txt

// -- GTA IV ASI LOADER LOG -- //
//-- (C) Alexander Blade 2008 -- //
C:Windowssystem32dsound.dll is loaded, address 0x6BC10000
Hooking dsound proc named "DirectSoundCreate"
"DirectSoundCreate" hooked, address 0x6BC27551
Hooking dsound proc named "DirectSoundEnumerateA"
"DirectSoundEnumerateA" hooked, address 0x6BC389CC
Hooking dsound proc named "DirectSoundEnumerateW"
"DirectSoundEnumerateW" hooked, address 0x6BC389E9
Hooking dsound proc named "DllCanUnloadNow"
"DllCanUnloadNow" hooked, address 0x6BC3C66B
Hooking dsound proc named "DllGetClassObject"
"DllGetClassObject" hooked, address 0x6BC29192
Hooking dsound proc named "DirectSoundCaptureCreate"
"DirectSoundCaptureCreate" hooked, address 0x6BC382FC
Hooking dsound proc named "DirectSoundCaptureEnumerateA"
"DirectSoundCaptureEnumerateA" hooked, address 0x6BC38A06
Hooking dsound proc named "DirectSoundCaptureEnumerateW"
"DirectSoundCaptureEnumerateW" hooked, address 0x6BC38A23
Hooking dsound proc named "GetDeviceID"
"GetDeviceID" hooked, address 0x6BC38198
Hooking dsound proc named "DirectSoundFullDuplexCreate"
"DirectSoundFullDuplexCreate" hooked, address 0x6BC38464
Hooking dsound proc named "DirectSoundCreate8"
"DirectSoundCreate8" hooked, address 0x6BC1C15C
Hooking dsound proc named "DirectSoundCaptureCreate8"
"DirectSoundCaptureCreate8" hooked, address 0x6BC383AA
Loading ASI C:Program Files (x86)Rockstar GamesGrand Theft Auto IVAdvancedHookInit.asi
ASI loaded : C:Program Files (x86)Rockstar GamesGrand Theft Auto IVAdvancedHookInit.asi, Address 0x00000000
Loading ASI C:Program Files (x86)Rockstar GamesGrand Theft Auto IVELS.asi
ASI loaded : C:Program Files (x86)Rockstar GamesGrand Theft Auto IVELS.asi, Address 0x5BA00000
Loading ASI C:Program Files (x86)Rockstar GamesGrand Theft Auto IVScriptHookDotNet.asi
ASI loaded : C:Program Files (x86)Rockstar GamesGrand Theft Auto IVScriptHookDotNet.asi, Address 0x681D0000
Loading ASI C:Program Files (x86)Rockstar GamesGrand Theft Auto IVTrainer.asi
ASI loaded : C:Program Files (x86)Rockstar GamesGrand Theft Auto IVTrainer.asi, Address 0x63070000

LCPDFR.log

------------------------
[INFO - 11:11:11 PM] [Log] Started
[INFO - 11:11:11 PM] [Main] Main: Initializing...
[INFO - 11:11:11 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 11:11:11 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[ERROR - 11:11:12 PM] [] System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.
File name: 'AdvancedHook.dll'
   at freval_187.fr0()
   at freval_187..ctor()
   at LCPD_First_Response.Engine.Main.eval_fr4()
   at LCPD_First_Response.Engine.Main.fr3()


------------------------
[INFO - 11:26:53 PM] [Log] Started
[INFO - 11:26:53 PM] [Main] Main: Initializing...
[INFO - 11:26:53 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 11:26:53 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[ERROR - 11:26:54 PM] [] System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.
File name: 'AdvancedHook.dll'
   at freval_187.fr0()
   at freval_187..ctor()
   at LCPD_First_Response.Engine.Main.eval_fr4()
   at LCPD_First_Response.Engine.Main.fr3()


------------------------
[INFO - 11:31:00 PM] [Log] Started
[INFO - 11:31:00 PM] [Main] Main: Initializing...
[INFO - 11:31:00 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 11:31:00 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[ERROR - 11:31:00 PM] [] System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.
File name: 'AdvancedHook.dll'
   at freval_187.fr0()
   at freval_187..ctor()
   at LCPD_First_Response.Engine.Main.eval_fr4()
   at LCPD_First_Response.Engine.Main.fr3()


------------------------
[INFO - 11:42:21 PM] [Log] Started
[INFO - 11:42:21 PM] [Main] Main: Initializing...
[INFO - 11:42:21 PM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 11:42:21 PM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[ERROR - 11:42:21 PM] [] System.IO.FileLoadException: A procedure imported by 'AdvancedHook.dll' could not be loaded.
File name: 'AdvancedHook.dll'
   at freval_187.fr0()
   at freval_187..ctor()
   at LCPD_First_Response.Engine.Main.eval_fr4()
   at LCPD_First_Response.Engine.Main.fr3()


ScriptHook.log

Log start: Sun Dec 29 14:04:15 2013
-----------------------------------------------
[INFO] GTA IV Script Hook 0.5.1 - (C) 2009, Aru - Initialized
[INFO] Process base address: 0x13c0000
[INFO] Auto detecting game version
[INFO] Using game version 1.0.7
[INFO] Initiating: Luxart Emergency Lighting System (ELS) by Lt.Caine
[INFO] (ELS) Script started: ELS V7.0-R130506
[INFO] (ELS) Files - General information retrieved.
[INFO] (ELS) Files - CMID [027] 'FBI'.
[INFO]       <ACTIVE> Using data from file: 'fib_charger_config'.
[INFO]       wrn_type: halo
[INFO]       pri_type: leds
[INFO]       sec_type: drct
[INFO] (ELS) Files - CMID [063] 'POLICE'.
[INFO]       <ACTIVE> Using data from file: 'police_config'.
[INFO]       wrn_type: halo
[INFO]       pri_type: leds
[INFO]       sec_type: drct
[INFO] (ELS) Files - CMID [064] 'POLICE2'.
[INFO]       <ACTIVE> Using data from file: 'police2_config'.
[INFO]       wrn_type: halo
[INFO]       pri_type: rota
[INFO]       sec_type: rota
[INFO] (ELS) Files - CMID [065] 'POLPATRIOT'.
[INFO]       <ACTIVE> Using data from file: 'truck_config'.
[INFO]       wrn_type: halo
[INFO]       pri_type: leds
[INFO]       sec_type: drct
[INFO] (ELS) Files - Vehicle information retrieved. Detected [4] ELS-enabled models.
[INFO] Script Hook - Shutdown

ScriptHookDotNet.log

2013-12-29 14:04:15 - Initializing ScriptHookDotNet v1.7.1.7 BETA (on GTA IV version 1.0.7.0 with C++ Hook version 0.5.1)

I'm using xlive.dll... although the same issue occurs when I try dsound.dll as well. If I uninstall LCPDFR, the game opens and works fine. I've tried all of the troubleshooting methods messaged here, and like the OP, my problem started after installing the .NET Framework and the VC++ Redistributable. I tried uninstalling the x64 version, and only keeping the x86 version as another had suggested, but that did not work. Also tried copying the msvcr110.dll file to the install directory. Didn't work either.

 

Specs:

OS: Windows Vista (x64) Home Premium

RAM: 8 GB

Video Card: NVIDIA GeForce GTX 550 Ti

CPU: Intel Core2Quad CPU Q8200 @ 2.33 GHz (Yes, I'm aware that it's a bottleneck, but that's irrelevant for this issue)

 

Edited by MyHogs
Link to comment
Share on other sites

Good to know I'm not alone. My logs are empty, but I think it may be useful if I include my specs as well, so:

 

I'm running...

Windows Vista Home Premium 64 bit

Ram: 11 GB (yes, 11)

Video Card: nVidia GTX 280

CPU: First gen Intel i7 920 @2.67GHz

Link to comment
Share on other sites

Got the fix.

 

'?do=embed' frameborder='0' data-embedContent>>

 

Delete AdvancedHookInit.asi from the root directory (delete means simply move to a "backup" folder), and then manually install the Taser.

 

If you disabled DEP like I did, make sure that you re-enable it.

 

However, I'm back to Loader.Loader errors, despite having installed all of the prereqs.

Link to comment
Share on other sites

Can you try adding these dlls from here?

 

Ok, so I tried Hog's solution.

 

Removed the Init.asi, manually installed the taser, installed the .dll's. It's back up and running.

I hit play on the main menu of the game, I get through one character splash screen, two, three, annnnnnd....

 

Grand Theft Auto IV has stopped working...

 

Of course it has.

 

So I tried throwing the Init.asi back in there. I hit Launch GTAIV, hit Play (Offline), click OK, and...

 

Grand Theft Auto IV has stopped working...

 

 

Uh.... next suggestion anyone?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...