iainmet: Thanks for that, last time I created batch files was back in the day setting up DOS boot discs with CD support through mscdex for old games when Windows 95 launched. Now I just look about the net and find what I need. You are right in what you say about having to set affinity on some of the older games. Its a must with the Dark Engine games, if you dont do it the game locks up. I have my task manager locked to my start bar so I just alt tab out if there isnt a pre made fix and do it via the processes and the games exe.
Going to create a text file with the info you have put there. It will definately come in handy :)
No worries. Just bear in mind that the batch file calls the command prompt and uses a START command to launch your chosen executable (in my example this being trl.exe). The affinity value is a coded hexadecimal value that tells it which cores to use.
1st core = 1
2nd core = 2
3rd core = 4
4th core = 8
5th core = 10 ( hexadecimal 16 )
6th core = 20 ( hexadecimal 32 )
So if you want to use the first and second cores of a quad core system you would use the value 3 (1+2).
The /high part of it just tells it to run the executable as high priority. You can omit this if you want.
Oh, and last of all, if it is a really complaining game that needs to run as administrator then you may need to specify the working directory in the batch command using the /d flag. My example would then look like this:
C:\Windows\System32\cmd.exe /C START "Tomb Raider" /d "C:\Program Files (x86)\Tomb Raider - Legend" /high /affinity 1 "C:\Program Files (x86)\Tomb Raider - Legend\trl.exe"
Hope this makes sense. I did a lot of research before I moved on to Vista a few years ago as I was aware of potential compatibility issues.
JMMREVIEW, some other useful tips are running as administor, running in different compatibility modes, disabling visual themes (all in the shortcut properties). Also, installing outside of Program Files or Program Files (x86) if using Vista or Win7 (I use C:\Games) as Program Files is a protected folder and can cause issues with settings and save files and such.