[PS2] Kuon - all.bnd

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
hnnewgames
Posts: 148
Joined: Sat Dec 16, 2017 8:58 pm

[PS2] Kuon - all.bnd

Post by hnnewgames »

Image
Image

Hello everyone, I'm translating the Kuon from PS2 a while ago, the texts are already fully translated, but I'm facing a problem when importing the modified files back to all.bnd I'm using a script made by chrrox, but every time I import larger files the game crashes. Could someone please help?

Code: Select all

#Kuon all.bnd extractor
#by chrrox
#quickbms script
goto 0xC
get FILES long
savepos TMP
for i = 0 < FILES
goto TMP
get ID long
get OFFSET long
get SIZE long
get NOFF long
savepos TMP
goto NOFF
get NAME string
log NAME OFFSET SIZE
next i


all.bnd
https://www.mediafire.com/file/4kism6re1et8lv1/all.7z/file
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PS2] Kuon - all.bnd

Post by aluigi »

Open all.bnd with a hex editor.
Go to the last byte and write the hexadecimal offset on notepad, remember to add 1 to it because you need the full size of the file (offset of last byte + last byte).
Go at offset 8 and replace the 4 little endian bytes of the old size with the new size.
If your new size is 0x11223344 you must write (overwrite) 44 33 22 11.
Enjoy :)