2010-12-12, 07:58 AM
Here is a kit you can try at your leisure based on tonight's debug session.
I think the last launcher I had given you was no good in the logs dept, but it shouldn't matter.
Anyway the debug launcher/dll in this archive should work, and should generate a clog.txt file for some previously unlogged territory between the remote thread that hooks the .ini API and the point at which Som would normally load Ex (instead of various DirectX libraries etc)
The bug, whatever it is anyway, seems to reside within that space.
My clog.txt looks like this...
Llog.txt...
Please let me know how yours goes.
PS: Will try to remember to remove this attachment before too long.
I think the last launcher I had given you was no good in the logs dept, but it shouldn't matter.
Anyway the debug launcher/dll in this archive should work, and should generate a clog.txt file for some previously unlogged territory between the remote thread that hooks the .ini API and the point at which Som would normally load Ex (instead of various DirectX libraries etc)
The bug, whatever it is anyway, seems to reside within that space.
My clog.txt looks like this...
Code:
Redirecting std::wclog to clog.txt
Initializing off back of launcher
Installing API hooks courtesy Easyhook library...
API hooks installed (presumably)
Exiting DllMain entrypoint
GetPrivateProfileIntA(C:\Users\Michael\Saved Games\SoM\Trismegistus\Trismegistus.ini)
GetPrivateProfileIntA(C:\Users\Michael\Saved Games\SoM\Trismegistus\Trismegistus.ini)
DeleteObject: hdi object is 2F054E94(Bitmap)
Initializing virtual memory state...
Virtual Memory Page mapped at (thread lost)
SomEx initialized
Direct3D9 initialized
Software Device Library RGB9Rast_1.dll loaded succefully
DirectDraw initialized
...
Llog.txt...
Code:
Redirecting std::wclog to llog.txt
Creating subprocess thread main
Subprocess thread main created
OverwriteString()
OverwriteString()
OverwriteString()
OverwriteString()
OverwriteString()
OverwriteString()
OverwriteString()
OverwriteString()
Injecting SomEx.dll in order to perform early hooking
Sending code: c0000001...
Awaiting answer...
Answer received (a0000001)
Sending code: c0000002...
Awaiting answer...
Answer received (a0000002)
Sending code: c0000000...
Awaiting answer...
Answer received (a0000000)
Resuming subprocess thread main
Exited subprocess thread main
Please let me know how yours goes.
PS: Will try to remember to remove this attachment before too long.