Naruto: The Broken Bond .sra file help
-
MarioSonicU
- advanced
- Posts: 74
- Joined: Thu Jun 25, 2015 11:26 pm
- Has thanked: 9 times
- Been thanked: 1 time
Naruto: The Broken Bond .sra file help
I was wondering if there are any ways to extract or figure out the naruto_stream and naruto_sound sra files
-
MarioSonicU
- advanced
- Posts: 74
- Joined: Thu Jun 25, 2015 11:26 pm
- Has thanked: 9 times
- Been thanked: 1 time
-
herbert3000
- veteran
- Posts: 134
- Joined: Wed Jun 02, 2010 4:53 am
- Has thanked: 18 times
- Been thanked: 143 times
- Contact:
Re: Naruto: The Broken Bond .sra file help
Code: Select all
# Naruto.SRA
# header
46 52 53 41 "FRSA"
02 00 00 00 unknown
F3 6C DA 09 offset1
95 08 00 00 number of files
3F 5D DB 09 offset2
E6 08 00 00 unknown
00 00 00 00
@offset1:
for (number of files) {
00 00 00 00 always 0
05 02
00 10
8B 67 01 0F maybe checksum?
F8 96 5E 03 index to zlib compressed file (they start with "xœ")
97 53 05 00 size of zlib compressed file
20 00 06 00 size of uncompressed file
40 00 00 00 always 0x40
}
@offset2:
0x9370 bytes of unknown dataCode: Select all
comtype zlib
idstring "FRSA"
get DUMMY long
get FILE_TABLE_OFFSET long
get FILE_COUNT long
goto FILE_TABLE_OFFSET
for i = 0 < FILE_COUNT
get DUMMY long
get DUMMY long
get DUMMY long
get OFFSET long
get ZSIZE long
get SIZE long
get DUMMY long
set NAME "FRSA_Output\sprite_"
string NAME + i
string NAME + ".kk2d"
clog NAME OFFSET ZSIZE SIZE
next i
