lfnetwork.com mark read register faq members calendar

Thread: Kotor Tool - v1.0.2210.16738 (2006-1-19 12:38)
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 03-03-2005, 12:54 PM   #841
Mono_Giganto
Giant Monkey of Doom™
 
Mono_Giganto's Avatar
 
Join Date: Dec 2003
Location: Florida
Posts: 2,478
Current Game: Baldur's Gate EE
Veteran Modder Helpful! 
Well the first part of your code says:

Could not find file "C:\dialog.tlk".
File name: "C:\dialog.tlk"

I had the same error and it worked for me, but we'll wait for Fred I guess.




Mono_Giganto is offline   you may: quote & reply,
Old 03-03-2005, 01:01 PM   #842
Lorden Darkblade
Computer Crazy
 
Lorden Darkblade's Avatar
 
Join Date: May 2004
Location: Brazil
Posts: 1,474
Well man I did what you said but the Root thing is empty.
Shouldnt there be stuff there?



Lorden Darkblade is offline   you may: quote & reply,
Old 03-03-2005, 01:41 PM   #843
Darth Aleera
Rookie
 
Darth Aleera's Avatar
 
Join Date: Mar 2005
Location: Korriban Academy
Posts: 70
I'm trying Kotor Tool, but the program appears to not work correctly. I've tried to install it four different times, but always appears the following error: "Your Kotor II chitin.key files appears to be corrupt, reinstall Kotor II etc. ...". Kotor I isn't installed, and I am using an italian version of Kotor II.

Is the error caused because it's necessary to keep kotor I installed on the hard drive, or the program does not work correctly with foreign version of the game? Do anyone knows if is possible (in this case) to use the chitin.key of a US version of kotor II (and where is possible to get it) while using Kotor Tool to make it running, or simply making it working instead of getting that boring crash message about the corrupted file?
Darth Aleera is offline   you may: quote & reply,
Old 03-03-2005, 01:48 PM   #844
Darth333
Administraterror
 
Darth333's Avatar
 
Status: Administrator
Join Date: Feb 2004
Location: In my secret dungeon...
Posts: 8,295
@ Uchiha Itachi & Mono_Giganto :

Note that the .dlg files in Kotor 2 have a lot of new fields that were not present in Kotor 1. Therefore, if you edit a .dlg file with Kotor tool dlg editor and save it, you will loose all the information contained in those fields, more particularly the parameter fields, and you will end up with events that will not trigger properly and it could result in borken quests...

...so until a new .dlg editor is released to the public, you<ll have to edit existing .dlg files with a gff editor...Enjoy!
Darth333 is offline   you may: quote & reply,
Old 03-03-2005, 01:55 PM   #845
Lorden Darkblade
Computer Crazy
 
Lorden Darkblade's Avatar
 
Join Date: May 2004
Location: Brazil
Posts: 1,474
Would the same happen if I use tk102's dlgeditor?
I really need to create a dialog, well I don't even know that if its a dialog I have to create.

spoiler:
I wanna add some new options to that computer in the healing quarters on the Harbinger. Is that the right name? The ship we get in that Kreia goes to fight Darth Sion. And one of the options will trigger a script. If possible



Lorden Darkblade is offline   you may: quote & reply,
Old 03-03-2005, 02:06 PM   #846
Tesla
Senior Member
 
Tesla's Avatar
 
Join Date: Mar 2003
Location: England
Posts: 1,103
I'm having a promlem with the Merchant editor, im trying to open the Inventory up but it keeps coming up with an Unhandled exeception and says it can't find Coloum 0 ?

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

************** Exception Text **************
System.IndexOutOfRangeException: Cannot find column 0.
at System.Data.DataColumnCollection.get_Item(Int32 index)
at System.Data.DataRow.set_Item(Int32 columnIndex, Object value)
at kotor_tool.frmInventoryEditor.InsertToGridOrIncrem ent(String Name, String ResRef, Int32 Qty, Boolean Dropable)
at kotor_tool.frmInventoryEditor.AddPackItem(String ResRef, Boolean Dropable)
at kotor_tool.frmUTM_Editor.btnInventory_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)
Tesla is offline   you may: quote & reply,
Old 03-04-2005, 05:05 AM   #847
Darth Aleera
Rookie
 
