Just want to know what compression this is to be sure.
It looks like deflate and I tried decompressing as deflate and can't get it to work.
File is attached.
What compression is this? [used in Tony Hawk games and some early Guitar Hero games]
-
- Posts: 290
- Joined: Fri Mar 30, 2018 2:48 am
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: What compression is this? [used in Tony Hawk games and some early Guitar Hero games]
it's deflate.
Works correctly with offzip and I remember to have used it recently in a script too (I remember the .xen extension).
Works correctly with offzip and I remember to have used it recently in a script too (I remember the .xen extension).
-
- Posts: 290
- Joined: Fri Mar 30, 2018 2:48 am
Re: What compression is this? [used in Tony Hawk games and some early Guitar Hero games]
aluigi wrote:it's deflate.
Works correctly with offzip and I remember to have used it recently in a script too (I remember the .xen extension).
Yeah I tried offzip now with the "-z -15 -S" settings and see there is one compressed stream. I can't seem to find the decompressed size in the file itself, so I am setting the "ZSIZE = SIZE" but it will not decompress. I am missing something clearly.
I guess I can use offzip to dump it for now tho.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: What compression is this? [used in Tony Hawk games and some early Guitar Hero games]
Use comtype deflate_noerror
-
- Posts: 290
- Joined: Fri Mar 30, 2018 2:48 am
Re: What compression is this? [used in Tony Hawk games and some early Guitar Hero games]
aluigi wrote:Use comtype deflate_noerror
Thanks it worked fine now.
EDIT: For anyone that wants to decompress Tony Hawk game files and Guitar hero 3 and Aerosmith, look in my Tools and Links Collection post.
There I have an updated script that can Decompress ALL variants of the PAK.XEN, PAB.XEN, IMG.XEN, TEX.XEN and so on.