Home » PLAYER'S HQ 1.13 » v1.13 General Gameplay Talk » Changing difficulty settings midgame (Changing nr of IMP characters after game start)
|
|
Re: Changing difficulty settings midgame[message #352262 is a reply to message #352260]
|
Thu, 01 February 2018 14:00
|
|
townltu |
|
Messages:384
Registered:December 2017 Location: here |
|
|
silversurfer wrote on Thu, 01 February 2018 11:46You can't change the number of traits or the max number of IMPs during a campaign.
Scnr, nothing personal, its only the use of the term [can't] respectively the absoluteness it puts into the message,
which literally forces me to reply ;)
It took ~ 2 minutes to find the corresponding byte in RAM, based on binary compare of 2 saves with differnt max imps,
after changing it to 02h the message "you have already reached the maximum of IMP characters"
did not pop up anymore and the game allowed me to create the 2nd IMP, despite the setting of max IMPs = 1
Max number of traits is admittedly harder for me to find out,
though someone with deep insight into JA2 bits&bytes could probably also manage that.
But the required effort may not be justified ;)
@Slugg087: In case you want to change settings:
Make a binary compare of 2 saves with settings that differ only in the desired point,
and locate the decisive difference(there will be many;)
Most likely a change in the save will have no effect(value stored elsewhere?)
so copy a string(8+) of bytes which include the suspect,
run the game, load related save, and search for that string in RAM(hex editors allow that, e.g. hxd)
change the suspected byte to desired value and check in game if succcesful,
if so save in game to transfer the change from RAM into that specific savegame.
If not succesful, close JA2 and run it again, as your action may have corrupted the program,
and the flaw may become persistant for the current playthrough if it finds its way into the save.
btw, the exe appears not to store the group of values for the game start settings always at the same offset,
so forget the offset i mentioned in message 351939.
Report message to a moderator
|
Master Sergeant
|
|
|
|
Re: Changing difficulty settings midgame[message #352355 is a reply to message #352262]
|
Sun, 11 February 2018 16:01
|
|
Slugg087 |
|
Messages:8
Registered:February 2017 Location: Sweden |
|
|
Quote:@Slugg087: In case you want to change settings:
Make a binary compare of 2 saves with settings that differ only in the desired point,
and locate the decisive difference(there will be many;)
Most likely a change in the save will have no effect(value stored elsewhere?)
so copy a string(8+) of bytes which include the suspect,
run the game, load related save, and search for that string in RAM(hex editors allow that, e.g. hxd)
change the suspected byte to desired value and check in game if succcesful,
if so save in game to transfer the change from RAM into that specific savegame.
If not succesful, close JA2 and run it again, as your action may have corrupted the program,
and the flaw may become persistant for the current playthrough if it finds its way into the save.
btw, the exe appears not to store the group of values for the game start settings always at the same offset,
so forget the offset i mentioned in message 351939.
Hmm I read your post and I barely understand what you´re saying. Then there is the task of actually doing it too, i´m guessing you need some sort of debugging program? which I don´t have. But it doesn´t matter that much in my savegame i´m not past omerta yet so I can just restart no prob. Thanks for the extensive response though
Report message to a moderator
|
Private
|
|
|
Goto Forum:
Current Time: Fri Apr 19 02:35:43 GMT+3 2024
Total time taken to generate the page: 0.00952 seconds
|