I'm having trouble decompressing the last chunk from The Order 1886 files. They are using oodle.
Here's what I got so far:
Code: Select all
comtype oodle
append
get ARC_SIZE asize
get NAME basename
string name + ".order"
log name 0 0x0
goto 0x0
get magic longlong
get fullusize longlong
get fullpsize longlong
savepos OFFSET1
math OFFSET1 + 16
math fullpsize - 40
if fullusize < 0x40000
clog name OFFSET1 fullpsize fullusize
endif
if fullusize > 0x40000
set ni = 0
for fullpsize = fullpsize > 0
get PosOFFSET longlong
get PSIZE longlong
math ni + 1
savepos OFFSET
clog name OFFSET PSIZE 0x40000
math OFFSET + PSIZE
if OFFSET == ARC_SIZE
break
endif
goto OFFSET
next
endif
next i
Here are all the samples I got: https://drive.google.com/open?id=1qYwuu ... W9lJZDlXwA
Can anyone help out? Thanks!