There's a few projects on here that have withered and died, so I thought it might help to have a single library that simplifies handing the loading/saving of game data, and then developers can just concentrate on their own program logic. Most of the functionality I've added so far is available through combinations of doubleshadow's libraries and source code, but they're split across separate libraries in a mix of C++, C#, ANSI and UNICODE. Since most programs here are written in C# I thought having a single C# library would be really useful. I've actually used doubleshadow's C# T-File parser too, so anybody who has used his TObject classes in their program should be able to port to this library fairly easily, and it should cut down on bugs.
I'm going to add support for editing scripts next, so you can safely change the objects and string IDs referenced by commands. That should help people trying to create these infamous mod-merge programs. I'll also add access to jobs, ware lists and game starts.
Download
- LATEST RELEASE: v1.00
RELEASE DATE: 13th March 2013
[ external image ]
Instructions:
Run the example app, select your game folder, click "Build VFS" then "Load Game Data".
Requirements:
.NET framework v3.5
- • Easy access to any files within the game folder (automatically handles file precedence for you)
• Handles locating, parsing and generating language files, T-Files and catalogues
• Easy access to all objects, strings and pages in the game through C# collections
• Perform search/replace on any/all language files using regular expressions
• Provides extra properties for objects, like prices, descriptions, correct display names etc.
• Allows you to create new catalogue/datafiles files easily
• Compatible with the TObject classes from doubleshadow's X3Editor2
• Example application showing how to use the library
• Sandcastle-generated API documentation
[ external image ] [ external image ] [ external image ] [ external image ]
- X-Lib v1.00 : 12th March 2013
• Provides access to the physical and catalogue file system
• Handles locating, parsing and generating language files, T-Files and catalogues
• Access to all objects, strings and pages through C# collections
UPDATED: 12th July 2014