Gold Box Games and other CRPGs / Re: Gold Box series: Differences in the engine and continuity of story?« Last post by jhirvonen on Today at 01:27:49 PM »
I can use the GBC Teleport inside towns but not outdoors in Champions of Krynn...
Pools of Darkness, if you can identify the current Ecl in the DosBox data, then you can know which outdoor map the party is currently in. This might enable you to bring Teleport to the game.
Can't remember why teleport is not working in Champions.
In Pools, If I remember correctly, I figured out the memory location that indicates the current indoor map index but it didn't change correctly to Realms/Moander/etc. ECL when you left the map to outdoors. It worked in some cases but not in all. There also seemed to be some game state values regarding the outdoors map.
As I've said before, it's much more difficult to pinpoint memory addresses compared to static save files. Where there's one value for one thing in a save file, there might be several in the game memory. When an address is found you'd want it to be an offset to some base address so that in can be safely used. In most cases the save file is not a dump of the memory so knowing the save file structure does not help.
I wrote a tool which can search for values in memory and then narrow the list after the value changes and can monitor the changes live but still there can be hundreds of false positives especially if the value is just a byte.
Try HxD, it's a hex editor which can view/edit the memory of a process like you would view/edit a file.