View Single Post
Old 12-04-2008, 06:58 PM   #2
Q
The one who knocks
 
Q's Avatar
 
Join Date: May 2006
Location: ABQ
Posts: 6,643
Current Game: Mowing down neos with my M60
LF Jester Forum Veteran Helpful! 
Definitive Order of Installation and Fixes for the Original CD Versions of KotOR 1 & 2 - NOT the Collection DVDs! (Also Works for Windows 7):

THIS SHOULD ALL BE DONE USING AN ADMINISTRATOR ACCOUNT TO AVOID ANY POTENTIAL PROBLEMS WITH PERMISSIONS. IT SHOULD ALSO BE DONE IN THE EXACT ORDER AS LAID OUT BELOW IN ORDER TO AVOID POTENTIAL PROBLEMS.

1) Start by updating DirectX. For those that haven't yet, it's a good idea to download and install the latest DirectX Redistributable Package available here. This will install a full version of DX9.0c alongside DX10 and DX11 that will not conflict with them in any way. Vista is supposed to provide backward-compatibility with DX9, but I think that it falls short is some areas and this will fix that. The link is for the June 2010 version, so be sure to check for the latest version before downloading. First-time installers are going to want to install the entire redistributable package. Just download the file, extract it to a temporary folder and run the .exe. You can then delete both the temporary folder and the file that you downloaded after installation is complete.


2) Install the game according to Astro's instructions in Post #1, but hold off on replacing the mss32.dll and also on making the shortcut until you have patched the game and replaced the swkotor.exe (or swkotor2.exe) with the version that has been updated by SecuROM.


3) Patch the game. This is NOT NECESSARY for, and should NOT be done with, the "Best of PC" version of KotOR 1. When patching either game to the latest version, download and use the manual patches instead of the auto-updaters (KotOR 1; KotOR 2) -Note that, while KotOR 1's patch is for all versions, non-US versions of KotOR 2 require one of the international patches, found here. The international update for KotOR 2 consists of two separate patches, and you will need to install both of them; first 1.0a, and then 1.0b. Using the wrong patch will screw up your game installation, so be sure about which version you have before applying it.. Once downloaded, right-click on them, select "Properties" and set them to XP SP2 compatibility mode just like Astro described for the setup.exe and the shortcut and then run them as an administrator. If you have them, you can also install the enhanced movie (only recommended for monitors with a vertical resolution of 1200 or higher; don't bother otherwise) and music files for KotOR 2 (available on the same site as the official patches) at this time.


4) Remove the "Read-Only" property from the entire game folder (default location: C:\Program Files\LucasArts\SWKotOR). Right-click on the folder, select "Properties", deselect "Read-Only", hit "Apply", select "Apply changes to this folder, subfolders and files" and hit OK. Windows may indicate that the folder is still read-only after doing this, but if you've done the above, it has indeed worked and doesn't need to be repeated. This is a necessary step for installation of the TSLRCM mod, but it also helps with some of the remaining steps in this guide.


5) This step is for running KotOR 2 on Vista. You don't need to do this if you're using Windows 7. Backup, move or rename the mss32.dll file in the main game folder. Then download the replacement mss32.dll found here and extract that archived file to the main game folder -This is NOT NECESSARY for KotOR 1.


6) This step is for Vista only. Download the SecuROM-updated .exe's. This is NOT NECESSARY for, and should NOT be done with, the "Best of PC" version of KotOR 1. Once again, these two files are for the US versions of KotOR 1&2:

For KotOR 1
For KotOR 2

Owners of non-US versions and those of you who are experiencing problems with the new .exe, such as its accusing you of using an emulator when you're actually using an original disc, need to go to SecuROM's website and jump through their hoops in order to get a working .exe. It shouldn't take more than a couple of days. After receiving it from SecuROM, anyone who wants to post a download link to one of the updated .exes for a non-US version may do so with my gratitude and I will add it to this guide. They are not as easy to find as the patches.

Extract the archived file to the main game folder after either renaming the old one or moving it elsewhere. Don't overwrite the old one. You may need it later. Then right-click on it, select "properties", then under the "compatibility" tab set it to run in XP SP2 compatibility mode as an administrator. While you're at it, it wouldn't hurt to set the launcher.exe and swconfig.exe files to run in XP SP2 compatibility mode as an administrator using the same method.


7) Now you can make the shortcut as instructed by Astro in Post #1.


8) Those with multi-core CPUs (which is just about everyone these days) need to set CPU affinity to a single core. Not doing so will cause the game to randomly crash. This can be done by modifying the game's shortcut to command Windows to automatically set affinity every time the game is launched:
Quote:
Originally Posted by SteveF View Post
It's possible to alter your shortcut to automatically launch an application with the affinity you want.

The command I have in my target box of the shortcut is:

C:\Windows\System32\cmd.exe /C start "SWKOTOR" /D "C:\Users\Public\Games\SWKotoR" /high /affinity 1 "C:\Users\Public\Games\SWKotoR\swkotor.exe"

Obviously you'd replace the directory I have my swkotor.exe file in with the one yours is in in both places in the above line.

So it's a shortcut to the cmd.exe that launches what follows as a command. The command actually being executed is the start command, and the start command is what allows you to pick what CPU(s) to use for executing the game. The affinity integer is a bit flag, with the least significant bit representing the first CPU and going up from there.

You need to run this shortcut as administrator as well.

The actual game executables will run in compatability mode/as administrator since you should have set those properties already if you followed the steps outlined in the second post.

Since it's a shortcut to the cmd.exe, the icon will be for cmd.exe. To change it to the swkotor icon you just open the properties for the shortcut, click on the change icon button, and browse to your swkotor.exe and select the icon to change it.

Obviously this will work for any old game that doesn't work well on multiple cores.
Note that Windows 7 seems to do this for KotOR 2 already without any modification, but not for KotOR 1.

*If the above does not work for whatever reason, you're going to have set affinity to a single CPU core manually every time you launch the game. Before launching the game, open Task Manager (right-click on the Taskbar at the bottom of Windows' desktop and select "Task Manager") and click on the "Processes" tab. Check the "Show processes for all users" box if it isn't already and then launch the game. Once you get to the game's main menu, hit the Windows key to get back to the desktop and look for the game's executable (swkotor2.exe) in the Task Manager under the "Processes" tab. When you find it, right click on it, select "set affinity" and uncheck every box but "CPU 0" and hit "OK". Once you've done that, just hit the game's icon in the Taskbar and you should be good to go. Remember that you'll have to set CPU affinity like this every time you launch the game.


9) It would appear that the classic "Dantooine lag fix" for ATI video cards is now required for BOTH ATI and Nvidia DX10 and DX11 cards, as well as for Intel integrated GPUs. This should be done with both games. It should also be done when using XP with a DX10 or DX11 card:
Quote:
Originally Posted by stingerhs View Post
  • First, figure out where the .ini is installed. Default is "C:\Program Files\Lucasarts\swkotor(2)\swkotor(2).ini". If its not in that location, then your going to have to do some searching around on the hard drive a bit.
  • When you find it, just double-click on the file to open it in Notepad.
  • Scroll down the file until you find the Graphics Options
  • Under the last line ("last line" as in the last line of the list of entries under "Graphics Options", NOT the last line of "swkotor(2).ini), add "Disable Vertex Buffer Objects=1", without the quotes.
  • Goto File, then Save.
If, for any reason, you want to disable the fix, simply change the "1" to a "0".

With KotOR 2 only, make sure that Fullscreen=1 and that the Width and Height values are the same and set to a resolution that the game actually supports (800x600, 1024x768, 1280x768, 1280x960, 1280x1024 or 1600x1200) under both "Display Options" and "Graphics Options" in the "swkotor2.ini" file. After applying the changes, save and exit then go back into the file to make sure that the changes were saved. If they weren't, move the swkotor.ini file to your desktop and apply the changes there. Save it, exit, go back in to check and see if the changes were applied, then move it back to the game's main folder.


10) Those of you with an Intel GPU need to open your Intel graphics driver's control panel and Click on "3D Options". Look for "Flipping Policy" and change it to "Blit". Note that you might have to download and install Intel's drivers instead of using the ones that shipped with your laptop for the Intel graphics driver control panel to be accessible. NOTE: The newest drivers don't have this option, so if you can't do it, don't worry about it.

How to open the graphics properties window

OpenGL settings guide

If the game still crashes right after character creation after completing the installation, try using the the original .exe instead of the one from SecuROM. If that doesn't work, there is a link in Step #6 that will allow you to contact SecuROM and request a new .exe.


11) If the game is crashing or exiting to the desktop whenever a movie tries to play, you may need to enable support for 640x480 resolution in your graphics driver control panel to allow movies to play.


12) If the game still won't load for whatever reason, it might be a good idea to disable the intro ad movies by renaming their files. This is also handy if you just don't want to sit through them. These are located in the "movies" folder, which is in the main game folder. The files in question are:

KotOR 1: biologo.bik; leclogo.bik; legal.bik
KotOR 2: leclogo.bik; legal.bik; ObsidianEnt.bik

In each case you can just change their file extension from "bik" to "bak" and they'll be skipped.


13) If you have an AMD/ATI video card and are still experiencing problems, here are a couple of things that you can do:
Quote:
Originally Posted by unlucky_droid View Post
Hello,

first some facts about the setup:

o Win7 x64
o KoToR via steam (so the installation guide is useless)
o HD5770
o Catalyst 10.2

