Welcome Guest [Log In] [Register]
Welcome to Yoshi Lighthouse. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Hexadecimals
Topic Started: Nov 25 2009, 09:00:48 PM (2,588 Views)
Posted Image Teawater
Who are you calling an old man?

I just had to put this topicup, didn't I.


Well, because I have lost my latest save, I am now looking for Mario and Luigi's power stats in RAM. It shouldn't be too hard, butthis is to help me quickly get back where I wa, I am not really that too far behind.

Also, what are beans for in this game?

16-bit

Mario:
02056370 - 0000
02056372 - Base HP
02056374 - Base SP
02056376 - Base Power
02056378 - Base Defense
0205637A - Base Speed
0205637C - Base Stache
0205637E - Max HP
02056380 - Current HP
02056382 - Max SP
02056384 - Current SP
02056386 - Power
02056388 - Defense
0205638A - Speed
0205638C - Stache
0205638E - ???

02056391 - EXP (3 bytes)
02056394 - ???

02056397 - Number of slots for equipment.
02056398 - Equipment 1
02056399 - Equipment 2
0205639A - Equipment 3

Luigi:
020563A0 - 0001
020563A2 - Base HP
020563A4 - Base SP
020563A6 - Base Power
020563A8 - Base Defense
020563AA - Base Speed
020563AC - Base Stache
020563AE - Max HP
020563B0 - Current HP
020563B2 - Max SP
020563B4 - Current SP
020563B6 - Power
020563B8 - Defense
020563BA - Speed
020563BC - Stache
020563BE - ???

020563C1 - EXP (3 bytes)
020563C4 - ???

020563C7 - Number of slots for equipment.
020563C8 - Equipment 1
020563C9 - Equipment 2
020563CA - Equipment 3

Bowser:
020563D0 - 0002
020563D2 - Base HP
020563D4 - Base SP
020563D6 - Base Power
020563D8 - Base Defense
020563DA - Base Speed
020563DC - Base Horn
020563DE - Max HP
020563E0 - Current HP
020563E2 - Max SP
020563E4 - Current SP
020563E6 - Power
020563E8 - Defense
020563EA - Speed
020563EC - Horn
020563EE - ???

020563F1 - EXP (3 bytes)
020563F4 - ???

020563F7 - Number of slots for equipment.
020563F8 - Equipment 1
020563F9 - Equipment 2
020563FA - Equipment 3

---

02056400 - Coins (32-bit)
02056404 - ???

02056406 - Byte Array of Items (Starting with Mushrooms)
02056420 - ???

02056427 - Mario and Luigi's Byte Array of Equipment (Starting with Thin Wear)
02056477 - Bowser's Byte Array of Equipment (Starting with Shabby Shell)
020564A7 - ???

020564B4 - Play Time


---

02128226 - Dark Star's HP / Dark Fawful's HP



02128592 -eyes (250HP) These HP are connected somehow...
021286B6 -eyes

021287DA -leg (156HP)
021288FE -leg
02128A22 -leg

0212846E -core
Edited by Teawater, Mar 29 2011, 04:16:24 PM.
If you ever find an error in any of my reference materials, PLEASE let me know.
Posted ImagePosted ImagePosted ImagePosted ImagePosted ImagePosted Image

Don't mind me, I'm nothing but a spoiler.
Offline Profile Quote Post Goto Top
 
Posted Image Salanewt
Member Avatar
Star Yoshi

Oh cool, thanks for starting research here.

There are three types of beans;

HP,
SP,
Power.

They raise these stats by 1. To be honest though, there should have been beans for each stat, not just these three. Hm... I wonder if there are any unused items?

Have a nice day.
:Idleblackyoshi: :Idlewhiteyoshi:
Have a nice day!

Oh wow, it's been a while. Um. Hi. I guess I can get back into M&L stuff sooner or later, it really has been ages.

To use a sword, /\ and / again.
Offline Profile Quote Post Goto Top
 
Posted Image Teawater
Who are you calling an old man?

Ah, yes, that is true, but my main question was what would happen if you get them all or something, but I guess nothing happens, probably just a log.
If you ever find an error in any of my reference materials, PLEASE let me know.
Posted ImagePosted ImagePosted ImagePosted ImagePosted ImagePosted Image

Don't mind me, I'm nothing but a spoiler.
Offline Profile Quote Post Goto Top
 
Posted Image Salanewt
Member Avatar
Star Yoshi

I am guessing that it is just a log, but it is hard to say (I actually like the boost by 1 point per stat instead of 4-6).

Have a nice day.
:Idleblackyoshi: :Idlewhiteyoshi:
Have a nice day!

Oh wow, it's been a while. Um. Hi. I guess I can get back into M&L stuff sooner or later, it really has been ages.

