[Tool] (1.0) Save Game Editor

Started by Redjordan, June 04, 2017, 03:48:32 PM

Previous topic - Next topic

Snoipah

Hello! I made an account here just to say that in case you want to do more bugfixes, I found a few by accident since I really wanted to diversify around with races, not particularly the editor itself but with some mods:

Oni of the Rim:
https://steamcommunity.com/sharedfiles/filedetails/?id=1632244750

The Drow Race:
https://steamcommunity.com/sharedfiles/filedetails/?id=1576667416

Rimcraft:
https://steamcommunity.com/sharedfiles/filedetails/?id=1686288212


I couldn't really take a picture of the error so I copy pasted it...

An error occured while loading the game data:
System.NullReferenceException: 'Object reference not set to an instance of an object.'
in RimWorldSaveManager.DataLoader...ctor()
in RimWorldSaveManager.MainForm...ctor()

END

Thank you for all your work. The editor is great and such a big help.

One BUG I noticed is in the Colonist section.
You can remove injuries fine, that works. But if a pawn is "downed", you can't use the editor to remove this attribute. Unticking the downed checkbox does not stick nor save.

Otherwise, fine tool!

END


falcongrey

Would be useful to help with a bugged save!
It matters not if we win or fail. It's that we stood and faced it.

Jo The Veteran

Just gave a colonist a title, because the other one had the "no social" tag, which I was warned about, from the game. After a while I tried to give that colonist a few more favor points from a quest, guess what... he has the no social tag... out of nowhere! No idea how that happened, but this editor would fix that in a jiffy.
Please update it, man.


Jo The Veteran

Quote from: Canute on May 29, 2020, 02:06:47 PM
Meanwhile you should try the
Character editor
https://steamcommunity.com/sharedfiles/filedetails/?id=1874644848

That is like the "Prepare Carefully" mod, only you can changed anything, anytime. No, I don't care about that, that's too big of a temptation. I like the randomness of my game. I don't even re-roll in the first colonists screen.
I use that save game editor to fix bugs only.
But thanks anyway.

greenlight2k

Hello there!

I made a Fork from the original bitbucket to my github and fixed the "Index out of bounds" Exception.
Turns out, the Path to the XML defs has changed to "Data"

I tested it and it seems to work just fine.
Use it at your own risk and always make a backup of your savegame before editing!

Download:
https://github.com/greenlight2k/RimWorldSaveManager/releases



shiftlessPagan

I'm having an issue, every time I try to load a save I get an error message saying that the "Index was outside the bounds of the array", can somebody tell me what this means, and how to fix it?

Here is the "Exception Text" spat out under the details tab if this helps

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at RimWorldSaveManager.Data.DataStructure.Pawn..ctor(XElement xml)
   at RimWorldSaveManager.DataLoader.LoadData(String path, TabControl tabControl)
   at RimWorldSaveManager.MainForm.toolStripLabel1_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)