GOBREAD是一个通用的游戏解包软件,支持很多游戏。
5 G, b! P+ F1 w它支持Wintermute引擎制造的游戏所用的DCP格式。
& r1 j$ `+ y, j: i2 o- j4 o% L% F2 X0 s2 f' S) X1 |
失落的王冠就是Wintermute引擎制造的。5 Y6 Y6 `5 Z4 s$ y
9 p) B# ?+ y7 E6 S
用法以及支持游戏列表
) j& o w2 ^0 c c9 a2 U R* D/ Y6 I# B* Q0 d2 J3 V. B" G
Extracts container files from different programs into the current directory.9 e& O/ w3 r1 z& W
' O7 ]# _: d9 T6 u6 r0 M/ e( I
Syntax: GOBREAD [{/|-}option] containerfile [{/|-}option]
% O5 R5 B0 Y, {! R9 H# w W! ]& H or GOBREAD {/|-}create{=|:}containerfile {/|-}option3 {1 B- g/ `0 ]3 I, w
! j: J# O, U, X2 kOptions, Flags, Meaning:, P% K1 m. Q, Y/ E9 @5 o: V" i
13C A 13th Century - Death or Glory, PAK-files
v* |7 w9 u _9 V$ `8 nAFIST2 AC Armored Fist 2, RES-files5 {; p1 M0 H* f0 V
AMERICA A America, RDA-files: t w. l2 m- S! _
ASCEND Ascendancy, COB-files% P& L4 D- Z) ?" }/ Z( ~" f
AVP1 A Aliens versus Predator 1, FFL-files
( n" n$ n3 n! Y5 KWRS A Baggersimulator, WRS-file
# [2 e" J5 a" O' B; `BLDRAYN A BloodRayne, POD-files0 ?) ~- X& E4 X( q& G/ u, G- F
C3 AC Comanche 3, RES-files (s. a. AFIST2): d! e" c9 x: l" b) L0 F. b
COMBWING A Combat Wings, file 'data'! w S3 e" v0 y1 ~8 E6 c
CBN Dreamstripper (and others?), CBN-files
- ?0 `% V2 x6 p+ l' M, j9 S0 oCMD Commandos and -Expansion, WARGAME.DIR
1 p9 d! Y; v2 I* x0 LCOSS A Cossacks, GSx-files
$ o5 c* G( v! L8 W3 L/ XCURSE A Curse: The Eye Of Isis, file GAME.AE
0 @" \6 h; e) u5 jDAIK A Daikatana, PAK-files
T" J/ X- i* r6 t! r0 O* I9 u k7 @DBTS C Die By The Sword, ATD-files
# C% l4 E! @4 n1 B, hDCP A Wintermute Games, DCP-files: Q2 S9 c0 K8 e8 @
DFGOB A Dark Forces, GOB-files
8 y+ A0 l2 l2 ]8 f# cDIGPUB A Digital Publishing, EXE-files
5 b* r* J: S( P- U! x# j% eDK2 A Dungeon Keeper 2, WAD-files
- L3 t- N, f7 o. R5 I7 O/ oDOA A Dawn Of Aces, TEX/TRN-files. H' O6 \$ m+ E8 z' q
DOMINION A Dominion, RDF-file
4 g: x$ ]% o- U5 c4 a ]DSA1 A Das schwarze Auge, ALF-files
# R' g: [9 j3 VDSA4 A Das schwarze Auge: Drakensang, NPK-files: S* y/ L$ ^4 W5 ~5 u# C
FFEAST Flesh Feast, MUF-files
* B( A: Y2 K3 `7 s; }: J% xFS Gene Troopers/Chaser,FS-files (decompression not error-free)7 g- i' O1 V" I) W6 s# Y0 ]
GIANTS A Giants, GZP-files
) o* w9 }0 n- y d6 x+ `GRP AC GRP-files (Blood,DukeNukem3D,RedneckRampage...)7 M6 P H/ u4 N% P( z% p
GUT A GUT-files (Soldier, ShadowCompany...)2 I- d7 u7 N, i+ K
H2AGG Heroes of Might and Magic 2, AGG-file* G- {, h/ G6 _" e
H3SND Heroes of Might and Magic 3, SND-files8 F* k. r, T/ p& |7 J0 ?/ f; D- k
H3VID Heroes of Might and Magic 3, VID-files" Q) V b& v3 g5 J1 }& I
HF Hellforces, RES-files
( Y d0 r( h( }' tHW A Hostile Waters, MNG-files
! |& t9 {% \3 fIDPAK A ID-Software, PAK-files (Quake,Kingpin,HalfLife...)
/ u* v7 U, g5 j; CJERICHO A Jericho, .packed-files8 W) H3 E# V D8 \6 w. _' t3 m! p
KREED A Kreed, PAK-files
. E$ H i$ T o& a( Z L% lLB2 A Apache Longbow 2, TRE-files. S8 x# c6 _7 B" K; D9 G
LFD A Lucas-Arts-Programs, LFD-files (DarkForces,TieFighter...)
! b8 N: {0 h" |; ~9 y0 fLHOG Legend: Hand of God, PAK(+DAT)-files7 |1 e3 n3 |; q) G L7 u
MIX A Command & Conquer Renegade, MIX-files
) e% F8 }- E* P9 }3 PMESSIAH Messiah, DTA-files (IDX-file must also exist in source location): }6 B P; z# f" P7 a$ q
MORTYR AC Mortyr, file MAIN.HAL. R( Q* m2 n$ p( h, E7 m
MOTORACE Moto Racer, BKF-files6 q1 h& D8 z- q4 h8 G8 P
MONORES A Monolith Productions, RES-files (Blood2, Rage of Mages...)9 i0 j- d1 B. s- W5 W! k: o; _
NAM67 Shellshock NAM67, ASSETS??.DAT-files
& A/ i J3 u/ o& a, y+ QNASCAR2 Nascar Racing 2, DAT-files. u% f4 v# p3 Q X
OUTLAWS A Outlaws, LAB-files
9 `# _ i$ ^* V. \OUTWARS Outwars, FF-files
; g+ U3 T5 |- p. }8 G' F2 nPACSTORM A Pacific Storm, SMA-files7 v% S' k5 S- D* j, M# O
PATR2 A Patrizier 2, CPR-files
) ~2 R" \4 m4 c# f$ I! Y. w5 t2 |3 EPEA A Panzer Elite Action, X-files: f1 ^4 `' L9 {# A# f" \2 g
PFF A NovaLogic, PFF-files (DeltaForce, F16...)
" s% W$ C+ l; IPOSTAL A Postal, SAK-files (not complete)
+ |* e5 Q4 t! |5 G# {& CPRIV Privateer 1, TRE-files. h4 I l5 v* C3 _; M/ B, i
POD Terminal Velocity, POD-files$ v' f4 A% P" G6 U" k
OFP Operation Flashpoint, PBO-files
]+ @$ l+ |: `' ^0 B+ A% ?RAMP Rampage, BSA-file8 N3 _) }: t2 H2 t D/ k) g
REDFACT A Red Faction, VPP-files
, y* x3 o2 O3 b! mSC2K Sim City 2000, SC2000.DAT8 n1 H, l$ C7 d; g
SS2 A Secret Service 2, CHR-/SS-files5 p; k0 |0 {; j/ w: K
SSG A Space Siege, SS???-files
* w$ {4 @" j6 w6 A p* b! i, ]6 {* jSIN A SIN 1, PAK-files
, U* E# X) D9 y* t6 q4 y, eSLAK A Starship Troopers, SLAK-files
; ^3 G6 w' X( _, s' FSYSSHOCK A SystemShock 1, RES-files* I' g* f2 {. c! U
STOLEN Stolen, BCB-files
3 v( @, N. C2 {/ o- ^TOMB3 C Tomb Raider 3, CDAUDIO.WAD; E- N1 Q8 ?9 \$ C, s9 ]% e. _
TUROK2 Turok 2, 11K/11C-files
& b' m( X2 L# t3 o0 iWARCR2 AC Warcraft II (incl. expansion-CD)
9 {* t( Q$ ]& mPKR A XMEN2-Wolverine/Spiderman/PRO-BMX, PKR-files (BZIP2+WAVPACK reqd.)
* }# n" J) K ?- x9 E a# L( u0 BWW2F A World War 2 Fighters, SQ?-files. y8 _' A2 m) ?: V
B$ { j0 C; K2 U) X4 n+ X0 GCREATE Create container file (not fully supported)
9 Q# ^. A* [6 A, ]+ \$ J/ B }5 }1 h
t+ }+ }" B) d4 }9 _( V- T/ h) `Flags (informational only):9 Y9 k! o( O P+ l# x
A Automatic format detection; if not shown, the format option MUST be given/ e+ F' ^5 p! T& H2 R
C Creation of container file possible: |: o0 N, z }- X: g6 T
) m. s) J! F/ c# F
Option and filename can be given in any order.
3 X; p1 @+ F% _
- N' |4 F; M9 o+ W! i5 iExamples:
6 }# V" n" q# C/ f$ G9 u; u GOBREAD DATA.PAK = Extracts all files from DATA.PAK
; L# r% A) H& s) @/ `2 _ if the format can be detected! ~) E f' S1 s( k/ c
GOBREAD DARK.COB -DF = Extracts all files from DARK.COB
: K+ X- F- p. s9 T7 |9 c( E forcing format "Dark Forces"( `: n9 V; E/ m' C
GOBREAD /cbn file.cbn = Same as above, but other file format( l$ L6 Q K( n8 g7 T
GOBREAD -CREATE=REDNECK.GRP /GRP = Creates "REDNECK.GRP"
1 D& N( Q2 p: X3 Q" w0 @3 G from all files in current directory7 e8 ]* P5 Q* o: o9 P0 ]
of type "GRP-Files"
1 _' f" O) ~! k6 x. K; t& c& L; \+ X7 X
This program is freeware. Use it at your own risk. Only for private use.
' {" I. v% N2 a$ T2 ^
. ^ |+ U {* u: R3 a4 r3 b-------------------------------------------
+ q0 t2 B/ [$ g6 PDCP文件结构(做打包处理时可参考)
8 G3 c; ~1 G, z0 a------------------------------------------
# x! S6 S6 ^! a& J+ S3 Z; l
# y) {/ A- W# M" F* k+ OAdded extraction support for "Wintermute Engine"-games, DCP-files (by request)
- s# {8 l) n6 @; u3 S8 ^9 A& zThis format uses XOR-encryption to hide the file names.1 H' s( o# O# \/ Z, c5 B
Notes:4 K# `; i: t% `. C2 [3 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.. S/ Y* }' c x+ L3 W) G' F7 G
The file has a known <name-size-offset> structure.8 K4 d% ?0 h, W% V3 u" J/ a0 H
+ J, J2 F( v; S/ M8 z( P6 U0 M) XFormat description:/ p" z- a/ n& }# W
, p! h4 G0 F. q9 w" {! U1 T; ~+ D/ y, T3 K/ A" ]
Code:
6 H2 m) m5 }. R4 ADE AD C0 DE "JUNK" ;Magic ("DEAD CODE:JUNK")
9 Q% D/ Z5 T u( o2 ~00 02 00 00 ;Version, if < 200h, then no XOR-filename-encryption is used
/ c4 I8 V* [8 P4 Z;here some useless commentaries up to offset 7fh
5 o# F& ]( H' J$ K" X: f3 a# c2 j& D7 P
5 e t( [% q/ C* t# z4 x3 ROffset 80h:
7 T% S+ w4 E0 {+ ]+ A" pDWORD ;Offset file table9 k5 \) a% G6 J: O% {
( L& T( N+ E# b) F9 Z f# L( V
<Offset file table>:* b- t2 w& |& q3 K. T
BYTE length(descr) ;Length of (useless) DCP-file description string
* V" d5 Z8 f. |8 [/ ^BYTEs descr ;String, variable length of length(descr) incl. 0& z1 o8 ^" }& s& p' P6 l- ^: g
BYTE 0 ;terminator
( d, l+ x- x/ N5 s) `4 r' T) D. Q8 u' ?
DWORD ;Number of files3 `! B! \8 y. |2 b9 @
! C0 H6 k( f$ _+ O! ZFile table entries:
/ |" H8 W1 j& o) ~0 `) B8 c9 w3 \; s) f
BYTE ;Length file name" b3 O9 X2 S: ?$ P3 e
BYTEs ? ;File name; XOR-encrypted if version=200h; XOR-Value=44h' v0 I0 t# A5 \7 m2 P3 D; ^
DWORD ;Offset file
- U5 s+ a5 u* _0 H# }+ V- d) F5 BDWORD ;Uncompressed data length
. D! p8 F, f1 n( NDWORD ;Comressed data length (0, if uncompressed); compression=ZLIB
, p8 }- ?; I! g9 f/ \ Q, UDWORD 0
* n4 ~% y9 @+ \, h/ z$ NDWORD CRC(?) ;Only present if version =200h
7 J; l. X0 j; Q4 j3 t, m wDWORD 0 ;Only present if version =200h |