Grazieeee!!!!!
Grazieeee!!!!!
This is exactly right .. worked in everyone of my tests..
I found that with bigger values you just use the number that you got when dividing by 128 to find the rest.
For example .. Say you have 2,000,000 gold
2,000,000 / 128 = 15625 <-- This is your carry on number.
128*15625 = 2000000
2000000-2000000 = 0
1) 0+128 = 128 (80 Hex) <-- Your first Search Value
Here we use the carry on number to keep going.
15625 / 128 = 122 <-- Your carry on number
128*122 = 15616
15625-15616 = 9
2) 128+9 = 137 (89 Hex) <-- Second search value
Then Just Hex the carry on number whenever X>127 (X=Carry on number)
3) 122 (7A Hex) <--Last Search Value
(1,2,3) = 80 89 7A <-- What to search for in your Hex Editor..
Pretty much the exact same thing as Cybersam wrote, just confirmed and taken a step further.
Hehe, i think i know what they do with the Values, i think i will code a little Valueconverter only for fun... But i have first to go somewhere, will be back later... ;)
well i didn't take it any further and wanted to keep it simple first... because i didn't have higher gold values anyway ^_^'''
edit...
ok i did finally manage to add more gold and more bytes to the save successfully... now i can add as much gold as i want in one go ^_^
Last edited by cybersam; 09-02-2013 at 06:54 PM.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs,
and the Universe trying to produce bigger and better idiots.
So far, the Universe is winning.
Rich Cook
Nice.. I just made a small function on my TI89 calculator that converts it. Manage to max out some resources too, pretty easy when you know the formula. Cant figure out which byte defines which resource is which yet e.g. chipped ruby or flawless ruby.. but didnt have long to think about it as my wife wanted my attention on Labor Day.
great work as always
Great tool! Maybe I will be able to hex edit the Gold value :)