Thank you, those tools helped a lot. I think it's in a good state right now, just need to do some testing. If anyone wants to help out it would be much appreciated. You can download the exe here: https://github.com/woodske/TSLPatcher/releases/tag/testing or follow the readme to build locally.
The usage is like below:
(No install option): TSLPatcherCLI.exe <swkotorDirectory> <modDirectory>
TSLPatcherCLI.exe "C:\Program Files (x86)\Steam\steamapps\common\swkotor" "C:\KotorMods\K1_Community_Patch_v1.9.2"
(With install option): TSLPatcherCLI.exe <swkotorDirectory> <modDirectory> <installOption>
TSLPatcherCLI.exe "C:\Program Files (x86)\Steam\steamapps\common\swkotor" "C:\Mods\K1 Galaxy Map Fix Pack" 0