Golden Sun Hacking Community
July 23, 2018, 05:11:47 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: GS: Dark Dawn (U) Data List (WIP)  (Read 5365 times)
0 Members and 1 Guest are viewing this topic.
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2412

« on: April 01, 2012, 09:10:30 AM »

I'm in the middle of hacking Golden Sun: Dark Dawn to learn a bit about its data, so I guess I can post what I know in a very brief manner.

The addresses are in RAM. (Since this data is compressed in the ROM.) The format of its compression is one that Bowser's Inside Story also uses. (Though, BIS has at least 2 compression formats... I only know one that Dark Dawn uses right now.)


We'll start off with ROM locations, most of the data is compressed.

00004000 = Boot Data (The compression probably starts at 00008000?): There should be a very large compression block with many databases in it: (All of the following should be compressed)
00042BF0 = Item data (Estimate location)


Now for RAM locations!

02000000 = The boot data should be placed here and decompressed.  It's very large, so it should end somewhere pass 02064A4C for sure.

02001158, ~0200146C = Calculate keypad info from 04000130, and place at 020791C8. (?)

02003FBC = get pc/enemy ram address (0-7 for pc, 80+ for enemy; 8 and 9 might be Isaac and Garet during tut battle, but I do not know.)

02005D9C = Recalculate stats

02010820 = Address to keypad info

02017628 = Check keypad 0x40, 0x80, 0x1
0201778C = Address to keypad info

0201A7E4 = Address to keypad info

02023B40 = Address to keypad info (For check on 0x100, 0x200)

02026BB4 = Address to keypad info (For check on 0x40)

0202BE34 = Address to keypad info

02149DDC = Address to keypad info (This is in thumb code.)

02061898 = Everything before here should be code....

02064A4C = Item Data!
02064A68 = ? (Long Sword)
02064A6A = Price
02064A6C = Icon
02064A6E = Type (0=Item; 1=Weapon; 2=Armor; 3=Shield; 4=Head; 5=Boots; 6=Ring; 7=Other)
02064A6F = Flags
 (01=Curses when equipped;
  02=Can't be removed;
  04=A rare item?;
  08=An important item;
  10=Carry up to 30.)
02064A70 = Equipped by?
02064A72 = Attack
02064A74 = Defense
02064A75 =
02064A76 = Use
02064A78 =
02064A7A = Number of unleashes.
02064A7C = Unleashes offset.



02077658 = Party Data! (This can be found compressed with other data at around 0004C8BB in the

ROM.)
02077658 = HP Growth
02077664 = PP Growth
02077670 = Attack Growth
0207767C = Defense Growth
02077688 = Agility Growth
02077694 = Luck Growth (8-bit)
0207769A = Elemental Levels (8-bit) (Ex: 54, 3, 1, 2)
0207769E = Level
020776A0 = Items (x8?)
020776B0 = Unknown (*9 of xFF, *1 of 00)
020776BA = Innate Psynergy (x8?)
020776CA = Level/Experience required? (I have a feeling this is in percentages of 20, 25, and 30.)

---

020791C8 = Keypad info

Now for the PC data that is used for in-game play.

0207B16C = This is Matthew in 16-bit ASCII.

0207B194 = Level

0207B1BA = Max HP
0207B1BC = Max PP
0207B1BE = Current HP
0207B1C0 = Current PP
0207B1C2 = Attack
0207B1C4 = Defense
0207B1C6 = Agility
0207B1C8 = Luck
0207B1CA = 0001
0207B1CC = 0000
0207B1CE = Venus Power
0207B1D0 = Venus Resist
0207B1D2 = Mercury Power
0207B1D4 = Mercury Resist
0207B1D6 = Mars Power
0207B1D8 = Mars Resist
0207B1DA = Jupiter Power
0207B1DC = Jupiter Resist
0207B1DE = Psynergy (8000 = Class Psynergy (Non-innate) ; ...)

