Ludeon Forums

RimWorld => Mods => Tools => Topic started by: arkatufus on February 09, 2017, 07:32:04 AM

Title: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: arkatufus on February 09, 2017, 07:32:04 AM
-- Discontinued --
Redjordan will continue maintaining the editor, you can get the latest maintained version here (https://bitbucket.org/Redjordan95/rimworldsavemanager).

This tool is a fork from https://ludeon.com/forums/index.php?topic=16176.0 (https://ludeon.com/forums/index.php?topic=16176.0) to support Alpha 16.
Well, started as a fork, ended as a total rewrite, same functionality though.

Same disclaimer applies to this tool as it is the previous version.

You can download the tool here: https://bitbucket.org/arkatufus/rimworldsavemanager (https://bitbucket.org/arkatufus/rimworldsavemanager)

EDIT:
This tool is compatible with A17 beta (so far). Please notify me in this thread if you run into any bugs.
Title: Re: [Tool] (A16) Simple Save Editor
Post by: dnks on February 14, 2017, 09:28:44 PM
Thanks for this :) it's great that someone updated it, I see that a share of people have already downloaded it but no posts here, that's a bit sad.
Title: Re: [Tool] (A16) Simple Save Editor
Post by: DapperDan on February 21, 2017, 04:41:47 PM
When I change injuries, the person's second backstory also changes.
Title: Re: [Tool] (A16) Simple Save Editor
Post by: arkatufus on February 21, 2017, 11:41:10 PM
Quote from: DapperDan on February 21, 2017, 04:41:47 PM
When I change injuries, the person's second backstory also changes.

Can you send me your save game file so I can debug the problem?
Title: Re: [Tool] (A16) Simple Save Editor
Post by: Karth32 on February 22, 2017, 05:16:06 AM
Quote from: arkatufus on February 21, 2017, 11:41:10 PM
Quote from: DapperDan on February 21, 2017, 04:41:47 PM
When I change injuries, the person's second backstory also changes.

Can you send me your save game file so I can debug the problem?

I'm having the same issue as well. I'll zip up both the original save file and the modified one and PM you.
Title: Re: [Tool] (A16) Simple Save Editor
Post by: DapperDan on February 22, 2017, 02:21:28 PM
Just found out that the character's second backstory changes with every reload after editing.
Title: Re: [Tool] (A16) Simple Save Editor
Post by: arkatufus on February 22, 2017, 07:29:46 PM
Alright, I just fixed the bug.
Hope that this version nails the backstory database problem.
Title: Re: [Tool] (A16) Simple Save Editor
Post by: arkatufus on February 22, 2017, 07:47:12 PM
Quote from: dnks on February 14, 2017, 09:28:44 PM
Thanks for this :) it's great that someone updated it, I see that a share of people have already downloaded it but no posts here, that's a bit sad.

Lol, its alright, really. This is mainly a personal tool, and I wasn't even the original coder. I didn't even know that there's a download counter in bitbucket :P.
Title: Re: [Tool] (A16) Simple Save Editor
Post by: DapperDan on February 23, 2017, 02:34:32 AM
Thanks for your work! You are a shining example of a good person.
Title: Re: [Tool] (A16) Simple Save Editor
Post by: kurikinton on March 31, 2017, 06:14:10 AM
I notice that there's a check to prevent adding more than three traits per pawn.

There are actually mods that enable pawns to have more traits, so it would be pretty neat if the editor perhaps just warned about the trait limit instead of actually enforcing it. Even without mods, there's nothing in the XML def that says there can only be three <li> elements under <allTraits>. I've also noticed that you can add any number of traits in debug mode and the only limitation is that sometimes the interface will only display the first three, while the effects of the others can still be confirmed.
Title: Re: [Tool] (A16) Simple Save Editor
Post by: arkatufus on March 31, 2017, 12:14:29 PM
Quote from: kurikinton on March 31, 2017, 06:14:10 AM
I notice that there's a check to prevent adding more than three traits per pawn.

