ThinkInvis / RoR2-TinkersSatchel

A mod for Risk of Rain 2.
GNU General Public License v3.0
4 stars 4 forks source link

Game won't start after translating language files #66

Closed SakuraSayaka closed 1 year ago

SakuraSayaka commented 2 years ago

I'm in the middle of translating the Chinese language, but halfway through I find the game won't open, here's the translated file and error log zh-CN.txt LogOutput.log

ThinkInvis commented 1 year ago

Your modlist is too large. Please try to reproduce bugs with as few mods as possible before posting.

However, I do have an idea as to the cause of this error: you likely entered a language string with a higher sub-token index (numbers in brackets, e.g. {0}) than that specific token supports. In the next TILER2 update, I'll stop this from preventing game load altogether and make it easier to pin down the specific bad token -- see ThinkInvis/RoR2-TILER2@b65e14cf61e2eab2d0beef3259e92348876b3b58. However, the onus of preventing this entirely is on translators, who must ensure that all such sub-token indices are correct.