This utility has been created in order to provide developpers with a high
level tool for analyzing and modifying paradox format save files. On this tools, three example programs, useful in themselves are provided with their full java source.
The tools are:
The library itself provides:
Please, discuss it here
Version 1.1
CORRECTIONS
-----------
* Fileloader can now correctly read small files (below 8196 bytes)
* Fileloader.BufferReader now correctly reads to the last character of a file
* Fileloader.BufferReader now reads correctly 8bits characters (reminder: no support for mulitbyte character-sets)
* BaseField now writes correctly new fields
* StructField/ListField had a very minor erroneous test when writing
* Crunched a bug that made unclosed structures analyzed (wrongly) with no error
NEW FEATURES
------------
* Parsers can now read files with comments beginning by # to end of line
* When a field is not found in a template (for ordered insertion), the message states which field is missing
* new Template class used to manage the expected field order in a more natural way (that is not static in the library!)
* added constructors for BaseField taking int and float as data parameter
* added method Field.name() to easily recover the name of a field
* added method BaseField.getUnquoted() to get the unquoted value of a quoted string
CHANGES
-------
* removed template loading for class Field, as well as associated methods (see new features)
* removed the useless getSelector method from class Field
* modified method signatures for those methods that used templates
Yves
level tool for analyzing and modifying paradox format save files. On this tools, three example programs, useful in themselves are provided with their full java source.
The tools are:
- A Collapser that will expose the structure and content of any paradox save file by grouping together all fields belonging to similar structures (identified by name) and printing the found values associated with each field.
- A Bride finder which will analyze a Crusader Kings save file and output the available brides depending on a set of conditions which you specify on the command line
- A Trimmer which will purge a Crusader Kings save file from the dead characters that cannot influence the game (the dead branches a families).
The library itself provides:
- Two parsers
- A grammatical analyzer for paradox save files
- Callbacks for the analyzer to filter the data out and/or build the data tree
- Classes for manipulating the analyzed fields (reading, deleting, modifying) as well as inserting new Fields
- Possibility to save the modified field tree as a new save file
Please, discuss it here
Version 1.1
CORRECTIONS
-----------
* Fileloader can now correctly read small files (below 8196 bytes)
* Fileloader.BufferReader now correctly reads to the last character of a file
* Fileloader.BufferReader now reads correctly 8bits characters (reminder: no support for mulitbyte character-sets)
* BaseField now writes correctly new fields
* StructField/ListField had a very minor erroneous test when writing
* Crunched a bug that made unclosed structures analyzed (wrongly) with no error
NEW FEATURES
------------
* Parsers can now read files with comments beginning by # to end of line
* When a field is not found in a template (for ordered insertion), the message states which field is missing
* new Template class used to manage the expected field order in a more natural way (that is not static in the library!)
* added constructors for BaseField taking int and float as data parameter
* added method Field.name() to easily recover the name of a field
* added method BaseField.getUnquoted() to get the unquoted value of a quoted string
CHANGES
-------
* removed template loading for class Field, as well as associated methods (see new features)
* removed the useless getSelector method from class Field
* modified method signatures for those methods that used templates
Yves
Attachments
Last edited: