developer's log
7 a+ w3 H+ I( k- R0 k2 `: } b- L; ^" H+ O# O3 ~5 o# t, r1 S0 o6 n
Added extraction support for "Wintermute Engine"-games, DCP-files (by request)
5 W2 v& V* Z" ?# FThis format uses XOR-encryption to hide the file names.
' J. Z1 n9 U% r9 l# _Notes:
' A* ]. N7 {9 wIt 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.
! _* |. Q4 v) Y. q2 hThe 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
复制代码
4 a/ M$ H% K$ K. M' p) q mhttp://forum.xentax.com/viewtopi ... 0&sk=t&sd=a |