[Return of Rome] Custom key-value brokes the game

:play_button: GAME INFORMATION

:backhand_index_pointing_down: These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.

  • GAME BUILD AoE2 DE Return of Rome 101.103.54800.0 (#185872) 25464265
  • GAME PLATFORM: Steam
  • OPERATING SYSTEM: Windows 11

:play_button: ISSUE EXPERIENCED

:backhand_index_pointing_down: If a key-value-modded-strings-utf8.txt or key-value-pompeii-strings-utf8 or any .txt (except is empty) is added to resources\language/strings or resources\language/strings/key-value folder, the game return in error while starting a game (I’m ussing MX/Latam Spanish but fails with any language).

:play_button: FREQUENCY OF ISSUE

:backhand_index_pointing_down: How often does the issue occur? CHOSE ONE; DELETE THE REST!

  • 100% of the time / matches I play (ALWAYS)

:play_button: REPRODUCTION STEPS

:backhand_index_pointing_down: List CLEAR and DETAILED STEPS we can take to reproduce the issue ourselves… Be descriptive!

Here’s the steps to reproduce the issue:

  1. Create a local mod

  2. create a local language strings in mods\local\MyMod\modes\Pompeii\resources\mx\strings\ Even a comment cause the fail, other file formats or an empty .txt let the mod run.

  3. Start a skirmish with the datamod loaded: the game says that couldn’t load the dataset (wich otherwise can)

:play_button: EXPECTED RESULT

:backhand_index_pointing_down: Custom texts ingame

:play_button: IMAGE

:backhand_index_pointing_down: ALWAYS attach a PICTURE (.jpg, .png, .gif) or VIDEO (.mp4, YouTube link) that highlights the problem.

:play_button: GAME FILES (SAVE / RECORDING)

:backhand_index_pointing_down: Attach a SAVE GAME (.aoe2spgame) or GAME RECORDING (.aoe2record) of the match where you encountered the issue. Link it below if using an external file service.

Did you try using the “modded” file version ?
Check in the vanilla EN language key-value volder, copy the file into your mod one and modify strings on this one instead of modifying the normal string file. However I’m not 100% sure it’s working for RoR, so you’ll have to try it.

Hello! yes, any .txt is reyected inside the folder; both -modded- and no modded, vanilla and Ror, English or Spanish, even a file named “A”. The only exception is if the file is empty, but even a // for comment cause the bug. Thank you for your answer!

And without any custom txt string file it’s launching without errors ?

yes, the modded .dat file works as espected