in any case if people want to do full translation. the first and second game uses CPK (criware) to store data. the images are stored in *.GIM image format. some have and don't have text in it..
the file also uses a *.bnd file that store JSON files and others. but these JSON files also store some texts outside of the images (*.GIM)
---Header -> fixed 16 bytes
Magic (int32):0x00444E42 (BND)
Version? (int32): must be a version value
Info Offset (int32): jumps to 0x10 (not a ideal name but just a made up one)
Table Offset (int32): jumps to 0x20 (table of contents area.)
--- Info Offset -> fixed 16 bytes
??? (int32): either this part is a table section size or an offset leads to the starting point of entry info.. or something, can't confirm
Chunks (int32): jumps to where all data is stored
Padding (8 bytes): probably used in game. so skipping it.
```
Tables Section (Table of Content/TOC) area [0x20]
--- Table Offset
Total files (int32): all files, excluding directories
Total entries (int32): all entries, including dirs
[
Hash (uint32): checksum value, crc32. used for both directory and filename (strings)
Entry Info Offset (int32): pointer to an entry info section
File Offset (int32)
File Size (int32)
]
--- Entry Info Offset
???: 3 bytes of unknown data
Entry Offset (int32): just a pointer back that goes to itself in the table section
Filename (char[]): read until null terminated (utf-8)
--- Reading Hash (sorting, useful on where to put files on extraction)
use crc32 checking to match directory + filename
? [directory string] + [filename string] + [entry hash value] = [result]
? bad result?, try to use other directory string until you find a match
- Thanks for edness from XeNTaX Discord for the help
in any case if people want to do full translation. the first and second game uses CPK (criware) to store data. the images are stored in *.GIM image format. some have and don't have text in it..
the file also uses a *.bnd file that store JSON files and others. but these JSON files also store some texts outside of the images (*.GIM)
---Header -> fixed 16 bytes
Magic (int32):0x00444E42 (BND)
Version? (int32): must be a version value
Info Offset (int32): jumps to 0x10 (not a ideal name but just a made up one)
Table Offset (int32): jumps to 0x20 (table of contents area.)
--- Info Offset -> fixed 16 bytes
??? (int32): either this part is a table section size or an offset leads to the starting point of entry info.. or something, can't confirm
Chunks (int32): jumps to where all data is stored
Padding (8 bytes): probably used in game. so skipping it.
```
Tables Section (Table of Content/TOC) area [0x20]
--- Table Offset
Total files (int32): all files, excluding directories
Total entries (int32): all entries, including dirs
[
Hash (uint32): checksum value, crc32. used for both directory and filename (strings)
Entry Info Offset (int32): pointer to an entry info section
File Offset (int32)
File Size (int32)
]
--- Entry Info Offset
???: 3 bytes of unknown data
Entry Offset (int32): just a pointer back that goes to itself in the table section
Filename (char[]): read until null terminated (utf-8)
--- Reading Hash (sorting, useful on where to put files on extraction)
use crc32 checking to match directory + filename
? [directory string] + [filename string] + [entry hash value] = [result]
? bad result?, try to use other directory string until you find a match
- Thanks for edness from XeNTaX Discord for the help
Hi and ye, i was tried to do a translation on the MK-2 game since someone from the XeNTaX discord make a JSON scrip to extract all the text from the files, and then realized that, like i said above, I couldnt translate the game fully since it will cut sentences because 1 line in japanese equals to 2 or more in english, so i dropped it.
Then someone else contacted me about and that person was doing something with the thing i did and create this.
A bit of off-topic, but im doing a texture pack for the MK-2 game since it have other tips(?) and images.
Sony made a shocking announcement today, revealing that the company plans to move away from physical game releases in the future. Citing claims of how the industry is...
Last month we got confirmation of a new model of Switch 2 to better comply with upcoming EU regulations. With the legislation set to come into effect in February of...
The end has come for the PlayStation 3 and the PlayStation Vita. After supporting the PSN Store on the PS3 and PS Vita since 2006 and 2011 respectively, Sony has...
Tired of waiting for Game Freak to bring Pokemon Emerald to modern platforms? We've got you covered with a brand new port in the works. Currently available on GitHub...
For fans of Sinnoh, the pickings are slim. If you want the best experience you're left deciding between the updated region in Platinum, or the somewhat controversial...
Ocarina of Time is back in style as the upcoming Switch 2 remake looms on the horizon. But what's a fan of the game to do over the next few months? If you've been...
The Switch 2 has been out for a year now, but you shouldn't count the original system out yet! Released a few days ago, popular PS2 emulator NetherSX2 has found its...
Hot on the heels of their NetherSX2 port, @Nagaa is back with another hugely anticipated release: a Switch port of the popular Wii U emulator Cemu. We've got more...
The Pokemon series is known for its vast assortment of spin off titles, with the majority being well-received. We've had an assortment of Mystery Dungeon titles, a...
Saber Interactive, in collaboration with Universal Products & Experiences, revealed a new gameplay trailer for Turok: Origins. This new entry to the dino-hunting...
Sony made a shocking announcement today, revealing that the company plans to move away from physical game releases in the future. Citing claims of how the industry is...
Last month we got confirmation of a new model of Switch 2 to better comply with upcoming EU regulations. With the legislation set to come into effect in February of...
The end has come for the PlayStation 3 and the PlayStation Vita. After supporting the PSN Store on the PS3 and PS Vita since 2006 and 2011 respectively, Sony has...
Ocarina of Time is back in style as the upcoming Switch 2 remake looms on the horizon. But what's a fan of the game to do over the next few months? If you've been...
Tired of waiting for Game Freak to bring Pokemon Emerald to modern platforms? We've got you covered with a brand new port in the works. Currently available on GitHub...
Amidst news of layoffs and cancellations in the wake of Xbox's larger changes, Bethesda has today come out with a statement discussing their active projects. In this...
For fans of Sinnoh, the pickings are slim. If you want the best experience you're left deciding between the updated region in Platinum, or the somewhat controversial...
Announced today during the Octopath Traveler 8th Anniversary live stream, it's been confirmed that both the first game and its sequel will be launching on the Switch...
In this time of everything costing more a year after it's released, it's nice to see some things sticking to the old ways. Capcom have today announced that the latest...
Saber Interactive, in collaboration with Universal Products & Experiences, revealed a new gameplay trailer for Turok: Origins. This new entry to the dino-hunting...