Page 1 of 14

Little extractor program

Posted: Mon Jun 30, 2008 12:18 pm
by asmxtx
GOBREAD is a program which extracts files from such called "container files" of many programs, mostly games.
At this time almost 100 different formats (not mentioning derivatives!) are supported.

In almost any case it is able to extract all files and fully reconstruct the file structure from a supported container file.
GOBREAD works ONLY on all 16/32bit M$-platforms since M$DOS 3.31.

Features:
- Extracts container files which have a managable structure.
- Recognizes many formats automatically.
- Decompresses files using built-in ZLIB and LZSS libraries.
- Handles encryption methods.
- Is being updated loosely.

If you are interested, you can download the latest version below.

These formats are currently supported (August 8, 2011):

Code: Select all

Currently supported formats:

13th Century - Death or Glory, PAK-files
Area 51, DFS+000-files
Armored Fist 2, RES-files
Adventure Game Studio, EXE/0xx-Files
America, RDA-files
Monolith-games ARCH??-files
F.E.A.R. 2: BNDL-/LVBNDL-files
Ascendancy, COB-files
Aliens versus Predator 1, FFL-files
Angels versus Devils, DAT-files
7.62: High Calibre, AZP-files
BC-Kings, MED-file
Baphomets Fluch 4/Broken Sword, PAK-files
BloodRayne, POD-files
Beach Volleyball Online, RAD-files
Border Zone, RES-files
Comanche 3, RES-files (s. a. AFIST2)
Combat Wings, file 'data'
Dreamstripper (and others?), CBN-files
Commandos and -Expansion, WARGAME.DIR
Cossacks, GSx-files
Curse: The Eye Of Isis, file GAME.AE
Daikatana, PAK-files
Die By The Sword, ATD-files
Wintermute Games, DCP-files
Dark Forces, GOB-files
Digital Publishing, EXE-files
Dungeon Keeper 2, WAD-files
Dawn Of Aces, TEX/TRN-files
Dominion, RDF-file
Das schwarze Auge, ALF-files
Das schwarze Auge: Drakensang, NPK-files
Dune, file DUNE.DAT
Frank Herberts Dune, DUN-files
Flesh Feast, MUF-files
Fallout 1, DAT-files
Games by Havok/Cauldron,FS-files
Giants, GZP-files
GRP-files (Blood,DukeNukem3D,RedneckRampage...)
GUT-files (Soldier, ShadowCompany...)
Heroes of Might and Magic 2, AGG-file
Heroes of Might and Magic 3, SND-files
Heroes of Might and Magic 3, VID-files
Heroes of Might and Magic 3, LOD-files
Hellforces, RES-files
Haemimont Games, HPK-files
Hostage Rescue, PACK.CSA
Hostile Waters, MNG-files
ID-Software, PAK-files (Quake,Kingpin,HalfLife...)
Jericho, .packed-files
Kreed, PAK-files
LucasArts-Games, LAB-files
Apache Longbow 2, TRE-files
Lucas-Arts-Games, LFD-files (DarkForces,TieFighter...)
Legend: Hand of God, PAK(+DAT)-files
Light of Altair, MAIN.PAK
Command & Conquer Renegade, MIX-files
Messiah, DTA-files (IDX-file must also exist in source location)
Mortyr/Wolfschanze 1944, file MAIN.HAL
Moto Racer, BKF-files
Monolith Productions, RES-files (Blood2, Rage of Mages...)
Memento Mori, RES-files
Shellshock NAM67, ASSETS??.DAT-files
Nancy Drew Series, DAT-/CIF-files
Nascar Racing 2, DAT-files
Nikopol, O??-files
Nocturne, POD-files
Nocturne, POD-file
NecroVisioN, PAK-files
Ominous Horizon, OMINOUS.GLM
Outwars, FF-files
Paragraph 78, BIN-files
Patrizier 2, CPR-files
Panzer Elite Action, X-files
NovaLogic, PFF-files (DeltaForce, F16...)
Painkiller, PAK-files
Postal, SAK-files (not complete)
Privateer 1, TRE-files
Terminal Velocity, POD-files
Operation Flashpoint, PBO-files
Rampage, BSA-file
Red Faction, VPP-files
Requital, RES-files
Helldorado, PAK-files
Sim City 2000, SC2000.DAT
LESTA Studio Games, SMA-files
Secret Service 2, CHR-/SS-files
SIN 1, PAK-files
Starship Troopers, SLAK-files
Star Trek Hidden Evil, FF-files
SystemShock 1, RES-files
Stolen, BCB-files
Stolen, PAK-files
Gas Powered Games ""Tank"" container, *MAP/*RES-files
Tomb Raider 3, CDAUDIO.WAD
Turok 2, 11K/11C-files
Chronicles of Mystery: The Scorpio Ritual, VBF-files
Death To Spies, VFS-files
Warcraft II (incl. expansion-CD)
Wolfenstein 2, MPK-/SPK-files
3D-Gamestudio (e.g. Baggersimulator), WRS-files
X2-Wolverine/Spiderman/PRO-BMX, PKR-files (BZIP2+WAVPACK reqd.)
World War 2 Fighters, SQ?-files
Yager, YRF-files
Zanzarah, DATA_0.PAK

Re: Little extractor program

Posted: Mon Jun 30, 2008 3:44 pm
by xrevenge
good job I'm so jealous of programmers because they can make all these cool things..who knows maybe I'll be able to make something like them too when I grow up since I'm gonna become a programmer and all...well I'll test it later with some files and tell you the results...

Re: Little extractor program

Posted: Mon Jun 30, 2008 7:46 pm
by asmxtx
I added Starship Troopers, because it is a good shooter and has a terrific music score.
But it is bloated with tons of duplicate files.

Here is a short list of the supported games. Some are little older, but I think it is still interesting to explore them.
I don't want to add extraction support for file types which is available elsewhere, except I can implement it in a quick-and-dirty way.


13th Century - Death or Glory, PAK-files
Armored Fist 2, RES-files
America, RDA-files
Ascendancy, COB-files
Aliens versus Predator 1, FFL-files
BloodRayne 1, POD-files
Comanche 3, RES-files (s. a. AFIST2)
Commandos and -Expansion, WARGAME.DIR
Cossacks, GSx-files
Daikatana, PAK-files
Die By The Sword, ATD-files
Dark Forces, GOB-files
Dungeon Keeper 2, WAD-files
Dawn Of Aces, TEX/TRN-files
Dominion, RDF-file
Digital Publishing, EXE-files
Das schwarze Auge, ALF-files
Giants, GZP-files
GRP-files (Blood,DukeNukem3D,RedneckRampage...)
Gene Troopers, .FS-files - <<NO DECOMPRESSION YET - PENDING>>
GUT-files (Soldier, ShadowCompany...)
Heroes of Might and Magic 2, 3
ID-Software, PAK-files (Quake,Kingpin...)
Jericho, .packed-files
Kreed, PAK-files
Apache Longbow 2, TRE-files
Lucas-Arts, LFD-files (DarkForces, Tie Fighter...)
Mortyr, file MAIN.HAL
Moto Racer, BKF-files
Monolith Productions, RES-files (Blood 2, Rage of Mages...)
Shellshock NAM67, ASSETS??.DAT-files
Nascar Racing 2, DAT-files
Outlaws, LAB-files
Pacific Storm, SMA-files
Patrizier 2, CPR-files
NovaLogic, PFF-files (DeltaForce, F16...)
Postal, SAK-files (not complete)
Privateer 1, TRE-files
Terminal Velocity, POD-files
Operation Flashpoint, PBO-files
Rampage, BSA-file
Red Faction, VPP-files
Sim City 2000, SC2000.DAT
SIN, PAK-files
Starship Troopers, SLAK-files
SystemShock 1, RES-files
Stolen, BCB-files
Tomb Raider 3, CDAUDIO.WAD
Turok 2, 11K/11C-files
Warcraft II (incl. expansion-CD)
World War 2 Fighters, SQ?-files

I also added an unpacker for "Revolution", a decent FPS. The container has a ZLIB-compressed directory table which would be to complicated to handle by GOBREAD.

Have fun.

Re: Little extractor program

Posted: Fri Jul 04, 2008 9:14 pm
by asmxtx
Added:
- Extraction support for "Combat Wings", a bonus game to the budget shooter "Code Of Honor - Conspiracy Island".
- Partial decompression support for "Chaser"/"Gene-Troopers" .FS-files.

Changed:
German to English messages

Re: Little extractor program

Posted: Tue Jul 08, 2008 9:49 pm
by asmxtx
Added:
Extraction support for "Secret Service 2" (2003), a budget shooter; CHS-/SS- files.

Now accepts long filenames on commandline.

Now recognizes many of the supported file formats automatically. This can be done only for container files which have a describing mark.

Changed:
Pacific Storm, SMA-files: There are drive letters in some file names; these are changed from e.g. "C:\..." to "$$\..." during extraction.

Re: Little extractor program

Posted: Fri Jul 18, 2008 2:33 pm
by asmxtx
Added: Extraction support for XMEN2-Wolverine (2003)

The file format for this game is rather simple. The data structure consists of separated fixed-length entries for directories and files. All files seem to be compressed by BZIP2 (data) and WAVPACK (sound).

GOBREAD only extracts all files from the container and adds "BZ2" or "WV" as file extensions. After that the files have to be uncompressed by BZIP2 or WVUNPACK.
Caution: WVUNPACK will hang if a file name starts with "-". Rename such files before/after unpacking.

http://www.digistar.com/bzip2/#bzip2-latest
http://www.wavpack.com

I tried to implement the BZIP2-compression library as I did with ZLIB, but I can't compile the C-sources properly, because the programmers added some nasty queries and data structures which don't make it run in 16Bit - even if it were possible to realize. In contrast to ZLIB this library wastes a lot of memory for nothing, too. If you look for a suitable file compressor, don't use BZIP2.

I can't catch why no C-compiler is able handling 32Bit-values properly in 16Bit-mode, let alone using 32Bit-registers, even if all such called "Pentium-Optimizations" are switched on. The executable code will become an orgy of loading integers from one location to another, only to throw the values away finally. That's stupid. Therefore I hate C and will stay with Assembler. Here I don't have such a silly restrictable behaviour.

Re: Little extractor program

Posted: Sat Jul 19, 2008 4:12 pm
by Dinoguy1000
Hmm... Is it bad that whenever I see the name of your program, I have to stop and think that it's probably pronounced gob-read instead of go-bread? :bleh:

Re: Little extractor program

Posted: Sat Jul 19, 2008 10:17 pm
by asmxtx
That is probably true. The name is but sound and smoke.

Re: Little extractor program

Posted: Sun Jul 20, 2008 12:21 am
by xrevenge
asmxtx wrote:That is probably true. The name is but sound and smoke.
in the beginning I thought the title was go bread too...
twas only when I saw it 3 or 4 times that I understood it was gob read

Re: Little extractor program

Posted: Mon Jul 21, 2008 6:00 pm
by Dinoguy1000
GO BREAD!!! *eats a sandwich* :D

Re: Little extractor program

Posted: Tue Jul 22, 2008 12:14 am
by xrevenge
Dinoguy1000 wrote:GO BREAD!!! *eats a sandwich* :D
i knew someone would laugh on me...at least you did it in front of me...

Re: Little extractor program

Posted: Tue Jul 22, 2008 12:31 am
by asmxtx
Added: Hellforces (good Russian first-person-horror-shooter; 2005)
Nothing to say about this simple container format. But all file entries have a trailing "z" which are properly removed by GOBREAD.

Added: Hostile Waters (futuristic U-Boat-game; 2001)
Simple format.

Added: Command and Conquer - Renegade (2002)
Another simple format. Extraction is also supported by the "GAUP"-plugin for TotalCmd.

Changed:
- Help text changed
- ZLIB-library source code modified to reduce code space (1KB less in 16Bit-mode, 2KB less in 32Bit-mode).

Re: Little extractor program

Posted: Tue Jul 22, 2008 11:42 pm
by asmxtx
Added by request: Bagger Simulator
If someone has a clue how to decompress the data in WRS-files by the company 3DGameStudio I would appreciate it.

Re: Little extractor program

Posted: Wed Jul 23, 2008 1:00 pm
by Rheini
asmxtx wrote:Dungeon Keeper 2, WAD-files
Also support decompression? ;)
http://www.gameformats.de.vu/index.php? ... te=dk2comp

Re: Little extractor program

Posted: Thu Jul 24, 2008 11:04 am
by Mr.Mouse
This tool reminds me of my command line tool MultiEx from 1997.

You can get it still here : http://www.xentax.com/?page_id=114
multiexv1_6.JPG