Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Tools => Topic started by: mjn.mixael on January 19, 2024, 06:45:33 pm

Title: Etemenanki - A translation tool for FreespaceOpen!
Post by: mjn.mixael on January 19, 2024, 06:45:33 pm
I already shared this on the Discord but I thought it'd be prudent to put here as well. I've created a tool to help with creation and maintaining of XSTR IDs for mods called Etemenanki.

(https://raw.githubusercontent.com/MjnMixael/Etemenanki/main/Preview.png)

The application scans an entire directory recursively using provided Regular Expressions to find translatable strings and will verify the string ID is valid and doesn't conflict with another ID. It will provide new IDs if necessary and it will make sure all matching strings use the same ID.

It will then modify the IDs in the mod files and print out a valid tstrings.tbl for you.

--Version 1.1--
*Bugfixes
*Regex checkboxes for easy toggling

--Version 1.2--
*Adds output file sorting options
*Comprehensive scanning (scan first, then edit files making sure to not cause ID conflicts when generating new IDs)
*Ability to fill in numerical ID gaps
*Read only mode that prints the output file with all IDs exactly as they are
*Ability to ignore files and directories

--Version 1.3--
*Adds ability to handle new lines in regex searches
*Adds ability to specify ID numbers to skip during ID generation

You can read more about it on the Github Repo (https://github.com/MjnMixael/Etemenanki).

Download (https://github.com/MjnMixael/Etemenanki/releases)
Title: Re: Etemenanki - A translation tool for FreespaceOpen!
Post by: 0rph3u5 on January 20, 2024, 05:57:39 pm
Oh, nice!

Just haivng an automated check that all SIDs are unique is big for getting rid of some headaches. And could be very useful, even beyond localisation.

Looking forward to inclusing of output sorting options; it is the closest thing we are probably will be getting to categorisation in SIDs as, to my knowledge, these are stictly numerical in FSO.
Title: Re: Etemenanki - A translation tool for FreespaceOpen!
Post by: mjn.mixael on January 24, 2024, 03:20:40 pm
Published 1.2 which covers all the remaining ideas I had for this app. Let me know if you find bugs or want some other feature.
Title: Re: Etemenanki - A translation tool for FreespaceOpen!
Post by: mjn.mixael on February 13, 2024, 09:47:31 am
Published 1.3 which resolves that last remaining issue that prevented it from handling Regexs that accounted for new lines.