dh1221k / interactive-text-hooker

Automatically exported from code.google.com/p/interactive-text-hooker
1 stars 0 forks source link

Profile save/load broken under specific conditions #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to reproduce (tested on 2 games)
1. Run the game that has custom hook (hook has to be onverted to 
/H_etc@rel_addr:game.exe format. Simple /H_etc@abs_addr do not produce this 
issue.
2. Activate this custom h-code, select UserHook0 thread, [save]
3. Close the game, do not close ITH.
4. Start the game again.
5. Wait till ITH discovers the game and autoattaches to it.
6. When attaching, custom hook would not use module name and instead would be 
injected at absolute address (producing non-working hook, crashing the game or 
throwing IHF_DLL error).

Solution is to close and restart ITH after step 2 (after saving profile). That 
way custom hook is correctly injected (until again, you [save] the profile and 
restart the game without restarting ITH).

WinXP in vmware, ITH 3.0 (2012.05.05)
Games tested with: [AXL] Dolphin Divers, [Patissier] Magical Tale

Original issue reported on code.google.com by andyscu...@gmail.com on 8 Jul 2012 at 2:53