Editing/Modifying Animal/Drive Stats?
-
- Egg
- Posts: 3
- Joined: Wed Apr 27, 2016 5:00 am
Editing/Modifying Animal/Drive Stats?
I have been using Cheat Engine to figure out what accesses the chao data stats, but aside from only finding the 99/100 stat subtractions when it hits the limit, I wanted to see I can find the stats that each individual stats are located at for animals. Anyone know how to do that? Or if there is a mod that modifies them?
- chaoadventures
- Veteran Chao
- Posts: 1381
- Joined: Tue Dec 04, 2012 2:30 am
- Motto: "you wanna play with gabario?"
- Location: heck (still)
- Contact:
Re: Editing/Modifying Animal/Drive Stats?
I don't know any of the locations or anything related to the depths of the game's code but MainMemory has made a mod for SA2 that multiplies stat gains by 5.
It's at the very bottom of this site.
It's at the very bottom of this site.
- DarkyBenji
- Chao Researcher
- Posts: 527
- Joined: Fri Sep 10, 2010 4:41 pm
- Motto: An Artist that is also a Modder
- Location: Darky kindergarten
- Contact:
Re: Editing/Modifying Animal/Drive Stats?
in sonic2app.exe : go to offset 4A4A40
with cheat engine (SA2PC) : 008A6240
Each animal/drive (there 26 of them) have 10 stats of 2 byte signed : Mood (Unused), Belly (Unused), Swim, Fly, Run, Power, Stamina, Luck, Intelligence, Unknown (Unused?)
the maximum value you can use safely is 100 (64 on hex)
if you go too far, you got reduce stat
with cheat engine (SA2PC) : 008A6240
Each animal/drive (there 26 of them) have 10 stats of 2 byte signed : Mood (Unused), Belly (Unused), Swim, Fly, Run, Power, Stamina, Luck, Intelligence, Unknown (Unused?)
the maximum value you can use safely is 100 (64 on hex)
if you go too far, you got reduce stat
-
- Egg
- Posts: 3
- Joined: Wed Apr 27, 2016 5:00 am
Re: Editing/Modifying Animal/Drive Stats?
Interesting ill try that. I'll have to mess around and find out which one is each type. Can't seem to modify any values there.DarkyBenji wrote:in sonic2app.exe : go to offset 4A4A40
with cheat engine (SA2PC) : 008A6240
Each animal/drive (there 26 of them) have 10 stats of 2 byte signed : Mood (Unused), Belly (Unused), Swim, Fly, Run, Power, Stamina, Luck, Intelligence, Unknown (Unused?)
the maximum value you can use safely is 100 (64 on hex)
if you go too far, you got reduce stat
- Jeffery Mewtamer
- Advanced Chaos Chao
- Posts: 3234
- Joined: Thu Jun 16, 2011 3:59 pm
- Motto: Sightless Scholar
- Contact:
Re: Editing/Modifying Animal/Drive Stats?
If there are only 21 animals and 4 Chaos Drives collectible in normal game play, what's the 26th item in that data block?
-
- Egg
- Posts: 3
- Joined: Wed Apr 27, 2016 5:00 am
Re: Editing/Modifying Animal/Drive Stats?
most likely a dummy, also, don't forgot the fruits of CHao World are included in that list. And you have to set it to Write/Read cause its Read only. What is wrong with this code?Jeffery Mewtamer wrote:If there are only 21 animals and 4 Chaos Drives collectible in normal game play, what's the 26th item in that data block?
Code: Select all
[ENABLE]
alloc(newmem,2048)
label(code)
label(return)
newmem:
add [eax],(int)40
add [eax],(int)40
add [eax],(int)40
add [eax],(int)40
sub [eax],(int)40
code:
add [eax],al
add [eax],al
add [eax],al
add [eax],al
sub [eax],al
exit:
jmp return
sonic2App.exe+4A644C:
jmp newmem
nop
nop
nop
nop
nop
return:
[DISABLE]
dealloc(newmem)
sonic2App.exe+4A644C:
add [eax],al
add [eax],al
add [eax],al
add [eax],al
sub [eax],al