developer's log
3 b c O6 f+ R8 q/ e e: ? J
; K" R3 I3 I) pAdded extraction support for "Wintermute Engine"-games, DCP-files (by request)
4 |5 @8 r! O* N: `6 `5 r- p* f. oThis format uses XOR-encryption to hide the file names.
0 p* m1 ~+ P3 }; A% uNotes:
. N9 [1 v; P: U- OIt 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.
7 A" r- S% t5 s3 }/ H: w9 rThe file has a known <name-size-offset> structure.- DE AD C0 DE "JUNK" ;Magic ("DEAD CODE:JUNK")
- 00 02 00 00 ;Version, if < 200h, then no XOR-filename-encryption is used
- ;here some useless commentaries up to offset 7fh
- Offset 80h:
- DWORD ;Offset file table
- <Offset file table>:
- BYTE length(descr) ;Length of (useless) DCP-file description string
- BYTEs descr ;String, variable length of length(descr) incl. 0
- BYTE 0 ;terminator
- DWORD ;Number of files
- File table entries:
- BYTE ;Length file name
- BYTEs ? ;File name; XOR-encrypted if version=200h; XOR-Value=44h
- DWORD ;Offset file
- DWORD ;Uncompressed data length
- DWORD ;Comressed data length (0, if uncompressed); compression=ZLIB
- DWORD 0
- DWORD CRC(?) ;Only present if version =200h
- DWORD 0 ;Only present if version =200h
复制代码
2 u: m L% b2 h( u2 U# hhttp://forum.xentax.com/viewtopi ... 0&sk=t&sd=a |