Oh, yeah, sure, I can do that easily... give me a minute...
Title: Re: [Tool] (A16) Simple Save Editor
Post by: arkatufus on March 31, 2017, 12:37:34 PM
Done, 3 traits hard limit is removed in v0.5.4.5
Title: Re: [Tool] (A16) Simple Save Editor
Post by: AngleWyrm on March 31, 2017, 02:51:45 PM
The version I downloaded doesn't run on 32-bit systems; I'm guessing it was compiled for 64-bit machines. Can you make it 32-bit compatible, or release a second one?
Title: Re: [Tool] (A16) Simple Save Editor
Post by: arkatufus on March 31, 2017, 03:31:56 PM
Quote from: AngleWyrm on March 31, 2017, 02:51:45 PM
The version I downloaded doesn't run on 32-bit systems; I'm guessing it was compiled for 64-bit machines. Can you make it 32-bit compatible, or release a second one?

Sorry about that, I thought it would run on both architecture.
Can you try downloading v.5.4.5 again? I've split the build to x86/x64 in the latest zip.
Title: Re: [Tool] (A16) Simple Save Editor
Post by: AngleWyrm on March 31, 2017, 06:29:03 PM

(https://s6.postimg.org/t8z5onydt/error.png)
(https://s6.postimg.org/4r720rvtd/dataintegrity.png)Maybe my computer is just too old. :/
Title: Re: [Tool] (A16) Simple Save Editor
Post by: arkatufus on March 31, 2017, 11:02:25 PM
Quote from: AngleWyrm on March 31, 2017, 06:29:03 PM
Maybe my computer is just too old. :/

Have you tried updating your .Net Framework runtime? The editor uses .Net Framework 4.5.2, so anything from there and up should work.
Try downloading the web installer here:
https://www.microsoft.com/net/download/framework (https://www.microsoft.com/net/download/framework)
Title: Re: [Tool] (A16) Simple Save Editor
Post by: AngleWyrm on April 02, 2017, 01:24:26 PM
The *.RWS save files appear to function as a compressed file.
If I press View in WinRAR it will show me the text of an xml file. But any attempt to extract it confuses WinRAR and it declares an unknown file format.

Are *.RWS files stored in a standard compression method, and if so which one?
Title: Re: [Tool] (A16) Simple Save Editor
Post by: arkatufus on April 02, 2017, 08:33:24 PM
Quote from: AngleWyrm on April 02, 2017, 01:24:26 PM
Are *.RWS files stored in a standard compression method, and if so which one?

Its not compressed, just open it with a text editor, and yes, its written in XML format.
Title: Re: [Tool] (A16) Simple Save Editor
Post by: thundyuk on April 30, 2017, 10:43:47 AM
When I try run this it simply spins the "Busy" icon and then nothing happens. :-/
I've updated to the latest .NET Framework as I thought it might be out of date but no joy. There's no errors etc.
I've tried the x86 and 64bit version.
Any ideas?
Title: Re: [Tool] (A16) Simple Save Editor
Post by: pervertparade on May 01, 2017, 05:48:09 PM
Quote from: thundyuk on April 30, 2017, 10:43:47 AM
When I try run this it simply spins the "Busy" icon and then nothing happens. :-/

Same here.  Checked event logs, found the following:


Application: RimWorldSaveManager.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.DirectoryNotFoundException
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.IO.FileSystemEnumerableIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].CommonInit()
   at System.IO.Directory.GetDirectories(System.String)
   at RimWorldSaveManager.DataLoader..ctor()
   at RimWorldSaveManager.MainForm..ctor()
   at RimWorldSaveManager.Program.Main()



Faulting application name: RimWorldSaveManager.exe, version: 0.5.4.5, time stamp: 0x58dead52
Faulting module name: KERNELBASE.dll, version: 10.0.14393.1066, time stamp: 0x58d9ef32
Exception code: 0xe0434352
Fault offset: 0x0000000000033c58
Faulting process id: 0x1e54
Faulting application start time: 0x01d2c2c4274ae531
Faulting application path: C:\Temp\RimWorldSaveManager.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 32d6466f-f910-4c6c-83d0-a6ef8f480fd3
Faulting package full name:
Faulting package-relative application ID:



Edit: nevermind, it's working now.  When the description says "you can place it in your root game folder" it means that you MUST place it in your root game folder.
Title: Re: [Tool] (A16) Simple Save Editor
Post by: arkatufus on May 02, 2017, 01:32:53 AM
Sorry, the zip file should've contained the "how to install.txt" file, I guess I forgot to include it in the latest downloadable zip file x__x
Title: Re: [Tool] (A16) Simple Save Editor
Post by: thundyuk on May 05, 2017, 08:34:25 PM
Ooh thank you :)
I'll give it a re-download.
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: TOG II on May 06, 2017, 04:34:03 PM
When I try to edit a save file wherein I only have a custom race in my colony, it doesn't detect them as colonists.
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: arkatufus on May 07, 2017, 04:45:07 AM
It only edit spacer and tribal characters as of now. Can you tell me which mod are you using?
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: TOG II on May 23, 2017, 07:47:43 AM
Quote from: arkatufus on May 07, 2017, 04:45:07 AM
It only edit spacer and tribal characters as of now. Can you tell me which mod are you using?
I'm using the Apini mod (https://ludeon.com/forums/index.php?topic=31076.0).
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: arkatufus on May 23, 2017, 11:07:57 AM
Quote from: TOG II on May 23, 2017, 07:47:43 AM
Quote from: arkatufus on May 07, 2017, 04:45:07 AM
It only edit spacer and tribal characters as of now. Can you tell me which mod are you using?
I'm using the Apini mod (https://ludeon.com/forums/index.php?topic=31076.0).
Hmm... I'd like to help, but I couldn't find a working download for "Humanoid Alien Framework" mod required to run the Apini mod.
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: thinkpad on May 31, 2017, 03:35:08 AM
All of a sudden this has stopped working for me.  I'm still on A16 and today I went to use it and it's saying Rimworld Save Manager stopped working...Looking for solution. This is Windows 7 64bit. 
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: arkatufus on June 01, 2017, 11:23:51 PM
Quote from: thinkpad on May 31, 2017, 03:35:08 AM
All of a sudden this has stopped working for me.  I'm still on A16 and today I went to use it and it's saying Rimworld Save Manager stopped working...Looking for solution. This is Windows 7 64bit.

