NSA: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
| Length+2Bytes || File name || 2 0x00 placed after filename | | Length+2Bytes || File name || 2 0x00 placed after filename | ||
|- | |- | ||
| 4Bytes || | | 4Bytes || Offset || | ||
|- | |- | ||
| 4Bytes || | | 4Bytes || Filesize1 || | ||
|- | |- | ||
| 4Bytes || | | 4Bytes || Filesize2 || | ||
|} | |} | ||
Note: All numbers are big endian. | Note: All numbers are big endian. | ||
== Research == | |||
{| class="wikitable" | |||
!colspan="15"|First 5 Index Entries for 'arc.nsa' | |||
|- | |||
! Index Size !! Filename !! Offset !! Filesize1 !! Filesize2 | |||
|- | |||
| 22bytes || b\00.jpg || 0 || 155636 || 155636 | |||
|- | |||
| 23bytes || b\001.jpg || 155636 || 140467 || 140467 | |||
|- | |||
| 22bytes || b\01.jpg || 296103 || 169994 || 169994 | |||
|- | |||
| 22bytes || b\01.jpg || 466097 || 136249 || 136249 | |||
|- | |||
| 22bytes || b\05.jpg || 602346 || 150570 || 150570 | |||
|} | |||
Two file sizes suggest the archive supports compression. However in this case, it does not appear to be used due to same size for both filesize values. |
Revision as of 22:24, 8 July 2014
Used in the following games:
- みずいろ (Mizuiru)
Note: extension may be renamed in other games. *.NS2, *.SRA. May need to merge pages and use redirects to this page.
Structure
Header | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Size | Content | Description | ||||||||||||
2Bytes | Number of files | |||||||||||||
4Bytes | Data Start Offset | |||||||||||||
Index | ||||||||||||||
Size | Content | Description | ||||||||||||
Length+2Bytes | File name | 2 0x00 placed after filename | ||||||||||||
4Bytes | Offset | |||||||||||||
4Bytes | Filesize1 | |||||||||||||
4Bytes | Filesize2 |
Note: All numbers are big endian.
Research
First 5 Index Entries for 'arc.nsa' | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Index Size | Filename | Offset | Filesize1 | Filesize2 | ||||||||||
22bytes | b\00.jpg | 0 | 155636 | 155636 | ||||||||||
23bytes | b\001.jpg | 155636 | 140467 | 140467 | ||||||||||
22bytes | b\01.jpg | 296103 | 169994 | 169994 | ||||||||||
22bytes | b\01.jpg | 466097 | 136249 | 136249 | ||||||||||
22bytes | b\05.jpg | 602346 | 150570 | 150570 |
Two file sizes suggest the archive supports compression. However in this case, it does not appear to be used due to same size for both filesize values.