A comprehensive Claude Code skill for managing Knights of the Old Republic (KOTOR) mods on macOS via Steam.
Author: Pnutmaster (TWCenter, Crusader Kings II, Rome II: Total War, Fallout: New Vegas modding communities)
- Automatic Installation Detection - Finds KOTOR 1 & 2 installations on macOS
- Steam Configuration Management - Interactive checker and desktop shortcut creation
- Terminal Launch Command - Install
kotorcommand to launch game from anywhere - Mod Compatibility Checking - Analyzes conflicts between mods before installation
- Native macOS Support - Handles hidden Library folders, .app bundles, and permissions
- TSLPatcher Integration - Auto-installs and uses KOTORModSync for complex mods
- .2da File Analysis - Detects data table conflicts and merging requirements
- HTML Reports - Generates visual compatibility and installation reports
- Installation Order Management - Recommends optimal mod installation sequence
- Custom Mod Builds - Support for curated mod collections (Reddit builds)
This skill comes pre-packaged. Simply unzip and place in your Claude Code skills directory:
unzip kotor-mod-manager.zip
mv kotor-mod-manager ~/.claude/skills/Check Steam Configuration (REQUIRED FIRST!):
bash ~/.claude/skills/kotor-mod-manager/scripts/check_steam_config.shInstall 'kotor' Terminal Command (Recommended):
bash ~/.claude/skills/kotor-mod-manager/scripts/install_kotor_command.shThis creates a simple kotor command to launch the game from anywhere in your terminal.
Detect KOTOR Installation:
bash ~/.claude/skills/kotor-mod-manager/scripts/detect_kotor_install.shCheck Mod Compatibility:
python3 ~/.claude/skills/kotor-mod-manager/scripts/check_mod_conflicts.py \
~/Downloads/mod1.zip \
~/Downloads/mod2.zipParse .2da Files:
python3 ~/.claude/skills/kotor-mod-manager/scripts/parse_2da.py \
baseitems.2da \
baseitems_mod.2daSetup KOTORModSync:
bash ~/.claude/skills/kotor-mod-manager/scripts/setup_kotormodsync.shConfigure Resolution (If Only One Resolution Shows):
bash ~/.claude/skills/kotor-mod-manager/scripts/configure_resolution.shFixes the common issue where KOTOR launcher shows only one resolution option.
If you're using the Steam version of KOTOR, you MUST configure Steam settings before installing mods, or your mods will not work.
The Steam version requires these changes:
- Disable Steam Overlay - Prevents crashes and conflicts
- Disable Cloud Save - Prevents save corruption with mods
- Disable Auto-Update - Prevents Steam from overwriting modified executables
- Create Desktop Shortcut - Launch from modded executable, not Steam
- Never Launch Through Steam - Use desktop shortcut only
Run this command to verify your Steam configuration:
bash ~/.claude/skills/kotor-mod-manager/scripts/check_steam_config.shThis interactive script will:
- Detect your Steam KOTOR installation
- Check Steam overlay and cloud save settings
- Verify desktop shortcuts exist
- Guide you through required configuration steps
- Optionally create a desktop shortcut for you
From the KOTOR modding community:
"If you use the Steam version there are specific configuration steps required to disable Steam overlay, cloud save, auto update. Do not launch the game thru Steam as you must use a modified executable."
Common Issues When Steam is Not Configured:
- β Game crashes on launch (Steam Overlay enabled)
- β Mods disappear after restarting (Cloud Save overwriting)
- β Modified executable missing (Auto-Update overwrote it)
- β Mods not loading (Launching through Steam)
For complete step-by-step instructions, see:
This comprehensive guide includes:
- Detailed steps for disabling each Steam feature
- macOS-specific instructions for hidden folders
- Desktop shortcut creation methods
- Backup strategies for modified executables
- Troubleshooting common Steam-related issues
"Install KOTOR mods from Downloads"
The skill will:
- Detect your KOTOR installation location
- Scan ~/Downloads/ for mod archives
- Analyze each mod's files and installation method
- Check compatibility between all mods
- Generate HTML compatibility report
- Recommend installation order
- Install mods (Override folder or TSLPatcher via KOTORModSync)
- Verify installation success
- Override Folder Mods - Texture mods, simple replacements
- TSLPatcher Mods - K1R, TSLRCM, complex content mods
- Hybrid Mods - Both TSLPatcher and Override components
The skill detects and categorizes conflicts by risk level:
- π« VERY HIGH - .2da tables, module files (.rim/.mod)
- β HIGH - Dialog files (.dlg), major script conflicts
β οΈ MEDIUM - Scripts (.ncs), templates (.utc/.uti/.utp)- βΉοΈ LOW - Textures (.tpc/.tga), audio, models
kotor-mod-manager/
βββ SKILL.md # Main skill documentation
βββ README.md # This file
βββ scripts/ # Executable scripts
β βββ check_steam_config.sh # Verify Steam configuration (RUN FIRST!)
β βββ install_kotor_command.sh # Install 'kotor' terminal command
β βββ configure_resolution.sh # Fix resolution/fullscreen issues
β βββ detect_kotor_install.sh # Find KOTOR on macOS
β βββ check_mod_conflicts.py # Conflict detection
β βββ parse_2da.py # .2da file parser
β βββ setup_kotormodsync.sh # Install KOTORModSync
βββ references/ # Reference documentation
β βββ steam-configuration.md # Steam setup guide (CRITICAL!)
β βββ file-types.md # KOTOR file type reference
β βββ installation-paths.md # macOS path guide
β βββ compatibility-matrix.md # Known mod compatibility
β βββ kotormodsync-integration.md # KOTORModSync guide
β βββ tslpatcher-wine-guide.md # Wine TSLPatcher setup
βββ data/ # Data files
β βββ compatibility.json # Compatibility database
β βββ mod_metadata/ # Individual mod info
β βββ mod_builds/ # Curated mod builds
βββ templates/ # HTML templates
βββ conflict_report_template.html
- macOS (tested on macOS 14+)
- Python 3.x (standard on macOS)
- Bash (standard on macOS)
- KOTOR 1 or 2 installed via Steam
- Internet connection (for downloading KOTORModSync)
The database includes complete metadata for 10 production-tested mods:
Foundation & Content:
- K1R Restoration 1.2 - Restores cut content (dialog, items, missions, impossible difficulty)
Gameplay & AI: 2. Improved AI v1.3.3 by GearHead - Enhanced combat AI, Force power usage, companion healing 3. Repeating Blaster Attacks Restoration v2.0 by R2-X2 - Restores +1 attack per round for repeaters
Resolution & UI: 4. High Resolution Menus 1.5 - 1920x1080 UI for modern displays 5. 1080p 60fps Fix - Proper widescreen and frame rate support 6. Widescreen Fade Fix - Fixes transition effects for widescreen
Visual Enhancements: 7. Vurt's Visual Resurgence 0.99a - 2,411 high-resolution textures 8. High Quality Skyboxes II 2.2 - Remastered space environments 9. Skybox Model Fixes 1.0 - Fixes Taris exterior animations 10. Revamped FX 1.0.1 - Enhanced combat effects, Force powers, explosions
All mods tested together with 2,954 files in Override folder on macOS Sequoia 15.1.
- Hidden Library Folder Navigation - Guides for accessing hidden folders
- .app Bundle Handling - Navigates inside KOTOR .app files
- Override Folder Management - Creates and validates Override folders
- Permission Fixing - Handles macOS file permission issues
- Case Sensitivity Support - Handles both case-sensitive and case-insensitive filesystems
This skill automatically downloads and uses KOTORModSync, the modern KOTOR mod manager:
- Native macOS TSLPatcher - No Wine or CrossOver needed
- Dependency Management - Automatic mod dependency resolution
- TOML Configuration - Human-readable mod instructions
- Multi-Mod Installation - Install entire mod builds in one command
Find KOTOR on your Mac and validate Override folders.
Discover mods in Downloads and analyze their structure.
Detect conflicts and assess risk levels.
Install in optimal order using appropriate method.
Validate all files are correctly installed.
Remove mods or restore from backups.
- Configure Steam settings BEFORE installing any mods (see Steam Configuration section)
- Always run compatibility check before installing multiple mods
- Install foundation mods (K1R, TSLRCM) first
- Back up your saves before major mod installations
- Install texture mods last (safe overwrites)
- Test game after each major mod to isolate issues
- Always launch using desktop shortcut, NEVER through Steam
First, check your Steam configuration!
bash ~/.claude/skills/kotor-mod-manager/scripts/check_steam_config.shMost mod issues are caused by incorrect Steam settings:
- Steam Overlay enabled β Crashes
- Cloud Save enabled β Mods disappear
- Auto-Update enabled β Modified executable overwritten
- Launching through Steam β Mods don't load
See Steam Configuration Guide for solutions.
- Check Steam is installed
- Verify KOTOR is downloaded
- Look for additional Steam library locations
- Skill will create it automatically with proper capitalization (capital O)
chmod -R 755 "path/to/Override"- Visit https://github.com/th3w1zard1/KOTORModSync/releases
- Download macOS version manually
- Extract to ~/KOTORModSync/
If Steam overwrote your modded executable:
# Option 1: Restore from backup (if you made one)
cd ~/Library/Application\ Support/Steam/steamapps/common/swkotor
cp -r "Knights of the Old Republic.app.modded.backup" "Knights of the Old Republic.app"
# Option 2: Re-install mods
# Run your mod installers again (TSLPatcher, KOTORModSync)Then disable auto-update as described in the Steam Configuration Guide.
If KOTOR launcher shows only one resolution option or appears windowed:
bash ~/.claude/skills/kotor-mod-manager/scripts/configure_resolution.shChoose either:
- 1920x1080 - Best compatibility with widescreen mods
- 2560x1440 - Higher quality, recommended for Retina displays
The script automatically configures fullscreen mode and proper resolution in swkotor.ini.
Comprehensive Mod Guides:
- KOTOR 2025 Mod Guide (Nexus Mods) - Complete modding guide with automated and manual installation options, tested on multiple systems for ~10 years
- KOTOR 2025 Mod Guide (Deadly Stream) - Restores cut content that Community Patch does not, updates resolution/UI, fixes bugs
- Nexus Mods - KOTOR - Primary mod repository with thousands of mods and active community
Communities:
- Deadly Stream - Premier KOTOR modding community, mod hosting, and technical resources
- r/kotor - Reddit community with modding guides, spoiler-free builds, and support
Essential Tools:
- KOTORModSync - Modern mod manager for macOS/Windows with native TSLPatcher support
- KOTOR Tool - Advanced modding suite (Windows only)
- TSLPatcher - Industry-standard mod installer for complex content mods
Key Mods Referenced in 2025 Community Guides:
- K1R Restoration 1.2 - Restores substantial cut content including dialogue, hidden items, and missions that Community Patch does not restore
- High Resolution Menus - 1920x1080 UI upgrade for modern displays
- Widescreen Fixes - Proper aspect ratio support and fade fixes
- HD Texture Packs - AI-upscaled cutscenes, planetary skyboxes, and character models
- Community Patch - Alternative to K1R (incompatible - choose one or the other)
- Initial release
- KOTOR 1 & 2 detection on macOS
- Conflict detection for .2da, scripts, textures
- KOTORModSync auto-installation
- HTML report generation
- Compatibility database with 2 example mods
This skill is provided as-is for use with Claude Code. Includes references to community resources and tools.
- Author: Pnutmaster - Contributing modder from TWCenter, Crusader Kings II, Rome II: Total War, and Fallout: New Vegas communities
- Created for: Claude Code users and the KOTOR modding community
- Research from: Deadly Stream, Nexus Mods, Reddit r/kotor, KOTOR 2025 Mod Guide community
- Tools Referenced: KOTORModSync by th3w1zard1, TSLPatcher by stoffe, Wine compatibility layer
- Special Thanks: Hraith (KOTOR 2025 Mod Guide), Deadly Stream modding community, and all KOTOR mod creators who have preserved this classic RPG
May the Force be with your modding journey! βοΈ