GOBREAD是一个通用的游戏解包软件,支持很多游戏。2 o( n8 q2 d4 L
它支持Wintermute引擎制造的游戏所用的DCP格式。/ c6 r# H4 L! f1 l7 A! i6 E
: t) P; q$ j, d
失落的王冠就是Wintermute引擎制造的。
( Z* u( _" E1 O. D- I0 |: ]/ a3 i! P
0 R, w8 d: ]. L7 v3 ~& [4 \用法以及支持游戏列表
$ q8 ]. A: z* Y" B6 v
7 D9 k8 }3 P7 j. E5 A& c6 iExtracts container files from different programs into the current directory.
2 g" K2 J! {; D! A# }8 S4 J" S y
f. d* a0 y& M# I4 t3 MSyntax: GOBREAD [{/|-}option] containerfile [{/|-}option]1 g4 S7 f2 ^: T% ?
or GOBREAD {/|-}create{=|:}containerfile {/|-}option8 g; O& ~' Q: K* Z0 n' E
8 c- S c- w: J2 p
Options, Flags, Meaning:
# e7 g, S! Y& R4 D, |13C A 13th Century - Death or Glory, PAK-files8 \* D5 j( }, P: l
AFIST2 AC Armored Fist 2, RES-files" D* [0 }8 e7 r6 [( P2 P
AMERICA A America, RDA-files$ ?/ j+ l b+ c9 [# B6 G
ASCEND Ascendancy, COB-files
6 V2 v& v! U9 x7 d2 oAVP1 A Aliens versus Predator 1, FFL-files
. b8 f8 |9 u5 h& G1 U& C, c MWRS A Baggersimulator, WRS-file! F5 f$ z3 E$ w, u/ e) z$ h
BLDRAYN A BloodRayne, POD-files
! R% U7 z3 W" `8 y' aC3 AC Comanche 3, RES-files (s. a. AFIST2)
/ F% d" [* E# e$ I/ ]4 |COMBWING A Combat Wings, file 'data'
' w. u4 Q% v p }; qCBN Dreamstripper (and others?), CBN-files
! S- p& _& L6 U8 hCMD Commandos and -Expansion, WARGAME.DIR
! d% z, o, {8 R- ^" b8 T% L% DCOSS A Cossacks, GSx-files
7 o- i8 O0 c) f( q Z0 z: W# x7 \) w6 PCURSE A Curse: The Eye Of Isis, file GAME.AE
. x3 ^+ q4 [0 T* pDAIK A Daikatana, PAK-files, T. V1 \" F1 G, H9 H- g3 ]
DBTS C Die By The Sword, ATD-files
/ w# x# F' x. O0 b# bDCP A Wintermute Games, DCP-files0 J+ u9 U) z8 |/ Z0 f ?
DFGOB A Dark Forces, GOB-files
" l6 r* g7 ~! `( A. N F) WDIGPUB A Digital Publishing, EXE-files
4 h5 ?4 j% M# f( c- o6 w8 h0 HDK2 A Dungeon Keeper 2, WAD-files3 q8 I' N8 ]8 ?5 O. z& `
DOA A Dawn Of Aces, TEX/TRN-files) b' S# [3 n3 L
DOMINION A Dominion, RDF-file+ t. h5 a# b" O' g, C }1 C. J! u
DSA1 A Das schwarze Auge, ALF-files
( B% y- @ R2 U, w4 C8 |DSA4 A Das schwarze Auge: Drakensang, NPK-files
6 c( f; U9 i; L7 J& KFFEAST Flesh Feast, MUF-files3 k4 Q7 @# T7 t) _
FS Gene Troopers/Chaser,FS-files (decompression not error-free)
1 v) U7 T( ?: t& K4 _. vGIANTS A Giants, GZP-files
" l/ s. e# T& l" RGRP AC GRP-files (Blood,DukeNukem3D,RedneckRampage...)5 E+ {5 y n' H6 u* @8 J% H. L
GUT A GUT-files (Soldier, ShadowCompany...)" h% K1 D) i0 P/ a, H
H2AGG Heroes of Might and Magic 2, AGG-file$ a( J' R2 M, e: _! M3 L3 |- y
H3SND Heroes of Might and Magic 3, SND-files4 u- g/ B, t% T+ g% \3 m8 e
H3VID Heroes of Might and Magic 3, VID-files7 w, R" F! @) W) T1 n" Q
HF Hellforces, RES-files& w) {) J6 x6 T R( B- W
HW A Hostile Waters, MNG-files
8 ?: p! K& E5 Z' i) BIDPAK A ID-Software, PAK-files (Quake,Kingpin,HalfLife...)
2 Q( F8 V$ b( o! a* R5 w/ M1 gJERICHO A Jericho, .packed-files$ ^% U" N K/ ~8 q# {3 ~8 }
KREED A Kreed, PAK-files
1 m8 i$ g. }8 T& o- tLB2 A Apache Longbow 2, TRE-files2 E2 Y$ S8 S6 U, J! M1 N3 u
LFD A Lucas-Arts-Programs, LFD-files (DarkForces,TieFighter...)
2 E. F0 J# B1 ?1 c8 WLHOG Legend: Hand of God, PAK(+DAT)-files
2 d& Q1 W' t% W2 _/ e. A$ V- SMIX A Command & Conquer Renegade, MIX-files- M( k3 D' q3 F, E, R0 a
MESSIAH Messiah, DTA-files (IDX-file must also exist in source location), M8 l, t" \9 W& H2 d
MORTYR AC Mortyr, file MAIN.HAL" m" T2 a: g3 f3 \
MOTORACE Moto Racer, BKF-files
+ T4 ^; e& c9 v- iMONORES A Monolith Productions, RES-files (Blood2, Rage of Mages...)
+ V( `* C0 H, n, ?& I, CNAM67 Shellshock NAM67, ASSETS??.DAT-files" s# g" ~' b. h# ^( `4 C% r
NASCAR2 Nascar Racing 2, DAT-files8 p; [; ?2 }' F6 g+ x
OUTLAWS A Outlaws, LAB-files
/ ^4 H, U- x" x: k2 q4 O |OUTWARS Outwars, FF-files
( u: Y7 M8 L% t( u' BPACSTORM A Pacific Storm, SMA-files3 F" i. A! e6 D) b
PATR2 A Patrizier 2, CPR-files F2 M% R' x- Z; Z/ ?" _
PEA A Panzer Elite Action, X-files
: ]& S, e: p2 ~- a* t+ U/ `PFF A NovaLogic, PFF-files (DeltaForce, F16...)% _4 y* t1 B5 c( \
POSTAL A Postal, SAK-files (not complete)4 R7 q6 \! `. N
PRIV Privateer 1, TRE-files
7 I* d0 b; l7 gPOD Terminal Velocity, POD-files
* h" u& t, J# Y' a* h/ [' A) p) _4 ROFP Operation Flashpoint, PBO-files
! {: {2 O( v- L* v0 sRAMP Rampage, BSA-file9 Y* l8 B1 H2 V) I3 k
REDFACT A Red Faction, VPP-files6 o8 {0 `- Y. K/ e" e1 j) X
SC2K Sim City 2000, SC2000.DAT! M& j# N/ ^0 W; \/ l& [- f% r' L2 z
SS2 A Secret Service 2, CHR-/SS-files5 s0 T7 p4 c- L8 \! S
SSG A Space Siege, SS???-files5 ^3 `) h5 C# t0 c
SIN A SIN 1, PAK-files
1 d7 n2 J& t" C- ySLAK A Starship Troopers, SLAK-files
, i9 E! d/ M, ]2 ^8 G0 [SYSSHOCK A SystemShock 1, RES-files% E6 [! b% g5 {2 \$ D
STOLEN Stolen, BCB-files: L5 @) d# W! N
TOMB3 C Tomb Raider 3, CDAUDIO.WAD- R, K7 p5 b/ t5 O9 k0 V* O: x$ K
TUROK2 Turok 2, 11K/11C-files
) k; n0 n3 S4 R9 T' K! Y, O6 uWARCR2 AC Warcraft II (incl. expansion-CD)1 P- G6 _) ?/ w6 Q* n. b
PKR A XMEN2-Wolverine/Spiderman/PRO-BMX, PKR-files (BZIP2+WAVPACK reqd.)9 T9 T! L. w6 H7 a/ b
WW2F A World War 2 Fighters, SQ?-files, k% j5 ^' \. L) ]# j* F
9 v3 W5 s I6 u0 }
CREATE Create container file (not fully supported)0 o& N& T8 r6 H* z! o/ C
2 Z8 i" p5 H+ Q2 x; _
5 v; j4 |* t1 I! NFlags (informational only):- Z1 _7 U% g- Q, y* `- _2 @3 r
A Automatic format detection; if not shown, the format option MUST be given( H# }/ W1 L0 S0 J8 O
C Creation of container file possible
, A7 Z9 v' P& C" W. k3 k
. q& V% b! M5 d$ _Option and filename can be given in any order.: F; w% M" l7 G& h$ _2 q+ r
) G( j3 O/ O9 Q9 m4 Y
Examples:
8 e" h2 h0 q% `2 A' f GOBREAD DATA.PAK = Extracts all files from DATA.PAK7 @2 e- w9 f1 O0 \6 n
if the format can be detected1 Z* ^, W; F- M% h1 s9 E J
GOBREAD DARK.COB -DF = Extracts all files from DARK.COB. V- b! u4 g( F# ~7 g
forcing format "Dark Forces". J7 G+ P. V0 w6 P- j- R" ^$ {
GOBREAD /cbn file.cbn = Same as above, but other file format5 F- d6 m% |% g! k4 n
GOBREAD -CREATE=REDNECK.GRP /GRP = Creates "REDNECK.GRP"
' s2 Y4 x% v& j: i from all files in current directory* F' n4 e0 n& u
of type "GRP-Files"( [0 o0 P9 K2 a* X! h
6 }( K6 t5 j! }8 o- b# ?This program is freeware. Use it at your own risk. Only for private use.
) B) Q- `8 o2 ]: g `
M& A0 u+ O% N' Q-------------------------------------------/ \5 a8 \7 g3 ]. z
DCP文件结构(做打包处理时可参考)! n) D. R; O& {2 z* f; F% K7 B
------------------------------------------
1 Z+ g( h- i; x# j0 t, Q) K( `5 l
" ?( [5 j7 r2 l: ^7 P" \% GAdded extraction support for "Wintermute Engine"-games, DCP-files (by request)
: s" O- d; n, W% r' x3 sThis format uses XOR-encryption to hide the file names. D" W7 C, p! G' X
Notes:5 r4 u1 L9 r/ j/ x- S/ E/ W2 i, ^
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.
5 Q; x6 j# L; e, N2 @" O2 R- i0 [The file has a known <name-size-offset> structure.
s1 N3 k6 W# ~: f- P7 f9 p- @! W6 N
Format description:! a; u4 k* q/ Q2 _; c! c$ F. |
$ e. x [2 H0 R4 A% c$ A
$ v' ]! J+ |0 O X3 PCode:
; N( f; C3 K, t) f" l* fDE AD C0 DE "JUNK" ;Magic ("DEAD CODE:JUNK")
. M8 L, Z0 f) d. s5 x00 02 00 00 ;Version, if < 200h, then no XOR-filename-encryption is used
1 ^0 I: E; P7 I4 q5 X# I, E8 U+ z;here some useless commentaries up to offset 7fh- k5 Y8 x. R/ a" I; q+ a3 l
# D/ r& g z, }Offset 80h:
7 n* h5 l5 D; [) O, ^7 lDWORD ;Offset file table
& y8 o+ B8 Z. I' V7 K2 E" [% Z- h( a) K, Q0 N* [
<Offset file table>:( n9 B3 N q4 B, M, e- m; L
BYTE length(descr) ;Length of (useless) DCP-file description string+ i+ s* t# ~ }- ^
BYTEs descr ;String, variable length of length(descr) incl. 06 e- w3 p5 W$ E( ~
BYTE 0 ;terminator
( L4 X: T% ?! m* H7 H
, ^( u0 M5 v: U6 c( M* gDWORD ;Number of files
6 ?8 q6 k9 Q8 Z. D
8 h, t+ X/ ? }+ [, N+ u3 SFile table entries:
* Q% [9 p7 l1 |7 ~6 n9 h% Z6 g2 \8 Y! Y, E. g
BYTE ;Length file name2 J" }4 Z R1 g$ n
BYTEs ? ;File name; XOR-encrypted if version=200h; XOR-Value=44h! R; V& P2 y l# V
DWORD ;Offset file
9 ?1 C4 [& a- b& B0 RDWORD ;Uncompressed data length
2 u! l2 @% ?9 q m' K- Q! FDWORD ;Comressed data length (0, if uncompressed); compression=ZLIB
# p# z1 n5 E2 {& L) W" O0 `DWORD 0
$ r9 \: m X$ r% a1 m2 lDWORD CRC(?) ;Only present if version =200h
( x/ v2 l( e' ~0 D, MDWORD 0 ;Only present if version =200h |