To use a sword, /\ and / again.
Offline Profile Quote Post Goto Top
 
Posted Image Teawater
Who are you calling an old man?

You know what?

Look at how similar this data is:


Posted Image

You can ignore the red square around ARM9 as you can still see the same thing in ARM7 Memory View.

Don't get too excited though, this data seems to stop at approximately 02008000.
If you ever find an error in any of my reference materials, PLEASE let me know.
Posted ImagePosted ImagePosted ImagePosted ImagePosted ImagePosted Image

Don't mind me, I'm nothing but a spoiler.
Offline Profile Quote Post Goto Top
 
Posted Image Salanewt
Member Avatar
Star Yoshi

Cool! I think you found the ROM location for Bowser's Insider Story data... I will start helping out with it shortly, I just want to work a bit more on this Christmas skin.

Have a nice day.
:Idleblackyoshi: :Idlewhiteyoshi:
Have a nice day!

Oh wow, it's been a while. Um. Hi. I guess I can get back into M&L stuff sooner or later, it really has been ages.

To use a sword, /\ and / again.
Offline Profile Quote Post Goto Top
 
Posted Image Salanewt
Member Avatar
Star Yoshi

I know that I am breaking the double posting rule, but I just found something...

I found two large sections in Memory Viewer that match the HEX editor, and they both contain text!

Code:
 
"Young folks today, they can't be bothered" ...


Quote:
 
In HEX editor: 01793971

In Emulator, Memory Viewer: 29793971



I will continue doing research, since all of the text in this section of Memory Viewer should have related offsets.

Here is another one...

Code:
 
"Globin! The limits of your skills and endurance!"


Quote:
 
In HEX editor: 017B2142

In Emulator, Memory Viewer: 297B2142


Have a nice day.
:Idleblackyoshi: :Idlewhiteyoshi:

Edit: I want to find this in Memory Viewer, but will be a bit harder because of where it is located in the hex editor:

Quote:
 
03793A5F  =  "Hammers"
Have a nice day!

Oh wow, it's been a while. Um. Hi. I guess I can get back into M&L stuff sooner or later, it really has been ages.

To use a sword, /\ and / again.
Offline Profile Quote Post Goto Top
 
Posted Image Teawater
Who are you calling an old man?

Requesting or help find Enemy Data please...


//--Enemy RAM Data

02128224 = MAX HP (Note to self: Kiosk Demo: 0213c56e)
02128226 = Current HP

0212822C = Power
0212822E = Defense

02128234 = Attack Cursor's Y

0212823A = Attack Spot (X & Y by Byte)
0212823C:0040 = Immune (0 HP damage to enemy)

02128250 = Name Index

02128260 = Speed

02128266 = Exp
02128268 = Coins
0212826A = Item
0212826C = Item Rarity
0212826E = Item? (Rare?)
02128270 = Item Rarity?

--Enemy 2
02128348 = MAX HP



//--- Item Rewards

1000 = Green Shell

2000 = Mushroom
2001 = super Mushroom

3000;3010 = Mushroom Badge
3001 = Powerful Badge
3002 = Bonus Badge
3003 = Bro Badge
3004 = Good Badge
3005 = Great Badge
3008 = Mushroom Badges

4000 = No gear
4001 = Thin Wear
4010 = A-OK Wear
4050 = Challenge Medal
4060 = Minion Band SP
4070 = Intruder Fangs
4080 = Rental Shell
Edited by Teawater, Apr 27 2011, 04:10:56 AM.
If you ever find an error in any of my reference materials, PLEASE let me know.
Posted ImagePosted ImagePosted ImagePosted ImagePosted ImagePosted Image

Don't mind me, I'm nothing but a spoiler.
Offline Profile Quote Post Goto Top
 
Posted Image jdaster64
Member Avatar


Do you need help identifying the name of the enemies, or just the stats and such between known values?
Posted Image
Offline Profile Quote Post Goto Top
 
Posted Image Teawater
Who are you calling an old man?

I need help with finding the Enemy database in ROM, and I was hoping the RAM data could help with finding it, but no luck so far.

Edit: After finding the database, making the enemy list is just as simple as a few lines of code in the editor.. (As long as the name index is found in the data.)

I'll probably put in a lot of 0s in this data until I find something....

Researching BAI_scn_yo.dat.. for a moment...


P.S. - At this point, I'm not even sure if the enemy database is separate from the battle database... or how it is done in this game...



Changing the byte at location 0055F16C... seems to make enemies disappear.
Edited by Teawater, Sep 18 2010, 04:30:17 PM.
If you ever find an error in any of my reference materials, PLEASE let me know.
Posted ImagePosted ImagePosted ImagePosted ImagePosted ImagePosted Image

