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
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Sonic Angel Knight, Is that SAK I see. :ninja:
  • BigOnYa @ BigOnYa:
    What a weird game
  • K3Nv2 @ K3Nv2:
    Yeah I wanted to see shards of the titanic
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
    K3Nv2 @ K3Nv2: My life has no value my fat ass is staying right here