lfnetwork.com mark read register faq members calendar

Thread: Having trouble with opening .Uti files
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 10-19-2009, 10:01 AM   #1
SGTDJONES
Lurker
 
SGTDJONES's Avatar
 
Join Date: Oct 2009
Posts: 5
Having trouble with opening .Uti files

Ok im new here and ive recently downloaded kotor tool, now i mainly got it so i could edit certain properties on robes, one of them was Redhawkes Revan robes, i am trying to edit the rh_revan01.uti file but whenever i try and open it it gives me this message:

An unhandled exception has occurred in your application. If you click continue, the application will ignore this error and attempt to continue.
if you click quit, the application will shut down immediately.

Cast from string "ERROR" to type 'integer' is not valid.

and this is the details:

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

************** Exception Text **************
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.OpenFileFromCmdLine()
at kotor_tool.frmMain.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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.2443
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
kotor_tool
Assembly Version: 1.0.2210.16738
Win32 Version: 1.0.2210.16738
CodeBase: file:///C:/Program%20Files/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.2443
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
----------------------------------------
fhd6swaf
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2443
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.2032
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.

is there anything that can be done? any tips or suggestions?
SGTDJONES is offline   you may: quote & reply,
Old 10-19-2009, 08:45 PM   #2
Qui-Gon Glenn
Necessary Roughneck
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Thessia
Posts: 1,464
Current Game: ME3MP, Arkham Origins
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
Have you tried ignoring it? KTool burps and farts all over the place, but generally gets the job done despite the OS' complaining about it.
Qui-Gon Glenn is offline   you may: quote & reply,
Old 10-19-2009, 09:01 PM   #3
SGTDJONES
Lurker
 
SGTDJONES's Avatar
 
Join Date: Oct 2009
Posts: 5
what do you mean ignore it? you mean just click continue? no that does help, it just opens the kotor tool without opening the editor so i can change the properties for the uti file


You are Darth Revan, lord of the sith...and i...i am nothing...
SGTDJONES is offline   you may: quote & reply,
Old 10-20-2009, 01:51 AM   #4
Qui-Gon Glenn
Necessary Roughneck
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Thessia
Posts: 1,464
Current Game: ME3MP, Arkham Origins
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
Well, I have not played with KTool in a minute, but KGFF can do this for you as well. Try the newer tool... perhaps not as handy as KTool, but in my experience more reliable overall.

Don't get me wrong though.... KotOR Modding is not possible without KTool.
Qui-Gon Glenn is offline   you may: quote & reply,
Old 10-20-2009, 07:46 AM   #5
SGTDJONES
Lurker
 
SGTDJONES's Avatar
 
Join Date: Oct 2009
Posts: 5
I am aware of this other editor and it does work but I don't know to use it rightly, it's very confusing and I'm not sure what to alter or delete to remove what I want from the .uti
its like one big code and i need to know which line to remove so i may delete the restriction to a certain alignment so i can wear it freely without being on the dark or light side of the force


You are Darth Revan, lord of the sith...and i...i am nothing...

Last edited by SGTDJONES; 10-20-2009 at 09:21 AM.
SGTDJONES is offline   you may: quote & reply,
Old 10-21-2009, 02:00 AM   #6
RedHawke
Shadow Lord Of The Sith™
 
RedHawke's Avatar
 
Status: Moderator
Join Date: Mar 2004
Location: Stormreach CA.
Posts: 9,184
Current Game: DDO, Stormreach
Hello,

You will need to edit the items uti files for this. They are in the properties section. I believe you would need to delete the nodes/structures in the files propertieslist that have the PropertyName(Word) of 43 in them as that is the alignment restricting ones. I believe there are 2 nodes per robe uti file, one allowing neutral and one for light and dark side.

Of course this would all be very easy in KT, but it is buggy with certain files and all/most of mine it doesn't like because I edit my uti files 'old school' with a gff editor as it is faster for me.

I hope this helps.


"Beware the form-fitting black armor-clad Drow hottie with twin Mineral II Greensteel Khopeshes!"
"Liella d'Orien says, '"You're the fool, Devil. -- Witness the power of this fully ARMED and OPERATIONAL Titan!"'"
----------------------------------------------------------------------
RedHawke is offline   you may: quote & reply,
Old 10-21-2009, 09:19 AM   #7
SGTDJONES
Lurker
 
SGTDJONES's Avatar
 
Join Date: Oct 2009
Posts: 5
Ok ive done what you have suggested and it works for one the darkside Revan robes, the other one, the one with the mask, doesnt seem to do it, i changed the propertyname thing to 0 instead of 43 but it doesnt work, even though it does for the other one


You are Darth Revan, lord of the sith...and i...i am nothing...
SGTDJONES is offline   you may: quote & reply,
Old 10-23-2009, 01:42 AM   #8
RedHawke
Shadow Lord Of The Sith™
 
RedHawke's Avatar
 
Status: Moderator
Join Date: Mar 2004
Location: Stormreach CA.
Posts: 9,184
Current Game: DDO, Stormreach
You spawned a new one (made a new one at the bench) to test your changes right?

If you have an old one in your inventory just changing the uti file won't do anything with the one you have (as that one is stored in your save game). The changes you make will only apply to new ones the game generates.


"Beware the form-fitting black armor-clad Drow hottie with twin Mineral II Greensteel Khopeshes!"
"Liella d'Orien says, '"You're the fool, Devil. -- Witness the power of this fully ARMED and OPERATIONAL Titan!"'"
----------------------------------------------------------------------
RedHawke is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > T3-M4's Astromech Droid Center > KotOR Tool > Having trouble with opening .Uti files

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:51 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.