GOBREAD是一个通用的游戏解包软件,支持很多游戏。2 Y' J& K. @% W% b! u- O
它支持Wintermute引擎制造的游戏所用的DCP格式。
1 V8 M0 m: A9 z0 D# j5 E8 m5 d
& h# c( m; ~- \# G M失落的王冠就是Wintermute引擎制造的。: c7 \7 b1 \; e+ v4 A+ K$ p$ a
3 H3 P7 P0 G, {) s* B& \* e
用法以及支持游戏列表* |8 E! ~. W$ A: B1 b3 V
$ r& w h3 q% S, _9 \% b7 QExtracts container files from different programs into the current directory.
: r# }8 W# d2 ~) Y, k
' z: Y! o! I& `# X; MSyntax: GOBREAD [{/|-}option] containerfile [{/|-}option]
0 n# p( f! K/ T3 @/ y or GOBREAD {/|-}create{=|:}containerfile {/|-}option
, ]. ~0 w; \* e d6 h
8 W2 t$ e4 F% O; X% f% R2 D+ SOptions, Flags, Meaning:1 T7 o" U1 D8 j: i" m, [# j! R4 {
13C A 13th Century - Death or Glory, PAK-files
2 V4 s( K' L2 F+ TAFIST2 AC Armored Fist 2, RES-files
2 x4 y5 |2 [. i8 K6 TAMERICA A America, RDA-files
' m0 y8 E7 {" f6 k- H* E+ MASCEND Ascendancy, COB-files& Q# r9 G* W% X. W- H P& |
AVP1 A Aliens versus Predator 1, FFL-files
9 B5 z: K$ j" n( HWRS A Baggersimulator, WRS-file
* ?% F2 F$ J" g9 M3 v7 `BLDRAYN A BloodRayne, POD-files
" @2 c/ P' }/ J1 m5 [2 Z6 j$ E zC3 AC Comanche 3, RES-files (s. a. AFIST2)7 _$ i) J: ?) x# a; T
COMBWING A Combat Wings, file 'data'5 e5 w4 {- ?( T* A! W7 u
CBN Dreamstripper (and others?), CBN-files& Y/ F/ o3 W6 ^$ M3 O
CMD Commandos and -Expansion, WARGAME.DIR: V9 @1 |/ t. ]. L6 O9 Z: T; ]
COSS A Cossacks, GSx-files% p/ Q5 h( R9 s2 k$ l2 y
CURSE A Curse: The Eye Of Isis, file GAME.AE
S0 h9 U9 \' e# EDAIK A Daikatana, PAK-files' N- C) p' j. U/ Q$ O! q
DBTS C Die By The Sword, ATD-files0 R; x( e* h: W: j
DCP A Wintermute Games, DCP-files5 d6 s$ n- F$ {" W3 }
DFGOB A Dark Forces, GOB-files* D# u5 D) U j, O- O4 J) X
DIGPUB A Digital Publishing, EXE-files
$ F7 F2 b- b7 {( q" UDK2 A Dungeon Keeper 2, WAD-files9 Z. f# J$ i' t. z1 B) ^& b# |0 s7 S
DOA A Dawn Of Aces, TEX/TRN-files/ E" i; _( I+ ?
DOMINION A Dominion, RDF-file
2 _0 u( ]" e/ ?8 N8 d4 ~4 _% E$ sDSA1 A Das schwarze Auge, ALF-files
/ C! U/ K# o: b$ G/ c* YDSA4 A Das schwarze Auge: Drakensang, NPK-files
8 Q. K2 W0 @$ s) W) EFFEAST Flesh Feast, MUF-files( U/ X: V5 x% t0 B/ K
FS Gene Troopers/Chaser,FS-files (decompression not error-free)& ^9 E6 _) K% A1 L! t! h) Y
GIANTS A Giants, GZP-files
1 r* g7 |# _# W% ?3 p) EGRP AC GRP-files (Blood,DukeNukem3D,RedneckRampage...)+ i# K! ], l# q7 o; s* C: f8 }, H) R
GUT A GUT-files (Soldier, ShadowCompany...)7 Q2 |; B8 _( W- H. l. s7 J
H2AGG Heroes of Might and Magic 2, AGG-file9 w0 f- p. E5 L
H3SND Heroes of Might and Magic 3, SND-files
2 q) X( d2 E7 x# z+ [: Q" pH3VID Heroes of Might and Magic 3, VID-files
9 _' e$ g$ |8 n* k, _1 H: g( ]HF Hellforces, RES-files b% x1 Q' ~6 A# ?7 [ z
HW A Hostile Waters, MNG-files
; l; s* n R2 d$ FIDPAK A ID-Software, PAK-files (Quake,Kingpin,HalfLife...)
9 _ A9 {- m) gJERICHO A Jericho, .packed-files( Y: m! s. U/ q+ D& G% {, a* \
KREED A Kreed, PAK-files
" w; |* _$ R% B& L/ T- uLB2 A Apache Longbow 2, TRE-files( T; S$ q( m8 l( a9 m M
LFD A Lucas-Arts-Programs, LFD-files (DarkForces,TieFighter...)
5 P& H H }! z6 `+ C5 tLHOG Legend: Hand of God, PAK(+DAT)-files( f s, D+ S8 y9 `9 s
MIX A Command & Conquer Renegade, MIX-files
) v" G& N2 r( }: a- xMESSIAH Messiah, DTA-files (IDX-file must also exist in source location)
+ x7 m4 k4 z t+ l& YMORTYR AC Mortyr, file MAIN.HAL
4 M6 T3 T5 v' k" E. ^1 n1 FMOTORACE Moto Racer, BKF-files
% t3 }7 @/ c2 a! Z4 r2 L- OMONORES A Monolith Productions, RES-files (Blood2, Rage of Mages...)
# d. {" L" a7 G! }) R# YNAM67 Shellshock NAM67, ASSETS??.DAT-files
] D9 ^* {) h% h* ~; Q9 _NASCAR2 Nascar Racing 2, DAT-files
; e" h3 i6 L4 W0 b% W- _OUTLAWS A Outlaws, LAB-files2 X2 P" }: \8 O
OUTWARS Outwars, FF-files3 ]3 H' f. ?2 B/ ]3 q. C9 m, v
PACSTORM A Pacific Storm, SMA-files# n' M. A# H4 [% M
PATR2 A Patrizier 2, CPR-files. P% u6 d: x c! H7 W
PEA A Panzer Elite Action, X-files3 ]& }+ H5 p' L V, ]. }; q! N7 t
PFF A NovaLogic, PFF-files (DeltaForce, F16...)
" J; O* V1 N+ p* M) `0 G8 |/ P/ hPOSTAL A Postal, SAK-files (not complete)& }1 R. g1 [# _4 @% V
PRIV Privateer 1, TRE-files0 [" L! O6 K! W. d; w
POD Terminal Velocity, POD-files$ W& g9 _+ x2 Y* G9 g. K! E5 g
OFP Operation Flashpoint, PBO-files
" @8 \8 b; t* u" `5 ?: mRAMP Rampage, BSA-file& t; G* g& E3 V% P; H/ e, y g
REDFACT A Red Faction, VPP-files! Q3 h4 h4 u. {' _0 C$ K. L3 q0 C
SC2K Sim City 2000, SC2000.DAT9 y+ K, Z k# t8 @ A: r
SS2 A Secret Service 2, CHR-/SS-files/ `# l! n- J7 S- a5 m: k8 w9 \
SSG A Space Siege, SS???-files% h/ A7 ^8 m& a! U: X' n
SIN A SIN 1, PAK-files+ ?! O; ?7 q, ~: [) k2 f$ |
SLAK A Starship Troopers, SLAK-files
" n m" d7 k; G) g/ ]SYSSHOCK A SystemShock 1, RES-files
+ [0 z# G% t) d& lSTOLEN Stolen, BCB-files7 }* Q( D/ f7 ?1 M
TOMB3 C Tomb Raider 3, CDAUDIO.WAD
4 ?9 }# Z' {' A3 p1 ^: j: V# cTUROK2 Turok 2, 11K/11C-files" P! a1 t. J7 b: i2 Y. [ k
WARCR2 AC Warcraft II (incl. expansion-CD)
& c9 M1 p: D( M7 a; ^3 f9 W4 _PKR A XMEN2-Wolverine/Spiderman/PRO-BMX, PKR-files (BZIP2+WAVPACK reqd.)
3 t& P$ z0 n1 yWW2F A World War 2 Fighters, SQ?-files
4 I2 P7 A9 Y7 f' }: P! M, c. e I4 y7 `& N& [
CREATE Create container file (not fully supported): _- ^ h; a% N2 K+ r3 l% X3 Q; R
* m; y& X" ~1 M- G
% r8 d' r' H8 P' o6 `9 w# vFlags (informational only):
% N% I u4 I9 u8 H A Automatic format detection; if not shown, the format option MUST be given
9 u0 o& f9 c% l' H2 z. _/ h' } C Creation of container file possible& `" {# e ~6 d. C
0 k4 d* k. V6 e4 d; f: zOption and filename can be given in any order.
9 N6 S: a: p; E
1 p) O/ O+ Q1 X$ RExamples:
, D7 g1 T$ X# U- W GOBREAD DATA.PAK = Extracts all files from DATA.PAK' F1 c+ ^( U" ?
if the format can be detected c9 A/ K5 `0 o* D8 h
GOBREAD DARK.COB -DF = Extracts all files from DARK.COB
2 A/ J) E. H; N/ b- e* Q; P forcing format "Dark Forces"
; [: U [* d, X3 T/ V# P GOBREAD /cbn file.cbn = Same as above, but other file format
3 z' o0 P8 W- k+ N! X% E GOBREAD -CREATE=REDNECK.GRP /GRP = Creates "REDNECK.GRP"
3 q: }0 ~5 a. T) S from all files in current directory2 z2 t1 r# @8 O+ Y
of type "GRP-Files"
' {0 L' o- p% r1 }, L& \2 @7 f* j! H6 b/ l. h! E
This program is freeware. Use it at your own risk. Only for private use.
3 @& Y0 k/ T4 a1 A/ Z5 a9 R p0 E2 P$ D9 g: t
-------------------------------------------( R( |2 r# i: c
DCP文件结构(做打包处理时可参考)6 ?' G, q3 f9 U$ Q
------------------------------------------( E* y& y$ v$ O) Y* A
5 x x9 L0 A9 F% N3 vAdded extraction support for "Wintermute Engine"-games, DCP-files (by request)7 ^- B+ H8 a/ t; l% q
This format uses XOR-encryption to hide the file names.
. Q$ p8 [* R5 n& y6 S$ {( mNotes:
- i$ M% S- r5 ~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.
0 `$ _0 c g) _! G! [8 aThe file has a known <name-size-offset> structure.
: Z; e6 m7 f8 m
+ v# P# E+ S/ I+ ?% `/ gFormat description:
6 j" K( C& u. _+ _! ~
9 b/ w* ~* P2 q. h0 Q8 z1 g8 ~- }. k1 e- ?/ j
Code:+ v/ _0 M; L1 r t1 C
DE AD C0 DE "JUNK" ;Magic ("DEAD CODE:JUNK")5 E W; @4 S2 P4 }2 M5 Y
00 02 00 00 ;Version, if < 200h, then no XOR-filename-encryption is used: K8 H) r7 H# Z3 B
;here some useless commentaries up to offset 7fh
! S. H3 U% ?" g
1 C. p j2 z9 l- [" mOffset 80h:: G6 S. Z, |& r9 o4 k1 {, V) u
DWORD ;Offset file table+ j0 f2 q% T( l; C' |
5 `) ?1 I$ W2 H
<Offset file table>:
4 B$ ~7 Q, K. R2 v/ iBYTE length(descr) ;Length of (useless) DCP-file description string
" e4 a7 \+ R, v+ O2 g( mBYTEs descr ;String, variable length of length(descr) incl. 0
x" b. ~7 F' `, @BYTE 0 ;terminator
0 i2 J. F' z5 y1 ^! H& ~7 f$ U- z* H! F- W9 u) V6 w& }
DWORD ;Number of files
" S& C+ p+ m3 W; e( [, S8 a
2 f- _: L7 `! ~8 EFile table entries:
9 R, e$ k8 u9 C
?& s d O1 \1 i4 E! J3 HBYTE ;Length file name. R9 n! d2 b5 l8 e% E4 a4 Q
BYTEs ? ;File name; XOR-encrypted if version=200h; XOR-Value=44h
0 y4 P. L8 k2 X( eDWORD ;Offset file
' e: q; g0 p# D! X' D8 DDWORD ;Uncompressed data length7 C; x& ~4 r, W h `0 i
DWORD ;Comressed data length (0, if uncompressed); compression=ZLIB
& \0 J/ p* _) M2 |) B1 L7 SDWORD 0
. F, X' @* _ v' v9 V6 d$ ZDWORD CRC(?) ;Only present if version =200h
4 h0 d$ |! `) U5 C5 T5 HDWORD 0 ;Only present if version =200h |