GOBREAD是一个通用的游戏解包软件,支持很多游戏。
6 ^' c+ f9 z( ?" F: H' b) C它支持Wintermute引擎制造的游戏所用的DCP格式。
* x5 G, y S$ d4 ?3 i( A0 g/ q) f! K9 E- l
失落的王冠就是Wintermute引擎制造的。
% g) \1 K) N: B; ^" I8 q( S a0 g/ _1 {
用法以及支持游戏列表
& P q; q9 G) W% H1 ~0 G+ `
5 e7 Z' D7 r8 V! L' GExtracts container files from different programs into the current directory.
/ a0 W9 q" F$ j- N) c' H% s0 } N) Z1 q$ E+ z$ F
Syntax: GOBREAD [{/|-}option] containerfile [{/|-}option]
! N1 R1 W2 \- W, ]0 }3 h7 q- [ or GOBREAD {/|-}create{=|:}containerfile {/|-}option
) ~, ~# a+ q! O9 J, ]2 K7 G4 e0 _5 r* T& A& s b
Options, Flags, Meaning:7 ?- x7 {/ @5 z% r3 ?. Q
13C A 13th Century - Death or Glory, PAK-files
- ^" H) y7 `- H! T& g& _AFIST2 AC Armored Fist 2, RES-files& M, Z. A3 v8 u6 l# I. p
AMERICA A America, RDA-files
& P! {) D2 a( @: z1 \: WASCEND Ascendancy, COB-files2 R" \8 e+ O9 d* }9 f
AVP1 A Aliens versus Predator 1, FFL-files
, _$ i" b' ^ v) KWRS A Baggersimulator, WRS-file8 s9 W3 l# U$ ~1 C
BLDRAYN A BloodRayne, POD-files5 {9 U0 \9 P5 T. c0 W7 @
C3 AC Comanche 3, RES-files (s. a. AFIST2)' L" d1 T0 `; c3 k i t* t
COMBWING A Combat Wings, file 'data': p5 h1 R6 Z8 b# b# ^& C0 J5 P" D
CBN Dreamstripper (and others?), CBN-files. i+ F3 E7 K2 z+ S! H+ a
CMD Commandos and -Expansion, WARGAME.DIR J% p. T* o' S
COSS A Cossacks, GSx-files# f& P8 x# P4 k
CURSE A Curse: The Eye Of Isis, file GAME.AE
\3 n7 {' a+ w+ @DAIK A Daikatana, PAK-files
( @8 F, x: `8 Z* P; s' QDBTS C Die By The Sword, ATD-files9 s# A# J! a3 H& ~ z
DCP A Wintermute Games, DCP-files0 M4 `+ [4 q9 A3 X$ a8 | c4 Q
DFGOB A Dark Forces, GOB-files
, p# I. n5 R, C5 IDIGPUB A Digital Publishing, EXE-files
+ Z% @( |2 I6 Y( e2 `$ \DK2 A Dungeon Keeper 2, WAD-files. \: L7 m9 r9 F! M- Z" X
DOA A Dawn Of Aces, TEX/TRN-files
3 A; B& r ]/ a% q2 DDOMINION A Dominion, RDF-file' ]9 S) h' K# A
DSA1 A Das schwarze Auge, ALF-files
8 Q0 s+ t( {# [" G* rDSA4 A Das schwarze Auge: Drakensang, NPK-files
) j0 }) P: \7 y* f5 c. eFFEAST Flesh Feast, MUF-files
* f, o; s, r) P2 {- J* JFS Gene Troopers/Chaser,FS-files (decompression not error-free)
X( i9 W) _6 M; E/ XGIANTS A Giants, GZP-files
9 o0 i8 b7 a q& l" X' ]GRP AC GRP-files (Blood,DukeNukem3D,RedneckRampage...)% L* Z9 C- ?7 v4 J; X! w9 y
GUT A GUT-files (Soldier, ShadowCompany...)
$ K. S( w1 \' z4 Z" [* `H2AGG Heroes of Might and Magic 2, AGG-file! {' } r' A" d2 ^' z& C5 V( u5 q. E
H3SND Heroes of Might and Magic 3, SND-files
! o$ L1 b$ a+ T* R0 N1 R6 YH3VID Heroes of Might and Magic 3, VID-files
1 U, L3 ~3 s/ I) }" O* wHF Hellforces, RES-files: B* M( ]1 V& p' \
HW A Hostile Waters, MNG-files. }6 r) ]7 ? n' g
IDPAK A ID-Software, PAK-files (Quake,Kingpin,HalfLife...)7 ` }: U8 }& m' w- Z5 n
JERICHO A Jericho, .packed-files
* A& X4 Y; G7 x ]# D! |KREED A Kreed, PAK-files! x* n+ Y, h* g9 \9 T
LB2 A Apache Longbow 2, TRE-files
, ^3 x! x1 _6 I' w3 n' W* n$ QLFD A Lucas-Arts-Programs, LFD-files (DarkForces,TieFighter...)
) [ F# k5 G9 CLHOG Legend: Hand of God, PAK(+DAT)-files9 p6 ?' s# Z1 s; n! F1 @
MIX A Command & Conquer Renegade, MIX-files
( x! P& T7 _8 FMESSIAH Messiah, DTA-files (IDX-file must also exist in source location)( }0 _* C7 o* h& D( O! I
MORTYR AC Mortyr, file MAIN.HAL
9 D1 D& {4 g/ _* w0 NMOTORACE Moto Racer, BKF-files
' I9 w! h* m! S; i. oMONORES A Monolith Productions, RES-files (Blood2, Rage of Mages...)
" `+ x5 [; T! Q. e- ~NAM67 Shellshock NAM67, ASSETS??.DAT-files
7 [& k4 H$ p4 W8 y }NASCAR2 Nascar Racing 2, DAT-files
2 w1 g7 n# ?6 H4 R' E( pOUTLAWS A Outlaws, LAB-files
5 D/ x' ~9 f, ]& hOUTWARS Outwars, FF-files
& b9 v- k5 B" R, v+ h9 cPACSTORM A Pacific Storm, SMA-files
2 i4 d4 u. [) W( v# lPATR2 A Patrizier 2, CPR-files2 U7 M1 j+ i) S1 z4 k6 d* I# |
PEA A Panzer Elite Action, X-files2 g3 ^" u- q2 U- c0 j
PFF A NovaLogic, PFF-files (DeltaForce, F16...)
" R1 x3 j2 X2 e4 y8 O4 a* GPOSTAL A Postal, SAK-files (not complete)' m/ j$ [& J& c) `2 J
PRIV Privateer 1, TRE-files: z( d/ X2 f* g. \% [7 {" s
POD Terminal Velocity, POD-files
/ ~8 l f) a8 ?! K, eOFP Operation Flashpoint, PBO-files
. @. P) k0 S1 V0 H( r! e* BRAMP Rampage, BSA-file
4 Q3 E6 I8 v' Y9 GREDFACT A Red Faction, VPP-files8 n: R) }8 p7 o3 P; i4 b
SC2K Sim City 2000, SC2000.DAT
- B7 I# ^6 S& z" DSS2 A Secret Service 2, CHR-/SS-files' N) y+ W8 i/ C% J3 k8 }/ P4 J
SSG A Space Siege, SS???-files
5 y8 f# ^9 _+ P: R0 k4 TSIN A SIN 1, PAK-files" P3 r+ o- b! R% @. _" K
SLAK A Starship Troopers, SLAK-files
T6 }2 u" J9 R( m+ t( nSYSSHOCK A SystemShock 1, RES-files' _2 `7 i3 b6 Z6 o( U3 C" w, X
STOLEN Stolen, BCB-files' j+ V [0 \2 q; c
TOMB3 C Tomb Raider 3, CDAUDIO.WAD* }( v. _* K4 s% h
TUROK2 Turok 2, 11K/11C-files
/ [1 Q& s5 {; A, j4 {1 N2 e% A* FWARCR2 AC Warcraft II (incl. expansion-CD)% b6 a6 M) ^& {! a
PKR A XMEN2-Wolverine/Spiderman/PRO-BMX, PKR-files (BZIP2+WAVPACK reqd.)
* ~% n; D" D% wWW2F A World War 2 Fighters, SQ?-files0 S+ }7 o( Q& H9 ~
% c4 w2 _1 l+ A* l* v! i: `' G
CREATE Create container file (not fully supported)
1 ^, |8 B" C [6 b
" O7 `; [. X; G% v, y$ O( x
& P. S4 T4 D* A! v RFlags (informational only):. T, t+ e% ^! p1 q( _, W
A Automatic format detection; if not shown, the format option MUST be given5 g" j z; u6 U* n. A, i1 f. q- k) V
C Creation of container file possible, I/ Z" g) G& u% [ N
+ R3 ^+ ^2 n* s+ x& e
Option and filename can be given in any order." M' c! Z) \% W+ g; n
5 n7 e9 ?" } k! QExamples:5 O- q1 d: F& `4 N" o
GOBREAD DATA.PAK = Extracts all files from DATA.PAK
1 h9 y! w+ g% k- J7 x& p if the format can be detected ] o( X9 ^" o9 D- q; I: s4 t
GOBREAD DARK.COB -DF = Extracts all files from DARK.COB3 z8 F7 ?9 U J, Z5 q
forcing format "Dark Forces"
2 ~- K% L( c B6 N GOBREAD /cbn file.cbn = Same as above, but other file format
( k1 Y3 [& W! [+ S GOBREAD -CREATE=REDNECK.GRP /GRP = Creates "REDNECK.GRP"" [# }$ G% a( M& |% Z9 c& ?6 F
from all files in current directory1 i5 }4 U. Y4 y) F9 G8 j4 b
of type "GRP-Files"
- B+ W! a9 v. L8 s& o9 Z: R; {2 M! I9 @; |2 F# A# `
This program is freeware. Use it at your own risk. Only for private use.
: W. k* G" ~' f3 ]! _
4 [' l# l% H7 |! t( y6 p-------------------------------------------
; D/ k6 N* d: p0 c* |DCP文件结构(做打包处理时可参考)
. O7 O2 a8 t P------------------------------------------# ~/ U3 X) V% }+ O) u' y1 o
- w9 D3 _4 o- N9 R t# t/ C! d8 sAdded extraction support for "Wintermute Engine"-games, DCP-files (by request)
% M2 @: m$ [- m1 q8 s1 hThis format uses XOR-encryption to hide the file names.
8 K4 K2 \2 z9 S' P, l2 j9 oNotes:
9 n" q0 L/ l9 l0 CIt 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.
! c7 Y% w9 k% O% k6 E, sThe file has a known <name-size-offset> structure.
9 M" c: L7 O$ E, i; |- J6 `' g8 c6 C- c& m1 c# O+ |9 ]2 m
Format description:8 e3 U7 c/ t( J" q& P
: v6 }4 P n! o4 E0 D3 m( z
' G9 ?3 X" M; W( `4 SCode:
1 o2 D# v3 h- ~) @( E( w. A) rDE AD C0 DE "JUNK" ;Magic ("DEAD CODE:JUNK")
5 N$ j8 i; \; k @" [00 02 00 00 ;Version, if < 200h, then no XOR-filename-encryption is used$ F$ W; E0 T( D) x+ L% F
;here some useless commentaries up to offset 7fh
% v1 r% P9 N$ q; _& R+ u4 h6 E/ ~! Z/ W! I# X1 N; c# V0 M
Offset 80h:
2 w9 j* \! s; r6 d2 c7 dDWORD ;Offset file table
% ], L* n! r% O z% E5 w- b7 z0 s: S% O
) `1 ^& j. e/ x# T" P$ ~3 C& `' N- T<Offset file table>:. ^6 I0 o4 Y+ j: u$ q- Y
BYTE length(descr) ;Length of (useless) DCP-file description string
. l9 @; F, w8 R( F: ]BYTEs descr ;String, variable length of length(descr) incl. 0
. Y8 @, {6 l0 P. {, K3 \7 ]BYTE 0 ;terminator9 P& O0 T E1 E( Q2 c8 e& X
/ u) [) H! T: d! f2 ^/ z
DWORD ;Number of files, D5 N B, Q1 J- i6 K9 w1 ~
* h3 y$ J& |' m1 ]3 w% ?File table entries:2 b0 |' H9 F; I" @+ q
7 H# a" i* g% d2 ?3 {4 Q. F1 g
BYTE ;Length file name
7 }7 ^2 Q* H* k2 r F# j7 dBYTEs ? ;File name; XOR-encrypted if version=200h; XOR-Value=44h5 Y; I* U7 l# W# {9 T$ e; C
DWORD ;Offset file4 |0 E9 j: b7 P3 {0 N" x9 C! r d
DWORD ;Uncompressed data length
" @' w/ s' \0 T/ s; N. hDWORD ;Comressed data length (0, if uncompressed); compression=ZLIB/ u+ x& p2 U ^: y1 R, l
DWORD 0# F3 J8 ?+ g9 X+ O
DWORD CRC(?) ;Only present if version =200h
" x! j) b8 \! N# l4 WDWORD 0 ;Only present if version =200h |