GOBREAD是一个通用的游戏解包软件,支持很多游戏。# R% f' D. ^* z: D# D. T
它支持Wintermute引擎制造的游戏所用的DCP格式。
6 O4 Z; i5 @4 l6 M: N2 h# b5 w
% \/ |" V4 @1 ] J9 i失落的王冠就是Wintermute引擎制造的。
6 e6 O0 q: ?5 ?% [- F8 [$ {
" a |6 O7 l: N u' u2 M: ~用法以及支持游戏列表1 |5 T9 g# C) n& Z
/ C- \3 X# s8 [1 _! K0 z) X
Extracts container files from different programs into the current directory.
9 R6 v3 s Q! I# k" ]. O$ F
% J% t5 G- ]9 z USyntax: GOBREAD [{/|-}option] containerfile [{/|-}option]
6 v! o, \3 \# J; [5 l) v4 O or GOBREAD {/|-}create{=|:}containerfile {/|-}option! e1 q: ], H- Z
8 [1 r' Z; R; }; c
Options, Flags, Meaning:( J& Z( y( g) E- |6 J; `7 T, A
13C A 13th Century - Death or Glory, PAK-files4 A& \! F6 G6 V( \. ?
AFIST2 AC Armored Fist 2, RES-files1 h( u) `' {* H
AMERICA A America, RDA-files% v9 ^" h0 B# n _$ N" _- F
ASCEND Ascendancy, COB-files# W& n+ k6 g7 [5 O. f- ^
AVP1 A Aliens versus Predator 1, FFL-files
0 O/ D: R' f4 l3 x5 m3 RWRS A Baggersimulator, WRS-file
3 V$ U3 y3 G' ~/ |" `0 UBLDRAYN A BloodRayne, POD-files
, n( F3 L7 Z/ \6 s$ a/ F: P0 SC3 AC Comanche 3, RES-files (s. a. AFIST2)
4 b1 N7 W& Q& E/ ^6 e# bCOMBWING A Combat Wings, file 'data'
1 @1 V4 J0 x; D1 b }CBN Dreamstripper (and others?), CBN-files+ s. L; c ^! ~
CMD Commandos and -Expansion, WARGAME.DIR
3 g7 p# y+ r3 `% ]COSS A Cossacks, GSx-files+ \$ M1 B5 }% F4 ^' J! w
CURSE A Curse: The Eye Of Isis, file GAME.AE( \4 s, V, n4 x- w- _- I
DAIK A Daikatana, PAK-files
9 `+ b; P. q+ `$ p* \6 MDBTS C Die By The Sword, ATD-files. h8 p5 v- W5 L, {
DCP A Wintermute Games, DCP-files) }& Z7 m7 }2 V/ x9 v
DFGOB A Dark Forces, GOB-files
( c& P" F5 z! y4 t# LDIGPUB A Digital Publishing, EXE-files6 Z' X3 l3 V( ^0 b# d$ [0 l. b
DK2 A Dungeon Keeper 2, WAD-files
6 {3 U" i& |4 P+ y) j0 d9 o. NDOA A Dawn Of Aces, TEX/TRN-files
( ~4 O, h7 w: K1 r" `; xDOMINION A Dominion, RDF-file' [$ u& R$ v2 a! k! Q
DSA1 A Das schwarze Auge, ALF-files: @0 w6 b' q5 g
DSA4 A Das schwarze Auge: Drakensang, NPK-files
# i& e( d: G G3 f& f5 XFFEAST Flesh Feast, MUF-files* a- V6 ^, Y" Z* l8 l
FS Gene Troopers/Chaser,FS-files (decompression not error-free)6 c* g( P) f0 o: l* k; f* U
GIANTS A Giants, GZP-files
9 w! l+ h, U* _1 J: P2 k, p3 HGRP AC GRP-files (Blood,DukeNukem3D,RedneckRampage...)* a" r2 q% P* z6 G; \% Z
GUT A GUT-files (Soldier, ShadowCompany...), _ L8 t+ l* C. J
H2AGG Heroes of Might and Magic 2, AGG-file
7 I. O% `% {2 p/ U$ N7 eH3SND Heroes of Might and Magic 3, SND-files
2 h, O9 U3 y# O, Q6 a* H/ TH3VID Heroes of Might and Magic 3, VID-files' L- @' K+ X2 @0 N0 ?: m- Z
HF Hellforces, RES-files1 ~: ~- ^. O4 v" F+ v1 C
HW A Hostile Waters, MNG-files
# X( L3 g9 [ x1 W7 JIDPAK A ID-Software, PAK-files (Quake,Kingpin,HalfLife...)/ @+ y1 L9 E& i4 D) I
JERICHO A Jericho, .packed-files+ O- J. d* n1 ]( N! t
KREED A Kreed, PAK-files& _& S' V+ i! V) o" E# Y% H9 e
LB2 A Apache Longbow 2, TRE-files( W! s3 l5 ^: S/ t
LFD A Lucas-Arts-Programs, LFD-files (DarkForces,TieFighter...)' H* ]& T! g5 K9 f* L! U5 r. V
LHOG Legend: Hand of God, PAK(+DAT)-files3 f" V8 A0 N# u4 G! o. }
MIX A Command & Conquer Renegade, MIX-files$ Z. Y( C; T# K0 r. D% y, f
MESSIAH Messiah, DTA-files (IDX-file must also exist in source location)
' _) w$ _/ N$ t( {7 K! yMORTYR AC Mortyr, file MAIN.HAL
4 h7 I2 O9 y. t/ kMOTORACE Moto Racer, BKF-files
! f+ G) \ k( d% U6 M' a: OMONORES A Monolith Productions, RES-files (Blood2, Rage of Mages...)8 a4 p' v6 B) R
NAM67 Shellshock NAM67, ASSETS??.DAT-files! H- R) ?: v* Z9 B8 y
NASCAR2 Nascar Racing 2, DAT-files- \" u: ?. r" v0 r5 q
OUTLAWS A Outlaws, LAB-files; p1 @( U- k# H! G8 x2 f8 C4 U
OUTWARS Outwars, FF-files X _, P5 _4 E! u: e
PACSTORM A Pacific Storm, SMA-files
' u( [3 Y$ z; {; u% M% \1 _PATR2 A Patrizier 2, CPR-files0 i3 @7 i. g% Q3 M9 W- s" H6 {( P
PEA A Panzer Elite Action, X-files$ e2 K% ^ t; r
PFF A NovaLogic, PFF-files (DeltaForce, F16...)
* U* c: ]% {" iPOSTAL A Postal, SAK-files (not complete)
: o$ f: F0 `& ?5 Y6 c1 B" G5 VPRIV Privateer 1, TRE-files$ v9 f$ }; t8 }3 F
POD Terminal Velocity, POD-files% s( |! F& {5 A: T0 j0 g" u
OFP Operation Flashpoint, PBO-files
- }$ Y9 W( c" RRAMP Rampage, BSA-file
: [- t+ `" x: P: p3 l- JREDFACT A Red Faction, VPP-files
! E( c4 z. T7 e1 d/ D" x6 F' _SC2K Sim City 2000, SC2000.DAT
" x0 X( l$ g( u' bSS2 A Secret Service 2, CHR-/SS-files H1 S% V% ~ \# Z, a! k6 t
SSG A Space Siege, SS???-files
# K$ w q# {2 R. P8 JSIN A SIN 1, PAK-files" P& @3 |- B8 e- w, ]
SLAK A Starship Troopers, SLAK-files3 |6 d$ {4 M# D" H. o7 K
SYSSHOCK A SystemShock 1, RES-files$ o ~* H; f. z, b! \
STOLEN Stolen, BCB-files
& g6 r$ H$ T" ?2 X- sTOMB3 C Tomb Raider 3, CDAUDIO.WAD
( n U8 [ k4 g2 ^+ _' ~+ JTUROK2 Turok 2, 11K/11C-files
1 B, l3 e1 d% f6 R5 ?( D WWARCR2 AC Warcraft II (incl. expansion-CD)
8 _) \) W5 W7 O" O- X3 J5 fPKR A XMEN2-Wolverine/Spiderman/PRO-BMX, PKR-files (BZIP2+WAVPACK reqd.)
% U$ Z# k8 O2 N# {" YWW2F A World War 2 Fighters, SQ?-files M# q) K T8 w. }; q
s, j0 O1 I" a, N) W
CREATE Create container file (not fully supported)
9 U! K3 ]. I" P! R/ P8 O+ Q3 |# X5 K4 E, }- v+ x( V
8 r% m4 s( S" i3 X" c7 X
Flags (informational only):
6 Q$ i+ W# a6 ]2 V6 z4 D A Automatic format detection; if not shown, the format option MUST be given
6 l( n6 C: u' P0 _0 i7 x C Creation of container file possible
) |5 B2 e0 v$ f3 X' o) }/ ]2 C
7 `3 J: u! h; k4 aOption and filename can be given in any order.& L6 d& v }$ R2 d2 m/ Y# D
$ N* M* u. Y& Z& R D7 ?- I
Examples:
4 ~! m2 n. B) u& ^ GOBREAD DATA.PAK = Extracts all files from DATA.PAK
/ H! a/ X) Z6 l$ _: [+ Y* a if the format can be detected
. n2 E t. Q, l0 ~. G) s GOBREAD DARK.COB -DF = Extracts all files from DARK.COB
5 a* o7 P |- a8 b forcing format "Dark Forces"' z' M/ z2 x! k; ?1 O3 r7 ?* \+ b4 R, X
GOBREAD /cbn file.cbn = Same as above, but other file format
3 e( E: e. F s3 I. D GOBREAD -CREATE=REDNECK.GRP /GRP = Creates "REDNECK.GRP"
' W+ d( }3 M" t+ R. \$ W from all files in current directory
& |( u) j. ^; x* G! r$ b of type "GRP-Files"" d; \( }; F$ O
" {3 x- t/ U0 p& N8 X, E; @. C- I% L
This program is freeware. Use it at your own risk. Only for private use.% G: h- r& _- Q
7 f# U. o( j: }' x$ S
-------------------------------------------
' ^. J' l1 l6 z( v& X2 N Z+ ?- ]0 YDCP文件结构(做打包处理时可参考)
9 l0 n2 |. @& |: L4 W------------------------------------------4 i& k3 y/ y' _" A9 d+ ?4 |
' \, H7 H% v9 o) p1 z, HAdded extraction support for "Wintermute Engine"-games, DCP-files (by request)
6 d% ?; a7 J' E' `! |5 QThis format uses XOR-encryption to hide the file names.
! A+ c ^1 q% HNotes:3 Q9 S/ e6 [, p( \
It was slightly difficult to find out what the XOR-encryption value for the file names is by "scanning" the EXE. After I found it the remains were an easy task.7 T) ^8 n" J U! j, F E
The file has a known <name-size-offset> structure.
$ Y" k$ z# W4 _) }" O; G3 [
% j* g" m* b" d9 p# I3 t9 NFormat description:4 t( l: ^' A# T, R0 L& s% t
! i# i1 z2 z0 m7 }
2 \3 s& t6 M9 X U* R* `3 ]4 O5 ~# ACode:
( ]9 B: j, Z! j8 NDE AD C0 DE "JUNK" ;Magic ("DEAD CODE:JUNK")' }" V: s5 Q1 _3 `7 O
00 02 00 00 ;Version, if < 200h, then no XOR-filename-encryption is used" m/ X# d9 O! ^6 b2 b9 g( M
;here some useless commentaries up to offset 7fh
' I q5 G0 K( [' \7 }
/ z( f' r" p1 c. I+ M; h: N1 ^Offset 80h:* o& o1 V8 L6 X7 T5 w' W
DWORD ;Offset file table
, @+ y* @. x& a
( K7 c" k% _7 P7 G/ Y<Offset file table>:8 y+ q% w: |1 X }; x
BYTE length(descr) ;Length of (useless) DCP-file description string9 l4 S& r& ?! B4 E4 c$ y3 Z; X$ z. j
BYTEs descr ;String, variable length of length(descr) incl. 0' ~- z7 Y( W( Y8 l
BYTE 0 ;terminator1 C/ i" [- A6 p0 l
6 P: g; F8 L- E/ x/ y; KDWORD ;Number of files* n( T+ O- _% y6 x: x0 z' u V
) U" `' B5 C. C2 J. BFile table entries:$ V" q8 h" I( U3 l4 o
8 m9 W' Q8 Z- h {0 `BYTE ;Length file name
. h! u6 N; b N; e5 z3 d0 vBYTEs ? ;File name; XOR-encrypted if version=200h; XOR-Value=44h0 q1 g/ _+ d! U/ v
DWORD ;Offset file
& Z$ v1 S/ \4 G/ T: mDWORD ;Uncompressed data length5 G% g& Y$ y8 U+ o+ W- a* s
DWORD ;Comressed data length (0, if uncompressed); compression=ZLIB+ P4 e) F& v1 Y L/ m* d
DWORD 0
# w; `" k) H: kDWORD CRC(?) ;Only present if version =200h: k% M( _; z: [5 \; A' O
DWORD 0 ;Only present if version =200h |