Darth_Sapiens 90 Posted January 8, 2013 File Name: KOTOR TOOL File Submitter: Darth_Sapiens File Submitted: 05 Jan 2013 File Category: Mods THIS PROGRAM IS MADE BY FRED TETRA I TAKE NO CREDIT FOR THIS PROGRAM, i also have some of the map files from the site if any one has more pm or email me, ill upload them here. here is the original readme for this program. Kotor Tool v1.0.2210.16738 (2006-1-19 12:38) About this program... I originally wrote this tool so I could experiment with 2DA files and scripts. Through feature suggestions, it has grown quite a bit into what many tell me is a pretty handy utility. Thanks to all of those who have taken the time to make those suggestions and put up with the occasional bug that creeps in at 2:00 in the morning! ----------------------------------------------------------------------------------------------- Requirements... I should (and will!) mention in the readme file that you need to have the Microsoft .NET Framework 1.1 installed. You can get it at: http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e74006/dotnetfx.exe ----------------------------------------------------------------------------------------------- Contact info... fredtetra@hotmail.com ----------------------------------------------------------------------------------------------- Quick start instructions... Unzip the kotor_tool.exe, ImageTools.dll files and the Maps folder to a directory. The first time you run the program, it will attempt to detect where you have installed KotOR and configure some of the directory paths it needs to work. It will then bring up the path management screen so you can verify them. To work with BIF files: Expand the BIFs item on the tree view. You can: - Select any *.bif file from the tree view, then click Extact to extract every file in it to a directory - Select any file in a bif, then click Extact to extract it to a directory - Select any file in a bif, then click Hex View to see it in Hex/ANSI/Unicode - Double-click on any 2da file to bring up the editor for it. You can then edit the values and write the file to a directory. (Most likely the override folder in yout KotOR folder) Clicking on the column header in the editor grid will sort it based on the values in that column. Repeated clicking will change the sort direction. - You can also open the 2da v2.b file editor from the File menu for editing. NOTE: You do not have to open the chitin.key file first. - 2DA editing features: * Add line to end, delete any line, right click to insert new line. Be careful with those last two! * You can renumber the row labels from the right-click menu * Undo all changes * Reset sort to "as opened" mode (press F5 or use menu * Import and export your 2da files in XML format - Double click on any nss/vis/txi file to bring up the editor for it. You can then edit the text and write the file to a directory. - To extract a .mdl (Model) file, double click on it; the model will be extracted and converted, along with any required TGA-format textures. NOTE: You must have CChargin's Extract0-5 program installed in the same directory as Kotor Tool. To work with RIM files: Expand the RIMs item on the tree view. - Select any *.rim file from the tree view, then click Extact to extract every file in it to a directory - Select any file in a rim, then click Extact to extract it to a directory - Double-click on almost any file in a rim to launch the GFFEditor, assuming you have installed it in the kotor_tool directory - Control-Double-click on almost any file in a rim to launch text editor with a syntax-colored version of the GFF file's contents - Shift-Double-click on almost any file in a rim to launch text editor with a plain-text version of the GFF file's contents. To work with ERF files: Expand the ERFs item on the tree view. - Select any file in a rim, then click Extact to extract it to a directory - Double-click on almost any file in a rim to launch the editor for it. - TPC files now can be viewed with the built-in image viewer. You can also save the files in TGA format from the viewer. - If you like using the keyboard to navigate the treeview, you can use the spacebar to open the Image Viewer with a TPC file selected. - If the Image Viewer is open, moving up and down the list of TPC files with the arrow keys will show each image in turn. Note: some files cannot yet be viewed. - To view tpc files in an external app, hold down the Shift key while double-clicking. You need tpc2tga and an image viewer. (see below) - Some tpc files have a format that is not yet understood. Attempting to view one of these files may either show a strange image or crash the program. Notes: * You can specify whether or not you want to automatically convert extracted .tpc files to TGA format from the Tools | Options... menu. This is only used with the external tpc2tga program. * If you also want to be able to view the .tpc files using an external program you must install a TGA file viewer and specify the path to it in the Path Manager. You can download a free TGA viewer at http://www.creabit.com/viewer/ * You can specify whether or not you want the BIF tree built at program startup or not from the Tools | Options... menu. If you leave the checkbox unchecked, the BIF portion of the tree view will only be built when you attempt to expand it. Want to unlock all of the movies and music in KotOR II:TSL? In your swkotor2.ini, set the following: [Game Options] UnlockedPlanetSongs=1023 [Movies Shown] Movie10=0 Movie 9=0 Movie 8=0 Movie 7=31 Movie 6=255 Movie 5=255 Movie 4=255 Movie 3=255 Movie 2=255 Movie 1=255 Movie 0=255 Click here to download this file Quote Share this post Link to post Share on other sites
kyrie 17 Posted January 19, 2013 I tried uploading to filefront and it was rejected for some reason Quote Share this post Link to post Share on other sites
Sith Holocron 2,479 Posted January 19, 2013 I believe they prefer modders uploading their own files there. That . . . and Filefront hasn't worked properly in ages. Quote Share this post Link to post Share on other sites
Zypher 0 Posted July 18, 2014 I get a exception error from Microsoft .NET Framework on startup of Kotortool. Any idea how to fix it? Quote Share this post Link to post Share on other sites
Vriff 21 Posted December 10, 2014 I get a exception error from Microsoft .NET Framework on startup of Kotortool. Any idea how to fix it? Quote Share this post Link to post Share on other sites
LiliArch 115 Posted December 15, 2014 Yeah, add error handling to Kotor Tool. Seriously, that's the only way to fix exception errors. But how to get past it/avoid it... Click "continue" to get past it (if it gives you choises "continue" or "quit", and does not crash immediately). Check if it loads anything from either game (if there's stuff in the tree view, it does load something). If it does not, you need to set the registry entries. I'm not sure about why that is happening, but this might be the cause. Quote Share this post Link to post Share on other sites
Fair Strides 509 Posted December 15, 2014 Also, just make sure you have the 1.1 redistributable installed. Quote Share this post Link to post Share on other sites
AnninaStefanie 0 Posted March 24, 2015 I am form Switzerland and tried to install Kotor Tool. I have the Kotor Collection under the folders: C:\Spiele\LucasArts\Star Wars® Knights of the Old Republic® COLLECTION C:\Spiele\LucasArts\Star Wars® Knights of the Old Republic® II The Sith Lords™ (The folder "Spiele" is the german word for "Games". It is a custom made folder to bypass the problems with the folder "Programme (x86)".) In my registry under LucasArts are the entries: Star Wars® Knights of the Old Republic® COLLECTION String Value: Path (with the path to the folder) and Star Wars® Knights of the Old Republic® II The Sith Lords™ String Value: Path (with the path to the folder) Everytime I tried to install Kotor Tool, it showed an error message. Even when I tied to manually select the path to the folders above, it didn't work. Is there someone who knows what the problem is? Or do I have to give up trying? Quote Share this post Link to post Share on other sites
Darth_Sapiens 90 Posted March 24, 2015 could you give us the message? in german is ok, we can translate Quote Share this post Link to post Share on other sites
AnninaStefanie 0 Posted March 24, 2015 The messages are in english. The first one is: No installatin of Kotor I or II was detected Most features will not work. and the second one: An unhandled exeption 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 be shut down immediately. Value cannot be null. Parameter name: path 1. Details: See the end of this message for details on invokingjust-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.ArgumentNullException: Value cannot be null.Parameter name: path1 at System.IO.Path.Combine(String path1, String path2) at kotor_tool.frmMain.ExtractNWScripts() 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(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& 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(Message& 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.573 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:/Kotor%20Tool/kotor_tool.exe----------------------------------------System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 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.573 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.573 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.3052.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.573 CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll----------------------------------------************** JIT Debugging **************To enable just in time (JIT) debugging, the config file for thisapplication or machine (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.For example:<configuration> <system.windows.forms jitDebugging="true" /></configuration>When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the machinerather than being handled by this dialog. Quote Share this post Link to post Share on other sites
Fair Strides 509 Posted March 24, 2015 It could be the symbols in the path and folder names. The ® and ™ are Unicode characters and I don't rightly know if KotOR Tool processes those. Also, what operating system do you have (Windows, Mac, Linux, what version of Windows) and is the system 32-bit or 64-bit? Quote Share this post Link to post Share on other sites
AnninaStefanie 0 Posted March 25, 2015 I have Windows 7 Home Premium 64-bit. I changed the path and folder names to KotOR 1 and KotOR 2. I uninstalled and reinstalled KOTOR TOOL. It still could not detect them. But when I went into one of the folders, right-clicked a random .uti file and selected open with KOTOR TOOL it opened. Quote Share this post Link to post Share on other sites
LiliArch 115 Posted March 26, 2015 From this topic you can see how the registry entries should look like so that Kotor Tool can recognize them. It is written for Steam installations, but it doesn't really matter, as you need to set the paths to direct to the actual location of your installation anyway. They work with Kotor Collection, too, as long as the keys have correct names. And don't edit the existing registry entries... it is possible that the installation doesn't recognize itself anymore if you do. Quote Share this post Link to post Share on other sites
anmol77 0 Posted May 14, 2016 Check if it loads anything from either game (if there's stuff in the tree view, it does load something). If it does not, you need to set the registry entries..... Quote Share this post Link to post Share on other sites
Salk 374 Posted July 2, 2020 Does somebody know what the "Interruptable" flag for doors is for? Quote Share this post Link to post Share on other sites
Blue 68 Posted July 6, 2020 On 7/2/2020 at 1:09 PM, Salk said: Does somebody know what the "Interruptable" flag for doors is for? I'm not 100% sure how KotOR's Odyssey Engine handles this flag. Here is what a light bit of research turned up for how NWN's Aurora Engine uses this flag. https://web.archive.org/web/20050131214126/http://nwn.bioware.com/developers/Bioware_Aurora_DoorPlaceableGFF.pdf Interruptable: Conversation can be interrupted https://neverwintervault.org/comment/20484#comment-20484 & https://neverwintervault.org/comment/20512#comment-20512 https://neverwintervault.org/sites/neverwintervault.org/files/project/690/files/toolset_manual_v1.06.pdf No Interrupt: Ticking this box will make it impossible for a player to interrupt the conversation this creature is having with another player. If your module is intended to be playable in multiplayer mode, it might be advisable to tick this box on most important NPCs because there is nothing more annoying than seeing a fellow player interrupting your conversation. This mostly appears to be a multiplayer flag left over from the Aurora Engine. That doesn't mean Odyssey Engine isn't reusing that flag in another way for it's own purposes. Hope this is helpful. Quote Share this post Link to post Share on other sites
Salk 374 Posted July 8, 2020 Thanks for the interesting bit of info, Blue! Cheers! Quote Share this post Link to post Share on other sites
DarthParametric 3,785 Posted July 8, 2020 If you pull a module's GIT from a save file and check the doors in the level, I don't think the Interruptable flag is stored at all, regardless of whether it is set to true or false. 1 Quote Share this post Link to post Share on other sites
VeganCannibalism 2 Posted July 19, 2020 Hey all, I'm finally getting off my lazy bum to start making some mods of my own, but my Kotor Tool just isn't finding the path for Kotor 2/TSL. I have the paths configured correctly--I'm using the Steam versions of both games, so my path for Kotor 1 is C:\Program Files (x86)\Steam\steamapps\common\swkotor and for TSL it's C:\Program Files (x86)\Steam\steamapps\common\Knights of the Old Republic II. I dunno if it matters, but I'm on Windows 10. I understand it has something to do with the registry entries, but I'm a bit of an idiot and don't really know my way around regedit. Quote Share this post Link to post Share on other sites
Salk 374 Posted July 19, 2020 @VeganCannibalism, check this page for how to fix the registry issue. 2 Quote Share this post Link to post Share on other sites
Vertex88 0 Posted May 18, 2021 This really should be quoted here!! Quote 1. Open regedit 2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\ on 32 Bit Windows, or HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node on 64 Bit Windows. 3. Add Key: "BioWare" (no quotes) 4. Add Key to BioWare Key: "SW" (no quotes) 5. Add Key to SW Key: "KOTOR" (no quotes) 5. Add String Value to KOTOR Key: "Path" (no quotes) with data set to "C:\Program Files\Steam\steamapps\common\swkotor\" (no quotes) on 32-bit Windows, "C:\Program Files (x86)\Steam\steamapps\common\swkotor\" on 64-bit windows. Only this solution helped me. I tried many other solutions and got desperate. I have steam version of KOTOR without TSL. Quote Share this post Link to post Share on other sites