Jump to content
Null 45

[SC3KIxf] - a tool to extract data from IXF files

1 post in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

This command line tool can extract data and list the contents of IXF files.

System Requirements

Download: SC3KIxf.zip

Source Code: https://github.com/0xC0000054/sc3k-indexed-file

Usage

The program can be used to perform the following actions:

  1. Extracting the contents of an IXF file to a directory.
  2. Listing the TGI values of each entry in an IXF file.
  3. Printing the number of entries in an IXF file.

These actions can be performed on either a single IXF file or on all IXF files in a root directory and its sub-directories.

Examples

Extracting IXF Entries

The extract option can use either the --extract long form or the -e short form. When extracting entries they will be placed in a folder that has the same name as the IXF file.

Extracting a single IXF file into an Extracted subdirectory of the application folder: SC3KIxf -e BUILDFAM.ixf
Extracting a single IXF file into a subdirectory of another folder: SC3KIxf -e BUILDFAM.ixf <output folder>

Extracting multiple IXF files can be accomplished by passing a root directory to be searched instead of an individual file path: SC3KIxf -e <SC3K root>

By default the program will skip extraction for any IXF file that has an existing subdirectory in the output directory, this can be overridden using the --overwrite-existing or -o option.

Listing the IXF Entries

The list entries option can use either the --list-entries long form or the -l short form. The entries will be printed to standard output.

Listing the entries in a single file: SC3KIxf -l BUILDFAM.ixf
Listing the entries in multiple IXF files can be accomplished by passing a root directory to be searched instead of an individual file path: SC3KIxf -l <SC3K root>

Printing the number of IXF Entries

This can be done by running the program without any command line switches. The entries will be printed to standard output.

Printing the number of entries in a single file: SC3KIxf BUILDFAM.ixf
Printing the number of entries in multiple IXF files can be accomplished by passing a root directory to be searched instead of an individual file path: SC3KIxf <SC3K root>

  • Thanks 2

Share this post


Link to post
Share on other sites

Sign In or register to comment...

To comment in reply, you must be a community member

Sign In  

Already have an account? Sign in here.

Sign In Now

Create an Account  

Sign up to join our friendly community. It's easy!  

Register a New Account


×

Thank You for the Continued Support!

Simtropolis depends on donations to fund site maintenance costs.
Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

Make a Donation, Get a Gift!

Expand your city with the best from the Simtropolis Exchange.
Make a Donation and get one or all three discs today!

STEX Collections

By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

Each donation helps keep Simtropolis online, open and free!

Thank you for reading and enjoy the site!

More About STEX Collections