You have to find the file called "swkotor.ini" in your Knights of the Old Republic game folder. You'll have to edit the file with Notepad so amke a backup copy before You start. Now, under the line [Game Options] add the following line:
While playing You have to press [~] to bring down the console then type any of the following cheat codes where # is a number:
turbo - Press [W] or [S] to move faster
invulnerability - Invulnerability
bright - Brightens screen
revealmap - Reveal map
restartminigame - ?
warp - ?
infiniteuses - ?
whereami - ?
dancedancemalak - Turn Malak into a dancing Twi'lek in the last fight
heal - Heal selected party member
[Tab] - List all commands
givecredits # - Get indicated number of credits
giveitem <item> - Spawn indicated item (you can find the full item list in the Codes FAQ listed above)
givemed - Spawn medpacks
giverepair - Spawn repair packs
givecomspikes - Spawn computer spikes
givesitharmor - Spawn Sith armor
setcomputeruse # - Set "Computer Use" skill
setdemolitions # - Set "Demolitions" skill
setstealth # - Set "Stealth" skill
setawareness # - Set "Awareness" skill
setpersuade # - Set "Persuade" skill
setrepair # - Set "Repair" skill
setsecurity # - Set "Security" skill
setstrength # - Set "Strength" skill
setdexterity # - Set "Dexterity" skill
setconstitution # - Set "Constitution" skill
setintelligence # - Set "Intelligence" skill
setwisdom # - Set "Wisdom" skill
setcharisma # - Set "Charisma" skill
addlevel # - Add indicated number of levels (negative values lowers it)
addlightside # - Add the indicated number of Light Side points (negative values lowers it)
adddarkside # - Add the indicated number of Dark Side points (negative values lowers it)
addexp # - Add indicated number of experience points (negative values lowers it)
When going up against a Terentak or two, make sure someone in your party can yse stealth, and at least one other person has the Insanity Jedi power. Enable the stealth and begin lay mines in a clump or a path. Once done, get out of the Terentak's range of vision and the blast radius of the mines, and uncloak. Then, throw some type of grenade at it and allow it to approach. If done correctly, it should cross all the mines and knock its health down quite a bit. Note: The Terentak can not be concussioned; do not waste any mines that cause concussion such as flash mines. Once all the mines have exploded, use Insanity on it. It will be unable to attack. You can then use Force Shock, Lightning, Storm, Drain Life, Death Field, Wound, Choke, Kill, Slow, and Affliction to whittle its health down. You can also attack it, and Power Strike works very effectively. Once the Insanity wears off, use Insanity again to render it harmless again. Repeat this until all the Terentaks are gone. Note: This is a great way to take down the two Terentaks during the Final Test on Korriban.
Dantooine: Courtyard: Cassus Fett's Armor
When you get to the third Jedi trial, you will see a merchant near where the Kath Hounds first ambush you. Talk to the merchant that sells armor and weapons. Ask to see his stock and you will see Cassus Fett's Armor. It costs 15,000 credits. Note: You will no longer be able to get the armor after you are taken prisoner by Saul.
Dantooine Grove: Keep Juhani while playing a Dark character
If you are playing a Dark side character, when you defeat Juhani do not fight her again. Instead, say that she can come back to the Light side. She will join your team and be helpful in later missions. You can make up for the gained Light points gained by getting Dark points in the Sandral-Matale Feud quest.
Dantooine Matale Estate: Increase Dark alignment
When doing the Sandral-Matale Feud quest, go to the Sandral home first when you have permission to investigate the disappearance of Shen Matale from the Jedi Council. Take the necessary steps to enter the home. After questioning Nurik Sandral, he will depart to the back of his home. Get to the point where you can deny Rahasia. You can go to the Matale's home and speak with him. If you select all the bottom answers, his last question will be for you to ask 2,000 credits for finding Shen. By selecting all the bottom answers, you have earned yourself a Dark side point. Talk to the droid again and Ahlan Matale returns outside with the same line of questioning. Repeat this to accumulate as many Dark points as desired.
Dantooine Sandral Estate: Increase Light alignment
When doing the Sandral-Matale Feud quest, go to the Sandral home first when you have permission to investigate the disappearance of Shen Matale from the Jedi Council. Take the necessary steps to enter the home. After questioning Nurik Sandral, he will depart to the back of his home. That is when Rahasia Sandral shows up and asks you for help. If you deny helping her free Shen, she will be upset. After denying her, go back to her and select "Apologize". After you apologize to her, she will continue with what help she needs, but deny her quickly instead of hearing her story. The apology earns you a Light side point. You can repeat this as many times as desired in order to accumulate high Light status.
As soon as you leave Dantooine, there will be a girl stowaway in your cargo hold. Big Z will mention something about missing food. If you walk around your ship, you will hear footsteps. Go to the cargo hold when instructed to find the girl. Return to Dantooine and talk to the Tw'liek near the tree. He will mention a missing girl. Convince the girl to out to meet the man. If she agrees, you will receive a Light side point.
Kashyyk: Increase Light or Dark alignment:
When speaking to the hologram on Kashyyk, you have the opportunity to earn both Dark and Light side points. You should answer the questions like a certain person, but there is an opportunity to comment about how you really feel and create a shift. After you get the mysterious box (by selling the Spice in the Ebon Hawk's cargo hold), look for it in the cargo hold and activate it. You can still sell it to the Hutt afterwards. Save the game before opening the box. Now, find out what is inside for yourself.
Korriban: Entering the Sith Academy:
Talk to the Sith Soldier guarding the Sith Academy on Korriban to learn that Yuthra Ban is at the bar and is accepting students for the academy, At this point there are two ways of trying to enter the base. The first is trying to persuade Yun to allow you in. However, this requires a high persuasion skill. The second is a lot quicker and once done, persuading Yun to allow you inside the academy should be easy. Instead of entering the bar to talk to Yun, go back to your ship, An intermission sequence and dialogue showing some Sith graduates trying to start a fight with you will start. No matter what happens, you will have to fight them. Defeta them and look at their remains. One of them will have a Sith Academy Medallion. Pick it up and talk to Yun.
Korriban Sith Academy: Easy experience:
Enter the Sith Academy. Once there, you will find a room with slaves. There is a computer terminal inside the room. Log into the computer and chose "Hack into Sith Data files". When you do this, you will notice that the option to hack does not disappear. With the right party member, the cost for the Data Hack will only be 1 Spike. Each Data Hack will result in 360 experience points for your group. Note: This was done after all the Sith Academy quests were completed. Also, you can get unlimited Computer Spikes on Tatooine. When inside the Sith Academy, talk to Yuthura Ban and ask her "I want to know about the code". Then, choose "I think I got it". Do this repeatedly. Each time you ask her for code, you will get 125 experience points.
Enter the Sith Academy. Find the room with the slaves. There is a computer terminal inside the room. Login to the computer and choose to hack into the Sith data files with T3-M4. Each data hack should cost 0 spikes if T3-M4's Computer skill is over 30. Note: Each time you access the computer, it will cost 1 spike
Korriban Sith Academy: Earning prestige for the Sith Master
One way to earn prestige for the Sith Master is to destroy a malfunctioning assault droid. Before you can this, you must first make your way through a large amount of battle droids. Once inside you can talk to the assault droid. He tells you information and how to help him. In helping him, you will get Light side points. The eight systems you have shut down are as follows: Combat, Motor, Sensory, Memory, Cognitive, Emotional, Creative, and Core.
In order to earn enough prestige to take the Sith test, you must persuade Lashowe that you will help her. Find the Jedi Holocron. When you get it, do not let her leave. After she fights you, get the Holocron and take it to Master Uthar to try to become a Sith.
Korriban: Naga Sadow Tomb: Defeating the Tarentateks
When finding the Star Map in Naga Sadow, you will encounter two Tarentateks. To kill them, back yourself into a corner. This allows you to fight one without the other one being able to attack.
If you have Jedi Speed or any stimulant packages, and a Stealth Shield, you can do this easily. Activate your Stealth Shield and walk out in the open to where the left side Tarentatek comes in range and throw a grenade. When the two run at you, run by them and hit the switch in the right, then run to the door and let yourself in. The monsters cannot follow you in here. You can kill them with distance Force attacks (such as Force Kill) without them approaching you.
Use Force Speed to get the Tarentateks out of the way so you can use the lever. Then, go into the room that has the special grenades. Either equip a blaster or just run up to the doorway to kill the Tarentateks. They should not attack you.
Korriban Naga Sadow Tomb: Defeating Yuthura and Uthar
Complete the Naga Sadow's tomb after poisoning Yuthura and Uthar . When you have defeated the two Terentateks in the right chamber, get the cold and fire grenade to clear the acid. When you have the grenades, go to the central chamber where the acid is located. Throw the cold grenade and freeze the acid. When you are on the ice, lay about 12 mines of any kind besides flash and save the game. Get the Sith ceremonial lightsaber and return to the ice pack. The intermission sequence with Uthar and Yuthura will start. Kill both Yuthura and Uthar by running to the tomb door behind you. The mines will explode, killing both of them while they are still poisoned. Pick up the items, run to Dreshdae, and fly to the next world.
Manaan Sith Base: Entering training room
The only way to get to the training room in the Sith base is to first go to the Cantina in the city. You will see a Selkath deep inside the room. Talk to him and he will tell you about his daughter that has joined the Sith. Agree to help him, and the door to the training room should be open. Return to the Sith base and go to the locked door. Once inside, it will look like a cross-shaped area. Find the door that is marked "Medical". Go in there first, then the dormitory. Talk to the daughter, then go to the training room to fight the Dark Jedi.
Manaan: Increase Dark alignment indefinitely:
Accept the mysterious datapad on Tatooine after killing Calo Nord. Go to Manaan and talk to Hulas in the eastern part of Athos City, but make sure you first switch everyone out of your party so that you are alone. He will ask you to assassinate Lorgal, who is in the Republic Embassy just north of his location. Hack into the terminal near Lorgal's cell in the Republic Embassy. Select the option to assassinate Lorgal, but make sure you do not have enough Computer Spikes to kill him (either sell all your spikes or deposit them into you storage onboard the Ebon Hawk, except for three). If done correctly, he should still be alive and be on the same screen after you select that option. The screen should say "FAILURE: Not enough spikes" or something similar. Keep selecting the option to kill him repeatedly until you are satsified. Log out of the terminal and you will gain Dark side points, but Lorgal will still be alive. If your not maxed out on Dark Side points, log back in and keep "killing" Lorgal.
Finish everything needed to be done underwater (get through the Republic Research Station, past the big shark, and to the Star Map). When you surface, Roland Wann will meet you just outside the door. You will converse about what you found out about the fate of the station. Once you are done talking to him, talk to him again. He will say something along the lines of needing to keep your conversation secret. Choose the option that asks him for a bribe to keep silent. He will more or less ignore you and you will gain Dark Side points. After that, he will continue to say the same thing every time you talk to him. Keep trying to bribe him and you will get a Dark Side point each time.
Manaan: Win your own trial
After you complete what's needed at the Sith base, the only way out is the elevator to the city. Once you get to the top, the guards will place you under arrest. You will go to trial. If you accept the help of the Selkath to defend you, you will lose and die. If you represent yourself, they will find you innocent.
Equip Dark Jedi robes on Bastila. Remove them to see new underwear.
Defeating Dark Jedi
When you level up, you can choose a new Force ability. Choose Force Resistance, and the next one after that. When you know you are about to fight a Dark Jedi, cast Force Resistance and their Force powers cannot hurt you.
Force Breach and Force Resistance and good for dealing with other powerful Jedi. Make these the first thing you use in those battles. Focus on these as you power up your character.