Don't mind me, I'm nothing but a spoiler.
Offline Profile Quote Post Goto Top
 
Posted Image jdaster64
Member Avatar


Yeah, I was able to find the enemy stats database using Tahaxan for the Japanese version of the ROM, but apparently, the American version doesn't store them the same way.
Posted Image
Offline Profile Quote Post Goto Top
 
Posted Image Teawater
Who are you calling an old man?

Oh thank you so much!! I will definitely take a look at the Japanese version soon.

It's probably compressed. 5 languages for European, 1 language for Japanese.


Edit: Oh, might you tell me where this location on Enemy stats.. etc. is... When I look at it in tahaxan... it looks similar to the US one.. (though, with different offsets/etc.)
Edited by Teawater, Sep 19 2010, 03:54:33 PM.
If you ever find an error in any of my reference materials, PLEASE let me know.
Posted ImagePosted ImagePosted ImagePosted ImagePosted ImagePosted Image

Don't mind me, I'm nothing but a spoiler.
Offline Profile Quote Post Goto Top
 
Posted Image jdaster64
Member Avatar


Dah, apparently I deleted both the Japanese and American M&L-3 ROMs a while back, seems like it was something around 164400, though.

EDIT: Oddly enough, though it appears TAHAXAN couldn't help me out, and I found out that I had that offset due again to Deezer of www.themushroomkingdom.net.

According to him, the first recognizable string was Borp's, which presumably started at 1645A4, and read as follows:

00 00 00 20 00 00 00 00 02 00 08 40 04 00 00 C1 00 14 66 00 30 00 33 00 20 00 08 00 00 00 DC 00 28 00 12 20

"66 00 30 00 33 00 20 00" = HP, POW, DEF, SPEED
"DC 00 28 00" = EXP, Coins

If the data storage method is closer to that of PiT's, perhaps the string actually starts either at 1645A6, reading:

00 20 00 00 00 00 02 00 08 40 04 00 00 C1 00 14 66 00 30 00 33 00 20 00 08 00 00 00 DC 00 28 00 12 20 1E 00

or 1645AA, reading:

00 00 02 00 08 40 04 00 00 C1 00 14 66 00 30 00 33 00 20 00 08 00 00 00 DC 00 28 00 12 20 1E 00 01 20 1E 00,

where 2012 (and 2001) are the item drop(s), and 001E the item's (items') rarity.

For comparison, the next string would be either

01 20 1E 00 00 00 06 00 03 40 10 00 00 C1 00 15 73 00 3C 00 41 00 37 00 01 04 00 00 F0 00 2D 00 01 20 05 00

or

00 00 06 00 03 40 10 00 00 C1 00 15 73 00 3C 00 41 00 37 00 01 04 00 00 F0 00 2D 00 01 20 05 00 45 40 05 00.

This would make the item(s) 2001 (and 4045), with rarity 0005, and appears to correspond with Drillbit Crab.

You might try to verify these item drops, seeing as you didn't post the full list, and I'm not familiar enough with the game to know what the enemies' item drops are.
Edited by jdaster64, Sep 19 2010, 09:38:53 PM.
Posted Image
Offline Profile Quote Post Goto Top
 
Posted Image Teawater
Who are you calling an old man?

Thanks a lot. This should be helpful in finding the US version's Enemy Database.

Also, the location is probably 1645A4, I say this because I find most data is often word (32-bit) aligned. (The exception being with things like scripts/etc.)
If you ever find an error in any of my reference materials, PLEASE let me know.
Posted ImagePosted ImagePosted ImagePosted ImagePosted ImagePosted Image

Don't mind me, I'm nothing but a spoiler.
Offline Profile Quote Post Goto Top
 
Posted Image jdaster64
Member Avatar


BTW, I tried searching for strings like "66 00 30 00 33 00 20 00" and such in the U.S. version, but to no avail. So it's probably not stored as conveniently, unfortunately.
Posted Image
Offline Profile Quote Post Goto Top
 
Posted Image Teawater
Who are you calling an old man?

Code:
 
?????? - 1645A4 (Enemy Database)

284800 - 564200 (BAI_atk_hk.dat)
3AC400 - 68BE00 (BAI_atk_mt.dat)

629000 - 901200 (BDataMap.dat)


(Us on left, Japan on right)

Yeah... I'm getting the feeling it's probably compressed.

Code:
 
564200 - 1645A4 = Almost 400000

284800 < 400000
If you ever find an error in any of my reference materials, PLEASE let me know.
Posted ImagePosted ImagePosted ImagePosted ImagePosted ImagePosted Image

Don't mind me, I'm nothing but a spoiler.
Offline Profile Quote Post Goto Top
 
Posted Image Salanewt
Member Avatar
Star Yoshi

