ROM Hack Learning rom hacking on Metal Saga

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,200
Country
New Zealand
Thanks Normmatt !

But do you know which "pack_data.pak" is red in this log ? Because i don't find any at 0x27E356C...
And how do you get this log ? With the debug version of NO$GBA ?

I definitely still have a lot to learn :)


0x27E356C is just a FILE pointer. the second argument is the place its read to in memory and third is number of bytes read.

and that /pack_data.pak is the one in root of file system hence the single /

EDIT: The log is from my custom desmume.
 

Morm91

Member
OP
Newcomer
Joined
Aug 26, 2014
Messages
12
Trophies
0
Age
36
Location
Paris
XP
43
Country
France
I've almost figured it out.
Heres what i found :
The first 2 bytes are the number of files in the pack (offset: 0x00000000)
The 4 next are the offset of the pointer table for the files content (offset: 0x00000002)
The 2 next are the offset of another table (offset: 0x00000006)
After that and until the offset of this "other table", there are the files names (offset: 0x00000008)
After that, there is this "other table". (offset: 0x00000034)
After that, there is the pointer table for the files content (offset: 0x0000004A)
And finally after that, there are the files contents (until the end). (offset: 0x00000062)

So the last thing i have to find, is the usage of this "other table". It seems to contain offset for the file names but not just that and i dont find any logical sequences. Here is a screenshot with this "other table" highlighted in blue :
pack_hex.png


Any hint ? :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    +1
  • BakerMan @ BakerMan:
    I hope it's not a week.
  • K3Nv2 @ K3Nv2:
    It's standard so doctors can get a idea about what's going on
  • BakerMan @ BakerMan:
    understood
  • BakerMan @ BakerMan:
    well, i'm glad he seems to be doing fine, and ig i'm going to start spewing goofy shit again
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
    +1
  • ZeroT21 @ ZeroT21:
    they wouldn't be called french fries at that point
    +1
  • ZeroT21 @ ZeroT21:
    Probably just meth fries
    +1
  • K3Nv2 @ K3Nv2:
    White fries hold up
    +1
  • The Real Jdbye @ The Real Jdbye:
    @K3Nv2 sure you can
  • BakerMan @ BakerMan:
    why tf do people hate android users? is it the video quality? just because "AnDrOiD = pOoR" bc they don't cost an arm and a leg like iphones do?
  • BakerMan @ BakerMan:
    i won't be turned off by an iphone, but don't pick on me for having an android, that's just how this shit should work
  • ZeroT21 @ ZeroT21:
    Should say more what these kind of android users say bout nokia 3310 users
    ZeroT21 @ ZeroT21: Should say more what these kind of android users say bout nokia 3310 users