jacqylfrost

RESOURCE:KotOR II Switch Modding Framework

Recommended Posts

KotOR II Switch Modding Framework


I wondered, why wait a few months for Aspyr to release TSLRCM when you could hack it together in a few days for fun? To that end:

Switch KotOR II Modding romFS Dummy Folder 1.0.1

This is a set of files and folders designed to make modding the Switch version of KotOR II easier and more accessible to a novice user.

Read to the end before using.

You will need a hackable, or modchipped Switch to use this, and custom firmware must be installed, I use Atmosphere, but anything that supports romFS should be fine. If you use something other than Atmosphere you'll have to figure out where it goes, but it should be very similar.

This should work just fine with the digital or physical version (when it is released) without issue. I have only tested this on the most up-to-date build at this time, 1.0.1. I will update this when the next patch is released, and hopefully again when TSLRCM is officially released.

Extract the zip file, and install any mods you want to use, pointing TSLPatcher at the \Localized\English\ folder containing the dialog.tlk file. For mods that don't use TSLPatcher, copy files as directed, "romfs" is equivalent to the directory on PC containing the executable.

NOTE: You may need to move files that TSLPatcher is expecting to the folder to be able to patch them. You can access them by dumping your game with nxdumptool, using romfs. Make sure you include updates when doing so. What I included should be more than sufficient for TSLRCM, however.

NOTE: When you are done, move the override folder to the root of the romfs folder, i.e. the directory with the "swplayer.ini" file.

Feel free to comment with what you needed, and what mod it was for, and if there is popular demand, I will add the files to this pack. The easiest way I found, was just to try installing a mod, and then check the log for errors to see what files were missing.

NOTE: Long filenames cause issues with TSLPatcher, this is exacerbated by the length of the filepath for romFS modding. I recommend moving the "romfs" folder to the root of the drive and patching there, moving the folder back afterwards.

Make sure to check your error log, you may manually need to copy .lip files over to override afterwards.

Move textures (.tga, .txi and .tpc) to override/Textures or they won't apply. NOTE: Aspyr included upscaled textures with this version that are not in other releases of the game. As far as I can tell, they are all in the format the original textures were in, by and large, that means they are in .tpc format, which trumps .tga and .txi files of the same name. If you have issues with a mod's textures not applying, try converting them to .tpc with Xoreos-Tools. You can download my texture reversion mods for K1 and K2 on Switch if you want to see what files are in what format.

At this point, copy the atmosphere folder to the root of your SD card, and you should be done. Please feel free to mention any issues you run into, or workarounds you needed, and I'll update this post.

I tested a run of TSLRCM and Leilukin's Gay Handmaiden mod with great success. I have not tested the Male Exile/Disciple part of that mod, but it should work as well.

Mods that involve UI likely won't work. Everything is at your own risk, you may end up with a broken save, etc. Worst case scenario, you can uninstall all mods by deleting the `0100B2C016252000` folder from `/atmosphere/contents/`

Big thanks to JC for a ton of help troubleshooting, and big thanks to Zbyl2 for helping with TSLRCM-related issues.

7-22-2022 Update:

Just a change to the readme regarding potential texture issues.


 

  • Like 1
  • Light Side Points 1

Share this post


Link to post
Share on other sites

Hi! After hearing about the Lost Content mod getting cancelled for the Switch, I began trying to get it to work this way, but haven't been successfull.

My understanding is to install TSLRCM, then copy everything into the romFS folder of the framework, then making a Textures subfolder in override, and move all the textures there. 

Obviously I did something wrong, so 
I'm wondering what's the exact procedure you did yo get it to work?

Cheers, Cliff

 

Share this post


Link to post
Share on other sites

It can't be installed, just some small mods, he sais he's got the mod TSLRCM installed but I don't think so, people has been begging for that DLC and he can't show some pictures and the mod working, I've tried hundred times and it doesn't work, maybe he forgot to write an step, but if it was posible there would be lots of videos showing it in youtube and there is none.

Share this post


Link to post
Share on other sites
20 hours ago, EduAAA said:

It can't be installed, just some small mods, he sais he's got the mod TSLRCM installed but I don't think so, people has been begging for that DLC and he can't show some pictures and the mod working, I've tried hundred times and it doesn't work, maybe he forgot to write an step, but if it was posible there would be lots of videos showing it in youtube and there is none.

Hmm... Seems clear from the post that he got it working, and it doesn't seem that far off, since it is very easy to do on the Android version, so let's just hope that there is some steps that was left out of the post! I reeeeally want this to work!

So, @jacqylfrostwould it be possible for you to make either a video of the installation process, or a more detailed description of how you got TSLRCM to work?

Share this post


Link to post
Share on other sites

I’ve independently been able to get it working with their mod framework (specifically with TSLRCM), with some adjustments. Screenshots and the script / folder structure I created here: 

 

Share this post


Link to post
Share on other sites
On 6/27/2023 at 11:54 PM, dMATOovoxq said:

I’ve independently been able to get it working with their mod framework (specifically with TSLRCM), with some adjustments. Screenshots and the script / folder structure I created here: 

 

I've re-released my work in a separate mod framework with jacqylfrost's blessing, if anyone is interested in trying it out. Got the TSLRCM logo working on the main screen, along with a bevy of other fixes 😄

 

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.