File paths have trailing \x00s
tankorsmash opened this issue · comments
godot-unpacker/godot-unpacker.py
Line 63 in a33326a
Not sure what the cause is, but I had several \x00's at the end of my paths and adding an rstrip
allowed me to unpack properly:
file_name_full.rstrip('\x00')
Same. I used with open(os.path.join(path, file_name_full.rstrip("\0")), "w+b") as p:
.
Please fix this.