Editing/Modifying Animal/Drive Stats?

A forum for discussion regarding hacking of the Chao system and editing things with non-standard methods.
Warning! This topic is 7 years and 10 months old! Please consider opening a new topic rather that bumping up this very old post.
Post Reply
Marcus101RR
Egg
Egg
Posts: 3
Joined: Wed Apr 27, 2016 5:00 am

Editing/Modifying Animal/Drive Stats?

Post by Marcus101RR »

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?
User avatar
chaoadventures
Veteran Chao
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?

Post by chaoadventures »

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.
Image


- - -
Rajikaru wrote:You're clinically insane.
User avatar
DarkyBenji
Chao Researcher
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?

Post by DarkyBenji »

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
Image
───────────────────────────────────────────────────
YoutubeOther ModsDeviantArt Image
Marcus101RR
Egg
Egg
Posts: 3
Joined: Wed Apr 27, 2016 5:00 am

Re: Editing/Modifying Animal/Drive Stats?

Post by Marcus101RR »

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
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.
User avatar
Jeffery Mewtamer
Advanced Chaos Chao
Advanced Chaos Chao
Posts: 3234
Joined: Thu Jun 16, 2011 3:59 pm
Motto: Sightless Scholar
Contact:

Re: Editing/Modifying Animal/Drive Stats?

Post by Jeffery Mewtamer »

If there are only 21 animals and 4 Chaos Drives collectible in normal game play, what's the 26th item in that data block?
Marcus101RR
Egg
Egg
Posts: 3
Joined: Wed Apr 27, 2016 5:00 am

Re: Editing/Modifying Animal/Drive Stats?

Post by Marcus101RR »

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?
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?

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
Post Reply