Darth Aleera's Avatar
 
Join Date: Mar 2005
Location: Korriban Academy
Posts: 70
A way to make Kotor Tool running correctly with Kotor II italian version

To avoid Kotor Tool crashing with Italian edition of Kotor II, is necessary to install both Kotor I and II. It appears however the boring message that says "Chitin.key is corrupted etc..." but is possible to close the error window and Kotor Tool continues working. Of course, I do not know if it's possible to use the program if you have only Kotor II installed and not Kotor I.
Darth Aleera is offline   you may: quote & reply,
Old 03-04-2005, 08:03 AM   #848
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
Quote:
Originally posted by Tesla
I'm having a promlem with the Merchant editor, im trying to open the Inventory up but it keeps coming up with an Unhandled exeception and says it can't find Coloum 0 ?
This bug has been fixed for the next release of Kotor Tool.


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra is offline   you may: quote & reply,
Old 03-04-2005, 08:47 AM   #849
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
Quote:
Originally posted by Darth Aleera
I'm trying Kotor Tool, but the program appears to not work correctly. I've tried to install it four different times, but always appears the following error: "Your Kotor II chitin.key files appears to be corrupt, reinstall Kotor II etc. ...". Kotor I isn't installed, and I am using an italian version of Kotor II.

Is the error caused because it's necessary to keep kotor I installed on the hard drive, or the program does not work correctly with foreign version of the game? Do anyone knows if is possible (in this case) to use the chitin.key of a US version of kotor II (and where is possible to get it) while using Kotor Tool to make it running, or simply making it working instead of getting that boring crash message about the corrupted file?
The error message is a bit misleading, as it was more relevant to KotOR I, when all versions of the game had the same chitin.key file.

One of Kotor Tool's users was kind enough to send me his chitin.key file to examine. In the German version, two files referenced in the key file, gui.bif and scripts.bif, have different lengths than the version I developed against, which Kotor Tool interprets as a corrupt key file. Other countries versions may have other differences.

I have updated the code to not exit the tool when this is the case.

While I cannot request posting of the required files due to legal issues, setting up Kotor Tool to recognize non-US versions would either:

(a) Require access to the chitin.key file and (after initial testing) some if the game's BIF files,

or

(b) Require some volunteers from different countries to participate in some special testing.

Any volunteers?


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra is offline   you may: quote & reply,
Old 03-04-2005, 10:40 AM   #850
Mono_Giganto
Giant Monkey of Doom™
 
Mono_Giganto's Avatar
 
Join Date: Dec 2003
Location: Florida
Posts: 2,478
Current Game: Baldur's Gate EE
Veteran Modder Helpful! 
Quote:
Originally posted by Darth333
@ Uchiha Itachi & Mono_Giganto :

Note that the .dlg files in Kotor 2 have a lot of new fields that were not present in Kotor 1. Therefore, if you edit a .dlg file with Kotor tool dlg editor and save it, you will loose all the information contained in those fields, more particularly the parameter fields, and you will end up with events that will not trigger properly and it could result in borken quests...

...so until a new .dlg editor is released to the public, you<ll have to edit existing .dlg files with a gff editor...Enjoy!
But I didn't edit any dialogs.

I got that message the first time I opened KT after 3 months and it said that, I just used common sense to "solve" it.




Mono_Giganto is offline   you may: quote & reply,
Old 03-04-2005, 10:47 AM   #851
Lorden Darkblade
Computer Crazy
 
Lorden Darkblade's Avatar
 
Join Date: May 2004
Location: Brazil
Posts: 1,474
Also before I forget again:

Quote:
...so until a new .dlg editor is released to the public, you<ll have to edit existing .dlg files with a gff editor...Enjoy!
You're mean Darth333...

EDIT: Fred did you saw my post on the KT deleting the TemplateResRef from the .uti files?
Just cheking...



Lorden Darkblade is offline   you may: quote & reply,
Old 03-04-2005, 11:34 AM   #852
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
Quote:
Originally posted by Uchiha Itachi
I've been having an issue with the latest Kotor Tool.
Always when I change and save an item it is ERASING the TemplateResRef node.
When this happens it can be opened but cant be saved again, I had to use the GFF editor to recriate the node and write what was written there.
Anyone else is ahving this issue?
I tried opening items from templates.bif for both games and did not observe the problem you are having; the TemplateResRef node is still present after saving.


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum

Last edited by Fred Tetra; 03-04-2005 at 11:56 AM.
Fred Tetra is offline   you may: quote & reply,
Old 03-04-2005, 11:57 AM   #853
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
A new version of Kotor Tool will be posted today.

If you're manually downloading, check that the version number is the one below.

v1.0.1889.22000 (20050-3-4 1:30)

Features/updates:
  • Saving a GFF-based file now records the KotOR game version. Version info is taken from
    the treeview game branch (KotOR I or II) or from the information provided by the user.
  • Open file functions now use embedded KotOR game version info if present.
  • Fixed window location and size persistence code for all UT* editors, text editor and Project Manager.
  • UT* editors now show current file name when saving.
  • Fixed bug in Most Recently Used (MRU) file handler
  • Fixed bug in Project Properties path handling (missing "\")
  • Projects can now optionally record the game version they are targetted for.
  • 2DA editor can now show Dialog.Tlk strings for a column of string-ref values via a menu on the gridview's header for that column. Strings are updated as string-ref values change.
  • Fixed a bug in the 2DA editor that occurred when a 2DA file was opened from the treeview and then again from an external file of the same name. (A long-standing bug!)
  • New GFF text-view format for better readability
  • Creature editor can now adjust UpgradeLevel value for KotOR:TSL
  • Fixed Inventory bug in Merchant editor


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra is offline   you may: quote & reply,
Old 03-04-2005, 12:56 PM   #854
Achilles
Dapper Chimp
 
Achilles's Avatar
 
Join Date: May 2004
Posts: 8,204
Helpful! Veteran Modder Forum Veteran 
Thanks for the update. Congratulations on your 500th post
Achilles is offline   you may: quote & reply,
Old 03-04-2005, 03:30 PM   #855
Shimaon
Junior Member
 
Shimaon's Avatar
 
Join Date: Jan 2004
Posts: 261
Very nice Fred, thanks.

By the way, a little request... Is there any chance you could make it possible to copy and paste 2DA rows from one 2da to another one in a different window?

The way I'm thinking it could work coding-wise is basically just have the selection "Copy Row" actually copy something to clipboard in a format that KT recognizes as a 2da row, like:
353|PMB1|And so on...
Just have the | seperate the columns and if the document you're pasting into doesn't have enough rows, than it just pastes everything it can into one row, and if there are too many it just fills all of the columns it can.

I'm sure you'd have a better way of doing it though ^^;
But if you could squeeze this in, preferrably AFTER taking a break to play KotOR II, I'd really appreciate it.

Thanks again,
Shimaon


Shimaon is offline   you may: quote & reply,
Old 03-04-2005, 03:41 PM   #856
Lorden Darkblade
Computer Crazy
 
Lorden Darkblade's Avatar
 
Join Date: May 2004
Location: Brazil
Posts: 1,474
Ok I downloaded this new version and I'm still having the same issue.
It is erasing something, I can't tell what it is anymore cuz once I save the file with Kotor Tool I can't open anymore now, not even with the GFF editor...
Here is the error I get:

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

************** Exception Text **************
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.__Error.EndOfFile()
   at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   at System.IO.BinaryReader.ReadInt32()
   at kotor_tool.clsGFF.GFFReadStruct(GFFStructEntry& structEntry)
   at kotor_tool.clsGFF.Parse(Byte[] bytes)
   at kotor_tool.clsGFF..ctor(FileStream fs, Int32 KotorVerIndex)
   at kotor_tool.frmMain.GetGFFFileKotorVersionIndex(String filepath)
   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.MenuItem.ShortcutClick()
   at System.Windows.Forms.Menu.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   at System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+IMsoComponent.FPreTranslateMessage(MSG& msg)


Help please...

Edit tk102: Trimmed and shrunk font of code




Last edited by tk102; 03-04-2005 at 11:41 PM.
Lorden Darkblade is offline   you may: quote & reply,
Old 03-04-2005, 06:49 PM   #857
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
Quote:
Originally posted by Achilles
Thanks for the update. Congratulations on your 500th post
Yeah, thanks! Now how many before my name glows?


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra is offline   you may: quote & reply,
Old 03-04-2005, 06:54 PM   #858
Lorden Darkblade
Computer Crazy
 
Lorden Darkblade's Avatar
 
Join Date: May 2004
Location: Brazil
Posts: 1,474
You are one of the few thatt got bug.
It's not possible for everybody to change title at 500 posts.
And for glow is 1250 if I'm not wrong.
Hey I don't wanna be an ass but you ahve any clues on what is causing the error I'm having?



Lorden Darkblade is offline   you may: quote & reply,
Old 03-04-2005, 06:57 PM   #859
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
Quote:
Originally posted by Uchiha Itachi
Ok I downloaded this new version and I'm still having the same issue.
It is erasing something, I can't tell what it is anymore cuz once I save the file with Kotor Tool I can't open anymore now, not even with the GFF editor...
Here is the error I get:

Code:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.__Error.EndOfFile()
   at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   at System.IO.BinaryReader.ReadInt32()
   at kotor_tool.clsGFF.GFFReadStruct(GFFStructEntry& structEntry)
   at kotor_tool.clsGFF.Parse(Byte[] bytes)
   at kotor_tool.clsGFF..ctor(FileStream fs, Int32 KotorVerIndex)
   at kotor_tool.frmMain.GetGFFFileKotorVersionIndex(String filepath)
   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.MenuItem.ShortcutClick()
   at System.Windows.Forms.Menu.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   at System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+IMsoComponent.FPreTranslateMessage(MSG& msg)
Help please...
Ok, two requests:

1. Please email me two copies of the file that is giving you trouble, one before you open it and one after you opened and saved it.

2. As has been said many times before, you only need to post the part of the error details shown above; the loaded assemblies is not useful info.


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra is offline   you may: quote & reply,
Old 03-04-2005, 07:02 PM   #860
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
Quote:
Originally posted by Shimaon
Very nice Fred, thanks.

By the way, a little request... Is there any chance you could make it possible to copy and paste 2DA rows from one 2da to another one in a different window?

.
.
.

Thanks again,
Shimaon
It's on the to-do list, along with an Appearance wizard (bet you thought I forgot!), a Dialog.Tlk viewer/editor and some other goodies.


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra is offline   you may: quote & reply,
Old 03-04-2005, 07:02 PM   #861
Lorden Darkblade
Computer Crazy
 
Lorden Darkblade's Avatar
 
Join Date: May 2004
Location: Brazil
Posts: 1,474
All the files I open and save with KT are getting bugged.
You want just 1 of them with before and after?



Lorden Darkblade is offline   you may: quote & reply,
Old 03-04-2005, 07:15 PM   #862
Doc Valentine
Ha-Ha Kotor Modding
 
Doc Valentine's Avatar
 
Join Date: Sep 2003
Location: In the eye of the beholder.
Posts: 1,133
Veteran Modder Helpful! 
Fred, I have been having some troubles with the latest download, It may be me but I would just like you to check some out. First off, I found i could no longer use the Module Editor WIP, when i showed it the directory where the maps were, it just gave me the error message telling me to quit or continue, so i just kind of ignored that. But now it wont let me copy and past rows on the 2da editor it lets me copy fine but when i hit paste, it gives me the same error message. I's there something I have failed to do or will it simply be fixed in the next patch?


I don't need you no more in this world. I'll meet you in the next one, and don't be late.
Doc Valentine is offline   you may: quote & reply,
Old 03-04-2005, 07:58 PM   #863
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
Quote:
Originally posted by Uchiha Itachi
All the files I open and save with KT are getting bugged.
You want just 1 of them with before and after?
Well, that would be better than sending them all!

Yes, just one.


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra is offline   you may: quote & reply,
Old 03-04-2005, 08:00 PM   #864
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
Quote:
Originally posted by Gsccc
Fred, I have been having some troubles with the latest download, It may be me but I would just like you to check some out. First off, I found i could no longer use the Module Editor WIP, when i showed it the directory where the maps were, it just gave me the error message telling me to quit or continue, so i just kind of ignored that. But now it wont let me copy and past rows on the 2da editor it lets me copy fine but when i hit paste, it gives me the same error message. I's there something I have failed to do or will it simply be fixed in the next patch?
I'll take a look into for you. I didn't run into any problems when I tested the Module editor, but I didn't test the copy/paste rows in the 2DA editor....


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra is offline   you may: quote & reply,
Old 03-04-2005, 08:25 PM   #865
Shimaon
Junior Member
 
Shimaon's Avatar
 
Join Date: Jan 2004
Posts: 261
Quote:
Originally posted by Fred Tetra
It's on the to-do list, along with an Appearance wizard (bet you thought I forgot!), a Dialog.Tlk viewer/editor and some other goodies.
I did ^^
I thought about it the other day, but I figured you had enough burden on your shoulders that I could just do it manually, heh.

Sounds good, thanks all of your help Fred!


Shimaon is offline   you may: quote & reply,
Old 03-04-2005, 11:49 PM   #866
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,766
Current Game: Dragon Age: Origins
Forum Veteran Helpful! Notable contributor 
Quote:
Originally posted by Fred Tetra
  • Saving a GFF-based file now records the KotOR game version. Version info is taken from
    the treeview game branch (KotOR I or II) or from the information provided by the user.
Got the new version!

I know it's late and the sleepiness is clouding my sight, but could you point me at how the extractions are being marked? I'm looking for a new field off the main struct but I see nothing.


tk102 is offline   you may: quote & reply,
Old 03-05-2005, 02:32 AM   #867
ChAiNz.2da
Leave Everything to Me!
 
ChAiNz.2da's Avatar
 
Join Date: Oct 2004
Location: Tennessee (USA)
Posts: 6,848
Quote:
Originally posted by Fred Tetra
but I didn't test the copy/paste rows in the 2DA editor....
Fred, if you get this function to work, you'll be an even larger Hero for me to worship

Next thing you know, we'll be trying to dip you in gold Do you prefer 10kt, 14kt or 18kt heheh....


"Eagles May Soar, But Weasels Don't Get Sucked Into Jet Engines"


| Mods (FF) (DS) | Folding | SWK.com | FB: (LF) (Me) | Steam | The Herd |
ChAiNz.2da is offline   you may: quote & reply,
Old 03-05-2005, 02:42 AM   #868
Leviathan
Senior Member
 
Leviathan's Avatar
 
Join Date: Jun 2004
Location: Onboard the Sun Crusher
Posts: 1,008
I've known that programs using .NET Framework will not work on Windows XP 64-Bit Edition... And KotOR Tool uses this runtime. So, do you know if this modding tool could be "converted" in C# or C++ ?...
Thanks !...
Leviathan is offline   you may: quote & reply,
Old 03-05-2005, 07:01 PM   #869
Lorden Darkblade
Computer Crazy
 
Lorden Darkblade's Avatar
 
Join Date: May 2004
Location: Brazil
Posts: 1,474
Quote:
Originally posted by Fred Tetra
Well, that would be better than sending them all!

Yes, just one.
Sent.
I just hope you find out whats wrong



Lorden Darkblade is offline   you may: quote & reply,
Old 03-05-2005, 11:35 PM   #870
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
Quote:
Originally posted by Uchiha Itachi
Sent.
I just hope you find out whats wrong
I think I figured out what's wrong with your files.

The field that holds the KTInfoDate, which is a CExoString, indicates a length of 36 bytes and has the following contents:

domingo, 6 de mar??o de 2005 18:24:09

which is 37 bytes long! This causes one byte of a critical data structure in the file to be overwritten, which makes it unreadable.

What I think it should be holding is:

domingo, 6 de março de 2005 18:24:09

which is 36 bytes long, like the CExoString length field says it should be. (I am not sure that is the right word, março, as my Portuguese is pretty poor.)

This is the same sort of problem I ran into with the dialog editor.

You see, the C++ that KotOR is written in uses single bytes for each character, even ones like "ç", drawing from a sort or extended ASCII character set.

Kotor Tool, being .NET Framework based, uses the more up-to-date double-byte representation for characters outside of the base ASCII set. This causes grief when the programmer "asks" .NET "how long is this string, so I know what to write to this file" and it says "36 bytes", then when you write the string, .NET expands the special characters out to two bytes each!

I will have to look into a work around for the international users.
(Other than setting your OS's language to US English!)

Sorry for the grief!


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra is offline   you may: quote & reply,
Old 03-05-2005, 11:49 PM   #871
Lorden Darkblade
Computer Crazy
 
Lorden Darkblade's Avatar
 
Join Date: May 2004
Location: Brazil
Posts: 1,474
Ok, now it is official.
I hate NOT being american.....
Is there something I could do?
Perhaps changing the month?
No wait... the days count too right?
****... days here are big too like:
Monday = Segunda-feira
Tuesday = Terça-feira
Wednesday = Quarta-feira
and so on and so forth...
But why this is happening now? I never had issues with this....

[EDIT] Ok I just made a small test...
Changed month to: May = Maio instead of Março.
Tho I have bigger months here like Setembro, Outubro.
And I was using it before on Fevereiro = February and it worked...
Why only now this happened?
You think there is a way around this fixed by programing?
So, for now, all the time when I use it its better to change my month to a month without the "ç" ?



Lorden Darkblade is offline   you may: quote & reply,
Old 03-06-2005, 12:02 AM   #872
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
As long as no part of the date, (day or month name, for example) has any special characters, you're OK.


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra is offline   you may: quote & reply,
Old 03-06-2005, 12:04 AM   #873
Lorden Darkblade
Computer Crazy
 
Lorden Darkblade's Avatar
 
Join Date: May 2004
Location: Brazil
Posts: 1,474
Ok
Just out of curiosity, you think you'll ever find a way around this?
Also, thanks a lot



Lorden Darkblade is offline   you may: quote & reply,
Old 03-06-2005, 03:55 AM   #874
Doc Valentine
Ha-Ha Kotor Modding
 
Doc Valentine's Avatar
 
Join Date: Sep 2003
Location: In the eye of the beholder.
Posts: 1,133
Veteran Modder Helpful! 
Ok Fred, just to make sure, I tested it on another computer as well as my now reformated one, and it still doesnt work, I am unable to copy and paste rows, and when i try to use the Module editor it says access to blah blah blah/Fred Tetra/Kotor Tool/Maps is denyed, Details, Continue, Quit. Is anyone else having this problem, this is with Kotor 2 btw.


I don't need you no more in this world. I'll meet you in the next one, and don't be late.
Doc Valentine is offline   you may: quote & reply,
Old 03-06-2005, 08:10 AM   #875
Daebryn
Rookie
 
Daebryn's Avatar
 
Join Date: Oct 2004
Location: Pacific Northwest
Posts: 29
I'm also getting the error when I try to copy/paste rows in .2da files as well.


Everyone has the right to act stupid. Some people just abuse the privilage.

"Water tastes like water, nothing is tasteless. Except for reality TV. "
Daebryn is offline   you may: quote & reply,
Old 03-06-2005, 04:57 PM   #876
Ellderon
Junior Member
 
Ellderon's Avatar
 
Join Date: Jan 2004
Location: Temple of Light
Posts: 316
Of, FRED, one feature I was dying for ever since KOTOR 1 one came out... the abiltity to add columns to 2da files!!!

PWETTY PWEASE!!!


- Vision of Escaflowne Worshipper!
- J.R.R. Tolkien Worshipper!
- pasionate modder and modeler!
- gattling fanataic

Games modded so far > 30
Ellderon is offline   you may: quote & reply,
Old 03-06-2005, 05:53 PM   #877
Darkkender
Knight of Holowan
 
Darkkender's Avatar
 
Join Date: Aug 2004
Location: In the mountains of Oregon
Posts: 2,953
Current Game: Star Wars The Old Republic
Veteran Modder 
Quote:
Originally posted by Ellderon
Of, FRED, one feature I was dying for ever since KOTOR 1 one came out... the abiltity to add columns to 2da files!!!

PWETTY PWEASE!!!
Even if Fred opened this feature up to us like is in other 2da editors. We would not be able to implement the new columns into the game due to the fact that these are hard-coded game engine elements that make the calls to the 2da file. Because of this even when a 2da file can have a new column added the new column will never be able to be read.


Working so, we will learn history as a tree knows it; we will climb into shapes printed in the seed; we will become time made visible, years made fragrant; we will make of concentric memory a stem of praise; we will inhabit daylight at a trees own speed; we will be travelers who remain, patriots to this ground.
OMG I only rank 62.13018% geek or a Extreme Geek as it is referred to on the geektest at Geektest
[TSL]Holowan Plugin
Darkkender is offline   you may: quote & reply,
Old 03-06-2005, 11:59 PM   #878
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
Quote:
Originally posted by Gsccc
Ok Fred, just to make sure, I tested it on another computer as well as my now reformated one, and it still doesnt work, I am unable to copy and paste rows, and when i try to use the Module editor it says access to blah blah blah/Fred Tetra/Kotor Tool/Maps is denyed, Details, Continue, Quit. Is anyone else having this problem, this is with Kotor 2 btw.
These bugs do indeed exist; it is not your fault.

I'm working on them!

Sorry!


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra is offline   you may: quote & reply,
Old 03-07-2005, 12:00 AM   #879
Doc Valentine
Ha-Ha Kotor Modding
 
Doc Valentine's Avatar
 
Join Date: Sep 2003
Location: In the eye of the beholder.
Posts: 1,133
Veteran Modder Helpful! 
Oh please, no need to appologize Fred. It's quite allright, I just copied and pasted it colum by colum, didnt take too long. Dont fret about it.


I don't need you no more in this world. I'll meet you in the next one, and don't be late.
Doc Valentine is offline   you may: quote & reply,
Old 03-07-2005, 12:02 AM   #880
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
Quote:
Originally posted by Leviathan
I've known that programs using .NET Framework will not work on Windows XP 64-Bit Edition... And KotOR Tool uses this runtime. So, do you know if this modding tool could be "converted" in C# or C++ ?...
Thanks !...

It could be converted, if I didn't have to work, lived with my parents, and there were 36 hours in a day

But I do have to work, my parents are gone, and there's still 24 hours in a day, last I checked.


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
—Stephen Toub

Visit the Kotor Tool Forum
Fred Tetra 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 > Kotor Tool - v1.0.2210.16738 (2006-1-19 12:38)

Tags
kotor modding tool, kotor tool

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 05:50 PM.

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