And you're using v0.54.5? That's weird, because I didn't make any changes whatsoever... can you send me your save file so I can try and reproduce the problem?
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: thinkpad on June 02, 2017, 02:45:07 AM
I found a workaround, I "rented" the game on the library computer, and copied ONLY the mods/core folder, cause that is what the editor needs to work, and it worked.  Made a new folder in the rimworld folder and put the editor and the "rented" mods/core folder and it works again
No clue why it stopped working before.  I compared the "rented" mods/core folder and my steam copy's mods/core folder files and they are the same.  All I know is it's working with my little trick.  If you are wondering if I kept the "rented" copy of the game I did not, I only kept the mods/core folder, nothing else.

It wasn't the save file causing the error, I can't figure out what caused it but I have 8 errors from my attempts to get the program working logged in my event viewer in Windows 7 64bit

If I do ever figure out what caused the problem I'll be sure to write down step by step what I did to reproduce the issue
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: TOG II on June 02, 2017, 10:32:41 AM
Quote from: arkatufus on May 23, 2017, 11:07:57 AM
Quote from: TOG II on May 23, 2017, 07:47:43 AM
Quote from: arkatufus on May 07, 2017, 04:45:07 AM
It only edit spacer and tribal characters as of now. Can you tell me which mod are you using?
I'm using the Apini mod (https://ludeon.com/forums/index.php?topic=31076.0).
Hmm... I'd like to help, but I couldn't find a working download for "Humanoid Alien Framework" mod required to run the Apini mod.

