[Tool] (A16) (A17 compatible) Simple Save Editor

Started by arkatufus, February 09, 2017, 07:32:04 AM

Previous topic - Next topic

arkatufus

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?

arkatufus

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.
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.

Redjordan

#32
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!


arkatufus

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?

Redjordan

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.

MisterVertigo

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!
"In vertigo you will be..."

"Relax, people. It's a teeny indie game; don't kill it with love." - Bozobub

arkatufus

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.

arkatufus

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]

Redjordan

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.

arkatufus

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.

Redjordan

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!

Redjordan

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

sagon

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?

Duke Kayn

could there be a way added to remove pieces of equipment?

TomorrowWeLive

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.