Ludeon Forums

Ludeon Forums

  • August 18, 2019, 09:13:00 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Editing faction names (not your)  (Read 256 times)

BladeOfSharpness

  • Drifter
  • **
  • Posts: 69
  • Refugee
    • View Profile
Editing faction names (not your)
« on: June 25, 2019, 01:58:15 AM »

Hi,

I'm trying to edit to something more immersive some of the factions I encounter. I would prefer for example to face the 'Crimson Brotherhood' pirates and not the 'Boomgungun Band'. That's personal, sure  :)

Two issues.

First, and rather surprisingly, Notepad++ seems unable to load even a 'start of the game' saved game, a mere 18 megas XML. What are you using guys? NPP is unresponsive 3 mn after trying to load such file, and I have a quite powerful computer.

Are factions names stored in clear in this file?
Logged

Kirby23590

  • Planetologist
  • ****
  • Posts: 1127
  • Full Metal Yorkshire
    • View Profile
Re: Editing faction names (not your)
« Reply #1 on: June 25, 2019, 09:26:46 AM »

If you want to change the faction name of the Pirates to "Crimson Brotherhood"

You can press CTRL+F in Notepad++ to easily find the "Boomgungun Band" and change it to the Crimson Brotherhood or Crimson Lance or Crimson Redguards and etc. Make sure it has the <def>Pirate</def> in it and chance the <name> holding the boomboom whatever to your faction name you want.

I don't know how your computer hates Notepad++ and i'm still happy with my Windows 7 Computer.
Maybe you have a lot of mods running in your game or your running a lot of things in your computer?
Logged

One "happy family" in the rims...
Custom font made by Marnador.


BladeOfSharpness

  • Drifter
  • **
  • Posts: 69
  • Refugee
    • View Profile
Re: Editing faction names (not your)
« Reply #2 on: June 26, 2019, 04:32:28 AM »

Well, even if I have only np++ running and no other software, for XML parsing it is slow. And it is working well for the rest. Plus my computer is really powerful I can assure you.

So my question was also to ask if someone knew an alternative to np++. A viable alternative, don't ask me to use Word :)
Logged

Canute

  • Transcendent
  • *****
  • Posts: 7520
  • Refugee
    • View Profile
Re: Editing faction names (not your)
« Reply #3 on: June 26, 2019, 05:54:57 AM »

You should ask yourself what do you want/need.
Word isn't a texteditor, sure you can edit text documents too but his strenghts are at other areas.
If you just want view XML files, any browser works fine.
Only when you want to edit these XML files you need an editor.
Maybe you should tell us first what you don't like at np++, maybe you should use the default windows notepad first ! :-)
Logged

BladeOfSharpness

  • Drifter
  • **
  • Posts: 69
  • Refugee
    • View Profile
Re: Editing faction names (not your)
« Reply #4 on: June 26, 2019, 10:52:13 AM »

I know quite well what I want and need, I already said so in the previous posts.

Somehow, I find np++ slow to load up and edit a Rimworld saved game XML. A file of 18 MB takes one minute to load then another one to save for each edit.

By the way I use daily np++ for my job, it is a good software and I have nothing but praise for it. Except in this case.

So, to rephrase. Is someone using an alternative to np++, a free software than can edit XML? I would like to try it. If not, I'll probably program for myself a little saved game editor.
Logged

Canute

  • Transcendent
  • *****
  • Posts: 7520
  • Refugee
    • View Profile
Re: Editing faction names (not your)
« Reply #5 on: June 26, 2019, 11:30:24 AM »

I use the SciTE-Lite , delivered with the AutoIt package, from time to time.
https://www.scintilla.org/
Logged

Tynan

  • Developer
  • Administrator
  • Transcendent
  • *****
  • Posts: 11530
    • View Profile
    • Tynan's Blog
Re: Editing faction names (not your)
« Reply #6 on: June 26, 2019, 05:54:32 PM »

EmEditor is great for huge text files. It'll do gigabyte+ files.

VSCode works fine too; it's free.
Logged
Tynan Sylvester - @TynanSylvester - Tynan's Blog

BladeOfSharpness

  • Drifter
  • **
  • Posts: 69
  • Refugee
    • View Profile
Re: Editing faction names (not your)
« Reply #7 on: June 26, 2019, 11:49:31 PM »

Thanks a bunch everyone  :D

I installed EMEditor and read again my 18 Mb save. It took less one second to  load and parse (and edit). Just awesome!
« Last Edit: June 26, 2019, 11:57:03 PM by BladeOfSharpness »
Logged

BladeOfSharpness

  • Drifter
  • **
  • Posts: 69
  • Refugee
    • View Profile
Re: Editing faction names (not your)
« Reply #8 on: June 29, 2019, 05:32:26 AM »

I'm having trouble finding a pawn description. If I search him by name in the save, I get numerous references (to items and weapons etc.) but I'm failing to see where I can find his health status.
Logged