Firstly, thanks for this, am using it to extract some RNC-compressed files in Space Station Silicon Valley (N64 ROM).
Some of the files appear to be compressed twice, i.e.
$ ./tools/rnc_propack_source/rnc_propack s bin/rnc_618480.bin
-= RNC ProPackED v1.4 [by Lab 313] (11/04/2018) =-
-----------------------------
RNC archive found: 0x000000 (004183/004305 bytes)
After extracting bin/rnc_618480.bin
to assets/bin/rnc_618480.bin
, I can see:
mark@DESKTOP-AOUBO9E:~/sssv$ ./tools/rnc_propack_source/rnc_propack s assets/bin/rnc_618480.bin
-= RNC ProPackED v1.4 [by Lab 313] (11/04/2018) =-
-----------------------------
RNC archive found: 0x000001 (000085/000160 bytes)
RNC archive found: 0x000057 (000047/003072 bytes)
RNC archive found: 0x000087 (000839/050440 bytes)
RNC archive found: 0x0003cf (001172/004262 bytes)
RNC archive found: 0x000864 (000141/000156 bytes)
RNC archive found: 0x0008f2 (000087/000114 bytes)
RNC archive found: 0x00094a (000026/000002 bytes)
RNC archive found: 0x000965 (000036/000010 bytes)
RNC archive found: 0x00098a (000026/000002 bytes)
RNC archive found: 0x0009a5 (000050/000024 bytes)
RNC archive found: 0x0009d8 (001634/006348 bytes)
RNC archive found: 0x00103b (000077/000086 bytes)
RNC archive found: 0x001089 (000033/002048 bytes)
RNC archive found: 0x0010ab (000036/000010 bytes)
However, I don't understand how to use the e
functionality (had a quick glance at main.c and doesn't look like its fully implemented?)
mark@DESKTOP-AOUBO9E:~/sssv$ ./tools/rnc_propack_source/rnc_propack e assets/bin/rnc_618480.bin
-= RNC ProPackED v1.4 [by Lab 313] (11/04/2018) =-
-----------------------------
Wrong command line specified!
Obviously I can feed each offset from the search into unpack via -i
, but that's extra steps that I'd like to avoid if possible ;)
EDIT
Realised I was using the binary that came in the repo rather than compiling main.c myself... think you can close this!