Difference between revisions of "SDS"

From XentaxWiki
Jump to: navigation, search
(basic info)
 
(file header)
Line 1: Line 1:
 
* [[GRAFs|Return to the list of games]]
 
* [[GRAFs|Return to the list of games]]
 
== SDS ==
 
  
 
* ''' Format Type ''': Archive
 
* ''' Format Type ''': Archive
 
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian
 
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian
  
SDS is an archive format used in the game Mafia II developed by 2K Czech.
+
SDS is an archive format used in the game Mafia II developed by 2K Czech. The page describes the SDS files as seen on the Windows version of the game. Other platform ports might use the same variant.
 +
 
 +
== Format Description ==
 +
An SDS file begins with the following 68-byte header:
 +
 
 +
bytes 0-3    'SDS\0'
 +
bytes 4-7    0x00000013, possibly a signature
 +
bytes 8-11  'PC\0\0'
 +
bytes 12-15  0x5FFB74F3
 +
bytes 16-19  resource type table offset
 +
bytes 20-23  block table offset
 +
bytes 24-27  XML offset
 +
bytes 28-31  slot RAM required
 +
bytes 32-35  slot VRAM required
 +
bytes 36-39  other RAM required
 +
bytes 40-43  other VRAM required
 +
bytes 44-47  unknown
 +
bytes 48-63  array of 16 bytes; purpose unknown
 +
bytes 64-67  file count

Revision as of 21:15, 16 December 2017

SDS is an archive format used in the game Mafia II developed by 2K Czech. The page describes the SDS files as seen on the Windows version of the game. Other platform ports might use the same variant.

Format Description

An SDS file begins with the following 68-byte header:

bytes 0-3    'SDS\0'
bytes 4-7    0x00000013, possibly a signature
bytes 8-11   'PC\0\0'
bytes 12-15  0x5FFB74F3
bytes 16-19  resource type table offset
bytes 20-23  block table offset
bytes 24-27  XML offset
bytes 28-31  slot RAM required
bytes 32-35  slot VRAM required
bytes 36-39  other RAM required
bytes 40-43  other VRAM required
bytes 44-47  unknown
bytes 48-63  array of 16 bytes; purpose unknown
bytes 64-67  file count