https://ludeon.com/forums/index.php?topic=29353.msg335816#msg335816
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: arkatufus on June 03, 2017, 03:59:26 AM
Quote from: thinkpad on June 02, 2017, 02:45:07 AM
I found a workaround, I "rented" the game on the library computer, and copied ONLY the mods/core folder, cause that is what the editor needs to work, and it worked.  Made a new folder in the rimworld folder and put the editor and the "rented" mods/core folder and it works again
No clue why it stopped working before.  I compared the "rented" mods/core folder and my steam copy's mods/core folder files and they are the same.  All I know is it's working with my little trick.  If you are wondering if I kept the "rented" copy of the game I did not, I only kept the mods/core folder, nothing else.

It wasn't the save file causing the error, I can't figure out what caused it but I have 8 errors from my attempts to get the program working logged in my event viewer in Windows 7 64bit

If I do ever figure out what caused the problem I'll be sure to write down step by step what I did to reproduce the issue

Can you try reinstalling the latest .Net run time?
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: arkatufus on June 03, 2017, 04:06:27 AM
Quote from: TOG II on June 02, 2017, 10:32:41 AM
Quote from: arkatufus on May 23, 2017, 11:07:57 AM
Quote from: TOG II on May 23, 2017, 07:47:43 AM
Quote from: arkatufus on May 07, 2017, 04:45:07 AM
It only edit spacer and tribal characters as of now. Can you tell me which mod are you using?
I'm using the Apini mod (https://ludeon.com/forums/index.php?topic=31076.0).
Hmm... I'd like to help, but I couldn't find a working download for "Humanoid Alien Framework" mod required to run the Apini mod.

https://ludeon.com/forums/index.php?topic=29353.msg335816#msg335816

This looks like a complete mod, I'm afraid that adding support to this mod would be akin to opening a whole can of worm where I would be required to support all rimworld mods out there.
I would give it a try, but this would take some time to do.
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: Redjordan on June 03, 2017, 07:59:13 AM
Hello,
i created a fork of this Save Editor and added a few functions.

Changelog:
v0.6.0.0

Link: https://bitbucket.org/Redjordan95/rimworldsavemanager

Have Fun!

Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: arkatufus on June 03, 2017, 02:51:43 PM
Quote from: Redjordan on June 03, 2017, 07:59:13 AM
Hello,
i created a fork of this Save Editor and added a few functions.

Changelog:
v0.6.0.0

  • Code base rewrite
  • Put all colonists into a list on the first tab
  • Add a second tab for editing animals (name, age, training, injuries)
  • Add name editing
  • Fix age editing (Biological works, Chronological not 100% working)
  • Add bodypart names for humans (injuries)

Link: https://bitbucket.org/Redjordan95/rimworldsavemanager

Have Fun!

Oh hey, nice work! Wanna take over the project?
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: Redjordan on June 03, 2017, 07:33:04 PM
Quote from: arkatufus on June 03, 2017, 02:51:43 PM
Oh hey, nice work! Wanna take over the project?

If you dont want to continue it, i would realy like to take it over.


Added the support for races made with "Humanoid Alien Framework" in the latest version, tested with Orassans, should work with Apini as well.
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: MisterVertigo on June 03, 2017, 07:50:15 PM
I just downloaded this, and I can see it being very useful! One request though, would it be possible to change gender of a colonist? I'm not sure what that would break, but with this I can rename then, and I'd like to change the gender too. Thanks!
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: arkatufus on June 03, 2017, 11:56:37 PM
Quote from: Redjordan on June 03, 2017, 07:33:04 PM
Quote from: arkatufus on June 03, 2017, 02:51:43 PM
Oh hey, nice work! Wanna take over the project?

If you dont want to continue it, i would realy like to take it over.

It'd be great if you do take it over, I'm getting swamped with work at the office and can't put too much work on the editor.
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: arkatufus on June 04, 2017, 02:33:03 AM
Quote from: Redjordan on June 03, 2017, 07:33:04 PM
If you dont want to continue it, i would realy like to take it over.
I don't know if you need this or not, its the new xml resources from A17

