hugslab Posted September 25, 2020 Share Posted September 25, 2020 (edited) On 1/28/2020 at 10:57 PM, Dmitri Fatkin said: Do we have someone here who's aware of what bytes & at which offsets are responsible for a character's willingness to follow the player? Is there a chance you could provide the exact version 3.7 offset which is responsible for the definition of Game Stage variable, along with initial associated data contents by the time when the game starts? Thank you. hey, it's been a while since i was last poking around inside this game, but my understanding is this: 0x00 to 0xff of the data segment contains variables that can be checked as dialogue conditions. these conditions are defined in condit.hsq and referenced in dialogue.hsq. i think characters being willing to follow you is always controlled by dialogue. i think these are consistent between different versions of the game, except the demo. 0x2A is the current game stage and 0xC2 is used for the phase of the final attack on arrakeen. this is followed by the location data, troop data and then character data. all of this data is compressed and stored in save games, as well as dialogue data. i can't remember if there was anything else that gets saved. i've included some of my fragmented notes and an IDA database (from an unpacked duneprg.exe in version 2.3) if these might be any help. dunenotes.zip Edited September 25, 2020 by hugslab 1 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.