Tapsa / AGE

A program for editing data of genie files.
http://aok.heavengames.com/blacksmith/showfile.php?fileid=11002
GNU General Public License v3.0
92 stars 23 forks source link

Resource Names #22

Open skaviouz opened 2 weeks ago

skaviouz commented 2 weeks ago

Idea

Rather than having to manually add resource IDs when they are added such as when #18 mentioned it, why not check language file: key-value-strings-utf8.txt or language file x1: key-value-modded-strings-utf8.txt?

For example, I am using R299 and have edited the key-value-modded-strings-utf8.txt to change the default from

15298 "Unused Resource 298"
15299 "Stone at farm or sea"

That way, when MS changes the defaults at key-value-strings-utf8.txt or a mod maker adds custom values to their key-value-modded-strings-utf8.txt, the changes are reflected in AGE?


I also know there are some conflicts, such as R286 is used for Trigger Shared Exploration while in the key-value-strings-utf8.txt you'll see it listed 15286 "Unused Resource 286", but maybe you can ignore any entries that starts with Unused?