It's rather simple, really. The game had trouble locating the OpenGL driver and I got a atioglxx.dll exception.

I found the workaround at guru3d and the AMD forums: Put the atioglxx.dll from Catalyst 9.12 in the game folder. So far it works in windowed mode only, but I am glad it works at all.

Source: http://forums.amd.com/game/messagevi...&enterthread=y
Thread at guru3d: http://forums.guru3d.com/showthread.php?t=315893

Maybe you can work this into one of the guides.

Thanks,
Christian
Quote:
Originally Posted by SmittyIsCool View Post
I downloaded ATI System Tools (pretty sure he means ATI Tray Tools, here), created a game profile where I set Direct3d and OpenGL settings to Auto Balanced and it worked like a charm!


************************************************** ************************************************** ***********************************
ORIGINAL POST:

My God.

And here I had thought that you had already known about this and still couldn't get it to work. Good to hear that you got it working.

OK, first and foremost:
If you are using a no-CD crack for whatever reason, you do so at your own risk. It's not our fault that it's crashing the game, so STOP PESTERING US!
In other words:
If you're using a crack, DON'T EVEN BOTHER TRYING TO ASK US FOR HELP.


EDIT: We forgot about the SecuROM Vista fixes! Make sure that their properties are set to run in XP SP2 compatibility mode as an administrator.

For KotOR

For KotOR2

Those of you who are still experiencing problems with the new .exe, such as its accusing you of using an emulator when you're actually using an original disk need to go to SecuROM's website and jump through their hoops in order to get a working .exe. If you're not using an original disk, well, that's your problem.


EDIT#2 VERY IMPORTANT:
For those that haven't yet, it's a good idea to download and install the latest DirectX Redistributable Package available here. This will install a full version of DX9.0c alongside DX10 that will not conflict with DX10 in any way. This should help with any DirectX 9 compatibility issues which I believe are the heart of KotOR's problems with Vista. Vista is supposed to provide backward-compatibility with DX9, but I think that it falls short is some areas and this will fix that. The link is for the August 2009 version, so be sure to check for the latest version before downloading. First-time installers are going to want to install the entire redistributable package. Just download the file, extract it to a temporary folder and run the .exe. You can then delete both the temporary folder and the file that you downloaded after installation is complete.


EDIT#3 This is not Vista-related, but it is a common problem with modern multi-core systems. This should be done with BOTH GAMES. Setting CPU affinity for a multi-core CPU:
Quote:
Originally Posted by Onihikage View Post
After starting the game, press Ctrl-Shift-Esc to bring up the task manager. Right-click "Knights of the Old Republic" under the applications list and select "Go to process." Right click on the highlighted process (probably something like (sw)kotor.exe) and select "Set Affinity..." In the dialog box that comes up, deselect all but one core. Then return to the game and see what happens ^/_\^

Just remember that you'll need to do this every time you start the game.
Note that Windows 7 seems to do this automatically, but it wouldn't hurt to check and make sure that it's actually doing it the first time that you launch the game after installing it.


EDIT #4 This is also not Vista-related, but it would appear that the classic "Dantooine lag fix" for ATI video cards is now required for BOTH ATI and Nvidia DX10 cards, as well as for Intel integrated GPUs. This should also be done with BOTH GAMES. It should also be done when using XP with a DX10 card:
Quote:
Originally Posted by stingerhs View Post
  • First, figure out where the .ini is installed. Default is "C:\Program Files\Lucasarts\swkotor(2)\swkotor(2).ini". If its not in that location, then your going to have to do some searching around on the hard drive a bit.
  • When you find it, just double-click on the file to open it in Notepad.
  • Scroll down the file until you find the Graphics Options
  • Under the last line ("last line" as in the last line of the list of entries under "Graphics Options", NOT the last line of "swkotor(2).ini), add "Disable Vertex Buffer Objects=1", without the quotes.
  • Goto File, then Save.
EDIT #5 OMG, PATCHING! I can't believe that I missed this one. When patching either game to the latest version, download and use the manual patches instead of the auto-updaters (TSL's is broken anyway, I believe ). Once downloaded, right-click on them, select "Properties" and set them to XP SP2 compatibility mode just like Astro described for the setup.exe and the shortcut and then run them as an administrator.

EDIT #6 If you have an Intel GPU:
1) Open your Intel graphics driver's control panel and Click on "3D Options". Look for "Flipping Policy" and change it to "Blit".


"They should rename the team to the Washington Government Sucks. Put Obama on the helmet. Line the entire walls of the stadium with the actual text of the ACA.
Fix their home team score on the board to the debt clock, they can win every game 17,000,000,000,000 to 24. Losing team gets taxed by the IRS 100%, then droned."
-Toker

Last edited by Q; 01-06-2013 at 08:06 AM. Reason: Edited for clarity
Q is offline   you may: quote & reply,