[HELP] Compress .pak file [Corum Online]

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
demonisk
Posts: 3
Joined: Mon Aug 14, 2017 6:39 pm

[HELP] Compress .pak file [Corum Online]

Post by demonisk »

Hi,

I extract a .pak file with this script -->

Code: Select all

get PATH basename
string PATH += /
get VER long
get FILES long
goto 0x5c
for i = 0 < FILES
    savepos ENTRY_OFF
    get ENTRY_SIZE long
    get SIZE long
    get NAMESZ long
    get ENTRY_OFF2 long # same as ENTRY_OFF
    getdstring ZERO 16
    math NAMESZ + 1
    getdstring NAME NAMESZ
    savepos OFFSET
    set FNAME string PATH
    string FNAME += NAME
    log FNAME OFFSET SIZE
    math ENTRY_OFF + ENTRY_SIZE
    goto ENTRY_OFF
next i



Does anyone know how to compress it? :? :? :?
Thanks!!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [HELP] Compress .pak file

Post by aluigi »

The script you posted is: Corum Online / Mo Siang (script 0.1a)
http://aluigi.org/bms/corum_online.bms

The script is valid for reimporting, read section 3 of http://aluigi.org/papers/quickbms.txt
demonisk
Posts: 3
Joined: Mon Aug 14, 2017 6:39 pm

Re: [HELP] Compress .pak file

Post by demonisk »

aluigi wrote:The script you posted is: Corum Online / Mo Siang (script 0.1a)
http://aluigi.org/bms/corum_online.bms

The script is valid for reimporting, read section 3 of http://aluigi.org/papers/quickbms.txt


Did I do it right?
https://uploaddeimagens.com.br/imagens/sem_titulo-jpg--8250
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [HELP] Compress .pak file [Corum Online]

Post by aluigi »

Obviously no :)

You must select the SAME files and folders you selected during the extraction.
In this case you selected path\quickbms\Character as output folder while you had to select path\quickbms
demonisk
Posts: 3
Joined: Mon Aug 14, 2017 6:39 pm

Re: [HELP] Compress .pak file [Corum Online]

Post by demonisk »

aluigi wrote:Obviously no :)

You must select the SAME files and folders you selected during the extraction.
In this case you selected path\quickbms\Character as output folder while you had to select path\quickbms


Haha
got it
thank you so much!! :D