Jump to content

Home

KotOR Tool - Slight problem


Sirenfal

Recommended Posts

I'm sure this is extremely obvious, but after looking at KotOR Tool for the past five minutes I can't seem to find a way to edit an item's .uti that is a custom item in my override folder.

 

How can I do that?

 

Thanks.

 

Double click on it. Or if the file isn't yet associated with KotOR tool click "File" in KotOR Tool then "Open" then direct to the Override and the .uti and the click "Open"

 

Alternatively you could go straight to the .uti in the Override right click on it and click "Open With" you will then have to direct the file path finder to the KotOR Tool executable (in the KotOR Tool Folder).

Link to comment
Share on other sites

I actually tried that already, and I get:

 

"The file ' *any UTI file* ' has no embedded version info. Do you want to open in using KotOR I's data?"

 

Selecting Yes will crash the program with an error, and No does nothing.

 

The error is "Cast from string "ERROR" to type "Integer" is not valid.".

 

JIT stack trace below.

 

System.InvalidCastException: Cast from string "ERROR" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format.
  at Microsoft.VisualBasic.CompilerServices.DoubleType.Parse(String Value, NumberFormatInfo NumberFormat)
  at Microsoft.VisualBasic.CompilerServices.IntegerType.FromString(String Value)
  --- End of inner exception stack trace ---
  at Microsoft.VisualBasic.CompilerServices.IntegerType.FromString(String Value)
  at kotor_tool.frmUTI_Editor.ReadPropsAndLoadGrid()
  at kotor_tool.frmUTI_Editor.Setup()
  at kotor_tool.frmUTI_Editor..ctor(clsUTI UTIClass, Int32 KotorVerIndex, Boolean IsDirectEdit, String EditingPath)
  at kotor_tool.frmMain.OpenGFFFileInEditor(String filepath, Int32 formLocationOffset)
  at kotor_tool.frmMain.miOpenGFFFile_Click(Object sender, EventArgs e)
  at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
  at System.Windows.Forms.MenuItemData.Execute()
  at System.Windows.Forms.Command.Invoke()
  at System.Windows.Forms.Control.WmCommand(Message& m)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  at System.Windows.Forms.ContainerControl.WndProc(Message& m)
  at System.Windows.Forms.Form.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)

Link to comment
Share on other sites

Selecting Yes will crash the program with an error, and No does nothing.

 

The error is "Cast from string "ERROR" to type "Integer" is not valid.".

 

KotorTool will throw exceptions fairly often while working with its various editors. Most of the time you just have to press the "Continue" button in the exception/error dialog box and try again. After a few tries it (curiously enough) tends to give up being difficult and do what you want. :)

 

The times it does persist with the errors it's usually some other custom file or data that is missing that is associated with that you try to open (like missing lines in some 2DA file that it tries to look up or such).

Link to comment
Share on other sites

KotorTool will throw exceptions fairly often while working with its various editors. Most of the time you just have to press the "Continue" button in the exception/error dialog box and try again. After a few tries it (curiously enough) tends to give up being difficult and do what you want. :)

 

The times it does persist with the errors it's usually some other custom file or data that is missing that is associated with that you try to open (like missing lines in some 2DA file that it tries to look up or such).

 

It appears that file is damaged in some way, other files open fine. I am building a utility to fix it now.

 

Thanks for your help.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...