GOBREAD是一个通用的游戏解包软件,支持很多游戏。
; A* Z& K2 O' M, ~5 q它支持Wintermute引擎制造的游戏所用的DCP格式。. X" c/ n) y- s0 k
" {- Z5 u/ |5 p! u% T# v/ T失落的王冠就是Wintermute引擎制造的。9 a! z" N+ G$ G
" @' O! p* ^8 I% g9 E9 @
用法以及支持游戏列表
9 u v" g1 l: S5 C% Y! X& l8 A+ }+ }7 v; x3 K/ q3 y6 u
Extracts container files from different programs into the current directory.- g# ^" ^# h% F c3 D
2 e9 R) x- o7 |) N' k3 @Syntax: GOBREAD [{/|-}option] containerfile [{/|-}option]
; F, |( @* T2 I3 D$ p1 b or GOBREAD {/|-}create{=|:}containerfile {/|-}option$ q1 U1 } N) @' F. y, I' a0 y
& G9 a0 E2 r x# S* bOptions, Flags, Meaning:* g1 D6 p2 r: P* k! {, O6 V2 y
13C A 13th Century - Death or Glory, PAK-files; a5 e& _2 f2 \" X
AFIST2 AC Armored Fist 2, RES-files
' J9 j, l d+ [AMERICA A America, RDA-files
% K: p8 M. z0 b, Q3 W( V8 WASCEND Ascendancy, COB-files
4 B6 l' U J! @2 H( b0 ?AVP1 A Aliens versus Predator 1, FFL-files
% J0 G0 E- f3 H$ Q2 |- O/ t4 nWRS A Baggersimulator, WRS-file
- Y0 ]; ?4 I2 oBLDRAYN A BloodRayne, POD-files5 Y S- D3 l% U: c; |
C3 AC Comanche 3, RES-files (s. a. AFIST2)/ f- Z7 N/ X5 c9 F1 [
COMBWING A Combat Wings, file 'data'
8 T1 K( N4 f: ^+ H+ ?* gCBN Dreamstripper (and others?), CBN-files2 o n- W# W' ^& N3 X5 }
CMD Commandos and -Expansion, WARGAME.DIR
5 A: ]) k+ E) h) Z6 YCOSS A Cossacks, GSx-files% ~ k5 c2 o# M& X8 l
CURSE A Curse: The Eye Of Isis, file GAME.AE6 j" V q0 d& ~2 O
DAIK A Daikatana, PAK-files( D% i- \: r0 X4 m+ K
DBTS C Die By The Sword, ATD-files
' `5 p. v1 F. A9 _- Z' ?0 rDCP A Wintermute Games, DCP-files
' e }( F# N' ]- y& M/ ?DFGOB A Dark Forces, GOB-files
+ l8 j" o0 y. C8 o! Y1 \DIGPUB A Digital Publishing, EXE-files
: |" b1 w$ H2 {; xDK2 A Dungeon Keeper 2, WAD-files
/ }2 _2 w8 V' t u* r* m* BDOA A Dawn Of Aces, TEX/TRN-files
1 @: o4 @ H. a4 @) qDOMINION A Dominion, RDF-file
$ i5 t/ `& g3 V( R1 zDSA1 A Das schwarze Auge, ALF-files U8 i J/ q8 t' O& S. ^
DSA4 A Das schwarze Auge: Drakensang, NPK-files
7 m9 _' i6 d% g* XFFEAST Flesh Feast, MUF-files. v2 q7 B* h4 x; H# L( o
FS Gene Troopers/Chaser,FS-files (decompression not error-free)1 l$ j. T" i# B# L: R! }
GIANTS A Giants, GZP-files4 l* C* M* |: c
GRP AC GRP-files (Blood,DukeNukem3D,RedneckRampage...)$ A7 g" J; `! l+ T4 X; y, D8 d
GUT A GUT-files (Soldier, ShadowCompany...)' s# a: b$ \+ b9 h9 B
H2AGG Heroes of Might and Magic 2, AGG-file1 ?( }1 k# R2 D. W# k h2 k
H3SND Heroes of Might and Magic 3, SND-files8 t1 q& t" T; u! x+ ^
H3VID Heroes of Might and Magic 3, VID-files2 W- Z5 Z; @( o5 G8 e% X" D Q. u1 x
HF Hellforces, RES-files) @; g, G# i% k7 J8 B F# ]
HW A Hostile Waters, MNG-files+ X/ n' [ o- T+ { K* E
IDPAK A ID-Software, PAK-files (Quake,Kingpin,HalfLife...)
: S' W( t ^$ E. G% YJERICHO A Jericho, .packed-files: ?& g: r+ D% s; Q
KREED A Kreed, PAK-files
2 ]+ J* Q5 h' K g1 M9 Q8 _0 {6 E9 H8 ~LB2 A Apache Longbow 2, TRE-files/ D% ~7 O1 y' q' s# x. E; K
LFD A Lucas-Arts-Programs, LFD-files (DarkForces,TieFighter...), m! H: g5 _2 g* H
LHOG Legend: Hand of God, PAK(+DAT)-files5 D$ r( m! I' V+ K1 ~1 |; h
MIX A Command & Conquer Renegade, MIX-files' G- a- w( ~. {* V+ Z4 }! |. p
MESSIAH Messiah, DTA-files (IDX-file must also exist in source location)7 R$ S% U; A. Q
MORTYR AC Mortyr, file MAIN.HAL1 B- F# i6 r9 r9 k I2 E; u
MOTORACE Moto Racer, BKF-files6 `+ B* A8 R I, h( j3 D$ N6 C# c0 K
MONORES A Monolith Productions, RES-files (Blood2, Rage of Mages...): N) q; D; G8 X9 F' \
NAM67 Shellshock NAM67, ASSETS??.DAT-files9 a* M* D# ?* {" P4 m9 _
NASCAR2 Nascar Racing 2, DAT-files
/ c- |: }& ^0 p" o# p% d3 `OUTLAWS A Outlaws, LAB-files
. x# f' Q/ ?; ^. D0 J& v L/ x& q* iOUTWARS Outwars, FF-files
* W0 |/ x2 l) O, YPACSTORM A Pacific Storm, SMA-files: d2 z) k( E# o0 O ^- M
PATR2 A Patrizier 2, CPR-files- L0 {- Q0 m% T6 r7 [
PEA A Panzer Elite Action, X-files
) x+ e; [% I3 r* t4 z3 VPFF A NovaLogic, PFF-files (DeltaForce, F16...)# A& t8 u, W- a5 @/ E) d
POSTAL A Postal, SAK-files (not complete)
* P7 T$ i. m% o: W/ M8 IPRIV Privateer 1, TRE-files, B- L8 o8 D6 h5 T- a4 f0 G
POD Terminal Velocity, POD-files* e A6 J! k, e8 ~" P% G, g
OFP Operation Flashpoint, PBO-files$ ~9 P" }: R. Z8 X
RAMP Rampage, BSA-file
# ^" P$ K' a4 q0 L( eREDFACT A Red Faction, VPP-files
& z8 h( o5 B, c L0 eSC2K Sim City 2000, SC2000.DAT+ d0 X% v1 x/ l% @' q
SS2 A Secret Service 2, CHR-/SS-files
( i# w4 V8 B5 [& U/ `$ S( VSSG A Space Siege, SS???-files
& O- U9 L/ {3 U; e: P' {; c% Y( ~0 CSIN A SIN 1, PAK-files( _1 [" g) q" P4 g( ^
SLAK A Starship Troopers, SLAK-files0 \5 ^$ { c0 s
SYSSHOCK A SystemShock 1, RES-files
1 C6 T. g9 r3 ~" @STOLEN Stolen, BCB-files5 e3 O! X$ x/ d) v
TOMB3 C Tomb Raider 3, CDAUDIO.WAD6 D) U( M% z# p+ y+ h
TUROK2 Turok 2, 11K/11C-files9 Q! r6 d& Y' S: y
WARCR2 AC Warcraft II (incl. expansion-CD)9 e; r: h' \7 {/ F+ l+ Q! n
PKR A XMEN2-Wolverine/Spiderman/PRO-BMX, PKR-files (BZIP2+WAVPACK reqd.)
, x* r1 W7 d; s' i9 a$ wWW2F A World War 2 Fighters, SQ?-files3 w! b# `5 ~9 m6 E
, t. ^0 Y7 ?# X: GCREATE Create container file (not fully supported)5 u5 ^( U+ l% M( l, t2 T
/ a7 Q0 e S3 e R S, N0 N) |- Y
Flags (informational only):
+ v( y4 }% e. U* f' n+ B* ` A Automatic format detection; if not shown, the format option MUST be given; L, i. {' W6 ~ C5 t$ @
C Creation of container file possible
- \: @% M$ e/ W* x* y) b; V( e6 j+ `7 ?& w; r% T9 K2 q0 u
Option and filename can be given in any order.* }1 k v8 r1 R: c: {3 `' j. ]
$ [$ s. E4 `5 {6 g( tExamples:
- s V4 P) r I. s4 B( M L' u, Q3 r GOBREAD DATA.PAK = Extracts all files from DATA.PAK
% W, X+ u: f3 |. q1 h9 a if the format can be detected
& u8 A2 \2 O. M* P" i) N7 ^ S) v GOBREAD DARK.COB -DF = Extracts all files from DARK.COB- t- m z# ?6 {5 k7 L% ^0 b
forcing format "Dark Forces"4 `3 S8 U5 T) o& K% F& [+ H
GOBREAD /cbn file.cbn = Same as above, but other file format- b6 b2 V4 |" t1 p5 o- k2 j, y
GOBREAD -CREATE=REDNECK.GRP /GRP = Creates "REDNECK.GRP"5 m( ^2 G( j% G0 z# ~2 g9 F
from all files in current directory" I1 F; `9 u' d, L
of type "GRP-Files"
2 p8 {; U4 j! N9 `
" o! U% }5 d& h! ]5 f5 _) tThis program is freeware. Use it at your own risk. Only for private use.. j) B6 L6 ^3 T1 t- d+ j& |7 Y! `& r
. _5 n3 T, ^# V, i8 s% p6 D. y1 u9 M
-------------------------------------------3 Z( k1 [- o8 i+ g8 a/ b% u
DCP文件结构(做打包处理时可参考)9 r4 `. }5 a I' O: Z/ J6 R& S
------------------------------------------. P+ q: e. z+ ~: c) c4 I1 ?
7 O4 f3 C# G- H
Added extraction support for "Wintermute Engine"-games, DCP-files (by request), d" g7 a. n$ M7 G- a
This format uses XOR-encryption to hide the file names.' @! s" g8 v+ ^% {4 S
Notes:# e4 G+ U) _; H8 S, ] E: a
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.
8 z; E# ~* `) N. Y+ {0 w9 {5 }The file has a known <name-size-offset> structure.8 [$ \4 P' D- k4 N% J
( j4 G2 |3 ^6 d
Format description:+ ~5 {( ^1 N: J2 N
0 H/ a' S n" q0 d$ X8 x0 f0 P
1 A1 g/ Y: J9 [
Code:
. c4 V/ p% I, W: JDE AD C0 DE "JUNK" ;Magic ("DEAD CODE:JUNK")
- D* f/ R: s! }3 ~/ r00 02 00 00 ;Version, if < 200h, then no XOR-filename-encryption is used' c; L0 S" M% k, O$ `
;here some useless commentaries up to offset 7fh
7 a. f! `) j9 L) \; h# t( x/ R
8 [ [, F* K: e4 u; zOffset 80h:
4 `/ Y. `" t( c8 {, }3 uDWORD ;Offset file table
3 c( E& e( h; A7 e' H e. F
( g9 T" \ e* _# i<Offset file table>:
) p1 V: w( m3 d1 Y# sBYTE length(descr) ;Length of (useless) DCP-file description string) X, X; ]0 p8 v# m0 ?; i: N
BYTEs descr ;String, variable length of length(descr) incl. 0
8 U# K7 D3 h( S' Q! sBYTE 0 ;terminator8 X+ T) ]9 N& H) Y; r! ]
3 O) h& ~, A4 g# V" J6 U
DWORD ;Number of files3 j) E4 I* M8 i; X
- A- l5 o* J, s+ h x+ V& e- r
File table entries:
! q" Y2 w7 S% |3 k7 [2 L! ~: h% x( m4 G _# g
BYTE ;Length file name0 N$ b" T5 m/ L3 P) V j
BYTEs ? ;File name; XOR-encrypted if version=200h; XOR-Value=44h
* [7 {% S0 k6 lDWORD ;Offset file/ D$ S6 {1 [- N0 X
DWORD ;Uncompressed data length
7 z$ \) Y2 b/ R& c$ s# nDWORD ;Comressed data length (0, if uncompressed); compression=ZLIB) V2 Y) b; Y( L2 L8 a- B+ L
DWORD 0; e. l9 l8 G+ a) T4 }, [" K
DWORD CRC(?) ;Only present if version =200h1 M' N3 k K6 ] W9 e9 |
DWORD 0 ;Only present if version =200h |