The End Is Nigh (.gpak)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
0wn3df1x
Posts: 24
Joined: Wed Sep 02, 2015 6:56 pm

The End Is Nigh (.gpak)

Post by 0wn3df1x »

Hello there!
I need help with .gpak archives (The End Is Nigh game).

Header etc:
----
Image

----
Image

----

Thanking you in advance.
Last edited by 0wn3df1x on Sat Jul 15, 2017 6:47 am, edited 1 time in total.
MerlinSVK
Posts: 165
Joined: Wed Aug 13, 2014 10:00 am

Re: The End Is Nigh (.gpak)

Post by MerlinSVK »

Code: Select all

# The End is Nigh - .gpak archives
get FILENUM long
for i = 0 < FILENUM
    get FNAMESZ short
   getdstring FNAME[i] FNAMESZ
   get FSIZE[i] long
next i
savepos OFFSET
for i = 0 < FILENUM
   log FNAME[i] OFFSET FSIZE[i]
   math OFFSET + FSIZE[i]
next i


Script is also suitable for reimporting.

Image

EDIT: Added GPAK repacker -> http://www28.zippyshare.com/v/dP9zEBNm/file.html
Last edited by MerlinSVK on Thu Jul 13, 2017 9:16 am, edited 1 time in total.
0wn3df1x
Posts: 24
Joined: Wed Sep 02, 2015 6:56 pm

Re: The End Is Nigh (.gpak)

Post by 0wn3df1x »

MerlinSVK wrote:Script is also suitable for reimporting.


Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The End Is Nigh (.gpak)

Post by aluigi »

Best "thanks" ever and even a great usage of the [i] feature of quickbms that avoids to use those boring arrays
MerlinSVK
Posts: 165
Joined: Wed Aug 13, 2014 10:00 am

Re: The End Is Nigh (.gpak)

Post by MerlinSVK »

Nah, that's because QBMS has a great author. :)
merlin7vv4
Posts: 7
Joined: Sun Feb 24, 2019 2:24 pm

Re: The End Is Nigh (.gpak)

Post by merlin7vv4 »

0wn3df1x wrote:
MerlinSVK wrote:Script is also suitable for reimporting.


Image

Pls send me tool repack
MerlinSVK
Posts: 165
Joined: Wed Aug 13, 2014 10:00 am

Re: The End Is Nigh (.gpak)

Post by MerlinSVK »

Source code is still here, you can download it and compile it by yourself.