Ludeon Forums

Ludeon Forums

  • June 20, 2019, 03:56:55 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Almost complete English DefInjected for 15.1284-3  (Read 2748 times)

Latta

  • Tester
  • Colonist
  • **
  • Posts: 643
  • Red
    • View Profile
Almost complete English DefInjected for 15.1284-3
« on: August 23, 2016, 11:46:40 PM »

Use this as your translation's template.

Includes new defs for A15:
ChemicalDefs, InstructionDefs

Changed following folders to what they should be:
  • Bodies (BodyDefs, BodyPartDefs, BodyPartGroupDefs)
  • Drugs (ChemicalDefs, HediffDefs, NeedDefs, ThingDefs, ThoughtDefs)
  • Incidents (IncidentDefs, RaidStrategyDefs)
  • Joy (JoyKindDefs)
  • KeyBindings (KeyBindingCategoryDefs, KeyBindingDefs)
  • PawnKindDefs_Humanlike (PawnKindDefs)
  • Rooms (RoomRoleDefs, RoomStatDefs)
  • Scenarios (ScenarioDefs, ScenPartDefs)
  • Stats (StatCategoryDefs, StatDefs)
  • ThingDefs_* (PawnKindDefs, ThingDefs)
  • Tutor (ConceptDefs, InstructionDefs)
  • (Please stop this madness Tynan why is it keep getting worse)

Download

It might contain a few untranslatable parts or missing ones. I did my check but make sure to look at it again.
« Last Edit: October 20, 2016, 12:57:47 PM by Latta »
Logged

pluhi

  • Muffalo
  • *
  • Posts: 19
  • Refugee
    • View Profile
Re: Almost complete English DefInjected for 15.1274
« Reply #1 on: August 24, 2016, 10:21:59 AM »

Wow, thanks a lot! Is there any info on the location restrictions? Like drug related defs cannot be in separate folder, those have to be in ThingsDef, etc.

Checked them, it seems some stages are off. Should start from 0 not 1. Like CocaineAddiction.stages.1.label
« Last Edit: August 24, 2016, 12:35:03 PM by pluhi »
Logged

Latta

  • Tester
  • Colonist
  • **
  • Posts: 643
  • Red
    • View Profile
Re: Almost complete English DefInjected for 15.1274
« Reply #2 on: August 25, 2016, 12:16:47 AM »

Checked them, it seems some stages are off. Should start from 0 not 1. Like CocaineAddiction.stages.1.label

They are intended, as (I don't know why but) they actually has nothing in the first list. It's just <li></li>.
Logged

Latta

  • Tester
  • Colonist
  • **
  • Posts: 643
  • Red
    • View Profile
Re: Almost complete English DefInjected for 15.1277
« Reply #3 on: August 27, 2016, 01:35:09 AM »

Updated to 1277: ConceptDefs and ThingCategoryDefs.
Logged

pluhi

  • Muffalo
  • *
  • Posts: 19
  • Refugee
    • View Profile
Re: Almost complete English DefInjected for 15.1277
« Reply #4 on: August 28, 2016, 12:00:37 PM »

Not sure when was this added, but found some useLabels (I really should disable auto update on steam :))). You have to  reference them like this:

Buildings_Misc:
<FirefoamPopper.comps.1.useLabel>Trigger firefoam popper</FirefoamPopper.comps.1.useLabel>

Items_Artifacts:
<PsychicInsanityLance.comps.1.useLabel>Activate</PsychicInsanityLance.comps.1.useLabel>
<PsychicShockLance.comps.1.useLabel>Activate</PsychicShockLance.comps.1.useLabel>
<PsychicAnimalPulser.comps.1.useLabel>Activate</PsychicAnimalPulser.comps.1.useLabel>
<PsychicSoothePulser.comps.1.useLabel>Activate</PsychicSoothePulser.comps.1.useLabel>

Items_exotic:
<Neurotrainer.comps.1.useLabel>Use neurotrainer to learn {0}</Neurotrainer.comps.1.useLabel>
« Last Edit: August 28, 2016, 12:03:33 PM by pluhi »
Logged

Latta

  • Tester
  • Colonist
  • **
  • Posts: 643
  • Red
    • View Profile
Re: Almost complete English DefInjected for 15.1277
« Reply #5 on: August 28, 2016, 08:58:55 PM »

Well uhh, I'm doing it by running a program, and as those have 'Label' in them it should've included. Guess its added recently and I didn't update yet.

Edit: Oh god they are in a abstract def! :'( :'( :'( :'(
« Last Edit: August 30, 2016, 11:43:54 AM by Latta »
Logged

Latta

  • Tester
  • Colonist
  • **
  • Posts: 643
  • Red
    • View Profile
Re: Almost complete English DefInjected for 15.1280
« Reply #6 on: August 30, 2016, 12:10:49 PM »

Updated to 1280. Added useLabel, again lots of thanks to pluhi...
Logged

Sakuukuli

  • Muffalo
  • *
  • Posts: 7
  • Translations contributor
    • View Profile
Re: Almost complete English DefInjected for 15.1280
« Reply #7 on: September 01, 2016, 07:07:23 AM »

Hey, I have been doing almost the same thing on GitHub: https://github.com/Sakuukuli/RimWorld-Templates

I haven't updated it to alpha 15 yet because I have been busy, and my code needs rewriting, too. You can try my scripts if you have Python 3.2 installed. What's this mythical 'program' you are using?
Logged

capiqua

  • Muffalo
  • *
  • Posts: 9
  • Refugee
    • View Profile
Re: Almost complete English DefInjected for 15.1280
« Reply #8 on: September 01, 2016, 09:40:02 AM »

Alpha 15c changues in DefInjected:
DifficultyDef\
InstructionDefs\
Logged

Latta

  • Tester
  • Colonist
  • **
  • Posts: 643
  • Red
    • View Profile
Re: Almost complete English DefInjected for 15.1280
« Reply #9 on: September 01, 2016, 10:21:09 AM »

What's this mythical 'program' you are using?

C# Windows console program :P which uses regex. It would be better if it can really dig into RW's Assembly-CSharp.dll, its Defs, and find all strings but...
Logged

ykoehler

  • Muffalo
  • *
  • Posts: 3
  • Refugee
    • View Profile
Re: Almost complete English DefInjected for 15.1284
« Reply #10 on: October 03, 2016, 11:22:24 PM »

Under the ConceptDef folder, I am getting error from the game that the *.helpTexts do not exists.  If I append .0 to those, it works fine.
Logged

Latta

  • Tester
  • Colonist
  • **
  • Posts: 643
  • Red
    • View Profile
Re: Almost complete English DefInjected for 15.1284-2
« Reply #11 on: October 13, 2016, 03:51:11 AM »

  • Removed instructionClass and beginLetterType.

Under the ConceptDef folder, I am getting error from the game that the *.helpTexts do not exists.  If I append .0 to those, it works fine.
I don't know... I didn't get any.
Logged