Author Topic: Losing my mind over issues involving EasyHook  (Read 469 times)

ZavaDabbaDoo

  • *
  • Posts: 4
    • View Profile
Losing my mind over issues involving EasyHook
« on: 2021-04-28 08:28:51 »
Game starts without mods fine using the 7th Heaven Client. When I install mods (all mods already in there), this is what I get

### Launching Final Fantasy VII ###
Checking FF7 is not running ...
Checking FF7 .exe exists at C:\Games\Final Fantasy VII\FF7.exe ...
Verifying installed game is compatible ...
Verifying game is not installed in a System/Protected folder ...
Verifying English game files exist ...
Verifying game is full/max install ...
Creating missing required directories ...
Verifying additional files for 'battle' and 'kernel' folders exist ...
Verifying all movie files exist ...
Verifying music files exist ...
Verifying latest game driver is installed ...
   Copying C:\7th Heaven\Resources\Game Driver\GameDriver.cfg -> C:\Games\Final Fantasy VII\FFNx.cfg ...
   FFNx.dll file is up to date.
Verifying game driver shaders folders exist ...
Verifying ff7 exe ...
Checking a profile is active ...
Checking mod compatibility requirements ...
Checking mod constraints for compatibility ...
Checking mod load order requirements ...
Looking for game disc ...
Found game disc at E:\ ...
Applying changed values to registry ...
Copying ff7input.cfg to FF7 path ...
   using control configuration file [Default] Steam KB+PlayStation (Stock).cfg ...
   Copying C:\7th Heaven\Resources\Controls\[Default] Steam KB+PlayStation (Stock).cfg -> C:\Games\Final Fantasy VII\ff7input.cfg ...
Creating Runtime Profile ...
   adding paths to monitor ...
Copying EasyHook.dll to FF7 path (if not found or older version detected) ...
   skipped copying EasyHook.dll ...
   skipped copying EasyHook32.dll ...
Checking if Reunion mod is installed ...
   found: False
Launching additional programs to run (if any) ...
Writing temporary runtime profile file to C:\Users\hobbe\AppData\Local\Temp\tmp62F3.tmp ...
Attempting to inject with EasyHook ...
Failed to inject after max amount of tries (14) ...
Exception occurred while trying to start FF7 ...
Failed to launch FF7. View the above log for details.

The weirdest part is I then login to a different user (my wife) and it works FINE!

I've uninstalled and reinstalled a dozen times, and I'm so lost.

Fewtch

  • *
  • Posts: 64
  • All good things in time
    • View Profile
    • ArtStation
Re: Losing my mind over issues involving EasyHook
« Reply #1 on: 2021-04-28 21:34:35 »
This error simply occurs intermittently. Just run it a couple times until it works, its not a complete failure to run error, only a temporary one. I don't know the mechanics behind the issue, I just know you have to try to run the game a couple times for it to "hook".

Sometimes it runs first time, sometimes it take a couple tries. At leas that's been my experience.

ZavaDabbaDoo

  • *
  • Posts: 4
    • View Profile
Re: Losing my mind over issues involving EasyHook
« Reply #2 on: 2021-04-28 21:57:42 »
I hope that's the case. I ran it 6 or 7 times to no avail, but it works every single time with the same settings on my wife's windows profile.

Tsunamix

  • *
  • Posts: 817
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Losing my mind over issues involving EasyHook
« Reply #3 on: 2021-04-29 00:36:11 »
The code 5 fix in the general settings may help

ZavaDabbaDoo

  • *
  • Posts: 4
    • View Profile
Re: Losing my mind over issues involving EasyHook
« Reply #4 on: 2021-04-29 06:18:05 »
The code 5 fix in the general settings may help

No dice on that either :(

Dark Phoenix

  • *
  • Posts: 51
    • View Profile
Re: Losing my mind over issues involving EasyHook
« Reply #5 on: 2021-05-05 01:21:20 »
I'm having the same issue; I tried running 20 or 30 times, and keep getting null pointer errors because of EasyHook not working.  And I don't see any Code 5 Fix options in General Settings.

Dark Phoenix

  • *
  • Posts: 51
    • View Profile
Re: Losing my mind over issues involving EasyHook
« Reply #6 on: 2021-05-05 22:44:53 »
Could this have something to do with Windows 10?

Chrysalis

  • ESUI Developer
  • Global moderator
  • *
  • Posts: 372
    • View Profile
Re: Losing my mind over issues involving EasyHook
« Reply #7 on: 2021-05-12 09:59:35 »
Hi guys, the code 5 fix in the upcoming update in 7h does the same as what I detailed in the sticky post.

http://forums.qhimm.com/index.php?topic=20543.0

The manual code 5 fix process is detailed in the post.  Primarily the error is caused by timing issues when launching the game, there is other tricks that can work but havent been posted as they wouldnt necessarily work for many people, whilst the fix implemented in the next build and in the sticky has been known to work for many people.

The reason it worked better in 7h 2.0 was that has a different version of easyhook included which seems more tolerant but was changed in 2.2 due to some unforeseen injection problems with .bin files in the game.

Is it related to windows 10? possibly yes, I myself had no problems with this on Windows 8.1, then after I updated my OS am now also affected.  But not everyone on Windows 10 has the problem.
« Last Edit: 2021-05-12 10:02:10 by Chrysalis »