# CataModder - Tool for editing Cataclysm files (r30 - Recipes Bugfix)

**URL:** <https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540>\
**Category:** The Lab\
**Created:** [August 4, 2013, 3:24am UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540 "2013-08-04T03:24:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![BMacZero](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bmaczero/32/926_2.png) [@BMacZero](https://discourse.cataclysmdda.org/u/BMacZero)\
**Post date:** [August 4, 2013, 3:24am UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/1 "2013-08-04T03:24:14Z")

</div>

Hello fearless modders,

Over the last week or so I’ve been developing a tool that can hopefully make editing the game JSON files in bulk a more streamlined and easy process. It’s pretty simplistic right now, but I’ve gotten far enough that it can edit the properties of existing items and introduce new items to the game from start to finish, so I decided to share it.

I’d love all kinds of feedback at this point - bug reports and feature requests especially.

Here’s the download. Just keep in mind that this is a rough alpha and it’s probably buggy. It might mess up your game’s data files, so you should back them up or edit a fresh copy of the game.  
The current version is 0.1 r30. That version is only compatible with stable release 0.8 (Romero).  
[http://www.brianmacintosh.com/projects/catamodder/CataclysmModder\_r30.zip](http://www.brianmacintosh.com/projects/catamodder/CataclysmModder_r30.zip)

Alpha5 was the last version that was compatible with Cataclysm 0.7 (Lindqvist):  
http://www.brianmacintosh.com/projects/catamodder/CataclysmModder\_alpha5.zip

You’ll need the Microsoft .NET Framework 4.0 to run this version.  
[http://www.microsoft.com/en-us/download/details.aspx?id=17851](http://www.microsoft.com/en-us/download/details.aspx?id=17851)

The project is up on Github, which is a great place to post bug reports and suggestions.  
[https://github.com/BrianMacIntosh/CataModder](https://github.com/BrianMacIntosh/CataModder)

Here, I have written a complete beginner’s guide to using the program to add a new item to the game:  
[http://smf.cataclysmdda.com/index.php?topic=2666.msg56265#msg56265](http://smf.cataclysmdda.com/index.php?topic=2666.msg56265#msg56265)

Here’s a picture!

 ![](http://www.brianmacintosh.com/projects/catamodder/catamodder_alpha.png)

Have fun,  
Brian

---

<div class="post-metadata">

**Author:** ![deadmerits](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/deadmerits/32/19_2.png) [@deadmerits](https://discourse.cataclysmdda.org/u/deadmerits)\
**Post date:** [August 4, 2013, 4:43am UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/2 "2013-08-04T04:43:06Z")

</div>

Thank you, I can’t wait to try this out. I wouldn’t have been able to tell you a single object that needed to be in the game, but now I’ve got hundreds on my mind. I’ll let you know how it works out, but I’m excited to see this kind of support.

---

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [August 4, 2013, 8:59am UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/3 "2013-08-04T08:59:01Z")

</div>

I am very excited. Grabbing this.

EDIT: Two requests: recipes.json and some way to mod mutations!

---

<div class="post-metadata">

**Author:** ![Vronkio](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/vronkio/32/55_2.png) [@Vronkio](https://discourse.cataclysmdda.org/u/Vronkio)\
**Post date:** [August 4, 2013, 1:43pm UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/4 "2013-08-04T13:43:29Z")

</div>

I apreciate your effort for this games community. Thanks.

---

<div class="post-metadata">

**Author:** ![GlyphGryph](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/glyphgryph/32/847_2.png) [@GlyphGryph](https://discourse.cataclysmdda.org/u/GlyphGryph)\
**Post date:** [August 4, 2013, 2:15pm UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/5 "2013-08-04T14:15:28Z")

</div>

Yes, very nice! The possibility of something like this being built was a big reason for the switch to JSON. Thanks a lot for the hard work!

---

<div class="post-metadata">

**Author:** ![CIB](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/cib/32/903_2.png) [@CIB](https://discourse.cataclysmdda.org/u/CIB)\
**Post date:** [August 4, 2013, 5:15pm UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/6 "2013-08-04T17:15:26Z")

</div>

Looks like a great tool. Too bad I can’t test it.

---

<div class="post-metadata">

**Author:** ![BMacZero](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bmaczero/32/926_2.png) [@BMacZero](https://discourse.cataclysmdda.org/u/BMacZero)\
**Post date:** [August 5, 2013, 12:01am UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/7 "2013-08-05T00:01:53Z")

</div>

Great, that’s good to hear! Recipes are definitely the next thing coming up, though mutations haven’t been pushed to JSON and might not be for a while because of how unique they are.

@CIB - Is it because you’re on a mac? Sadly, I don’t have the time or tools to support macs for this.

---

<div class="post-metadata">

**Author:** ![Otaku](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/otaku/32/27_2.png) [@Otaku](https://discourse.cataclysmdda.org/u/Otaku)\
**Post date:** [August 5, 2013, 3:34am UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/8 "2013-08-05T03:34:14Z")

</div>

Looks great.

Hope it works. Have to wait till I get to my PC to test it. Also, you created it for Windows right? So have you tested on any Linux systems? If not I will test on Ubuntu later today (about 8-10 hours from now).

---

<div class="post-metadata">

**Author:** ![BMacZero](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bmaczero/32/926_2.png) [@BMacZero](https://discourse.cataclysmdda.org/u/BMacZero)\
**Post date:** [August 5, 2013, 3:14pm UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/9 "2013-08-05T15:14:48Z")

</div>

I haven’t tested it on Linux, so that prompted me to do some research on Wine, and I discoved that Mono actually has a full implementation of Winforms, the main technology I used to create this. So maybe Mac and Linux support isn’t such a remote possibility  
after all.

I have no idea if this version will run under Wine at the moment, so I’m interested in what you find.

---

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [August 6, 2013, 6:51am UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/10 "2013-08-06T06:51:37Z")

</div>

[quote=“xibalba”]Use winetricks to install the vb6 runtime(s), and then run CataModder from the command line using wine to determine what dlls you are missing. Google those dlls and then either add them to wine yourself or add them via winetricks.

And seeing as cataclysm is open source, is CataModder open source too?[/quote]

Yup it is, it’s on [GIT](https://github.com/BrianMacIntosh/CataModder).

---

<div class="post-metadata">

**Author:** ![FunsizeNinja123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/funsizeninja123/32/118_2.png) [@FunsizeNinja123](https://discourse.cataclysmdda.org/u/FunsizeNinja123)\
**Post date:** [August 6, 2013, 9:21pm UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/11 "2013-08-06T21:21:17Z")

</div>

THIS IS AMAZING NOW I CAN ADD EVERYTHING I’VE EVER WANTED  
But now I have to learn things. Like not putting leg block on guns.  
😛

---

<div class="post-metadata">

**Author:** ![stone94](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@stone94](https://discourse.cataclysmdda.org/u/stone94)\
**Post date:** [August 7, 2013, 11:57pm UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/12 "2013-08-07T23:57:54Z")

</div>

When i try to use it (I can’t load it up from desktop.) I keep getting errors when trying to create items, and loading up the .JSON files similar to this one. also it only loads up version 0.6 for me.

[code]See the end of this message for details on invoking  
just-in-time (JIT) debugging instead of this dialog box.

\*\*\*\*\*\*\*\*\*\*\*\*\*\* Exception Text \*\*\*\*\*\*\*\*\*\*\*\*\*\*  
System.NullReferenceException: Object reference not set to an instance of an object.  
at CataclysmModder.Storage.LoadFile(String path)  
at CataclysmModder.Storage.LoadFiles(String path)  
at CataclysmModder.Form1.loadFiles(String path)  
at CataclysmModder.Form1.openRawsToolStripMenuItem\_Click(Object sender, EventArgs e)  
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)  
at System.Windows.Forms.ToolStripMenuItem.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.ToolStripDropDown.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.ToolStripDropDown.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.0.30319.1008 (RTMGDR.030319-1000) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

## CataclysmModder Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/Perry/Desktop/Game%20Shortcuts/CDDA/0.7/CataclysmModder.exe

## System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1002 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Windows.Forms/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Windows.Forms.dll

## System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1001 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Drawing/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Drawing.dll

## System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1001 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.dll

## System.Web.Extensions Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1008 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Web.Extensions/v4.0\_4.0.0.0\_\_31bf3856ad364e35/System.Web.Extensions.dll

## [System.Web](http://System.Web) Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1008 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_32/System.Web/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Web.dll

## System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.233 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Core/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Core.dll

## System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1009 (RTMGDR.030319-1000) 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:

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.

[/code]

and this one:

[code]See the end of this message for details on invoking  
just-in-time (JIT) debugging instead of this dialog box.

\*\*\*\*\*\*\*\*\*\*\*\*\*\* Exception Text \*\*\*\*\*\*\*\*\*\*\*\*\*\*  
System.InvalidCastException: Unable to cast object of type 'System.Collections.Generic.Dictionary`2[System.String,System.Object]' to type 'System.String'. at CataclysmModder.WinformsUtil.SetChecks(Dictionary`2 itemValues, String key, CheckedListBox field, String id, Boolean mandatory, Boolean material)  
at CataclysmModder.WinformsUtil.ControlsLoadItem(Control control, Object item)  
at CataclysmModder.Storage.LoadItem(Int32 index)  
at CataclysmModder.Form1.entriesListBox\_SelectedIndexChanged(Object sender, EventArgs e)  
at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)  
at System.Windows.Forms.ListBox.WmReflectCommand(Message& m)  
at System.Windows.Forms.ListBox.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.0.30319.1008 (RTMGDR.030319-1000) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

## CataclysmModder Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/Perry/Desktop/Game%20Shortcuts/CDDA/0.7/CataclysmModder.exe

## System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1002 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Windows.Forms/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Windows.Forms.dll

## System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1001 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Drawing/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Drawing.dll

## System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1001 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.dll

## System.Web.Extensions Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1008 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Web.Extensions/v4.0\_4.0.0.0\_\_31bf3856ad364e35/System.Web.Extensions.dll

## [System.Web](http://System.Web) Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1008 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_32/System.Web/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Web.dll

## System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.233 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Core/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Core.dll

## System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1009 (RTMGDR.030319-1000) CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Configuration/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Configuration.dll

## System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1009 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Xml/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Xml.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:

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.

[/code]  
also a save function would be helpful as a visual feel to show that the item has been created,  
and an export to individual item would be nice, so we dont wreck our .Json’s, and would make it easier for branching on GIT.

---

<div class="post-metadata">

**Author:** ![BMacZero](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bmaczero/32/926_2.png) [@BMacZero](https://discourse.cataclysmdda.org/u/BMacZero)\
**Post date:** [August 8, 2013, 4:33am UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/13 "2013-08-08T04:33:25Z")

</div>

I will check out those two things. Your suggestions are also good ones, and you mirrored Zireael’s complaint on Git that the way the program saves is very unfriendly to Git. I should be able to fix all these things by the weekend, and if that comes together I’ll put up a second build then.

After that I’ll move on to recipes and maybe a port to Mono to make it cross-platform.

---

<div class="post-metadata">

**Author:** ![fishy1234555](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fishy1234555/32/50_2.png) [@fishy1234555](https://discourse.cataclysmdda.org/u/fishy1234555)\
**Post date:** [August 8, 2013, 8:34am UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/14 "2013-08-08T08:34:00Z")

</div>

running on windows xp. doesnt open at all

---

<div class="post-metadata">

**Author:** ![BMacZero](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bmaczero/32/926_2.png) [@BMacZero](https://discourse.cataclysmdda.org/u/BMacZero)\
**Post date:** [August 8, 2013, 3:22pm UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/15 "2013-08-08T15:22:41Z")

</div>

You probably don’t have the Microsoft .NET framework. I’ll add a note to the first post and readme.  
[http://www.microsoft.com/en-us/download/details.aspx?id=17851](http://www.microsoft.com/en-us/download/details.aspx?id=17851)

Hopefully the Mono version won’t require anything like this.

---

<div class="post-metadata">

**Author:** ![fishy1234555](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fishy1234555/32/50_2.png) [@fishy1234555](https://discourse.cataclysmdda.org/u/fishy1234555)\
**Post date:** [August 9, 2013, 4:12am UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/16 "2013-08-09T04:12:44Z")

</div>

works now! thanks dude

---

<div class="post-metadata">

**Author:** ![stone94](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@stone94](https://discourse.cataclysmdda.org/u/stone94)\
**Post date:** [August 9, 2013, 2:04pm UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/17 "2013-08-09T14:04:00Z")

</div>

also another error for me when i select the crude flamethrower

[code]See the end of this message for details on invoking  
just-in-time (JIT) debugging instead of this dialog box.

\*\*\*\*\*\*\*\*\*\*\*\*\*\* Exception Text \*\*\*\*\*\*\*\*\*\*\*\*\*\*  
System.ArgumentOutOfRangeException: Value of ‘-2’ is not valid for ‘Value’. ‘Value’ should be between ‘Minimum’ and ‘Maximum’.  
Parameter name: Value  
at System.Windows.Forms.NumericUpDown.set\_Value(Decimal value)  
at CataclysmModder.WinformsUtil.SetInt(Dictionary`2 itemValues, String key, NumericUpDown field, String id, Boolean mandatory) at CataclysmModder.WinformsUtil.ControlsLoadItem(Control control, Object item) at CataclysmModder.GenericItemValues.typeComboBox_TextChanged(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Forms.Control.OnTextChanged(EventArgs e) at System.Windows.Forms.ComboBox.OnTextChanged(EventArgs e) at System.Windows.Forms.Control.set_Text(String value) at System.Windows.Forms.ComboBox.set_Text(String value) at CataclysmModder.WinformsUtil.SetString(Dictionary`2 itemValues, String key, Control field, String id, Boolean mandatory)  
at CataclysmModder.WinformsUtil.ControlsLoadItem(Control control, Object item)  
at CataclysmModder.Storage.LoadItem(Int32 index)  
at CataclysmModder.Form1.entriesListBox\_SelectedIndexChanged(Object sender, EventArgs e)  
at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)  
at System.Windows.Forms.ListBox.WmReflectCommand(Message& m)  
at System.Windows.Forms.ListBox.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.0.30319.18052 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

## CataclysmModder Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Cataclysm-DDA-master/Nightly/CataclysmModder.exe

## System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18047 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Windows.Forms/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Windows.Forms.dll

## System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Drawing/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Drawing.dll

## System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18044 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.dll

## System.Web.Extensions Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Web.Extensions/v4.0\_4.0.0.0\_\_31bf3856ad364e35/System.Web.Extensions.dll

## [System.Web](http://System.Web) Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18044 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_32/System.Web/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Web.dll

## System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Core/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Core.dll

## System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18054 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Configuration/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Configuration.dll

## System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18054 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Xml/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Xml.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:

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.

[/code]

Also when i make an item and select something new, the entire item values all return to blank, also another bug, the program seems to mess up all the weight values in the original .JSON’s too ridiculous values

---

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [August 9, 2013, 2:56pm UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/18 "2013-08-09T14:56:15Z")

</div>

[quote=“stone94, post:17, topic:2540”]also another error for me when i select the crude flamethrower

[code]See the end of this message for details on invoking  
just-in-time (JIT) debugging instead of this dialog box.

\*\*\*\*\*\*\*\*\*\*\*\*\*\* Exception Text \*\*\*\*\*\*\*\*\*\*\*\*\*\*  
System.ArgumentOutOfRangeException: Value of ‘-2’ is not valid for ‘Value’. ‘Value’ should be between ‘Minimum’ and ‘Maximum’.  
Parameter name: Value  
at System.Windows.Forms.NumericUpDown.set\_Value(Decimal value)  
at CataclysmModder.WinformsUtil.SetInt(Dictionary`2 itemValues, String key, NumericUpDown field, String id, Boolean mandatory) at CataclysmModder.WinformsUtil.ControlsLoadItem(Control control, Object item) at CataclysmModder.GenericItemValues.typeComboBox_TextChanged(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Forms.Control.OnTextChanged(EventArgs e) at System.Windows.Forms.ComboBox.OnTextChanged(EventArgs e) at System.Windows.Forms.Control.set_Text(String value) at System.Windows.Forms.ComboBox.set_Text(String value) at CataclysmModder.WinformsUtil.SetString(Dictionary`2 itemValues, String key, Control field, String id, Boolean mandatory)  
at CataclysmModder.WinformsUtil.ControlsLoadItem(Control control, Object item)  
at CataclysmModder.Storage.LoadItem(Int32 index)  
at CataclysmModder.Form1.entriesListBox\_SelectedIndexChanged(Object sender, EventArgs e)  
at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)  
at System.Windows.Forms.ListBox.WmReflectCommand(Message& m)  
at System.Windows.Forms.ListBox.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.0.30319.18052 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

## CataclysmModder Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Cataclysm-DDA-master/Nightly/CataclysmModder.exe

## System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18047 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Windows.Forms/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Windows.Forms.dll

## System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Drawing/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Drawing.dll

## System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18044 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.dll

## System.Web.Extensions Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Web.Extensions/v4.0\_4.0.0.0\_\_31bf3856ad364e35/System.Web.Extensions.dll

## [System.Web](http://System.Web) Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18044 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_32/System.Web/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Web.dll

## System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Core/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Core.dll

## System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18054 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Configuration/v4.0\_4.0.0.0\_\_b03f5f7f11d50a3a/System.Configuration.dll

## System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18054 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC\_MSIL/System.Xml/v4.0\_4.0.0.0\_\_b77a5c561934e089/System.Xml.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:

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.

[/code]

Also when i make an item and select something new, the entire item values all return to blank, also another bug, the program seems to mess up all the weight values in the original .JSON’s too ridiculous values[/quote]

When making an item, it’s normal.  
Weight was recently overhauled and it’s possible that the tool doesn’t mesh with it.

---

<div class="post-metadata">

**Author:** ![BMacZero](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bmaczero/32/926_2.png) [@BMacZero](https://discourse.cataclysmdda.org/u/BMacZero)\
**Post date:** [August 9, 2013, 3:18pm UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/19 "2013-08-09T15:18:36Z")

</div>

That’s a lot of weird errors. What version of Cataclysm are you using?

---

<div class="post-metadata">

**Author:** ![stone94](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@stone94](https://discourse.cataclysmdda.org/u/stone94)\
**Post date:** [August 9, 2013, 6:20pm UTC](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540/20 "2013-08-09T18:20:03Z")

</div>

I tried it with 0.6, 0.7, 0.7.1, and the nightly :S, maybe it just doesnt like me xD, well luckily i know how to modify the actual JSON 's, but for speed and ease of access i was hoping to use your tool, oh and some additional info im using windows 7 x64 (x86)

[Next page](https://discourse.cataclysmdda.org/t/catamodder-tool-for-editing-cataclysm-files-r30-recipes-bugfix/2540.md?page=2)
