Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Your XP
Terms & Rules
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Tutorials
Reviews
Overview
Official reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo DS
Metal Max 3 Translation Project
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="DarthNemesis" data-source="post: 5865592" data-attributes="member: 118382"><p>Here's what I can figure out of the pak format:</p><p></p><p>[Header]</p><p>0x00 - 2 bytes - File count</p><p>0x02 - 4 bytes - File table offset</p><p>0x06 - 2 bytes - Filename tree offset</p><p></p><p>0x08 - Filename strings</p><p></p><p>[Filename tree] array of nodes with the following format:</p><p>2 bytes - number of children</p><p>for each child:</p><p>2 bytes - offset of string</p><p>2 bytes - file table index if this is a leaf node (odd), otherwise offset in file table of first child (even)</p><p></p><p>[File table] array</p><p>2 bytes - file size</p><p>2 bytes - offset</p><p></p><p>[SPOILER]Example - Mini\TANK\tex\pack_data.pak:</p><p>116 files</p><p>Offset/length info starts at 0x041E</p><p>Filename info starts at 0x015A</p><p>File #1 starts at 0x7BE and is 0xA0 bytes</p><p>File #2 starts at 0x85E and is 0xA0 bytes</p><p>etc.</p><p></p><p>Parsed filenames:</p><p>BALLISTIC.TEX</p><p>BULLET1.TEX</p><p>BULLET2.TEX</p><p>CLIFF.TEX</p><p>CLOUD_01.TEX</p><p>CLOUD_02.TEX</p><p>CC1.TEX</p><p>CC2.TEX</p><p>CC3.TEX</p><p>CC4.TEX</p><p>CURSOR_1.TEX</p><p>EF_01_01.TEX</p><p>EF_02_01.TEX</p><p>EF_02_02.TEX</p><p>EF_02_03.TEX</p><p>EF_03_01.TEX</p><p>EF_03_02.TEX</p><p>EN_01_01.TEX</p><p>EN_01_02.TEX</p><p>EN_01_03.TEX</p><p>etc.</p><p></p><p>Filename tree:</p><p></p><p>0900</p><p>1500 0003 B</p><p>3C00 2803 C</p><p>7200 9003 E</p><p>A300 9C05 F</p><p>F200 0406 GR</p><p>F500 7700 HOUSE</p><p>FF00 7900 MOUNTAIN</p><p>1201 1806 P</p><p>5001 E007 T</p><p></p><p>0200</p><p>0800 0100 ALLISTIC.TEX</p><p>2300 1403 ULLET</p><p></p><p>0200</p><p>1700 0300 1.TEXT</p><p>1D00 0500 2.TEXT</p><p></p><p>0300</p><p>3A00 4403 L</p><p>3E00 6C03 C</p><p>5100 1500 URSOR_1.TEX</p><p></p><p>0200</p><p>2C00 0700 IFF.TEX</p><p>3400 5803 OUD_0</p><p></p><p>0200</p><p>1700 0900 1.TEX</p><p>1D00 0B00 2.TEX</p><p></p><p>0400</p><p>1700 0D00 1.TEX</p><p>1D00 0F00 2.TEX</p><p>4500 1100 3.TEX</p><p>4B00 1300 4.TEX</p><p></p><p>0200</p><p>6E00 A403 F_0</p><p>8200 F003 N</p><p></p><p>0300</p><p>5D00 1700 1_01.TEX</p><p>6600 C003 2_0</p><p>6A00 DC03 3_0</p><p></p><p>0300</p><p>1700 1900 1.TEX</p><p>1D00 1B00 2.TEX</p><p>4500 1D00 3.TEX</p><p></p><p>0200</p><p>1700 1F00 1.TEX</p><p>1D00 2100 2.TEX</p><p></p><p>0200</p><p>8000 0404 0</p><p>8700 BC04 _</p><p></p><p>0500</p><p>7400 3004 1_0</p><p>6600 4C04 2_0</p><p>6A00 6804 3_0</p><p>7800 8404 4_0</p><p>7C00 A004 5_0</p><p></p><p>0300</p><p>1700 2300 1.TEX</p><p>1D00 2500 2.TEX</p><p>4500 2700 3.TEX</p><p>etc.</p><p>[/SPOILER]</p><p></p><p>Parsing the filenames is way over-complicated, but since all the offset and length info for the files themselves is in a separate table after that, the filename tree doesn't need to be modified at all to reinsert the files. You could even just ignore it and number off the files in order. The font uses Unicode encoding, so identifying which files contain text would be straightforward enough.</p></blockquote><p></p>
[QUOTE="DarthNemesis, post: 5865592, member: 118382"] Here's what I can figure out of the pak format: [Header] 0x00 - 2 bytes - File count 0x02 - 4 bytes - File table offset 0x06 - 2 bytes - Filename tree offset 0x08 - Filename strings [Filename tree] array of nodes with the following format: 2 bytes - number of children for each child: 2 bytes - offset of string 2 bytes - file table index if this is a leaf node (odd), otherwise offset in file table of first child (even) [File table] array 2 bytes - file size 2 bytes - offset [SPOILER]Example - Mini\TANK\tex\pack_data.pak: 116 files Offset/length info starts at 0x041E Filename info starts at 0x015A File #1 starts at 0x7BE and is 0xA0 bytes File #2 starts at 0x85E and is 0xA0 bytes etc. Parsed filenames: BALLISTIC.TEX BULLET1.TEX BULLET2.TEX CLIFF.TEX CLOUD_01.TEX CLOUD_02.TEX CC1.TEX CC2.TEX CC3.TEX CC4.TEX CURSOR_1.TEX EF_01_01.TEX EF_02_01.TEX EF_02_02.TEX EF_02_03.TEX EF_03_01.TEX EF_03_02.TEX EN_01_01.TEX EN_01_02.TEX EN_01_03.TEX etc. Filename tree: 0900 1500 0003 B 3C00 2803 C 7200 9003 E A300 9C05 F F200 0406 GR F500 7700 HOUSE FF00 7900 MOUNTAIN 1201 1806 P 5001 E007 T 0200 0800 0100 ALLISTIC.TEX 2300 1403 ULLET 0200 1700 0300 1.TEXT 1D00 0500 2.TEXT 0300 3A00 4403 L 3E00 6C03 C 5100 1500 URSOR_1.TEX 0200 2C00 0700 IFF.TEX 3400 5803 OUD_0 0200 1700 0900 1.TEX 1D00 0B00 2.TEX 0400 1700 0D00 1.TEX 1D00 0F00 2.TEX 4500 1100 3.TEX 4B00 1300 4.TEX 0200 6E00 A403 F_0 8200 F003 N 0300 5D00 1700 1_01.TEX 6600 C003 2_0 6A00 DC03 3_0 0300 1700 1900 1.TEX 1D00 1B00 2.TEX 4500 1D00 3.TEX 0200 1700 1F00 1.TEX 1D00 2100 2.TEX 0200 8000 0404 0 8700 BC04 _ 0500 7400 3004 1_0 6600 4C04 2_0 6A00 6804 3_0 7800 8404 4_0 7C00 A004 5_0 0300 1700 2300 1.TEX 1D00 2500 2.TEX 4500 2700 3.TEX etc. [/SPOILER] Parsing the filenames is way over-complicated, but since all the offset and length info for the files themselves is in a separate table after that, the filename tree doesn't need to be modified at all to reinsert the files. You could even just ignore it and number off the files in order. The font uses Unicode encoding, so identifying which files contain text would be straightforward enough. [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo DS
Metal Max 3 Translation Project
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
No one is chatting at the moment.
@
JuanBaNaNa
:
Oh my god, she's a smart gal:
https://www.instagram.com/p/Cb-ursvjlg8/?hl=es
Gift
Today at 3:27 AM
@
Julie_Pilgrim
:
watched morbius today
Gift
Today at 4:26 AM
@
Julie_Pilgrim
:
i was crying at every scene
Gift
Today at 4:26 AM
@
Julie_Pilgrim
:
all of us in the audience were cheering and clapping super loudly after every single line of dialouge
Gift
Today at 4:27 AM
@
Julie_Pilgrim
:
it was the most packed theather i've seen in my life, there were peopel sharing seats because there just weren't enough seats
Gift
Today at 4:27 AM
@
Julie_Pilgrim
:
at the end we all had a big circlejerk over morbius and all
the theater staff joined in
Gift
Today at 4:28 AM
@
Julie_Pilgrim
:
after the circlejerk we decided to kill ourselves right then and there because we knew we would never see anything better
Gift
Today at 4:29 AM
@
Julie_Pilgrim
:
all in all 8/10, could be better
Gift
Today at 4:29 AM
@
KenniesNewName
:
I learned buffalo wild wings delivers until 1am rip wallet
Gift
Today at 6:10 AM
@
KenniesNewName
:
Boost Oxygen- 95% Pure Aviator’s Oxygen- 2 Liters
https://www.amazon.com/dp/B005SUIZF4/ref=cm_sw_r_awdo_B370TQJGBXTY6MPYVGX3?psc=1
Gift
Today at 7:17 AM
@
Veho
:
"Currently unavailable"? Aw booooo.
Gift
Today at 7:44 AM
@
Veho
:
https://i.imgur.com/Na2Wo9C.png
Gift
Today at 7:49 AM
@
KenniesNewName
:
It tastes like oxygen if you were wondering
Gift
Today at 7:55 AM
@
Veho
:
Says "peppermint flavor" on the site.
Gift
Today at 8:02 AM
@
KenniesNewName
:
Nah that's just New York flavor
Gift
Today at 8:04 AM
@
Veho
:
I thought "garbage" was the New York flavor. Or maybe "sewers".
Gift
Today at 8:07 AM
@
KenniesNewName
:
New mayor elected to have all garbage smell like peppermints
Gift
Today at 8:08 AM
@
KenniesNewName
:
https://www.marijuanamoment.net/kan...-aiming-to-pass-jointly-negotiated-bill-soon/
I can almost smell what Snoop Dogg smells everyday
Gift
Today at 8:15 AM
@
KenniesNewName
:
https://www.cjonline.com/story/news...erek-schmidt-420-raid-thc-delta-8/9558702002/
Gift
Today at 8:31 AM
X
@
xxNathanxx
:
Oh hey Veho, izvini, I forgot to check back yesterday, but good to hear you're doing well! I'd say the same goes for me, doing fine, could always be better but I don't really have anything major to complain about.
Gift
Today at 9:05 AM
@
DinohScene
:
hey Nathan!
Gift
Today at 9:06 AM
@
Psionic Roshambo
:
https://imgur.com/gallery/fNf9smE
Gift
Today at 9:21 AM
@
KenniesNewName
:
Salted caramel cocoa ain't bad kinda flat on flavor
Gift
Today at 9:27 AM
@
JuanBaNaNa
:
Tastes like covid
Gift
Today at 9:34 AM
@
Veho
:
~~~
Scent of corona....~~~~
(Sung to the melody of "Senza una donna" by Zucchero)
Gift
Today at 9:51 AM
Submit
@
Veho
:
~~~Scent of corona....~~~~ (Sung to the melody of "Senza una donna" by Zucchero)
Today at 9:51 AM
Chat
0