Jump to content


Photo

TSL Patcher, TLKEd, and Accessories

TSLPatcher Patcher TLKEd ChangeEdit Stoffe

  • Please log in to reply
3 replies to this topic

#1 Fair Strides

Fair Strides

    Aurora Engine Operator

  • Administrators
  • 2,214 posts
  • LocationOregon, USA

Posted 06 March 2017 - 11:41 PM

File Name: TSL Patcher, TLKEd, and Accessories

File Submitter: Fair Strides

File Submitted: 06 Mar 2017

File Category: Modding Tools


Inside this download, you will find several VERY useful tools. Almost all of these were made by stoffe originally and the only alteration I made was to make sure TSL Patcher did NOT check for the presence of the dialog.tlk file to verify the path you're installing the mod to. This was done to allow installing mods to the Workshop folders.

Of note in this package are three files:
1. ReadMe, really.pdf - A read-me file that really should be read if you want to understand how to do something with the TSL Patcher.
2. nwnnsscomp.exe - A modified script compiler that TSL Patcher uses to substitute tokens (such as .2da row pieces) in source scripts (.nss files) and then compile the scripts.
3. nwscript.nss - As far as I'm aware, the nwscript.nss file from KotOR 2, required by nwnnsscomp.exe to compile scripts.

Below are the original release thread descriptions for stoffe's work and I honestly don't think I could put it better than she already did years ago. :D

TLK Ed:

Spoiler



TSL Patcher (along with ChangeEdit):
Spoiler



A few quick "how to" examples:
Insert new branches into DLG files.
( http://web.archive.org/web/20150911133933/http://www.lucasforums.com/showpost.php?p=2135535&postcount=177 )

 

Install a New Player Appearance mod.
( http://web.archive.org/web/20150929073207/http://www.lucasforums.com/showpost.php?p=2168405&postcount=201 )

Troubleshooting:

  • Q: I get a RichEdit line insertion error when trying to install mods. What's wrong?


    A: It seems a few people have odd versions of the RichEdit DLL files installed in their system that doesn't play nice with the colored text box component TSLPatcher uses. To work around this you could try to replace the RichEd DLL files with versions that should work. Extract the two DLL files from this archive and put them in your Windows\Windows32 folder. Move existing files with those names to a safe location first so you can restore them if this causes other problems! Do not overwrite them!

    Alternatively, if you don't want to mess with your DLL files, you could force TSLPatcher to use a plain text box for status messages rather than the colored/formatted one. To do this, use Notepad to open the changes.ini file found inside the tslpatchdata folder that came with the mod you wish to install. Under the [Settings] section, change the value of the key PlaintextLog from 0 to 1.
  • Q: I'm not seeing any Install Mod button, and the text field in the TSLPatcher window seems to extend behind the window boundraries.


    A: This odd problem some people experience seems to be tied to what screen resolution and pixel density is being used in your monitor settings, but I have been unable to replicate it or figure out exactly what's going on. As a workaround you can "click" on the Install button by using it's quick keyboard command. Pressing the [ALT] [s] keys on your keyboard should start the installation process.
  • Q: When trying to install a mod it complains that it's not a valid installation location. What's wrong?


    A: Make sure you are selecting the folder the game is installed in, not the override folder, when the TSLPatcher asks you where to install the mod.
  • Q: When trying to install a mod it complains that access was denied to the dialog.tlk file.


    A: Make sure that your dialog.tlk file is not write protected. This file is found in the same folder as the swkotor.exe binary. To check if it's write protected and undo it, right-click on the file, pick Properties in the context menu and uncheck the write protected checkbox.
Original update history (ordered newest change first):

Spoiler


Click here to download this file


(By the way, if you ever want to ask about one of the quotes, feel free to send me a PM)

 

My personal, made-up quote: "To know is good, but to act is better."

"Words are just words, thoughts thoughts, but actions...actions are progress." - Fair Strides

"Intelligence and respect are all it takes to get along fine. Not a bad trade off, huh?" - EwigD from GameFaqs

"And regarding butchering the language, I have been to the internet. The language is well butchered regularly." - Malkior

 

"You can either live with the lies or die with the truth. Who would rather lie to live than die for telling the truth?" - Fair Strides


#2 jc2

jc2

    Kyramud

  • Members
  • PipPipPipPip
  • 310 posts
  • LocationAlderaan 19 BBY

Posted 08 March 2017 - 07:59 AM

I think I just might end up using this in the next day or so... thanks for posting this FS! (and thanks Stoffe ^^)


KOTOR FOR LIFE

"To ponder and find relevance, one must seek out a quote," because his own words lack the credibility to endeavor to explain his rather odd disposition.

 

Grey Jedi "Shanilia" > http://deadlystream..../1044-shanilia/

 

Thank you FS for past and current modding help! 


#3 Fair Strides

Fair Strides

    Aurora Engine Operator

  • Administrators
  • 2,214 posts
  • LocationOregon, USA

Posted 08 April 2017 - 04:12 PM

@Hashishin: What are you trying to write? You can enter it in the Fast Reply box at the bottom of the page without quoting the entire first post.


(By the way, if you ever want to ask about one of the quotes, feel free to send me a PM)

 

My personal, made-up quote: "To know is good, but to act is better."

"Words are just words, thoughts thoughts, but actions...actions are progress." - Fair Strides

"Intelligence and respect are all it takes to get along fine. Not a bad trade off, huh?" - EwigD from GameFaqs

"And regarding butchering the language, I have been to the internet. The language is well butchered regularly." - Malkior

 

"You can either live with the lies or die with the truth. Who would rather lie to live than die for telling the truth?" - Fair Strides


#4 Kexikus

Kexikus

    Jedi Master

  • Members
  • PipPipPipPipPip
  • 1,405 posts

Posted 19 May 2017 - 05:06 PM

I've run into an issue when using TSLPatcher to edit .dlg files that I hope you guys might help me out with.

The dialog I want to edit has this form:

 

Entry 1

  > Reply 1

     > Entry 2 (conditional script)

     > Entry 3 (conditional script)

 

I want to change it to this:

 

Entry 1

   > Reply 1

      > NEW Entry (NO conditional)

         > Entry 2 (conditional)

         > Entry 3 (conditional)

 

The problem here is that this requires a modification of "Reply 1"'s entry list which originally consisted of "Entry 2" and "Entry 3". For one I can't remove the second entry from the list, but I don't actually mind it staying there since my "NEW Entry" has no conditional anyway so any entry listed afterwards won't show up ingame. But the other problem is to actually remove those conditionals. Since they're stored in the entry list as well (which I didn't actually know until today), I'd have to change the "Active" field to be empty. And it seems that TSLPatcher can't do that. So my question is this: Is there are way in which TSLPatcher can do it but I just haven't found it yet? And if not, is there a better way around that than to simply add a script that always returns true?

 

Thanks for any help :)







Also tagged with one or more of these keywords: TSLPatcher, Patcher, TLKEd, ChangeEdit, Stoffe

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users