lfnetwork.com mark read register faq members calendar

Thread: KOTOR Explorer: Linux/Qt4 GUI extractor
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-27-2007, 04:29 PM   #1
Sikon
Rookie
 
Join Date: Jul 2005
Posts: 43
KOTOR Explorer: Linux/Qt4 GUI extractor + test

Open source (GPL). Supports an unlimited number of KOTOR/TSL installations, BIF, RIM and ERF formats.

Screenshot: http://lucidfox.org/dump/kotorexp.png

SF.net project page: http://sourceforge.net/project/showf...roup_id=157123

Includes a console extraction utility (not dependent on Qt, but requires qmake to build).

I intend future releases to be cross-platform and build on Windows as well.

Last edited by Sikon; 03-01-2007 at 02:18 PM.
Sikon is offline   you may: quote & reply,
Old 02-28-2007, 07:04 AM   #2
Sikon
Rookie
 
Join Date: Jul 2005
Posts: 43
Version 0.2 is out.

- fixed crash for non-lowercase BIF files
- fixed crash after pressing Refresh
- ktscommon: path separators are now platform-dependent (/ for Unix, \ for Windows)
- added file type descriptions
- support for custom file associations and opening files

This version should theoretically build on all platforms Qt4 supports, but I can only test it in Ubuntu 6.10 for now (and only build packages for this distribution). It is also feature complete, as I planned it; any new tools (2DA editor, TLK editor, etc.) will be released as separate applications within a single qmake project.

Ubuntu 6.10 repository: deb http://lucidfox.org/gaia-deb edgy all
GUI: sudo apt-get install kotorexp
CLI: sudo apt-get install ktsextract

Last edited by Sikon; 02-28-2007 at 07:54 AM.
Sikon is offline   you may: quote & reply,
Old 03-01-2007, 02:12 PM   #3
Sikon
Rookie
 
Join Date: Jul 2005
Posts: 43
Forked nwnnsscomp from OpenKnights and added support for Fred Tetra's command line options.

http://sourceforge.net/project/showf...roup_id=157123 (source also available in SVN in the /compiler directory)

There appears to be a bug with exactly one function in nwscript.nss, so you should replace this

Code:
void SetAvailableNPCId(INT nNPC, OBJECT_ID oidNPC);
with this:

Code:
void SetAvailableNPCId(int nNPC, object oidNPC);
This version of nwnnsscomp can be used in Linux instead of Fred Tetra's version, which is only available for Windows. Here is how to run DeNCS natively in Linux:

- create a ~/.nwnnsscomp file with the following content:

Code:
2=/path/to/kotor/or/tsl
- move the "nwnnsscomp" executable you will get after compiling the compiler to /usr/local/bin or /usr/bin
- link to it under the name "nwnnsscomp.exe" in your open directory (the directory which DeNCS searches for nwscript.nss) - this is because DeNCS checks if this file exists, but doesn't touch it otherwise
- copy the modified nwscript.nss to that directory and to the game's override directory
- run the jar file, as usual: java -jar DeNCS.jar

So, as you see, instead of searching the Windows registry for the games, this version of nwnnsscomp checks a text configuration file. It consists of lines of the following format:

Code:
GSTR=/path/to/kotor/or/tsl
where GSTR is the string passed to the -g parameter. Fred Tetra's version understands only -g 1 for KOTOR and -g 2 for TSL. This version supports any string after -g.

Alternatively, you can pass the path in the environment variable NSSPATH_GSTR (the Fred Tetra compatibility modes would use NSSPATH_1 and NSSPATH_2 respectively). Doing so will override the paths in the iconfiguration file. So, instead of creating the ~/.nwnnsscomp file, you could instead launch DeNCS like this:

Code:
NSSPATH_2=/path/to/kotor/or/tsl java -jar DeNCS.jar
Sikon is offline   you may: quote & reply,
Old 03-03-2007, 01:51 PM   #4
Sikon
Rookie
 
Join Date: Jul 2005
Posts: 43
Added a Windows build for kotorexp. There are two zip files on SourceForge: one with the Qt runtime prepackaged, one without. If you don't have Qt installed, select the first one.

Although on Windows, it probably makes sense to use KOTOR Tool instead.
Sikon 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 Explorer: Linux/Qt4 GUI extractor

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 06:19 PM.

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