Hi, I've been trying to unpack a custom file type (.ccb) which is used in a NDS ROM (Solatorobo). Literally almost all the ROM content is inside of that file type.
The thing is that I made a little program which reads those files, and give me a list of files contained in them, and their compressed data. And there is the problem... The compressed data.
I've heard that it's compressed using LZ compression of NDS, but I can't find any information about it. I searched on google, but I can only find LZW, LZSS, LZ77 among other types of similar compressions, and I am not so sure that they are the same which uses NDS (probably not, i guess). So I would be grateful, if someone could provide me information about the NDS compression...
I'd add a little compressed file hex content to this thread, but i'm not sure if I can (because rules and everyting that), i'm not used to write threads...
This is the output of the program I've made, with an example ccb file:
File size: 147144 Bytes
Number of files: 3
Files:
|
|--File name: s2air06bkg00.nsbmd
|--File type: 4
|------Compressed file size: 528 Bytes
|----------Compression type: 16
|------Uncompressed file size: 1056 Bytes
|
|--File name: s2air06bkg00.ccbcl
|--File type: 0
|------Compressed file size: 336 Bytes
|----------Compression type: 16
|------Uncompressed file size: 944 Bytes
|
|--File name: s2air06bkg00t.nsbtx
|--File type: 5
|------Compressed file size: 146176 Bytes
|----------Compression type: 16
|------Uncompressed file size: 262820 Bytes
Since I don't know how many types of compression types can use those files, and their names, I used the numeric id to show the compression type. I didn't see another compression type that is not 16, though.
Thanks in advance!!
The thing is that I made a little program which reads those files, and give me a list of files contained in them, and their compressed data. And there is the problem... The compressed data.
I've heard that it's compressed using LZ compression of NDS, but I can't find any information about it. I searched on google, but I can only find LZW, LZSS, LZ77 among other types of similar compressions, and I am not so sure that they are the same which uses NDS (probably not, i guess). So I would be grateful, if someone could provide me information about the NDS compression...
I'd add a little compressed file hex content to this thread, but i'm not sure if I can (because rules and everyting that), i'm not used to write threads...
This is the output of the program I've made, with an example ccb file:
File size: 147144 Bytes
Number of files: 3
Files:
|
|--File name: s2air06bkg00.nsbmd
|--File type: 4
|------Compressed file size: 528 Bytes
|----------Compression type: 16
|------Uncompressed file size: 1056 Bytes
|
|--File name: s2air06bkg00.ccbcl
|--File type: 0
|------Compressed file size: 336 Bytes
|----------Compression type: 16
|------Uncompressed file size: 944 Bytes
|
|--File name: s2air06bkg00t.nsbtx
|--File type: 5
|------Compressed file size: 146176 Bytes
|----------Compression type: 16
|------Uncompressed file size: 262820 Bytes
Since I don't know how many types of compression types can use those files, and their names, I used the numeric id to show the compression type. I didn't see another compression type that is not 16, though.
Thanks in advance!!