How do you hack your life total?

Posted:
08 Aug 2014, 01:09
by Ancienttext
How do you hack your starting life total in shandalar. It says somewhere in the deck injector that its a feature thats coming soon. But I think it wouldn't be hard to edit one variable right?
But I understand if noone has time too look at the issue.
Re: How do you hack your life total?

Posted:
12 Jul 2015, 06:50
by guinsoo
Well, as far as editing the save data, it's not as simple as editing one variable, you must add each mana link you want individually. To do that, you must open your save file in a hex editor, go to 0x0001EAF8. This is the list of towns and cities; each one is 100 bytes and byte #17 in each town needs to be set to 01. This is easily doable, but isn't really exactly what you're asking for.
The other alternative is to edit Shandalar.exe itself and increase the base health from 10 to something higher. This is easier but affects all games, and also I have no idea where this variable is in the code. Korath probably would.
Re: How do you hack your life total?

Posted:
12 Jul 2015, 20:25
by stassy
You have also the debug mode but I don't think modified life carry over after the end of a duel.
You can also use CheatEngine to set/freeze your life, this is a fixed address that will never change even if you quit/restart the game (along with most stats/data from the game).
Re: How do you hack your life total?

Posted:
12 Jul 2015, 22:15
by Korath
guinsoo wrote:The other alternative is to edit Shandalar.exe itself and increase the base health from 10 to something higher. This is easier but affects all games, and also I have no idea where this variable is in the code. Korath probably would.
It's the four-byte int starting at location 0x167c45. Change it from 0a 00 00 00 to 14 00 00 00 and you'll start at 20 life + #/mana links.