Hey thanks for this great tool! One small problem though. For me, none of the encryption options are working. I've tried both through the GUI and CLI.
Interestingly, it appears to generate the exact same file with different passwords used for encryption. See the md5sum of an rres file created with two different passwords
See below:
rrespacker --output example.rres ~/video-prep/zero.png@zero.png,0,0,0,40,73 --password 1234567890123456
INFO: Input filepath to process: /home/xentropy/video-prep/zero.png@zero.png
RRES: Start building file: example.rres
RRES: Start Building Project (1 files)
RRES: [001/001] Processing file: /home/xentropy/video-prep/zero.png
RRES: Input File: zero.png
RRES: Output Resource: IMGE
RRES: > id: 0xe0007faa
RRES: > compType: QOI (40)
RRES: > cipherType: XChaCha20 (73)
RRES: > baseSize: 331796
RRES: > packedSize: 45477 (13%)
RRES: > nextOffset: 0
RRES: > CRC32: 0x0530f1e0
RRES: CDIR: Entry id: 0xe0007faa | Offset: 0x00000010 | Filename: zero.png (len: 12)
RRES: CDIR: Offset: 0000b1c5
RRES: Chunks count: 1
RRES: Package built successfully: example.rres
md5sum example.rres
036c9ef7020071b87855fd4ee74ec53c example.rres
rrespacker --output example.rres ~/video-prep/zero.png@zero.png,0,0,0,40,73 --password test23
INFO: Input filepath to process: /home/xentropy/video-prep/zero.png@zero.png
RRES: Start building file: example.rres
RRES: Start Building Project (1 files)
RRES: [001/001] Processing file: /home/xentropy/video-prep/zero.png
RRES: Input File: zero.png
RRES: Output Resource: IMGE
RRES: > id: 0xe0007faa
RRES: > compType: QOI (40)
RRES: > cipherType: XChaCha20 (73)
RRES: > baseSize: 331796
RRES: > packedSize: 45477 (13%)
RRES: > nextOffset: 0
RRES: > CRC32: 0x0530f1e0
RRES: CDIR: Entry id: 0xe0007faa | Offset: 0x00000010 | Filename: zero.png (len: 12)
RRES: CDIR: Offset: 0000b1c5
RRES: Chunks count: 1
RRES: Package built successfully: example.rres
md5sum example.rres
036c9ef7020071b87855fd4ee74ec53c example.rres