View Single Post
Old 06-20-11, 01:40 AM   #11
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

@privateer:

Thanks. I was aware that *.act are simply .dll files, since I already changed Sh3Sim.act and EnvSim.act to change e.g. torpedo reload and weather. These files also have an regular ModuleEntryPoint (DLLMain) that is called by the system loader at game load time, what is a nice place to add some executable code.

I also programed a separate hsie.act which was loaded successfully in order to overwrite some executable code of sh3.exe (Dll code injetion).

My problem is to completely understand and re-engineer how the AI works that is coded (probably) in Sh3Sim.act. I can find there the Strings cmdr_AIship & cmdr_AIAirplane, which could indicate that the AI is stored there. I also found huge jump-tables which could contain the addresses for the appropriate AI-routines. It will take long time to understand how they work and to change them to have something like cmdr_AISubmarine.

Importing from SH4 is a good point. Does SH4 have AI-Submarines?
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 06-20-11 at 02:02 AM.
h.sie is offline   Reply With Quote