GOBREAD是一个通用的游戏解包软件,支持很多游戏。
6 s+ G3 l* X" E) a它支持Wintermute引擎制造的游戏所用的DCP格式。$ D/ u* D- G6 _, _3 E! u; t
1 J! _1 E: Y& b, c
失落的王冠就是Wintermute引擎制造的。* q" Y4 [6 l/ G1 `
n7 i! f% w1 C9 x
用法以及支持游戏列表6 I- T9 E7 n% b+ j
( S. z5 U) D( c' c% y1 kExtracts container files from different programs into the current directory.
7 H" w& |/ |7 J; Q$ o# x" Q3 f, K, i/ s$ X: t
Syntax: GOBREAD [{/|-}option] containerfile [{/|-}option]
# I1 n* n. f" [: Y, Z7 V0 k! o8 V or GOBREAD {/|-}create{=|:}containerfile {/|-}option3 l; U8 s3 ^- i4 E+ T( g
7 u6 G b7 h5 X+ T; _; d R$ b- ZOptions, Flags, Meaning:
2 `8 ?% C) v# _! l3 }0 a5 {' E13C A 13th Century - Death or Glory, PAK-files# j8 s7 X5 u u: C; t: a* m; @
AFIST2 AC Armored Fist 2, RES-files% E2 v3 u; J& T) @+ O
AMERICA A America, RDA-files
+ ?6 |1 I) R7 CASCEND Ascendancy, COB-files
6 V* n$ d2 Z% f0 gAVP1 A Aliens versus Predator 1, FFL-files' @! Z# W3 t- o$ @0 o
WRS A Baggersimulator, WRS-file
3 h+ |; x0 J8 y1 O. E8 \6 aBLDRAYN A BloodRayne, POD-files
( V5 L* M, A* Y* m t6 `: dC3 AC Comanche 3, RES-files (s. a. AFIST2)6 E& v4 f1 r& k1 \! s
COMBWING A Combat Wings, file 'data'
, @1 c" Q8 M7 oCBN Dreamstripper (and others?), CBN-files
2 P4 C( b; J1 I3 E3 n& q0 TCMD Commandos and -Expansion, WARGAME.DIR9 L: e0 |6 z, k. p9 M4 K4 j4 v
COSS A Cossacks, GSx-files
M% K: [; z* {7 ~CURSE A Curse: The Eye Of Isis, file GAME.AE
0 q' X* Q7 D7 t4 r$ WDAIK A Daikatana, PAK-files
7 F* h9 h6 H) \7 F& y5 S. SDBTS C Die By The Sword, ATD-files. u- T: f1 A" T- Q) N) N e8 K
DCP A Wintermute Games, DCP-files7 g1 F/ q1 q6 E
DFGOB A Dark Forces, GOB-files; X2 i: t. c/ K; J* p8 ?
DIGPUB A Digital Publishing, EXE-files
9 W4 U% z: h' J7 D; a ?DK2 A Dungeon Keeper 2, WAD-files
* e- X$ f% x* l; g& L( kDOA A Dawn Of Aces, TEX/TRN-files) k2 W, K6 s% J8 {$ `6 o
DOMINION A Dominion, RDF-file
4 G! \6 R: r/ h/ t% n! ODSA1 A Das schwarze Auge, ALF-files7 c) g+ } v' L
DSA4 A Das schwarze Auge: Drakensang, NPK-files0 f9 @* d$ ?$ R4 B
FFEAST Flesh Feast, MUF-files' S4 t, d% _' C. _
FS Gene Troopers/Chaser,FS-files (decompression not error-free)* k+ C& [4 V: y( O) L
GIANTS A Giants, GZP-files( T* W- S. T4 l1 r& k
GRP AC GRP-files (Blood,DukeNukem3D,RedneckRampage...)% v& ~; B& v4 s; H' s# L
GUT A GUT-files (Soldier, ShadowCompany...)
4 b+ n$ I7 H e' b9 L nH2AGG Heroes of Might and Magic 2, AGG-file
+ \7 ]. o# z; E8 I% E, k. iH3SND Heroes of Might and Magic 3, SND-files
6 V6 V9 m, }, T* \( KH3VID Heroes of Might and Magic 3, VID-files: p& Z9 ]+ j. h+ S" |6 J. q) l2 h
HF Hellforces, RES-files
& I* U* M6 U7 i! w- J3 IHW A Hostile Waters, MNG-files
# B% A6 l- o! q1 j' rIDPAK A ID-Software, PAK-files (Quake,Kingpin,HalfLife...) {, I- J+ K6 j: D& G6 Y2 H
JERICHO A Jericho, .packed-files
2 ~% X) n' j3 Y2 R6 hKREED A Kreed, PAK-files
6 g. y% H4 {; ^: ]# Q. zLB2 A Apache Longbow 2, TRE-files$ {- K7 Y' i7 ]. Z D% W
LFD A Lucas-Arts-Programs, LFD-files (DarkForces,TieFighter...)' a* V v0 K3 U% A9 ?$ S5 y
LHOG Legend: Hand of God, PAK(+DAT)-files
9 p% F2 s) f& qMIX A Command & Conquer Renegade, MIX-files3 i5 f& v2 O8 l% d9 [+ g+ ^( w3 v
MESSIAH Messiah, DTA-files (IDX-file must also exist in source location)
8 ^1 \& v( i# |8 Z6 L9 KMORTYR AC Mortyr, file MAIN.HAL2 R+ A7 K9 c6 B, O% M* Y
MOTORACE Moto Racer, BKF-files
0 _& L5 l4 w. h/ G% Q4 I0 CMONORES A Monolith Productions, RES-files (Blood2, Rage of Mages...)' V+ w9 p8 b) i; d" C) I% ]
NAM67 Shellshock NAM67, ASSETS??.DAT-files7 B, p. q$ x( l) P$ G
NASCAR2 Nascar Racing 2, DAT-files4 Q; {+ ^! l9 R/ V
OUTLAWS A Outlaws, LAB-files
$ t$ D$ g$ r& q2 yOUTWARS Outwars, FF-files+ [0 ]' ]8 G! Q" K6 c1 [4 Z- M% Q
PACSTORM A Pacific Storm, SMA-files) k3 w% j% o! U/ v
PATR2 A Patrizier 2, CPR-files
8 D3 P7 Y3 H& `3 wPEA A Panzer Elite Action, X-files
- R5 n) I! U6 s; l7 C- U9 FPFF A NovaLogic, PFF-files (DeltaForce, F16...)3 {! h! C, l% t0 _% }% X. }, B
POSTAL A Postal, SAK-files (not complete)
2 a; t, K7 m2 a6 z1 ?+ V: A# V2 M8 VPRIV Privateer 1, TRE-files" j1 V% J$ m* P4 h% q+ o( P* y
POD Terminal Velocity, POD-files; y' ?: z& j+ W
OFP Operation Flashpoint, PBO-files
. e8 e) }3 g4 y7 d7 F+ s: C; WRAMP Rampage, BSA-file
. h, j, V! ^! Y% xREDFACT A Red Faction, VPP-files& E. h3 P* r$ Q+ y+ F& O
SC2K Sim City 2000, SC2000.DAT
4 Z: G# d: W9 RSS2 A Secret Service 2, CHR-/SS-files
5 V) P5 q1 {& [, L1 }- lSSG A Space Siege, SS???-files$ h/ m9 h$ f! L) w0 E/ {8 l% @1 A a
SIN A SIN 1, PAK-files2 t0 {. h) h6 m+ M0 M/ n
SLAK A Starship Troopers, SLAK-files' c5 a: a6 O1 `2 ^
SYSSHOCK A SystemShock 1, RES-files
$ h6 N5 @5 t( |# y; e( }STOLEN Stolen, BCB-files4 c0 s7 R Z: h _/ m+ I4 P
TOMB3 C Tomb Raider 3, CDAUDIO.WAD
9 @- U, c( H3 e* ~TUROK2 Turok 2, 11K/11C-files- L7 K9 \0 c& T% w2 S3 Y0 v
WARCR2 AC Warcraft II (incl. expansion-CD)
5 F1 H' J8 X* q. ePKR A XMEN2-Wolverine/Spiderman/PRO-BMX, PKR-files (BZIP2+WAVPACK reqd.)! I% r$ ~. ?& S* n2 x
WW2F A World War 2 Fighters, SQ?-files, n8 [& W! C6 Y6 r2 d8 z! n
% v4 Q8 x4 N! H2 y4 X3 m* L2 `CREATE Create container file (not fully supported)5 E% ^/ G/ q4 S
- P1 w, i2 J* V6 R- {& Z, ]
9 B7 @8 ?' E! pFlags (informational only):
3 {2 e" ^7 T7 S+ D* P3 v A Automatic format detection; if not shown, the format option MUST be given0 ` O5 k P- Y8 P
C Creation of container file possible
1 g( W6 k* d' v0 R3 c8 Z/ E; t$ ]) u, H5 A
Option and filename can be given in any order.
9 P6 }2 D. Z( {: n* Q
, \8 A" O3 b8 |1 J+ n, }% BExamples:
$ T8 O. R' r3 E" z4 Z5 { GOBREAD DATA.PAK = Extracts all files from DATA.PAK
4 X5 g% \% C& H9 u if the format can be detected& N3 v# d8 [! |2 I
GOBREAD DARK.COB -DF = Extracts all files from DARK.COB* p; {% W+ V) m$ n& U
forcing format "Dark Forces"
W" M; _) S. F% K. K4 q( _0 @& H GOBREAD /cbn file.cbn = Same as above, but other file format
0 |- n$ l" x. w" t GOBREAD -CREATE=REDNECK.GRP /GRP = Creates "REDNECK.GRP"
2 i( E. a$ H, `* K$ `- e' x# i from all files in current directory- F! z( P2 {" m o8 H
of type "GRP-Files"+ J# s9 O' l& v0 g! E$ U, ^& Z
2 w n# i% A( |3 s6 f- @
This program is freeware. Use it at your own risk. Only for private use.6 _ Z8 Z' q9 N/ n
' `# [: m! @/ j5 i+ @-------------------------------------------
4 K% Z# H2 N e; p# w& V" WDCP文件结构(做打包处理时可参考)6 E+ _+ ~! W* @" l% M" u
------------------------------------------4 ] n* E; Z8 R: _1 N
9 j5 R2 A o) J4 E6 ?9 I6 I( P1 G
Added extraction support for "Wintermute Engine"-games, DCP-files (by request)% n& D+ C7 E6 j4 j% c" l
This format uses XOR-encryption to hide the file names.
+ I# ~$ @$ c h" g) CNotes:6 h% X1 p- S& B6 w6 J5 A+ v7 p' P' G
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." ?' U% e( ?+ J
The file has a known <name-size-offset> structure.
/ o, g3 a2 x/ t2 V! {, v. J5 |5 p5 H+ U& ?
Format description:
( Q4 S4 _5 r5 H/ a! F2 F
9 I' O" I. A& m ?* _2 f4 p9 O) }2 V% M7 _- c7 K
Code:& {( R4 S8 y! j% B% @/ f- h
DE AD C0 DE "JUNK" ;Magic ("DEAD CODE:JUNK")4 M+ E& n" o8 V* R
00 02 00 00 ;Version, if < 200h, then no XOR-filename-encryption is used( D3 X3 O" [) L: x% G+ k
;here some useless commentaries up to offset 7fh
; }. K2 ^3 Z9 O7 s! `1 m* G4 ?0 P: {! M" B7 W/ }& c
Offset 80h:
5 F; u6 L3 L8 E# C3 VDWORD ;Offset file table
- P$ v1 l- ~0 j8 |+ O( D. d- B6 L) c- @$ j
<Offset file table>:
6 y( C) Y# H2 ]- b1 B& DBYTE length(descr) ;Length of (useless) DCP-file description string7 K7 f$ O) I- ?. b; {+ b
BYTEs descr ;String, variable length of length(descr) incl. 0. b" j! I% Z1 i' |4 j
BYTE 0 ;terminator1 h" f% {- S( N, a1 A
7 r; G h6 N" T: }6 V- F, q5 B1 TDWORD ;Number of files
9 l4 U6 A# y4 c) d
- N! X& L1 w2 P9 ^$ w" J- cFile table entries:/ G5 g# `: N$ w$ O; v
) W$ S( X7 B# e& e+ b; W1 b
BYTE ;Length file name
v, _, k/ M! eBYTEs ? ;File name; XOR-encrypted if version=200h; XOR-Value=44h- A! n! G5 y0 F4 R# u' A0 j
DWORD ;Offset file
' b, |" ]6 U0 \6 v" m9 ?DWORD ;Uncompressed data length& Z+ T$ T4 {; a. W( ^2 D
DWORD ;Comressed data length (0, if uncompressed); compression=ZLIB
8 h. v! A# D8 |! G% u/ d( a; n- ]DWORD 0
4 Q- b. U. }+ oDWORD CRC(?) ;Only present if version =200h, [; _: X! W4 x8 I: u! C
DWORD 0 ;Only present if version =200h |