lfnetwork.com mark read register faq members calendar

Thread: Difficulties with opening script files from KT.
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 02-11-2006, 01:24 AM   #1
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 
Difficulties with opening script files from KT.

Hey Fred I've just installed the newest version of KT. The problem I'm running into is on double clicking a source script it is trying to locate nwnnsscomp in my overide directory. It then errors out on me. It used to be that KT would open ".nss" as a text file in your built in text viewer. It used to also do the same with byte code of the ".ncs" files which it also does not do now.

Are these changes a result of your built in script editor that you were building in? Does nwnnsscomp now belong in overide?

I think that covers the questions for now.


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 02-11-2006, 10:56 AM   #2
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 
So when you double-click on an NSS in the "Script, Source" tree branch, this occurs?


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 02-12-2006, 01:28 PM   #3
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 Fred Tetra
So when you double-click on an NSS in the "Script, Source" tree branch, this occurs?
Thats correct, I went ahead and extracted the nwscript.nss file for K1 into K1's overide & K2's nwscript.nss to K2's overide. And everything worked fine for loading the script files both compiled and source script into the textviewer.

On a related topic, I tried assigning Tk's Dlgeditor and loneferrets kscripteditor as external alternate utilities and KT continues to use the internal conversation editor and textviewer. Also following setting the external utilities it corrupts the settings.xml for KT. The settings.xml causes KT to have one of those numerous .NET crash bugs that you have seen people post the code for. By deleting settings.xml and having it re-initialized everything will work fine. However both be the external conversation editor and script editor features by themselves and together produce this result.


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 02-13-2006, 10:26 PM   #4
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 Darkkender

On a related topic, I tried assigning Tk's Dlgeditor and loneferrets kscripteditor as external alternate utilities and KT continues to use the internal conversation editor and textviewer. Also following setting the external utilities it corrupts the settings.xml for KT. The settings.xml causes KT to have one of those numerous .NET crash bugs that you have seen people post the code for. By deleting settings.xml and having it re-initialized everything will work fine. However both be the external conversation editor and script editor features by themselves and together produce this result.
I tested the most recent release of Kotor Tool to see if I could duplicate the External Text Editor for the Project Manager setting problem. Here's what I did:

* Tools | Options... menu (Options dialog comes up)
* Selected the Project Manager tab
* Clicked the Text/NSS Editor radio button
* Clicked the "..." (browse for app_ button
* In the "Select Text Editor you wish to use" dialog, selected "C:\windows\notepad.exe"
* Clicked "Open"
* Clicked "OK" on the Options dialog

With the settings saved, I launched the Project Manager and opened an existing project that had .nss files in it. When I double clicked on a .nss file, it opened in Notepad.

If you can back up your settings.xml, then "create" one that causes Kotor Tool to crash by selecting an external text editor for the Project Manager, please send it to me via email.

Finally, remember that the external editor is just for the Project manager; other Kotor Tool functions that need the built-in Text editor are not affected. (That's why the option appears on the Project Manager tab, after all, heh heh; same goes for the external Dialog editor setting as well.)


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 02-14-2006, 01:10 AM   #5
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 
I'll give it a whirl. I've only encountered the crash after shutting down KT and restarting it later. I hadn't tried the external editors in the project manager come to think of it.


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 02-14-2006, 09:20 AM   #6
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 Darkkender
I'll give it a whirl. I've only encountered the crash after shutting down KT and restarting it later. I hadn't tried the external editors in the project manager come to think of it.


Quote:
Originally Posted by Darkkender
On a related topic, I tried assigning Tk's Dlgeditor and loneferrets kscripteditor as external alternate utilities and KT continues to use the internal conversation editor and textviewer. ...
But isn't that what you were referring to here?


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 02-14-2006, 11:43 AM   #7
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 
I had one of those smack my head against a Brick wall moments when you said the following.

Quote:
Finally, remember that the external editor is just for the Project manager; other Kotor Tool functions that need the built-in Text editor are not affected. (That's why the option appears on the Project Manager tab, after all, heh heh; same goes for the external Dialog editor setting as well.)
mostly because I hadn't paid that close of attention to the name of the tab. I was just clicking through the tabs and finding that feature of yours without putting more effort into where they were hiding. After starting Project Manager that feature worked all fine and dandy in it's original design. However I am still getting the corrupted settings.xml. Once the archive is done uploading I will PM you a link with the fouled up settings.xml and a screenshot of the error report to help you in debugging.


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,
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 > Difficulties with opening script files from KT.

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:01 PM.

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