PapaZinos

MOD:Harbinger's Arrival Performance Enhancement for TSLRCM

Recommended Posts

Harbinger's Arrival Performance Enhancement for TSLRCM


 
 

Full Description:
The mysterious arrival of the Republic hammerhead warship is one of the most ambitious and engaging cutscenes in TSL. Unfortunately, ambitious cutscenes can be a harbinger for more than just a man with severe psoriasis -- players may experience issues ranging from cutscenes stuttering and looping, loading screens before and after loading a new module mid-cutscene, breaking animations, to game windows minimizing and skipping the cutscene entirely, permanent black screen, and even game crashes. Thus this mod's mission was twofold: 1) Provide a range of general improvements and fixes that everyone will benefit from regardless of cutscene performance, as well as 2) Create a more stable version of the cutscene that generally performs well on any device. I am happy to report that results have been exciting:


1) General improvements
     - Atton now always faces the correct direction when speaking to you
     - Kreia actually shows up meditating in the morgue when you hear her speak, rather than standing right behind Atton
     - Kreia no longer visibly stands behind Atton in certain earlier shots of him speaking
     - The Peragus mining facility asteroid is no longer right outside the Harbinger window before it actually enters the asteroid field


2) Performance improvements
     All in-game portions of the cutscene are now rendered in the same module -- your game will no longer be trying to load an entirely new module twice over, all while trying to play pre-rendered cutscenes. This means that your game's mid-cutscene workload has been drastically reduced, and so issues known to occur specifically with the Harbinger Arrival cutscene are much less frequent. I have also scripted in "guardrails" for many minor glitches that can occur mid-cutscene. 
     Note that this is not a 100% guarantee players who were having issues before never will again; TSL is nearly old enough to be legally considered an adult in the US, and its pre-rendered scenes are just not optimized for many modern machines. However, this mod was tested on a non-gaming laptop now a few years old, with the game running from an external hard disk drive, on a modern operating system, in full-screen mode, with several different visual mods installed. This meant that attempting to run the original Harbinger cutscene 10 times translated to the cutscene failing to play without major issue 10 times. After switching to the new version, any types of issues, major or minor, were encountered less than 1 out of 10 times. Hopefully, even a potato from your local grocery store can now successfully play the Harbinger Arrival cutscene, so long as it can generally play most TSL cutscenes successfully.

 

 

For reference when it comes to performance, this footage was recorded on an old laptop, with the game running on a modern operating system from a hard disk drive, with multiple other programs running in the background, and the following mods installed that can be seen in the video:

- Ultimate Peragus Models Repair 1.2 (responsible for restoring proper lighting to the Harbinger, showing the administration level proper behind Atton, and other model fixes)

- Harbinger Bridge Repairs (responsible for fixing several geometry errors, two visible during cutscene)

KotOR 2 Remastered (AI Upscaled) Cutscenes 1.0.0 by Naelavok (responsible for the upscaled pre-rendered scenes)

- TSL Backdrop Improvements by Kexikus (responsible for the much-improved skybox seen from both the catwalk and the Harbinger bridge)

Improved Peragus Asteroid Fields 1.2 by Vasilii Zaytsev (responsible for the static 3d asteroids surrounding Peragus II)

- Peragus Large Monitor Adjustment by Sith Holocron (responsible for that excellent HD computer monitor before Atton)

- Kotor 2 Unlimited Worlds Texture Mod (responsible for the nicer-looking textures throughout the level, from the catwalk to the asteroids)

- Ultimate Character Overhaul REDUX (responsible for the HD character textures)

 

TLDR:
This mod 1) stabilizes the Harbinger cutscene so that your game is much less likely to experience issues 2) places Kreia in her usual meditation spot in the morgue for her dialogue, and 3) fixes a number of minor issues with the cutscene.

 

Installation:
Download and run the installer, or else follow manual installation instructions. For Steam installations of TSLRCM, direct the installer to "Steam\steamapps\workshop\content\208580\485537937", and not the main game folder with the executable. 7z files can be extracted with Archive Utility on macOS, or with programs like PeaZip for windows and Linux. The installer is a .exe file, which can be run natively on Windows, or with programs like Wine for macOS and Linux.

For an existing game, use a save file before going to the asteroid exterior. Save files made any later will not be affected.

 

Uninstallation:
Take 104per.mod out of the provided backup folder and place it in your modules folder at the location you installed to, and select replace when prompted. Take a_con_atton_end.ncs out of the provided backup folder and place it in your override folder at the location you installed to, and select replace when prompted. You can safely delete 104per.lyt and 104per.vis from your override folder. The files 104pera.mdl/.mdx/.wok come from Ultimate Peragus Models Repair, you can keep or delete these at your discretion.

 

