Civilization 4 XML translation tool
This tool is intended to be used by developpers
DESCRIPTION
This tool allow modders to easily sort and cleaning XML text files in Civ 4. It can:
- Export language tags to UTF8 (for importation with a translation platform)
- Import back the exported files
- Sort all tags by categories
- Clean xml files from redundant tags (language values identical to english, empty values, etc.)
- Remove a specific language from files
- Find unused text tags
- Semi-automatic support for encoding / decoding non-latin1 languages
By extension, it allow you to:
- Easily merge ANY xml text file
- Easily merge or extract new languages from xml
- Merge the base game text into the mod game text
- Convert UTF8 russian to Civ 4 format
It must be copied in the same folder as the xml text files.
NOTES:
- The sorting function need the "_xml_parser.config" file. It is a xml file with just another extension. See readme.
- To support semi-automatic encoding/decoding for non-latin1 language, please set the file "_xml_charsets.config". See readme.
- It also works with Colonization.
More detail on how the functions work are available here:
https://github.com/dbkblk/civ4_xml_parser/blob/master/README.md
CHANGELOG
v1.0
- Find unused tags (need gamepath and source dll path). See readme.
- Support for charset conversion tables (useful for any non-latin1 language).
Bugfixes:
- Updating subtags created a new tag instead.
- Tag list is now case unsensitive.
- Fixed exporting function.
v0.9
- Remove a specific language
- Find unused tags in files (still experimental)
- Compiled with MSVC2010 (instead of msvc2013) Qt 5.3.1 static = Usable on XP and Linux (wine)
- Config file renamed from "_categories.parse" to "_xml_parser.config"
v0.8
- Advanced import / export (convert all buggy characters to Civ 4 format)
- Clean files from non-useful tags
- Sort tags by categories
- Support Cyrillic language
REQUIREMENTS
-> To execute, you will need MSVC Redist 2010: Download here (if you have already the latest version of the launcher, that should be ok)
-> Compiled with MSVC2010 & Qt 5.3.1 static (Qt Creator)
https://github.com/dbkblk/civ4_xml_parser/releases/download/v1.0/civ4_xml_parser_v1.0.7z
Readme and source code:
GITHUB LINK
This tool is intended to be used by developpers
DESCRIPTION
This tool allow modders to easily sort and cleaning XML text files in Civ 4. It can:
- Export language tags to UTF8 (for importation with a translation platform)
- Import back the exported files
- Sort all tags by categories
- Clean xml files from redundant tags (language values identical to english, empty values, etc.)
- Remove a specific language from files
- Find unused text tags
- Semi-automatic support for encoding / decoding non-latin1 languages
By extension, it allow you to:
- Easily merge ANY xml text file
- Easily merge or extract new languages from xml
- Merge the base game text into the mod game text
- Convert UTF8 russian to Civ 4 format
It must be copied in the same folder as the xml text files.
NOTES:
- The sorting function need the "_xml_parser.config" file. It is a xml file with just another extension. See readme.
- To support semi-automatic encoding/decoding for non-latin1 language, please set the file "_xml_charsets.config". See readme.
- It also works with Colonization.
More detail on how the functions work are available here:
https://github.com/dbkblk/civ4_xml_parser/blob/master/README.md
CHANGELOG
v1.0
- Find unused tags (need gamepath and source dll path). See readme.
- Support for charset conversion tables (useful for any non-latin1 language).
Bugfixes:
- Updating subtags created a new tag instead.
- Tag list is now case unsensitive.
- Fixed exporting function.
v0.9
- Remove a specific language
- Find unused tags in files (still experimental)
- Compiled with MSVC2010 (instead of msvc2013) Qt 5.3.1 static = Usable on XP and Linux (wine)
- Config file renamed from "_categories.parse" to "_xml_parser.config"
v0.8
- Advanced import / export (convert all buggy characters to Civ 4 format)
- Clean files from non-useful tags
- Sort tags by categories
- Support Cyrillic language
REQUIREMENTS
-> To execute, you will need MSVC Redist 2010: Download here (if you have already the latest version of the launcher, that should be ok)
-> Compiled with MSVC2010 & Qt 5.3.1 static (Qt Creator)
https://github.com/dbkblk/civ4_xml_parser/releases/download/v1.0/civ4_xml_parser_v1.0.7z
Readme and source code:
GITHUB LINK