Skip to content
ermaccer edited this page Jul 2, 2019 · 5 revisions

SSFX

SSFX (SSF Extractor) is a tool used to extract and create SSF archives (or SEC, as referenced by the game) which can contain any data.

Struct (prototype)

char header[4];
char pad[12];
int  files;
char pad[8];

for (i = 0; i < files; i++)
{
   int filetype;
   int offset;
   int size;
   int pad;
}

for (i =0 ; i <files; i++)
{
   string name;
}

Usage

SSFX offers a list of parameters if you execute it without any.

	 -e        Extracts a file, creates table and order file for it
	 -c        Creates a file from input folder
	 -g        Allows to work with Gamecube/WII files
	 -b        Switches large pad value
	 -s        Switches small pad value (used for .dats/.secs)
	 -t file   Specifies table file
	 -l file   Specifies list with filenames to use
	 -T        Analyzes texture file

Please note that table file required for the -t parameter is generated when during extraction of any .ssf/sec/dat!

If possible, you can specify a filename list to use (instead of generic X.dat), to get some lists visit: https://github.com/ermaccer/MortalKombat.Tools/tree/master/resources/ssf_files/. This file can be used for both extraction and creation.

Clone this wiki locally