GOBREAD是一个通用的游戏解包软件,支持很多游戏。
, }* Q) _% `, }它支持Wintermute引擎制造的游戏所用的DCP格式。
( F) {$ L9 L' ], Q
- T5 F* @* Z% E8 J失落的王冠就是Wintermute引擎制造的。
' C8 @) \) z% ?$ \7 u; i
- ^! b, C) n# `& X用法以及支持游戏列表" E! R1 |6 @" }$ J+ r; x0 B
+ T/ a' \: `6 u& l( ~! A* K
Extracts container files from different programs into the current directory.- G2 [0 Q/ I- h! p4 a& Y. r6 x
' W$ }) b" A. j4 I3 p. c
Syntax: GOBREAD [{/|-}option] containerfile [{/|-}option]3 X; G5 E# w4 }1 X# J4 r( C$ ~) x
or GOBREAD {/|-}create{=|:}containerfile {/|-}option/ H- s0 a) W6 t( {% P
+ M9 S% ]+ N. d# Z. W
Options, Flags, Meaning:% ~7 i+ _0 f, c, i$ R
13C A 13th Century - Death or Glory, PAK-files
- e: |/ M* V. a$ I, J/ YAFIST2 AC Armored Fist 2, RES-files) ^1 Y( ^# v* b
AMERICA A America, RDA-files* _0 ?; {% \# _9 o
ASCEND Ascendancy, COB-files/ z9 [; v' j- _# @
AVP1 A Aliens versus Predator 1, FFL-files4 h2 L( f% W# N
WRS A Baggersimulator, WRS-file
9 J' g- o* J% Y& I' l' qBLDRAYN A BloodRayne, POD-files% ~7 _- Q4 z% [2 s
C3 AC Comanche 3, RES-files (s. a. AFIST2)( H9 b6 o, h8 J/ j
COMBWING A Combat Wings, file 'data'# ^* ~0 g) ]4 c0 \# R p3 B) d+ O
CBN Dreamstripper (and others?), CBN-files* N+ `4 `2 b+ e
CMD Commandos and -Expansion, WARGAME.DIR
' }: F4 {4 ^% S% a" i2 G2 aCOSS A Cossacks, GSx-files) i% ~+ N$ j7 E; d$ V# p
CURSE A Curse: The Eye Of Isis, file GAME.AE3 T2 }5 e( l4 T$ w$ l: _" B
DAIK A Daikatana, PAK-files3 \; v0 o# n) k0 G; J5 X
DBTS C Die By The Sword, ATD-files3 `1 D: e6 k* O, B% U6 r4 e; X
DCP A Wintermute Games, DCP-files; _; x& G1 d. _5 Y
DFGOB A Dark Forces, GOB-files& y: W5 y% B0 F& O7 v
DIGPUB A Digital Publishing, EXE-files1 \/ `, o+ q: Z% A; M
DK2 A Dungeon Keeper 2, WAD-files: \6 W. U* q2 J) i) Q4 N/ f
DOA A Dawn Of Aces, TEX/TRN-files
, A/ i0 f0 o$ \7 ?DOMINION A Dominion, RDF-file! M# J; ~+ h8 B. M }
DSA1 A Das schwarze Auge, ALF-files
6 ^) c b7 V# c/ p$ ^. i% J( ]DSA4 A Das schwarze Auge: Drakensang, NPK-files* t+ k: K. ]( Z* O5 r2 S8 h5 c
FFEAST Flesh Feast, MUF-files# A) o& X0 Q H& Z. E
FS Gene Troopers/Chaser,FS-files (decompression not error-free)
: k# m( I) b3 _6 E5 q) uGIANTS A Giants, GZP-files5 s2 f' h7 Z! g' V
GRP AC GRP-files (Blood,DukeNukem3D,RedneckRampage...)# s1 ]+ w- Q3 Z$ r; U0 {
GUT A GUT-files (Soldier, ShadowCompany...)6 h' b: X( B/ K, g% s1 X
H2AGG Heroes of Might and Magic 2, AGG-file8 U+ J. \/ s4 `" h* P! l( ?* I
H3SND Heroes of Might and Magic 3, SND-files" |6 J/ x+ f. ?4 {+ H+ Y
H3VID Heroes of Might and Magic 3, VID-files
5 c, }/ @! q+ F: k" D! N3 W4 m5 _' MHF Hellforces, RES-files
6 v1 i3 [4 t$ O+ I! E2 `, ~HW A Hostile Waters, MNG-files
6 j* u. X! ^- M( m; k- w1 nIDPAK A ID-Software, PAK-files (Quake,Kingpin,HalfLife...)
5 d8 r0 v8 A2 l* i- Q% ~JERICHO A Jericho, .packed-files' G" [! h5 T6 B6 @7 `6 B. i
KREED A Kreed, PAK-files
6 N; N6 S( V/ y. I3 X8 iLB2 A Apache Longbow 2, TRE-files6 d" p- d' Y& d) C7 V
LFD A Lucas-Arts-Programs, LFD-files (DarkForces,TieFighter...)" Y8 N$ [+ ?2 Y' H/ W* d
LHOG Legend: Hand of God, PAK(+DAT)-files4 |9 k" G# d4 N, E1 }
MIX A Command & Conquer Renegade, MIX-files
0 \3 ?2 G5 Z- w8 iMESSIAH Messiah, DTA-files (IDX-file must also exist in source location)9 N7 v/ h$ h) m: K* T6 E; T
MORTYR AC Mortyr, file MAIN.HAL
# o$ t0 y7 R' IMOTORACE Moto Racer, BKF-files
5 N5 b+ y4 P6 i; F. t# JMONORES A Monolith Productions, RES-files (Blood2, Rage of Mages...)
5 R1 L& ?3 J( f4 X8 j8 hNAM67 Shellshock NAM67, ASSETS??.DAT-files* O# n, p8 \$ A# q$ p" @
NASCAR2 Nascar Racing 2, DAT-files
1 O4 X! ?0 }9 R6 H# D! sOUTLAWS A Outlaws, LAB-files" l# }' Z' S7 I5 w
OUTWARS Outwars, FF-files
5 t9 g1 ^$ ~( H& g& j4 oPACSTORM A Pacific Storm, SMA-files
% m& _* _ _6 A4 pPATR2 A Patrizier 2, CPR-files5 L2 R6 ?; i/ m) j1 W
PEA A Panzer Elite Action, X-files$ @. h( }, v) {& ~$ m; t) }
PFF A NovaLogic, PFF-files (DeltaForce, F16...)
* ~2 ]1 |4 ^) d2 u" I9 m, \POSTAL A Postal, SAK-files (not complete)
0 n) \( K9 p! p9 Z e. W0 zPRIV Privateer 1, TRE-files
/ Z- V; v0 X2 ]6 k- \) l+ ]POD Terminal Velocity, POD-files! y' F I' v. k8 x$ V
OFP Operation Flashpoint, PBO-files
{; q" [6 o* D; }0 o, L% A2 ERAMP Rampage, BSA-file
/ e- \1 i- M% e. |' zREDFACT A Red Faction, VPP-files
1 j8 Q1 `# c! K# B/ ?3 J1 TSC2K Sim City 2000, SC2000.DAT' k( |2 X- x- G! o+ D: k4 g
SS2 A Secret Service 2, CHR-/SS-files/ T- ]* e5 g* H% A' v( ]
SSG A Space Siege, SS???-files) l0 Y9 q7 i) E
SIN A SIN 1, PAK-files
, e4 p0 v$ \6 f% l4 T( M$ k/ fSLAK A Starship Troopers, SLAK-files f+ d6 V) p4 B) h/ C
SYSSHOCK A SystemShock 1, RES-files2 m4 u" T& z6 [7 G t. d' W. X) A
STOLEN Stolen, BCB-files/ M: T1 B3 Y% {/ O
TOMB3 C Tomb Raider 3, CDAUDIO.WAD
( f% H" \8 w5 K8 |* I) WTUROK2 Turok 2, 11K/11C-files
& P! k$ q, m: [+ oWARCR2 AC Warcraft II (incl. expansion-CD)$ f U# i0 Q/ y
PKR A XMEN2-Wolverine/Spiderman/PRO-BMX, PKR-files (BZIP2+WAVPACK reqd.)& D0 c5 M o9 u* R! I
WW2F A World War 2 Fighters, SQ?-files
$ G& s) [4 x ]$ Q1 C7 b/ S5 R# G- I0 y3 N
CREATE Create container file (not fully supported)
. c' u1 Y4 t+ V: ?: q; t r3 o- ]) W, c. |6 @; y" O* [5 g* p, C
3 z, U- h" K0 R) DFlags (informational only):
A5 @$ i/ }0 t' K A Automatic format detection; if not shown, the format option MUST be given
* z' c! L5 T$ m C Creation of container file possible$ e9 i+ M+ e2 _
0 |( i8 o* |6 m/ c
Option and filename can be given in any order.
: f( i3 P5 C1 f6 u& o1 r5 w2 u% A* U, S6 x. X" [1 g5 O4 u& v
Examples:: _2 m7 b+ C1 U5 V
GOBREAD DATA.PAK = Extracts all files from DATA.PAK5 a% {: Z) N' A y! r
if the format can be detected' j* H0 V: s% s; t7 X% V# L, s
GOBREAD DARK.COB -DF = Extracts all files from DARK.COB
1 q! ?1 O$ R0 ?/ @* \% ~ forcing format "Dark Forces"
6 L# k) P( z# `) m+ W GOBREAD /cbn file.cbn = Same as above, but other file format
9 M1 C) l0 ~; p GOBREAD -CREATE=REDNECK.GRP /GRP = Creates "REDNECK.GRP"* p0 p1 z7 E8 V/ J/ [6 n
from all files in current directory
1 E: n9 X4 G# ]3 F! n# o of type "GRP-Files"% B" C5 ~! @$ c: Z
* |; U) S" T/ Q. m' fThis program is freeware. Use it at your own risk. Only for private use.8 k% H# x8 r O8 E" `; _! s
' ]+ i9 d1 A# w2 W. @-------------------------------------------( ?5 @8 v) g( u6 H3 v
DCP文件结构(做打包处理时可参考)+ ]% o5 T9 L% M" R$ P1 p
------------------------------------------1 w+ A; ^ j: u( N0 H
- V5 ]! C8 F4 AAdded extraction support for "Wintermute Engine"-games, DCP-files (by request)- n2 t4 t8 K0 C* H5 m6 @
This format uses XOR-encryption to hide the file names.
! d7 g- P1 |+ i; j, m fNotes:5 j$ C/ A: B2 a: s, c, e
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.5 t( M* Z8 m2 J) u- Z
The file has a known <name-size-offset> structure.+ t3 C' ~$ w2 r& ?1 { d
. H. o* D" n2 P, AFormat description:4 b' @: b& Y2 T
9 e9 M3 ^5 D) v
3 F" v+ Y# c8 {" }: dCode:
' H9 d$ M: E. u5 }& {- HDE AD C0 DE "JUNK" ;Magic ("DEAD CODE:JUNK") l% W: {( L/ A
00 02 00 00 ;Version, if < 200h, then no XOR-filename-encryption is used
3 H$ P) N. [6 w;here some useless commentaries up to offset 7fh
5 L6 {" x+ [- A, i: A( S, b V
Offset 80h:5 J9 [4 f! G+ @. t
DWORD ;Offset file table
# m0 _) d2 ]0 ]3 [
- ~ g- N) O5 t9 b<Offset file table>:
& S$ Z$ ~; |. nBYTE length(descr) ;Length of (useless) DCP-file description string
b2 w. a$ r9 y" ~% p9 GBYTEs descr ;String, variable length of length(descr) incl. 0% ^) }% E& k0 V4 @; g3 ^2 W
BYTE 0 ;terminator
+ a, w$ m3 k& y9 z
" K* C) Z$ s' w% Q) B$ c& bDWORD ;Number of files. Y# g' @$ x% p* F
4 Z+ o7 D1 D% C+ L# r
File table entries:, w1 I# E4 `: L) b7 m% e1 K
! N# z& C5 A: N/ N9 EBYTE ;Length file name
4 y$ d0 K1 [) B0 v8 }$ A' dBYTEs ? ;File name; XOR-encrypted if version=200h; XOR-Value=44h
5 n% o" O: Q F8 GDWORD ;Offset file) [5 \- I7 h1 J5 W
DWORD ;Uncompressed data length
& w% B6 a, P/ S2 }DWORD ;Comressed data length (0, if uncompressed); compression=ZLIB& E! p" A) g5 b- U! K Y
DWORD 0$ u- v& O5 o1 N8 I5 V+ @& W0 h
DWORD CRC(?) ;Only present if version =200h+ }( r4 u, a& W
DWORD 0 ;Only present if version =200h |