0207B21E = Items (F800 = # ; 0400 = Red X on icon. ; 0200 = Equipped ; 01FF = Item)

0207B2C8 = Karis
0207B424 = Tyrell
0207B580 = Rief
0207B6DC = Amiti
0207B838 = Sveta
0207B994 = Eoleo
0207BAF0 = Himi


02220B80 = Text bank (Pointers.)
0223B2E8 = Last text string.

0223C310 = Text bank 2. (Starts with battle-related text, but later may include other text?)
0225F922

0225F948 = Text bank 3. (Place names.)
022602CA
« Last Edit: August 24, 2015, 09:58:00 PM by Fox » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Crystal Sonata
Mercury's Badass Bitch
Mercury Clan

Regular Member
*

Coins: 1
Offline Offline

Gender: Female
Clan Position: Master Healer of Mercury
Posts: 229

« Reply #1 on: April 01, 2012, 09:15:10 AM »

Epic xD. Maybe with this, we can begin merging Dark Dawn into the editor (Or at least a separate version since the formats are probably a lot different). I can just imagine Mercury making their hack based on dark dawn xD
« Last Edit: April 01, 2012, 09:18:37 AM by FrozenBlade » Logged

Anything I post here is solely my opinion, and is not proven fact, unless I specify otherwise.

If I say anything that offends you, grow a set.
View Profile
JamietheFlameUser
Diamond Pokémon
Mars Clan

Does this look like the face of mercy?

Prodigy
*

Coins: 0
Offline Offline

Gender: Male
I am: Poke poke poke poke... I can't stop it...
Posts: 2633

« Reply #2 on: April 01, 2012, 09:22:38 AM »

That could be fun. Problem is, you then have to worry about what happens when a character doesn't have the right animation set. Like, what happens if Himi tries to use a bow? Does she use one of her other animation sets? Does she just t-stance? Does the game freeze? And there are a lot of questions like that for other things than just that. What happens if enemies try to use unleashes, or PCs try to use enemy-only skills, like, for example, Chaos Upheaval?
« Last Edit: April 01, 2012, 09:26:28 AM by blazingSylverant » Logged

:P

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

Spoiler for epic mindscrew:
View Profile
Crystal Sonata
Mercury's Badass Bitch
Mercury Clan

Regular Member
*

Coins: 1
Offline Offline

Gender: Female
Clan Position: Master Healer of Mercury
Posts: 229

« Reply #3 on: April 01, 2012, 09:24:22 AM »

Sheesh...It does sound like trouble. We would have to add extra animation sets, which I know would not be easy.
Logged

Anything I post here is solely my opinion, and is not proven fact, unless I specify otherwise.

If I say anything that offends you, grow a set.
View Profile
JamietheFlameUser
Diamond Pokémon
Mars Clan

Does this look like the face of mercy?

Prodigy
*

Coins: 0
Offline Offline

Gender: Male
I am: Poke poke poke poke... I can't stop it...
Posts: 2633

« Reply #4 on: April 01, 2012, 09:30:18 AM »

And also, can moves work with the wrong weapon type? Like, would Matthew be able to use Barrage with a light blade? What happens if you try to use Triple Burst while wielding a sword? That can't go over well, unless the character randomly decides to default to the stabbing animation.
Logged

:P

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

Spoiler for epic mindscrew:
View Profile
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 32
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4567

« Reply #5 on: April 01, 2012, 05:03:46 PM »

I don't know for sure, but I remember forcing Matthew to equip a set of claws by editing RAM, and he seemed to hold and use them correctly.

Also, nice list you've got there!
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
JamietheFlameUser
Diamond Pokémon
Mars Clan

Does this look like the face of mercy?

Prodigy
*

Coins: 0
Offline Offline

Gender: Male
I am: Poke poke poke poke... I can't stop it...
Posts: 2633

« Reply #6 on: April 01, 2012, 05:10:23 PM »

So everyone has access to all animations? Or everyone has animations for all weapons just because?
Logged

:P

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

Spoiler for epic mindscrew:
View Profile
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 32
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4567

« Reply #7 on: April 01, 2012, 05:14:39 PM »

I don't know, I was just randomly trying it because I was checking out the Djinn for someone, so I accidentally stumbled upon it while searching for that data. However, my guess is that the PC modelss are able to recognize where the hand polygons are supposed to be, and each weapon model just positions them or something. Teawater might know though.
« Last Edit: April 01, 2012, 05:24:46 PM by pleurodelusUrodela » Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 1
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1759

« Reply #8 on: April 01, 2012, 06:05:13 PM »

Theoretically, from what little I know of DS data formats, each character should have their own animation sets.
Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
JamietheFlameUser
Diamond Pokémon
Mars Clan

Does this look like the face of mercy?

Prodigy
*

Coins: 0
Offline Offline

Gender: Male
I am: Poke poke poke poke... I can't stop it...
Posts: 2633

« Reply #9 on: April 01, 2012, 06:55:15 PM »

Actually, I expect that the models have "hold" bones assigned, Sala.
Logged

:P

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

Spoiler for epic mindscrew:
View Profile

Its uncanny how much I look like Jenna!

Novice Member
*

Coins: 0
Offline Offline

Gender: Female
Posts: 25

« Reply #10 on: April 01, 2012, 09:59:33 PM »

So, like, how did you do this again? Also, have you found any unused stuff yet?
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2412

« Reply #11 on: April 01, 2012, 10:15:31 PM »

Well, looking for action replay codes was my very first step. (To save time from finding that data with RAM Search.) All this data would be in the PC in-game database..

Then, I simply did a RAM Search of the database address. 0207b16c, where it starts with the chars for Matthew.

I opened up No$ debugger that I found on the internet once. (Well actually someone told me about it.) (I know it doesn't really work.. but some of the code that loads into RAM was there.. so..) Here, I scan the code at the addresses found via RAM Search looking for pointers and stuff. Eventually this gives me the Party Data... so I do the same RAM Search/code scan with the address of the Party Data, eventually finding the Item Data. If I remember correctly.
Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 32
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4567

« Reply #12 on: April 01, 2012, 10:23:26 PM »

I think the very last ability is something called Massive Swing, which is x0269, and a non-elemental spell just as an "e" for its icon.

But otherwise, you can use ram watch/search if you know a bit about what you are looking for, or you can use codes if you don't know. There are other ways, but it depends on how much you want to learn them.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Kide
Mercury Clan

Regular Member
*

Coins: 0
Offline Offline

Gender: Male
Posts: 198

« Reply #13 on: April 02, 2012, 10:16:28 PM »

Quote
02064A7A = Number of unleashes.
02064A7C = Unleashes offset.

Hm... this means that weapons don't have a slot (or 4 slots, in DD's case) for unleashes like the GBA games, and unleashes are set in a pre-established list or something like that, right?

If so, I wonder how the chance of each unleash activating works. Probably each unleash has the same chance of happening after all, given that their quantity are written in the data.
Logged
View Profile
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 10
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6051

« Reply #14 on: April 02, 2012, 10:23:02 PM »

Would be interesting to see how the unleash system works in DD, as it did have some potential.
Logged

View Profile WWW
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Cbox
Today at 02:30:46 AM
Majora: Thank you for getting the site back online!
July 21, 2018, 09:19:06 PM
Salanewt: Time to upload that "EXP gain when KO'd" patch I made a month ago.
July 21, 2018, 09:18:48 PM
Salanewt: Oh hey, the site's back up!
July 18, 2018, 10:49:52 PM
roger: I can post but it goes to an error page when I submit.
July 18, 2018, 05:24:12 PM
zman9000: Site is back WOO!
May 09, 2018, 12:35:37 AM
KyleRunner: The "Start In" field is not editable... I'll try making new shortcuts
May 08, 2018, 09:51:08 PM
Fox: If all else fails, you canmake new Shortcuts to do the same thing.
May 08, 2018, 09:49:53 PM
Fox: Export Properties > Shortcut (Tab) > Target / Start In ; Target (for Export) should be: (filename) 0 , and for Import: (filename) 1
May 08, 2018, 08:52:00 PM
KyleRunner: I can't change the path in properties menu...
May 08, 2018, 01:27:19 AM
Fox: You may need to edit something in properties, though... so it uses the exe file in the same directory.
May 08, 2018, 01:24:59 AM
Fox: It is suppose to be a shortcut, yes.
May 03, 2018, 11:48:05 PM
KyleRunner: Fox, the "export" function in your text editor is just a shortcut... Could you please fix it?
May 02, 2018, 09:53:45 PM
KyleRunner: I come here everyday. I'm working on a Portuguese translation, and the people here help me a lot.
May 02, 2018, 08:56:07 AM
Drake baku: My feel as well, I posted a little as well since my return, but silence was all that followed... At least the forum is a great source for data when hacking GS/ GS2, currently looking for something I have read a long time ago cause my PP recovery psy is not working
May 01, 2018, 09:58:04 AM
Fox: I am thinking a lot of this might be because of Discord?
May 01, 2018, 09:56:08 AM
Fox: Yeah, this forum is more dead than ever before.  February and April have 0 new topics. (All other months prior have more.) And March has lowest number of new posts. (It'd be dumb to count the very first month this site was created.)
April 25, 2018, 09:02:13 PM
Fox: Yes. The best tool is a hex editor. Well.... VBA, VBA-SDL-H, no$gba Debugger, GBATEK, and my documentation.... to use these to learn how the code/data works. Best method because it maximizes your editing ability... and then there is my program gsmagic that I was working on. Still in its early stages, though. (Even after year(s).)
April 25, 2018, 04:21:58 PM
Xendrox D: *exept tla editor.
April 25, 2018, 04:21:29 PM
Xendrox D: is there any other tool for hacking gs?
April 23, 2018, 09:26:27 PM
Atrius: Rarely, but not never.

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.075 seconds with 22 queries.