Ludeon Forums

Ludeon Forums

  • July 17, 2019, 08:46:33 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [1.0] World map doesn't show names composed from non-Latin symbols  (Read 472 times)

Elevator

  • Drifter
  • **
  • Posts: 67
  • Refugee
    • View Profile

The issue https://ludeon.com/forums/index.php?topic=37049.0 is not fixed

Way to reproduce:
  • Choose any language except English, for example Russian
  • Go to Mods\Core\Languages\Russian\DefInjected\RulePackDef folder
  • Replace file RulePacks_Namers_WorldFeatures.xml with RulePacks_Namers_WorldFeatures_Cyrillic.xml (see attachments)
  • Start new game and create the world map
Actual result: no geographical names are shown (see first image). Multiple errors are displayed (see second image).
Expected result: geographical names are shown properly (see third image). For similar file RulePacks_Namers_WorldFeatures_Latin.xml (see attachments) everything works fine. No errors displayed. These files differ only in language, they have no references to any other rulepack.

Error text:
Code: [Select]
Root level exception in Update(): System.IndexOutOfRangeException: Array index is out of range.
  at RimWorld.Planet.WorldFeatureTextMesh_TextMeshPro.WrapAroundPlanetSurface () [0x000c7] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\Planet\Features\WorldFeatureTextMesh\WorldFeatureTextMesh_TextMeshPro.cs:105
  at RimWorld.Planet.WorldFeatures.UpdateAlpha (RimWorld.Planet.WorldFeatureTextMesh text, RimWorld.Planet.WorldFeature feature) [0x0003f] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\Planet\Features\WorldFeatures.cs:96
  at RimWorld.Planet.WorldFeatures.UpdateFeatures () [0x000a9] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\Planet\Features\WorldFeatures.cs:75
  at RimWorld.Planet.World.WorldUpdate () [0x00071] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\Planet\World.cs:238
  at Verse.Root_Entry.Update () [0x0003c] in C:\Dev\RimWorld\Assets\Scripts\Verse\Global\Root\Root_Entry.cs:48
Verse.Log:Error(String, Boolean) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Utility\Debug\Log\Log.cs:78)
Verse.Root_Entry:Update() (at C:\Dev\RimWorld\Assets\Scripts\Verse\Global\Root\Root_Entry.cs:55)
« Last Edit: July 30, 2018, 04:43:02 AM by Elevator »
Logged

Elevator

  • Drifter
  • **
  • Posts: 67
  • Refugee
    • View Profile

Update
Logged

Elevator

  • Drifter
  • **
  • Posts: 67
  • Refugee
    • View Profile
Re: [1.0] World map doesn't show names composed from non-Latin symbols
« Reply #2 on: September 11, 2018, 05:55:25 AM »

The issue is still actual and keeps annoying players.
Logged

Tynan

  • Developer
  • Administrator
  • Transcendent
  • *****
  • Posts: 11530
    • View Profile
    • Tynan's Blog
Re: [1.0] World map doesn't show names composed from non-Latin symbols
« Reply #3 on: September 12, 2018, 06:44:32 AM »

I do indeed think we should fix this.
Logged
Tynan Sylvester - @TynanSylvester - Tynan's Blog

ison

  • Developer
  • Planetologist
  • *****
  • Posts: 2138
    • View Profile
Re: [1.0] World map doesn't show names composed from non-Latin symbols
« Reply #4 on: September 13, 2018, 11:42:00 AM »

Whoops, fixed, thanks. Though it looks like some names have numbers in them, I hope it's ok (just a paceholder?) https://i.imgur.com/GgclqaK.png
Logged

Elevator

  • Drifter
  • **
  • Posts: 67
  • Refugee
    • View Profile
Re: [1.0] World map doesn't show names composed from non-Latin symbols
« Reply #5 on: September 14, 2018, 06:00:49 PM »

These names are just an example. I intentionnaly made both files here (Cyrillic and Latin) independent from anything else. For clean test purposes.
In current localization generated names are much more artistic and rich, as they are composed by more complex rules.
Logged

Tynan

  • Developer
  • Administrator
  • Transcendent
  • *****
  • Posts: 11530
    • View Profile
    • Tynan's Blog
Re: [1.0] World map doesn't show names composed from non-Latin symbols
« Reply #6 on: September 15, 2018, 02:06:18 AM »

It's fixed so I'll lock it. Thanks.
Logged
Tynan Sylvester - @TynanSylvester - Tynan's Blog