[attachment deleted by admin due to age]
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: Redjordan on June 04, 2017, 06:04:53 AM
Quote from: arkatufus on June 04, 2017, 02:33:03 AM
I don't know if you need this or not, its the new xml resources from A17
May i ask how you got them?

@MisterVertigo
I`ll look into that.
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: arkatufus on June 04, 2017, 08:19:15 AM
Quote from: Redjordan on June 04, 2017, 06:04:53 AM
Quote from: arkatufus on June 04, 2017, 02:33:03 AM
I don't know if you need this or not, its the new xml resources from A17
May i ask how you got them?

A little reverse engineering from the game assets, there's a tool to extract some file types out of unity asset packs.
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: Redjordan on June 04, 2017, 03:23:58 PM
Quote from: arkatufus on June 04, 2017, 08:19:15 AM
Quote from: Redjordan on June 04, 2017, 06:04:53 AM
Quote from: arkatufus on June 04, 2017, 02:33:03 AM
I don't know if you need this or not, its the new xml resources from A17
May i ask how you got them?

A little reverse engineering from the game assets, there's a tool to extract some file types out of unity asset packs.

Thanks for the info and data!
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: Redjordan on June 04, 2017, 03:52:26 PM
Quote from: MisterVertigo on June 03, 2017, 07:50:15 PM
I just downloaded this, and I can see it being very useful! One request though, would it be possible to change gender of a colonist? I'm not sure what that would break, but with this I can rename then, and I'd like to change the gender too. Thanks!

I implemented the gender editing and a few other things in the latest version.
New thread for further updates: https://ludeon.com/forums/index.php?topic=33283.0
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: sagon on June 11, 2017, 10:13:49 PM
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at RimWorldSaveManager.Data.DataStructure.Training.get_ObedienceTraining()
   at RimWorldSaveManager.UserControls.AnimalPage.setPawn(Pawn pawn)
   at RimWorldSaveManager.UserControls.AnimalPage..ctor(List`1 pawnList)
   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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2098.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
RimWorldSaveManager
    Assembly Version: 0.6.2.2
    Win32 Version: 0.6.2.2
    CodeBase: file:///D:/Steam/steamapps/common/RimWorld/RimWorldSaveManager17.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2094.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2093.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2098.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.




Every time I run it. Ideas?
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: Duke Kayn on June 24, 2017, 09:59:48 PM
could there be a way added to remove pieces of equipment?
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: TomorrowWeLive on July 17, 2017, 10:32:26 PM
Quote from: sagon on June 11, 2017, 10:13:49 PM
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at RimWorldSaveManager.Data.DataStructure.Training.get_ObedienceTraining()
   at RimWorldSaveManager.UserControls.AnimalPage.setPawn(Pawn pawn)
   at RimWorldSaveManager.UserControls.AnimalPage..ctor(List`1 pawnList)
   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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2098.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
RimWorldSaveManager
    Assembly Version: 0.6.2.2
    Win32 Version: 0.6.2.2
    CodeBase: file:///D:/Steam/steamapps/common/RimWorld/RimWorldSaveManager17.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2094.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2093.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2098.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.




Every time I run it. Ideas?

I'm having the same issue.
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: arkatufus on July 18, 2017, 01:18:58 AM
Quote from: TomorrowWeLive on July 17, 2017, 10:32:26 PM
Quote from: sagon on June 11, 2017, 10:13:49 PM
Every time I run it. Ideas?

I'm having the same issue.

Please see https://ludeon.com/forums/index.php?topic=33283.0
Title: Re: [Tool] (A16) (A17 compatible) Simple Save Editor
Post by: xhwzth1215 on March 16, 2018, 10:53:32 PM
Very nice save editor!!! Exactly what I've been looking for!
The only issue is, it seemed to be incompatible with A18, I've tried loading an old save and save in A18, and the save can't be opened in the editor. Obviously, I don't want to go back to A17, so can anyone keep it updated? I know it's been a long time, but this is a useful tool for rimworld and I really don't want to see it being discontinued.