Additional Tips For Improving Game Performance:
If you are having trouble running pre-rendered scenes in general, you can try the following:
-- Go into your graphics settings, and under advanced options, disable frame buffering. If that does not work, try lowering or disabling all options. If the pre-rendered cutscene plays afterwards, you can up your graphics settings afterwards for normal gameplay.
-- Try running the game in windowed mode, rather than fullscreen. Close your game and open "swkotor2.ini", found in the same folder as your main game executable (for a Steam game, that's "Steam\steamapps\common\Knights of the Old Republic II"). Under both "Display Options" and "Graphics Options", change "FullScreen=1" to "FullScreen=0". Restart your game.
-- Uninstall/disable any non-essential mods that may relate to the cutscene or the area it takes place in.

Peragus in particular also suffers from memory overflow if you play the game too long in one sitting. This can cause dialogue to start skipping, or for issues with game cutscenes. This can usually be avoided by:
-- Quitting and restarting the game once in a while: doing it once before heading out to the asteroid surface, and again right before attempting to leave the Harbinger engine deck (the third and final level with the spooky lights) is usually enough to avoid problems.
-- Avoiding skipping dialogue yourself, which can sometimes lead to memory overflow. If you do skip a lot of dialogue, quitting and restarting the game will fix the issue.

 

Compatibility:
Users should expect full compatibility with any other mods, so long as they make no modifications to the scripting or dialogue of the Harbinger's Arrival cutscene. For instance, if you are installing N-DReW's Mini Mod Collection for TSL, be sure not to add the included 104atton.dlg or 104kreia.dlg to your override, or remove it if you already have, as that would create a major incompatibility. This mod is for players using TSLRCM version 1.8.3 or higher.

You may view this mod's changes.ini inside the "tslpatchdata" folder for a complete list of every altered module element.

Feel free to check out "KotOR 2 Remastered (AI Upscaled) Cutscenes" by Naelavok for higher-resolution cutscenes, if you have not already. 

There are some other great mods out there that improve the visual quality of the cutscene. "Peragus Large Monitor Adjustment" by Sith Holocron, "KotOR 2 Unlimited World Texture Mod" by facemeltingsolo, "TSL Backdrop Improvements by Kexikus", and "Ultimate Peragus Models Repair" by yours truly are all compatible with this mod. "A Darker Peragus REDUX" by Malkior and "... A Darker Peragus" by Canderis are also compatible.

 

Acknowledgments:
Big thanks to Cortisol for the Holocron Toolset and Fred Tetra for KotOR Tool for making file extraction, module editing, and .mod file building easy, Fair Strides for the DLG Editor, JdNoa and Dashus for simple script decompiling with DeNCS, Blue for the KotOR Scripting Tool, Symmetric, Purifier, Ndix UR, and seedhartha for making importing to Blender simple using KotORBlender, and to Stoffe and Fair Strides for easy .mod extraction with ERFEdit, and for making inter-mod compatibility infinitely more feasible with TSLPatcher.

Have a bug to report? Please click on "Get Support" and give a detailed description of the issue you are experiencing.

This modification is not supported by Obsidian Entertainment, Lucasarts, Disney or any licensers/sponsors thereof. Use of this modification is at your own risk and neither the aforementioned companies nor the author may be held responsible for any damages caused to your computer via this modification's usage.
 


  • Submitter
  • Submitted
    03/17/2022
  • Category
  • TSLRCM Compatible
    Yes

 

  • Like 1

Share this post


Link to post
Share on other sites

This mod makes the game crash upon attempting to load the cutscene. This was on windows 11. Uninstalled the mod, the cutscene was going fine until it started zooming out on Sion meditating on the bridge and then crashed. Reverted back to windows 10 and reinstalled, crashed upon loading this time too. Uninstalled, the cutscene didn't even finish the Harbinger flying in before it crashed.

Share this post


Link to post
Share on other sites

I'm trying to make my own mod of the Harbinger cut scene compatible with this. Is there source available for new .ncs files it installs? Specifically back104.ncs - is that compiled from Vanilla_KOTOR_Script_Source/TSL/TSLRCM/Modules/154HAR_Harbinger_Command_Deck_(cutscene)/back104.nss? Are there any alterations?

Share this post


Link to post
Share on other sites
2 hours ago, JoeNotCharles said:

I'm trying to make my own mod of the Harbinger cut scene compatible with this. Is there source available for new .ncs files it installs? Specifically back104.ncs - is that compiled from Vanilla_KOTOR_Script_Source/TSL/TSLRCM/Modules/154HAR_Harbinger_Command_Deck_(cutscene)/back104.nss? Are there any alterations?

My bad for not including a source folder with the install, I'll include that next time I update the mod. All included scripts had edits by me, I'll attach a source folder for you below.

 

On 12/24/2022 at 4:28 AM, poiuytrewq said:

This mod makes the game crash upon attempting to load the cutscene. This was on windows 11. Uninstalled the mod, the cutscene was going fine until it started zooming out on Sion meditating on the bridge and then crashed. Reverted back to windows 10 and reinstalled, crashed upon loading this time too. Uninstalled, the cutscene didn't even finish the Harbinger flying in before it crashed.

For anyone else reading this: if you are having any issue with the mod please feel free to message me about it, it's probably something as simple as an incompatible mod installed. I'm happy to help out.

source.7z

  • Like 1

Share this post


Link to post
Share on other sites
19 hours ago, PapaZinos said:

My bad for not including a source folder with the install, I'll include that next time I update the mod. All included scripts had edits by me, I'll attach a source folder for you below.

Thanks! ...wow, these are a lot more timing-dependent than I expected. No wonder my own stuff wasn't working.

Share this post


Link to post
Share on other sites
1 hour ago, JoeNotCharles said:

Thanks! ...wow, these are a lot more timing-dependent than I expected. No wonder my own stuff wasn't working.

No problem, the cutscene's complexity does demand a lot of precision. Best of luck getting your mod working, let me know if I can help you out some other way.

Share this post


Link to post
Share on other sites
On 3/25/2024 at 11:25 PM, PapaZinos said:

No problem, the cutscene's complexity does demand a lot of precision. Best of luck getting your mod working, let me know if I can help you out some other way.

Thanks! My first mod (of 2 planned for this cutscene) is done: https://deadlystream.com/files/file/2448-harbinger-arrival-restore-movie/

Well, it's still pending approval, but hopefully it'll show up soon.

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.