hello,
thanks for the nice work.
If i try to extract a file a got this segmention fault:
i run this in gdb:
Extracting PS3 file:
NPUB30676_dec/USRDIR/PS3/Audio/Music/Music.fsb/Monster1
Program received signal SIGSEGV, Segmentation fault.
__GI__IO_fwrite (buf=0x7ffff7ed7010, size=1, count=40448, fp=0x0) at iofwrite.c:37
37 iofwrite.c: File or Directory not found.
(gdb) bt
#0 __GI__IO_fwrite (buf=0x7ffff7ed7010, size=1, count=40448, fp=0x0) at iofwrite.c:37
#1 0x000055555555605f in extract_pkg (file=0x7fffffffe306 "The.Cave.PSN.NPUB30676.pkg") at pkgrip.c:354
#2 0x000055555555669d in main (argc=3, argv=0x7fffffffdf88) at pkgrip.c:467
(gdb)
if you watch at the second line there is a mix of filename and directory:
NPUB30676_dec/USRDIR/PS3/Audio/Music/Music.fsb/Monster1
.....Music.fsb/Monster1
it would be really nice if you can fix that. thanks
My System: Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux