KotOR Save Editor:
Rating: | Gold |
Release(s) Tested: | N/A |
Application Version: | v3.3.3 |
WINE/Proton Version: | WINE 8.0.1 |
Test Scope: | opening, saving, editing (attributes, skills, items, feats, quests) |
Input Method: | Keyboard & Mouse |
Launch Options: |
|
Date of Report: | 16 June 2023 |
Summary
Almost identical to Windows.
Installing & Running
1. Set up a singular WINE prefix:
Most modding tools have similar WINE requirements. As such, I recommend a singular prefix for all tools. If you have already set up a singular prefix by following one of my other reports, you can skip to step #2.
You will first need to create a folder for your singular WINE prefix. This is not necessarily where the application will be installed. In my case, the prefix is located in the following directory, but you can create a folder wherever you want:
/mnt/games/__tools/__wine
After creating a folder for your singular prefix, run the following command and set your Windows Version to Windows XP (this will ensure maximum compatibility with most modding tools):
WINEPREFIX=/mnt/games/__tools/__wine winecfg
After setting the Windows version, close the configuration window and use the following two commands to install common dependencies for most modding tools:
WINEPREFIX=/mnt/games/__tools/__wine winetricks corefonts cmd dotnet40 win7 WINEPREFIX=/mnt/games/__tools/__wine winetricks --force dotnet20sp2 dotnet35sp1 dotnet472
You should now have a functional WINE prefix that can be reused for multiple tools.
2. Application setup:
To get the application to see your game directories, open the Registry Editor for your prefix:
WINEPREFIX=/mnt/games/__tools/__wine regedit
Add the following registry entries, changing the paths to match the location of your game installations for KotOR and KotOR II. Keep in mind that the Linux root directory /
is mapped as Z:
in WINE:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SCM\Kotor Tool] "Path"="Z:\\mnt\\games\\__tools\\KotorTool" "VersionMajor"=dword:00000001 "VersionMinor"=dword:00000000 "VersionRevision"=dword:000008a2 "VersionBuild"=dword:00004162 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BioWare\SW\KOTOR] "Flavour"="Retail" "path"="Z:\\mnt\\games\\Steam\\steamapps\\common\\swkotor" "LastInstalledVersion"=dword:00000001 "language"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 208580] "DisplayIcon"="Z:\\mnt\\games\\Steam\\steam\\games\\c491c003d93f0947b8e514ff1933daa7c4d8c171.ico" "DisplayName"="STAR WARS™ Knights of the Old Republic™ II: The Sith Lords™" "HelpLink"="http://support.steampowered.com/" "InstallLocation"="Z:\\mnt\\games\\Steam\\steamapps\\common\\Knights of the Old Republic II" "Publisher"="Obsidian Entertainment" "UninstallString"="\"Z:\\mnt\\games\\Steam\\steam.exe\" steam://uninstall/208580" "URLInfoAbout"="" "NoRepair"=dword:00000001 "NoModify"=dword:00000001
KotOR Save Editor does not need to be installed. It is sufficient to unzip the downloaded application and run the following command:
WINEPREFIX=/mnt/games/__tools/__wine wine /path/to/KotORSaveEditor/kse_333.exe
You can also create a .desktop
file with the following command, adjusting paths as needed:
/usr/bin/env sh -c "winepath -w -0 \"%F\" | WINEPREFIX='/mnt/games/__tools/__wine' xargs -0 wine 'Z:\\\\path\\\\to\\\\KotORSaveEditor\\\\kse_333.exe'"
The application should now launch and work normally.
Results & Issues
Icons for inventory items did not display at all. However, this was purely a cosmetic issue.
The application worked nearly identically to Windows. I was able to successfully change attributes, skills, and quest variables, and add/remove both feats and items without issue. All changes were reflected correctly in both games after saving.
Notes
On both Windows and Linux, KotOR Save Editor does not find KotOR II saves on launch, despite registry settings. The only workaround is to right-click on The Sith Lords
in the application's main window and choose "Change Path for The Sith Lords". After choosing your game installation directory, KotOR II saves will be seen by the application.
You may need to perform this workaround every time you launch KotOR Save Editor; I could not find any way to make the change persistent.