Star Wars: Knights of the Old Republic (KOTOR 1) on PC has a hidden developer console for cheats. Using them can break quests, corrupt saves, and ruin the narrative experience. Backup saves first.
swkotor.ini in game folder (or %UserProfile%\Documents\Star Wars KotOR\):[Game Options], add: EnableCheats=1~ (Tilde / Grave) to open console.| Command | Effect |
|---|---|
| giveitem [item_code] | Spawn item. Codes: g_w_lghtsbr01 (Lightsaber), g_a_master_robe (Master Robe), g_w_blstrpst_03 (Disruptor Pistol). Full list on StrategyWiki. |
| god | Toggle invincibility (party). |
| addxp [amount] | Add XP to main character. |
| addcredits [amount] | Add credits. |
| setlevel [level] | Set main char level (1–20). |
| setforce [light/dark] [0–100] | Set alignment. |
| setreputation [faction] [value] | Set faction rep. |
| killall | Kill all hostiles in area. |
| warp [module_name] | Teleport (e.g., tar_m02aa = Taris Upper City). List on DeadlyStream. |
| givefeat [feat_id] | Grant feat (e.g., FEAT_FORCE_JUMP). |
| giveskill [skill_id] [ranks] | Grant skill ranks. |
Playthrough Advice: First run: Zero cheats. The story, twist, and struggle are the game. Cheats after for experimentation.