at2 Posted October 26, 2006 Share Posted October 26, 2006 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(KotorTreeNode node, Object sender) at kotor_tool.frmMain.TreeView_DoubleClick(Object sender, EventArgs e) at System.Windows.Forms.Control.OnDoubleClick(EventArgs e) at System.Windows.Forms.TreeView.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& 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. Link to comment Share on other sites More sharing options...
at2 Posted November 13, 2006 Author Share Posted November 13, 2006 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. Link to comment Share on other sites More sharing options...
Kaspian Posted November 13, 2006 Share Posted November 13, 2006 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? Link to comment Share on other sites More sharing options...
at2 Posted November 13, 2006 Author Share Posted November 13, 2006 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. Link to comment Share on other sites More sharing options...
Kaspian Posted November 14, 2006 Share Posted November 14, 2006 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 <- your version 1.0.1701.42420 1.0.1636.25345 Link to comment Share on other sites More sharing options...
at2 Posted November 14, 2006 Author Share Posted November 14, 2006 thank you for providing these links, I couldn't find any other one besides filefront. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.