Ludeon Forums

Ludeon Forums

  • July 04, 2020, 12:50:53 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Using original txt files in string folder causing planet view bug  (Read 303 times)

Arczi008TV

  • Muffalo
  • *
  • Posts: 16
  • Refugee
    • View Profile

We can't use cyrylic special characters in everything that is relatet to planet view, because it causing errors.
-But chinese characters and symbols like this "•◘♦☺☻♥" working ok.







« Last Edit: March 26, 2020, 09:23:28 AM by Arczi008TV »
Logged

b606

  • Drifter
  • **
  • Posts: 98
  • Refugee
    • View Profile
Re: Using original txt files in string folder causing planet view bug
« Reply #1 on: March 25, 2020, 04:05:29 AM »

I also have this weird bug.
In my case, translated NaturalObject->Words/Nouns/NaturalObject works fine. (No "natural_object_new->...")

But some random seed that is used to generate the world make the bug appear when using some seemingly innocuous rulestring. With other seeds the game just works fine.

I bet that most translations will have this problem one way or another. There is a need to know what are the limitations when translating (rule names ? rule numbers ? filenames ? where to use what ?)

https://ludeon.com/forums/index.php?topic=51260.msg474988#msg474988
Logged
b606

Make the French RimWorld Translation at maximum quality.
French Optimisation Mod

Arczi008TV

  • Muffalo
  • *
  • Posts: 16
  • Refugee
    • View Profile
Re: Using original txt files in string folder causing planet view bug
« Reply #2 on: March 25, 2020, 11:06:03 AM »

I think its caused by cyrylic special characters:
 "%u0105" , "%u0119" (oh even in this forum that characters causing bug xd)

After translating "RulePacks_Namers_WorldFeatures.xml"

or if you put special characters in txt files in string folder, it cause that error.

No solution. Need wait for fix.

« Last Edit: March 26, 2020, 09:21:01 AM by Arczi008TV »
Logged

b606

  • Drifter
  • **
  • Posts: 98
  • Refugee
    • View Profile
Re: Using original txt files in string folder causing planet view bug
« Reply #3 on: March 25, 2020, 12:20:33 PM »

The bug I had before the one I reported above was when I tried to use [BodyPart] instead of [Bodypart] in RulePacks_Namers_WorldFeatures.xml, with the file loaded as BodyPart->Words/Nouns/Bodyparts in RulePacks_Global.xml

The stupid solution that worked was to use [Bodypart_fr] in RulePacks_Namers_WorldFeatures.xml,
and in RulePacks_Global.xml, the <rulesFiles> Bodypart->Words/Nouns/Bodyparts, with an additional <rulesStrings> Bodypart_fr->[Bodypart]

That bug stayed there for three weeks before it was randomly triggered.
Logged
b606

Make the French RimWorld Translation at maximum quality.
French Optimisation Mod

Arczi008TV

  • Muffalo
  • *
  • Posts: 16
  • Refugee
    • View Profile
Re: Using original txt files in string folder causing planet view bug
« Reply #4 on: March 25, 2020, 12:24:54 PM »

If you create
<li>boDy_paRt->Words/Nouns/BodyPartFile</li> you have to use [boDy_paRt] because letter size matters.
« Last Edit: March 25, 2020, 12:28:38 PM by Arczi008TV »
Logged

b606

  • Drifter
  • **
  • Posts: 98
  • Refugee
    • View Profile
Re: Using original txt files in string folder causing planet view bug
« Reply #5 on: March 25, 2020, 01:59:28 PM »

Yes indeed, I took care of the letter caps. Notice the english text uses [BodyPart] in RulePacks_Namers_WorldFeatures.xml and [Bodypart] in RulePacks_Global.xml.

Sure enough, your solution to use separate files and completely different rulename should help.
Logged
b606

Make the French RimWorld Translation at maximum quality.
French Optimisation Mod

Arczi008TV

  • Muffalo
  • *
  • Posts: 16
  • Refugee
    • View Profile
Re: Using original txt files in string folder causing planet view bug
« Reply #6 on: March 25, 2020, 03:03:24 PM »

So [Bodypart] its propably not working because of mistake.
And my solution is not working well too.  Because its about special characters, they are wont work on planet view. Even if you put them in custom txt file.
« Last Edit: March 26, 2020, 09:19:38 AM by Arczi008TV »
Logged