Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Crysis 2 - RETAIL .pak files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Crysis 2 - RETAIL .pak files

Post by aluigi »

you don't need to use the command-line.
read the section 3 of quickbms.txt, everything is written there so any ohter thing I could say would be just a copy&paste from that text file
User avatar
Avengerz13
ultra-n00b
Posts: 4
Joined: Thu Mar 24, 2011 12:55 pm

Re: Crysis 2 - RETAIL .pak files

Post by Avengerz13 »

All clear tnx

I just tried to make such a process. When the game is set to whatever files after extracting the most quickbms began the process of packing files. On the example of how something should be like: a compressed archive to the game files> unzipped data> package files. pak
User avatar
Herdell
veteran
Posts: 103
Joined: Sun Dec 13, 2009 8:35 pm
Has thanked: 30 times
Been thanked: 34 times

Re: Crysis 2 - RETAIL .pak files

Post by Herdell »

I really wanna know how to use quickbms to repack these files of crysis 2.
Anyone can provide an example? Line command?
caws
veteran
Posts: 120
Joined: Sat Mar 01, 2008 7:57 pm
Been thanked: 4 times

Re: Crysis 2 - RETAIL .pak files

Post by caws »

Awesome work.

Were the files xored? What kind of encryption??
AndylgRu
beginner
Posts: 25
Joined: Wed Jul 29, 2009 2:15 pm
Location: Russia
Has thanked: 1 time

Re: Crysis 2 - RETAIL .pak files

Post by AndylgRu »

How to pack back into the archive? :)
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Crysis 2 - RETAIL .pak files

Post by aluigi »

create a link to quickbms.exe and call it reimport
the link must contain the following "Target File" arguments:

Code: Select all

quickbms.exe -w -r
go in the folder where you have extracted the file, modify the files you want and DELETE all the others
make a backup copy of the pak archive you want to reinject back
double-click on the reimport link
do the exact things you did for the extraction
at the end of the process quickbms will show you how many files have been reimported, check if the number is correct

easy eh? :)

@caws
xxtea encryption with fixed key
Last edited by aluigi on Mon Mar 28, 2011 12:13 pm, edited 1 time in total.
DemonAk
ultra-n00b
Posts: 3
Joined: Fri Mar 25, 2011 5:30 pm

Re: Crysis 2 - RETAIL .pak files

Post by DemonAk »

not work, error. I try to pack directory test to archive.pak. was used command quickbms -w -r crysis2.bms archive.pak test
what i do wrong?)
Last edited by DemonAk on Sat Mar 26, 2011 2:38 am, edited 1 time in total.
User avatar
Herdell
veteran
Posts: 103
Joined: Sun Dec 13, 2009 8:35 pm
Has thanked: 30 times
Been thanked: 34 times

Re: Crysis 2 - RETAIL .pak files

Post by Herdell »

@offtopic> Aluigi, reinsert function off zip.bms script doesn't works with
.cache files of Dark Scetor game. I really need to reinsert some files back in the .cache,
cause i'm a game translator, and the game can't load the .cache files repacked by normal zip
programs, like:> winrar, 7zip and others.

Can you help?
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Crysis 2 - RETAIL .pak files

Post by aluigi »

@DemonAk
the command-line you used doesn't work because you have specified the only the names of the file and so when the bat starts it will try to load the files with that name located in the current directory that is probably the user's one (the one of your windows account) and not the one from which you have launched the bat.
it's enough strange but seems the only reason, if you use full paths like c:\crysis2.bms c:\script.pak c:\test it should work (obviously the file must be located in the path you specify).

who uses the "quickbms -r -w"-only bat I said in the previous post will not have problems

@Herdell
I don't have the recompression algorithm of that game, only the decompression one so it's not supported
DemonAk
ultra-n00b
Posts: 3
Joined: Fri Mar 25, 2011 5:30 pm

Re: Crysis 2 - RETAIL .pak files

Post by DemonAk »

aluigi wrote:@DemonAk
the command-line you used doesn't work because you have specified the only the names of the file and so when the bat starts it will try to load the files with that name located in the current directory that is probably the user's one (the one of your windows account) and not the one from which you have launched the bat.
it's enough strange but seems the only reason, if you use full paths like c:\crysis2.bms c:\script.pak c:\test it should work (obviously the file must be located in the path you specify).

who uses the "quickbms -r -w"-only bat I said in the previous post will not have problems
Ok, work, but archive.pak created with zero size :(
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Crysis 2 - RETAIL .pak files

Post by aluigi »

that's not possible because quickbms doesn't modify the size of the original archive, so you have not followed my step-by-step where I said that you must provide the original archive (obviously make a backup copy) so that quickbms can reinject the modified files inside it
DemonAk
ultra-n00b
Posts: 3
Joined: Fri Mar 25, 2011 5:30 pm

Re: Crysis 2 - RETAIL .pak files

Post by DemonAk »

Understood. I thought quickbms just pack the test folder in the new file *.pak and will not change the original = (
AndylgRu
beginner
Posts: 25
Joined: Wed Jul 29, 2009 2:15 pm
Location: Russia
Has thanked: 1 time

Re: Crysis 2 - RETAIL .pak files

Post by AndylgRu »

Yes, necessary that the files size was like the original, then everything is fine back packs.

PS: Russian subtitle with english voice in this archive http://www.multiupload.com/3X9MW77FY6
grdda
ultra-n00b
Posts: 2
Joined: Sat Mar 26, 2011 2:51 am
Has thanked: 1 time

Re: Crysis 2 - RETAIL .pak files

Post by grdda »

AndylgRu wrote:Yes, necessary that the files size was like the original, then everything is fine back packs.

PS: Russian subtitle with English voice in this archive http://www.multiupload.com/3X9MW77FY6
can you do the same with polish subs and English voice, or any ideas about how to change size of a polish xml to match xml files from english.pak

I attached all polish files (subs) from polish.pak, I can not inject them to english.pack with quickbms because of size, please help,
sry for my english

Code: Select all

http://www3.zippyshare.com/v/59113068/file.html
User avatar
Herdell
veteran
Posts: 103
Joined: Sun Dec 13, 2009 8:35 pm
Has thanked: 30 times
Been thanked: 34 times

Re: Crysis 2 - RETAIL .pak files

Post by Herdell »

There's no way to anyone write a repack script without size limitation?
Post Reply