Batch CPK packing with quickBMS + cpk script?

Doubts, help and support about QuickBMS and other game research tools
kantonin
Posts: 3
Joined: Mon Jun 10, 2019 8:52 am

Batch CPK packing with quickBMS + cpk script?

Post by kantonin »

Hello,

Great tool to extract cpk, but is it possible to pack cpk based of a list of folders?

I mean I have around 2000 folders that must be packed as .cpk

exemple my folders containing files:

files/123/
files/154/
files/951/

must generate
files/123.cpk
files/154.cpk
files/951.cpk

reimport2.bat doesn't seems to do this...

Thanks for help
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Batch CPK packing with quickBMS + cpk script?

Post by aluigi »

In theory it should work.
Have you tried from command-line too?

quickbms -r -r -w cpk.bms cpk_folder files_folder

Otherwise you can do make a simple batch file or use other solutions (like cygwin find)