GOBREAD是一个通用的游戏解包软件,支持很多游戏。 C" e- W8 F( n+ [9 G
它支持Wintermute引擎制造的游戏所用的DCP格式。) G% v5 W ^) ^
7 u/ }6 T& {2 s2 E/ B失落的王冠就是Wintermute引擎制造的。
# H7 M2 ?$ T* |9 E$ x, ]$ D: H% \/ S" A" O- I8 s
用法以及支持游戏列表( y3 L g) N" n9 m
2 o5 H+ C# U" j8 Z4 t1 g; k8 a
Extracts container files from different programs into the current directory.; t' _* |" T! H- k
" g ?2 _) u& v' W7 f5 o, ESyntax: GOBREAD [{/|-}option] containerfile [{/|-}option]3 q# o9 Q; p$ p
or GOBREAD {/|-}create{=|:}containerfile {/|-}option
$ @" V6 w8 m! N: ]. v% h6 Q, P+ I: _- G2 F! I6 m4 k1 F
Options, Flags, Meaning:
( N0 @* X, i+ ]0 S3 y2 Z& q; ~; Z" k13C A 13th Century - Death or Glory, PAK-files
& A& \: o } V8 h! cAFIST2 AC Armored Fist 2, RES-files# j# }3 g. c- r
AMERICA A America, RDA-files
! Q: F' E8 g; f: i2 yASCEND Ascendancy, COB-files
" W) g4 {" M: K. w/ fAVP1 A Aliens versus Predator 1, FFL-files
1 b/ G: L: a A% L3 dWRS A Baggersimulator, WRS-file
8 @# q& `: O8 Z9 n5 JBLDRAYN A BloodRayne, POD-files/ I0 \4 o: h$ o B6 q
C3 AC Comanche 3, RES-files (s. a. AFIST2)
1 B8 `- @* w' ~3 K2 m! O0 ICOMBWING A Combat Wings, file 'data'
7 r( R5 q# w6 x2 |CBN Dreamstripper (and others?), CBN-files
# } p4 p: X; d% Y dCMD Commandos and -Expansion, WARGAME.DIR! @8 x! k, P- _$ e0 @" K1 \* K5 E
COSS A Cossacks, GSx-files
6 a9 B8 p* G* \2 _CURSE A Curse: The Eye Of Isis, file GAME.AE, _1 F/ m! h* I, o \! A& O# {3 ~# T. z
DAIK A Daikatana, PAK-files( a( g( g8 @2 i+ f7 K1 s5 x* q5 w
DBTS C Die By The Sword, ATD-files0 c) F: S4 V& v0 y
DCP A Wintermute Games, DCP-files, P* ~. }8 Q, M, K! E* k# F U1 W% `
DFGOB A Dark Forces, GOB-files
! x( h' Q; X0 b4 X+ JDIGPUB A Digital Publishing, EXE-files
7 R" J" [+ {- t9 E9 A3 [+ c1 rDK2 A Dungeon Keeper 2, WAD-files: X" m& O8 l/ K7 ?) _
DOA A Dawn Of Aces, TEX/TRN-files
4 e- }% @" `3 V: mDOMINION A Dominion, RDF-file
) E: G; P4 f* @1 E+ ~; @" FDSA1 A Das schwarze Auge, ALF-files; j$ [% R. z+ t4 u/ ^0 V i
DSA4 A Das schwarze Auge: Drakensang, NPK-files* g# w% S2 N9 J3 F/ T, G
FFEAST Flesh Feast, MUF-files0 f# B/ j; N* r# y* s- N
FS Gene Troopers/Chaser,FS-files (decompression not error-free)$ I; f' b( I5 D% \+ w. P3 c
GIANTS A Giants, GZP-files
; p: ~1 J8 Q# B$ r- [; _GRP AC GRP-files (Blood,DukeNukem3D,RedneckRampage...)6 }- b% `% Q- c
GUT A GUT-files (Soldier, ShadowCompany...)" V7 V1 a1 F' C# l
H2AGG Heroes of Might and Magic 2, AGG-file% E9 R. M0 c7 o" Z }6 \! S7 D
H3SND Heroes of Might and Magic 3, SND-files& T- X/ J- c* O( n
H3VID Heroes of Might and Magic 3, VID-files0 @2 M" Y, I; `7 a7 o4 I, ?2 L
HF Hellforces, RES-files
, W2 m2 u, n0 @" n# }; cHW A Hostile Waters, MNG-files
7 Z3 B4 g4 X: K5 U" |IDPAK A ID-Software, PAK-files (Quake,Kingpin,HalfLife...)
1 F* s& ]5 G) l$ t$ `" H ?& H0 EJERICHO A Jericho, .packed-files7 v, ], g. K: l* l( i
KREED A Kreed, PAK-files
' s+ e3 t1 L4 }' P( j. {. KLB2 A Apache Longbow 2, TRE-files7 `, x) e0 I+ a: o4 w" e) t
LFD A Lucas-Arts-Programs, LFD-files (DarkForces,TieFighter...)6 c$ o/ m4 K, }3 J$ T9 ?9 E& X
LHOG Legend: Hand of God, PAK(+DAT)-files
, q1 f6 {% t( ~# ]7 F) YMIX A Command & Conquer Renegade, MIX-files
# p; e8 I {& X5 bMESSIAH Messiah, DTA-files (IDX-file must also exist in source location)
) k. Q2 q7 D0 W& eMORTYR AC Mortyr, file MAIN.HAL( N, V* u8 o! m* } q+ r
MOTORACE Moto Racer, BKF-files
3 ^ s5 i# \7 |* d9 DMONORES A Monolith Productions, RES-files (Blood2, Rage of Mages...)
1 K6 r: K* A1 o7 U1 A. Y6 ZNAM67 Shellshock NAM67, ASSETS??.DAT-files
9 f- L3 A4 s4 t; ~0 ^: Y# g% }NASCAR2 Nascar Racing 2, DAT-files
1 U5 [! I/ T, E; x, J1 u3 gOUTLAWS A Outlaws, LAB-files( T0 R) `8 R" b( E3 k" N# ~* z5 Z' o
OUTWARS Outwars, FF-files+ U" l' f0 @ B5 L: h
PACSTORM A Pacific Storm, SMA-files# I2 \$ {5 k% ?; A0 |' y
PATR2 A Patrizier 2, CPR-files
1 o( p0 x: Z0 ]' ~2 m5 a. O$ zPEA A Panzer Elite Action, X-files
9 s: \: ^- N5 j; Q# G& J# gPFF A NovaLogic, PFF-files (DeltaForce, F16...)
( S. Z6 h7 p v2 {5 y/ @2 APOSTAL A Postal, SAK-files (not complete)
$ ^4 d+ Q; P0 F5 XPRIV Privateer 1, TRE-files
* Z C9 l/ @8 z) j" tPOD Terminal Velocity, POD-files
; O, O& {( g/ n$ Z7 w0 ^OFP Operation Flashpoint, PBO-files( U5 p0 p9 W! t( v) v
RAMP Rampage, BSA-file9 O3 P* k: r( q+ Y0 V
REDFACT A Red Faction, VPP-files
) W8 Q$ j0 u: V( M' d. g$ ISC2K Sim City 2000, SC2000.DAT
4 q! c% ~, t9 U% dSS2 A Secret Service 2, CHR-/SS-files( c1 E/ m6 M: N6 Z5 {. U
SSG A Space Siege, SS???-files: J4 ^$ Q9 F4 k- S( Y, f
SIN A SIN 1, PAK-files2 W1 F+ a9 d0 j( E
SLAK A Starship Troopers, SLAK-files/ A. E' ~4 p2 e+ L. P6 p
SYSSHOCK A SystemShock 1, RES-files+ w! {8 r- y4 E& T
STOLEN Stolen, BCB-files
/ {4 V. y7 x, _6 BTOMB3 C Tomb Raider 3, CDAUDIO.WAD+ N; q. n+ ?/ ?) ]
TUROK2 Turok 2, 11K/11C-files$ M! A) Z! K5 Y# Y* X `2 q
WARCR2 AC Warcraft II (incl. expansion-CD)3 r9 i. G/ V8 M8 S! c
PKR A XMEN2-Wolverine/Spiderman/PRO-BMX, PKR-files (BZIP2+WAVPACK reqd.)
$ t# r" Z" z/ @0 \7 @WW2F A World War 2 Fighters, SQ?-files
+ s2 B! H, A3 Q
Z, O' E3 s2 K" \( u! `4 VCREATE Create container file (not fully supported)# \, o: T) b/ p9 }: e
! o; |# W) ]5 k: k B) o7 p4 @
" S6 i% L: g- [" W( l! bFlags (informational only):
/ c3 C# J6 C5 C7 ]- L8 q A Automatic format detection; if not shown, the format option MUST be given
# R8 _$ s& O# c C Creation of container file possible
: Y ]# m$ W: K( f; p" r
$ ~( j) U4 Z3 w4 _ C5 J2 VOption and filename can be given in any order. U7 j( ]/ {3 V
! z4 c( A! z. z( P
Examples:6 z% A5 U2 t+ C5 a- ?' s
GOBREAD DATA.PAK = Extracts all files from DATA.PAK
& Y+ J s* ^6 B& t+ C" z if the format can be detected
% X1 J+ c' d' i9 \0 X GOBREAD DARK.COB -DF = Extracts all files from DARK.COB! ^( I- p2 n6 Q1 q7 [' O
forcing format "Dark Forces"6 a0 w$ a5 \1 \4 ~1 W
GOBREAD /cbn file.cbn = Same as above, but other file format) R' A2 a3 b8 z1 a; q
GOBREAD -CREATE=REDNECK.GRP /GRP = Creates "REDNECK.GRP"4 i7 U7 j! R7 a8 Z: z+ i
from all files in current directory( o# y. C/ X- o4 ~- w$ _
of type "GRP-Files"
% V( _ R. Q5 U) l
$ r0 x" r! A# a: |3 _- B6 CThis program is freeware. Use it at your own risk. Only for private use.4 M+ R1 b: M% }# U1 S1 W; P, W
2 l3 [3 B: f, @) L. R
-------------------------------------------
% e; x' l/ r. B5 H z, GDCP文件结构(做打包处理时可参考)$ I( x& Q! E+ R2 a. Y& I
------------------------------------------/ l3 W4 @ k; y$ |" f0 i
* W9 l+ v. p0 w9 [3 a, A
Added extraction support for "Wintermute Engine"-games, DCP-files (by request)0 ]0 W" \# @, `! \ h# T' ~1 N
This format uses XOR-encryption to hide the file names.
" y2 u. P: b1 rNotes:
+ r" F; M2 z8 H5 @; D& T$ H4 C! H0 C/ EIt 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. l7 p, j) v% [- j! l+ L
The file has a known <name-size-offset> structure.
. ?( V$ v1 F# }% x
% K' h, [1 R( G. h4 gFormat description:
9 i$ _- z6 Z- [* D, h+ u) s u4 J
4 `9 S/ V0 B! H6 ]6 L: ICode:
/ c, v( ]/ x @# U$ D7 f) p8 O, ?DE AD C0 DE "JUNK" ;Magic ("DEAD CODE:JUNK")4 V! n) o; V1 t9 X! X0 ?
00 02 00 00 ;Version, if < 200h, then no XOR-filename-encryption is used7 N" ]( z% q- f" F3 M
;here some useless commentaries up to offset 7fh
" s! }# p' w) n2 P
( m) @$ F8 d* ] N/ D- Q: eOffset 80h:
' T8 N* |+ a. ]' y6 n4 k& l& H! hDWORD ;Offset file table
% C/ h9 e" ] x# B. e* |
& Q) g E/ {( k F<Offset file table>:! K' p9 I4 ?* S6 u
BYTE length(descr) ;Length of (useless) DCP-file description string$ Y h1 o5 ]1 m. p" c: D
BYTEs descr ;String, variable length of length(descr) incl. 0; e% R: G. R) I" A4 S6 F
BYTE 0 ;terminator
& v! L3 J3 ~; `: H( {
8 f/ M2 ^1 K) q% IDWORD ;Number of files" A% V, u- S( [4 ^% I( w
" R3 [9 T3 d0 m0 J
File table entries:
Z# ]! E0 S( A" \+ h7 L( M/ n1 Y
BYTE ;Length file name
$ B$ d- c. p, r/ U" h" R* g' BBYTEs ? ;File name; XOR-encrypted if version=200h; XOR-Value=44h
& d" A- w! `9 ?9 ?; EDWORD ;Offset file
: o2 I& A' r% w0 Y5 ?8 @DWORD ;Uncompressed data length
- N _4 ~# R% M! K m: |+ e1 vDWORD ;Comressed data length (0, if uncompressed); compression=ZLIB
5 z6 ^: R5 i- j% _* `6 [DWORD 0
. L. q- i, c: j, m5 zDWORD CRC(?) ;Only present if version =200h+ K& b% G( P# Z! w6 D+ ~
DWORD 0 ;Only present if version =200h |