This project is currently suspended. I'm not planning working on it in early future. There is much more better tool called Mafia: Toolkit, so please, use it instead.
sdslib is a .NET library written in C# for manage SDS files. This library gives you ability to create .NET applications for modding games which are using The Illusion Engine. Development of this library requires reverse engineering.
- Extracting files
- Replacing files data
- Adding new files
- Creating custom SDS file
- Exporting modified SDS file
- Extracting files
SDS data format is used by video-games (Mafia II, Mafia III and Mafia: DE); contains compressed data, such as textures, sounds, scripts, 3D models, etc.. that is extracted and loaded at runtime in The Illusion Engine.
- Data are compressed with zlib into 16 KB blocks in version 19.
- Version 20 compressing data with Oodle into 64 KB blocks
- Uses FNV hash function for checksums
- Some content like tables or XML files are encrypted with TEA in Mafia II Classic (decrypting is not implemented in this library)
In the future I'm going to create wiki page with SDS file specification in more detail.
Usage of this library is presented here in console application sample project.
- sdslib and all contents within this repository and/or organisation, are not affiliated with 2K Czech, 2K Games, Hangar 13 Games or Take-Two Interactive Software Inc.
- Mafia is registered trademark of Take-Two Interactive Software Inc.