














UPDATE v1.5:
Code:- Added Sectoid Corpse, Thin Man Corpse, UFO Flight Computer(damaged) and UFO Power Source(damaged) Modding

Excellent work as always Idle..i don't have the game...but thanks..

I get the following unhandled exception error when using both v1.5 and v1.4. Am running .Net 4.5
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 '3893115452' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
at System.Windows.Forms.NumericUpDown.set_Value(Decim al value)
at XCOM_Editor.Form1.ReadGameStats(String FilePath)
at XCOM_Editor.Form1.c302edb11f3d96ec8b2a1aa841023c6e 5(Object c545002608d7743ddee6d998ef2eb9783, EventArgs cc5b03d1975fd34bf6754240204b245a1)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Obje ct key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(Eve ntArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(Eve ntArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(M ouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventIntera ctive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(Event Args e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEven tArgs 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(Mes sage& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.MenuStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
XCOM Editor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Alan/Desktop/XCOM%20Editor%20v1.5%20-%20By%20Idlehands88/XCOM%20Editor%20v1.5.exe
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
XCOM EditorXCOM EditorXCOM Editor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Alan/Desktop/XCOM%20Editor%20v1.5%20-%20By%20Idlehands88/XCOM%20Editor%20v1.5.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
PackageIO
Assembly Version: 0.1.9.3
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Alan/Desktop/XCOM%20Editor%20v1.5%20-%20By%20Idlehands88/XCOM%20Editor%20v1.5.exe
----------------------------------------
************** 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.
I have a save file here that I spent some time on editing values in the m_arrItems array.
Items--values
sectoid corpse 100
sectoid commander corpse 99
floater corpse 98
thin man corpse 97
muton corpse 96
muton elite corpse 89
cyberdisc corpse 88
ethereal corpse 87
chryssalid corpse 86
sectopod corpse 85
drone corpse 84
ufo flight computer 100
ufo power source 99
hyperwave beacon 98***plot item
fusion core 97
ethereal device 96***plot item
outsider shard 89 ***plot item
The plot items you may not want to add as you cannot sell them and I dont know what would happen to a save that is not far enough along in the storyline to research the plot item.
I have not figured out the live alien locations in the array but I would guess their array locations are in between the drone corpse and elerium array locations.
Last edited by lucred; 05-13-2013 at 11:50 AM.
cant wait to get started on this game thanks for the editor..
The editor still doesn't work. Could I post my save here and have someone who can actually get it to work mod the save for me?


Was just about to search for these in the hex editor. Good work
The editor does work btw. When decompressing, you should have around 6-10 bytes. The editor will aways say not responding right when you load up your save but give it time and it will work. If it doesnt, then make a new save