WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by aluigi »

http://aluigi.org/papers/bms/warinc.bms

Just updated to version 0.1.3 for supporting the lzo compression and StagateZ.

The source code of WarZ was leaked in 2013 and tons of new custom mods/servers have been created.
Some of these mods, like the recent versions of StargateZ, implement some small customizations on the archives to avoid that the official quickbms script works on them.

It's not possible to make the script compatible with archives of games that can modify the filesystem as they desire, so for this time I implemented a work-around for the current StargateZ archives.

If you know other games that are not compatible with the current quickbms script, post them here.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by aluigi »

Now the script is version 0.1.3a because I found a game that had a wrongly compressed file stored in the archive, so I opted for unzip_dynamic instead of zlib which grants even compatibility with the deflate method (in case a game tries to use that).
raykingnihong
Posts: 71
Joined: Fri Oct 24, 2014 3:13 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by raykingnihong »

aluigi wrote:Now the script is version 0.1.3a because I found a game that had a wrongly compressed file stored in the archive, so I opted for unzip_dynamic instead of zlib which grants even compatibility with the deflate method (in case a game tries to use that).

Great work, although it is an old game, but our study
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by aluigi »

WarInc and WarZ are old but every month there are new private servers and fan-made contents released.

For example that wrongly compressed file was found in The Last Surviving Man released 3 months ago.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by aluigi »

Script 0.1.3b for supporting the modified magic value of ApocalypseEnd.

The following is the full list of games tested:
WarZ/Infestation, DeadZ, StargateZ, SurvivalMMO, ApocalypseEnd, DevilZ, FightZ, InfestationMMO, WillYouSurvive, ForsakenZ, InfectionZ, InfectZ, StrongZ and any other fan-made server and content
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by aluigi »

Script 0.1.4 with support for Infestation Thailand.
This script is also "smarter" than the previous scripts because it completely ignores the SIZE and FILES fields :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by aluigi »

I have just released a new version of quickbms: 0.6.1d.
You need this version for extracting the files of Rise of Badlands because some of them (the DX10 folder) have long filenames and so it's necessary to use a trick for accessing them on Windows.

Technical explanation:
On Windows there is an MAX_PATH limit of 260 chars per filename, so a longer filename used with fopen or CreateFile will fail.
It's necessary to open the file in an alternative way by specifying \\?\ followed by the absolute path.
This is exactly what Quickbms does now when a file cannot be open.
dragonttk2
Posts: 4
Joined: Tue Jan 06, 2015 7:53 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by dragonttk2 »

Can you fix quickbms for this server they just recently fixed it you will need the updated launcher cause they changed ips i posted downloads below for you.

*Tested script 0.1.4 and used dec 28 quickbms build*

http://forum.ragezone.com/f794/survival ... ip-955026/

Download Full launcher > https://mega.co.nz/#!cxVxGCCK%21N2p37re ... 3QdsXdWRLQ
Updated Launcher > http://forum.ragezone.com/redirect-to/? ... uncher.zip

It says sg_88.bin but it only goes up to sg_07.bin
Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by aluigi »

Please upload the first bin file, the smaller.
dragonttk2
Posts: 4
Joined: Tue Jan 06, 2015 7:53 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by dragonttk2 »

Okay here is the download link to first bin.

https://mega.co.nz/#!dspT2SaJ!J7-IZEGze ... BRbVM1Smt0
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by aluigi »

Script updated to version 0.1.5.

Before extracting all the files, break the extraction after the first few files and check if they are correct.
dragonttk2
Posts: 4
Joined: Tue Jan 06, 2015 7:53 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by dragonttk2 »

Okay thank you for updating.
Rigor Mortis
Posts: 4
Joined: Tue Jan 20, 2015 5:15 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by Rigor Mortis »

Can we get an update for this new server ?
Apocolypse End
http://forum.ragezone.com/f794/apocalyp ... f-1048034/

Here is link to WZ_00.bin
https://mega.co.nz/#!bUhwACrK!VaXMVHPIC ... O6RBCBqgN4
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by aluigi »

Script updated to version 0.1.5a
Rigor Mortis
Posts: 4
Joined: Tue Jan 20, 2015 5:15 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by Rigor Mortis »

Getting this error.....
http://prntscr.com/5uy255
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by aluigi »

Ok, I have seen what was the problem.
Fixed.
Rigor Mortis
Posts: 4
Joined: Tue Jan 20, 2015 5:15 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by Rigor Mortis »

Thank you!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by aluigi »

I have been told that Infestation Thailand now is using, or is going to use, a completely different file system.
In that case you can use offzip http://aluigi.org/mytoolz.htm#offzip in two steps:

Code: Select all

offzip WZP_01.ex dump.dat 0
offzip -a dump.dat output_folder 0
Rigor Mortis
Posts: 4
Joined: Tue Jan 20, 2015 5:15 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by Rigor Mortis »

Looking for a script that will extract WarZII. When you use quickBMS the .scb files end up in merc format or they already are.Maybe you know how to convert them?

Here is a screenshot. http://gyazo.com/2d32f0a7839ebfdd4d0d9d058c1e50f2

Here is the 1st .bin file.
https://mega.co.nz/#!BI8VzTgK!4w0Qfaf72 ... UAxWXYN5Vg


Website : http://www.warzii.com/
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: WarInc, WarZ/Infestation, DeadZ, StargateZ and others

Post by aluigi »

The script is perfect.
I can't help with the extracted files (reading/parsing/viewing and so on).