Golden Sun Hacking Community
October 23, 2017, 09:57:51 AM *
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 4016 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: 2376

« 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...
*Cross my fingers and hope we have Big Brother All-Stars next year... with Paulie & Cody Califorie(sp?)... and Vanessa & Tiffany Rousso.... Would be fun? :P Especially if one of the boys got evicted early since there's usually some all-guy alliance in there, right?
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: 4565

« 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: 4565

« 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: 1756

« 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: 2376

« 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...
*Cross my fingers and hope we have Big Brother All-Stars next year... with Paulie & Cody Califorie(sp?)... and Vanessa & Tiffany Rousso.... Would be fun? :P Especially if one of the boys got evicted early since there's usually some all-guy alliance in there, right?
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: 4565

« 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: 6049

« 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
October 16, 2017, 09:57:26 AM
AZVRE: Im pretty okay, what about you?
October 16, 2017, 01:17:14 AM
Fox: I think the nine is doing a cirno on me, though... Anyway, how is everyone doing today?
October 16, 2017, 01:12:20 AM
Fox: onesixtwo*
October 16, 2017, 01:12:00 AM
Fox: Okay... Meanwhile... ah... 162 being a number that has made itself known to me.... I look at the relationships of the numbers.... 162  1+6+2 = 9 ; onesizetwo = alphabetical order = 9 characters ; Distance apart analysis: os = 4 = 1[6][2] , st = 1 = [1]6[2] , ot = 5 = [1][6]2 ; ost = original sound track?
October 15, 2017, 06:31:17 PM
AZVRE: ah okay :D i thought i caused some trouble
October 14, 2017, 07:49:16 AM
Fox: Oh i know... You were messing with yours, and the description says mine. It's kind of a funny bug. :P
October 13, 2017, 08:18:31 PM
AZVRE: I did not edit your profile tho. Just to erase that confusion ^^"
October 12, 2017, 04:49:56 AM
Fox: e.g. this art = http://forum.goldensunhacking.net/Themes/Jupiter/images/catbg.gif (etc.)
October 12, 2017, 04:48:58 AM
Fox: I have a question: Where did the art for the headers come from? (Like the backgrounds to each of these things... "Affiliates", etc... Asking just incase it inspires me to do something... but if Charon made it, then that's cool too.
October 11, 2017, 04:23:02 AM
FoxWas thinking about having something for the editor anniversary, but I believe I had to change my mind....
October 10, 2017, 12:58:36 PM
Fox: That's alright. ;       @AZVRE's profile: "Current Activity:  Editing the profile of Fox." ...Eh... That looks weird.
October 07, 2017, 11:45:16 PM
Atrius: Sorry about that, the auto bot detection is still working, but it also requires an admin to visit the site regularly.
October 04, 2017, 04:17:40 AM
Fox: Yeah, it does bring a small amount of activity. Not good quality activity, but it's still activity, nonetheless.  Now if we can get them to randomly post pictures and vdeios!
October 04, 2017, 02:10:48 AM
Majora: If nothing else, I like how they're copying the content of real posts at random. Interesting to see how they adapt to seem more authentic
October 03, 2017, 08:29:38 PM
Fox: medico6601 = Most likely another bot. :(
September 26, 2017, 03:32:24 PM
Fox: by ten* Excuse me.
September 26, 2017, 03:32:12 PM
Fox: Oh yes... Also multiply all levels by two. (So actually, an adept will have levels of 54, 3, 2, and 1, rather than 5, 0, 0, 0.... if going by those.)
September 26, 2017, 03:29:07 PM
Fox: ...I mean the theory also saves space on the Status Screen.
September 26, 2017, 03:26:11 PM
Fox: Random/fun concept theory: What if we got rid of ePow/eRest, and just made eLevel do everything. :P (A process of cleaning stuff up... Though, could make things less versatile. - Like, if a Djinni add 1 eLevel = Okay, that's understood... by why specifically +5 on the ePow/eRes (Rhetorical))
September 23, 2017, 04:42:08 AM
Fox: Oh nevermind, it does... but I swear I saw that a minute ago.

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.1 seconds with 22 queries.