Hi, I've tried the current Examina RPK extract alg. (http://zenhax.com/viewtopic.php?f=9&t=2128) but it does not work with these files (I attach 2 examples).
Can someone help me? maybe I'm doing it wrong.
.RPK files from Trivial
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: .RPK files from Trivial
It's the usual compression used for the Electronic Arts games and is supported in quickbms in many "flavors": dk2, refpack, xrefpack and xrefpack0
Code: Select all
endian big
comtype XREFPACK0
get SIGN1 byte
get SIGN2 byte
get SIZE long
get ZSIZE asize
savepos OFFSET
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE