PDA

View Full Version : uti/utc error


at2
10-25-2006, 11:33 PM
hi, when I try to open a uti or utc in kotor tool it comes up with this error. and i think the only part that matters is the "OutOfRangeException: Non-negative number required.
Parameter name: byteCount" please help me fix this.


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

************** Exception Text **************
System.ArgumentOutOfRangeException: Non-negative number required.
Parameter name: byteCount
at System.Text.ASCIIEncoding.GetString(Byte[] bytes, Int32 byteIndex, Int32 byteCount)
at kotor_tool.cls2DA.CreateDataTable()
at kotor_tool.cls2DA..ctor(Byte[] raw2daData)
at kotor_tool.frmUTI_Editor.ReadCls2DA(String TwoDAName)
at kotor_tool.frmUTI_Editor.Load2DAs()
at kotor_tool.frmUTI_Editor.ReadPropsAndLoadGrid()
at kotor_tool.frmUTI_Editor.Setup()
at kotor_tool.frmUTI_Editor..ctor(clsUTI UTIClass)
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.2032
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
kotor_tool
Assembly Version: 1.0.1863.39252
Win32 Version: 1.0.1863.39252
CodeBase: file:///C:/Program%20Files/Fred%20Tetra/Kotor%20Tool/kotor_tool.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
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.2032
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.2032
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.6001.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.2032
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
65qwqafl
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.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
----------------------------------------

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

at2
11-12-2006, 10:48 PM
wow 66 views so far and it's been almost a month. theres not even one tiny piece of advice, or an opinion of what could be wrong. mabye I used invisible font or changed the language. come on at least someone tell me to figure it out myself or somthing.

Kaspian
11-13-2006, 02:29 AM
Do you have latest Kotor Tool installed? The latest version is v1.0.2210.16738 (2006-1-19 12:38). Try reinstall the tool. What is your version of .NET Framework? Does the error affect all uti and utc files or are there any exceptions?

at2
11-13-2006, 05:52 PM
I'm sorry I forgot to mention that I use the xbox version and so I am required to use the last working version for it which is supposidly v1.0.1863.39252. (Which by the way took awhile to find and I'm still not sure if it is a complete download.) there is also no exception to this, and I am finding that even more types of files dont work and have this same error.

Kaspian
11-14-2006, 03:27 AM
I don't have any experience with xbox. I hope Fred Tetra will help you.

Meantime you can try older versions of KT:
1.0.1863.39252 (http://files.filefront.com/SEARCH/;4094982;;/fileinfo.html) <- your version
1.0.1701.42420 (http://www.strategyinformer.com/pc/starwarsknightsoftheoldrepublic/tool/2729.html)
1.0.1636.25345 (http://members.lycos.co.uk/jabusan//drizzt/phpbb2/portal.php?show=programy)

at2
11-14-2006, 05:54 PM
thank you for providing these links, I couldn't find any other one besides filefront.