I am trying to work with the p_bastilla001.utc file on the Leviathian but the creature editor wont open and I keep getting this error, If you know how to invoke JIT debugging in windows let me know.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: '-1' is not a valid value for 'index'.
at System.Windows.Forms.CheckedListBox.SetItemCheckSt ate(Int32 index, CheckState value)
at System.Windows.Forms.CheckedListBox.SetItemChecked (Int32 index, Boolean value)
at kotor_tool.frmUTC_Editor.Setup()
at kotor_tool.frmUTC_Editor..ctor(clsUTC UTCClass, Int32 KotorVerIndex, Boolean IsDirectEdit, String EditingPath)
at kotor_tool.frmMain.HandleDataByNodeType(KotorTreeN ode node, Object sender)
at kotor_tool.frmMain.TreeView_DoubleClick(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnDoubleClick(EventAr gs e)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
kotor_tool
Assembly Version: 1.0.2131.27110
Win32 Version: 1.0.2131.27110
CodeBase: file:///C:/Program%20Files/Kotor%20Tool/kotor_tool.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
y5wotlur
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
fmodcl
Assembly Version: 1.0.2118.32981
Win32 Version: 1.0.2118.32981
CodeBase: file:///C:/Program%20Files/Kotor%20Tool/FMODCL.DLL
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.
Please post the correct topics in the correct forums... this belongs in the KotOR Tool forum as this is about KT... moved. ;)
Could you try to open the file in a GFF editor (K-GFF for instance)? I think KT's won't open some files if the developers placed a null value in one of the fields (-1 for instance). The GFF Editor (or K-GFF?) on the other hand will open the file regardless of the value in each of the fields.
Yes you are correct I was able to edit the utc file with K_GIFF. Thank you for the help jmac7142.
No problem :)
If you want to try and edit it with KT you can change the values of the file to valid unsigned intergers, which are positive numbers below 32000 (or something like that) with K-GFF and re-opening it in KT.