The automation took a few minutes (~10) of preparation.
I took the cheat files from the Revo K101 - these are, AFAIK, the correct format (Haven't been able to test it yet, I am at work currently). This contains the .cht files in a numbered fashion (1854.cht, 0867.cht etc.) but it also contains a GameID.dat conveniently pairing the file numbers to the game code in a format like this:
ABCD1234EFGH5678[...]
I used notepad++ and regular expressions to place a semicolon between the game code and the number ID and add a line break after each grouping of Code/ID, resulting in a nice, CSV list that looked like this:
ABCD;1234
EFGH;5678
[..]
with ABCD being the game code and 1234 being the name of the .cht file. Doing some excel magic, I changed the list to look like this:
1234.cht;ABCD.cht
5678.cht;EFGH.cht
[..]
added a new column containing only the word "rename" before those two, making it look like this:
rename;1234.cht;ABCD.cht
rename;5678.cht;EFGH.cht
[...]
used notepad++ again to replace the semicolon with spaces
rename 1234.cht ABCD.cht
rename 5678.cht EFGH.cht
[...]
and voilá: I have a batch file that automagically renames the files accordingly
EDIT: There might be more elegant solutions, but thats the quickest solution I was able to come up with using tools I already have. Most of my time was spent figuring out how the regex line I found online works and addapt it to my needs.
Nifty way of doing this, but I have the feeling that a small bash script with a loop over the list would be more efficient off course