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?
#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
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