I seem to remember reading something about the stats being shown in the Japanese version only. Perhaps they have several stat values, and then index them by number from the enemy? For example, instead of indexing a picture with a number, the whole stat is indexed from a bank, like a Power or Defence bank? I think I will try to do some research for this as well, since we will need to find the enemy data for this game.

By the way, thanks for helping out with this jdaster. We need all of the help that we can get for some of this stuff.

Have a nice day.
Have a nice day!

Oh wow, it's been a while. Um. Hi. I guess I can get back into M&L stuff sooner or later, it really has been ages.

To use a sword, /\ and / again.
Offline Profile Quote Post Goto Top
 
Posted Image jdaster64
Member Avatar


I'm still not convinced that the data begins on 1645A4, as the data lines up much more readably at -AA (and it highly resembles PiT's string). Also, if there aren't any "rare" items, per se, in the game, perhaps one is for battles with the Mario Bros., and the other for battles with Bowser?
Posted Image
Offline Profile Quote Post Goto Top
 
Posted Image Salanewt
Member Avatar
Star Yoshi

As a little reminder, when testing for the values you can add 28000000 to the offset and find some of the ROM data in Memory Viewer (not sure if this works with all of the sections, but it is useful to know). I am going to see if I can find anything that looks remotely similar to Goombule's stats, and see if I can edit it.

Have a nice day.
:Idleblackyoshi: :Idlewhiteyoshi:

Edit: After replacing several lines with 00s (starting at 28163E00 and ending at 281645A4) in the North American version, nothing seemed to happen with battle. However, when I left the room with the very first Goombule, the emulator shut down. Could this be warp data?

More research is required!

Edit: The warp thing must have been a flaw. However, it certainly does look like something, perhaps item data? I am kind of doubtful on that though, as I just removed everything in that section.

28164CA3 - Where it ends. So it starts at 28163E00, and... It is almost 1000 bytes, whatever it is.
Edited by Salanewt, Sep 20 2010, 07:44:54 PM.
Have a nice day!

Oh wow, it's been a while. Um. Hi. I guess I can get back into M&L stuff sooner or later, it really has been ages.

To use a sword, /\ and / again.
Offline Profile Quote Post Goto Top
 
Posted Image Teawater
Who are you calling an old man?

Quote:
 
As a little reminder, when testing for the values you can add 28000000 to the offset and find some of the ROM data in Memory Viewer


Oh really? It seems to be FF filled in the latest version of DesMuMe (9.6 x64)

And doesn't seemed to be mapped on GBATEK, I think it was used for testing, to perfect the emulator.
If you ever find an error in any of my reference materials, PLEASE let me know.
Posted ImagePosted ImagePosted ImagePosted ImagePosted ImagePosted Image

Don't mind me, I'm nothing but a spoiler.
Offline Profile Quote Post Goto Top
 
Posted Image jdaster64
Member Avatar


Is this the Japanese version of the game or the American one that you found that data in?
Posted Image
Offline Profile Quote Post Goto Top
 
Posted Image Salanewt
Member Avatar
Star Yoshi

Oh, I am using 0.9.4 (so I am a few versions behind you). As for the ROM, it is the North American (U) version. I also realized that I may have to open up a Hex editor to be able to see any changes.

Have a nice day.
:Idleblackyoshi: :Idlewhiteyoshi:
Have a nice day!

Oh wow, it's been a while. Um. Hi. I guess I can get back into M&L stuff sooner or later, it really has been ages.

To use a sword, /\ and / again.
Offline Profile Quote Post Goto Top
 
Posted Image jdaster64
Member Avatar


Again, I recommend HHD Hex Editor Neo if you don't have it; even the free version is very flexible, much more so than Translhextion and some others I've heard of.
Posted Image
Offline Profile Quote Post Goto Top
 
Posted Image Salanewt
Member Avatar
Star Yoshi

Cool, I think I will download it today. One major problem with Translhextion is that it does not work for DS games, causing me to use Windhex.

Have a nice day.
:Idleblackyoshi: :Idlewhiteyoshi:
Have a nice day!

Oh wow, it's been a while. Um. Hi. I guess I can get back into M&L stuff sooner or later, it really has been ages.

To use a sword, /\ and / again.
Offline Profile Quote Post Goto Top
 
Posted Image jdaster64
Member Avatar


I don't mean to be a bother, but is there any way that one of you could finish the list of item drops' 1000-4000 values, or at least explain how they are ordered?

I've never played the game, so I don't know much about the enemies or the items/equipment, much less their order.
Posted Image
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Bowser's Inside Story · Next Topic »
Add Reply

↓ It's not the truth (or is it?) Come back tomorrow to find out! (Joke.) ↓