One of my favorite video games of all times is Silent Hill 2. As you might know, Silent Hill 2 for PC is full of bugs, and you occasionally have to deal with it. For example, the classic
sound loop bug causes the music to enter in an endless sound loop, ruining a major part of the experience, because the
soundtrack of this game is magnificent.
I spent several hours searching for a solution to the sound loop glitch, until I finally found an almost permanent solution: Change the game to work only with one processor.
I don't know the technical details, but I guess Silent Hill 2 was programmed to work with just one processor, since it was created when computers had no more than one processor.
You can use this simple trick to troubleshoot problems with other old programs, or maybe when testing something.
Note: I'll use Silent Hill 2 as example in this article.
Requirements:
A Windows 8 machine.
Method 1:
1. Open the application. In this case, Silent Hill 2.
2. Press Alt+Tab or Control+Esc. This will take you out of the program (or game).
3. Open Task Manager.
4. Open the "Details" tab.
5. Look for the program for which you want to set affinity. In this case, it's sh2pc.exe.
6. Right click the program.
7. Press on "Set affinity"
8. Select only CPU 0. Press OK.
9. Go back to the program or game and it will work with only 1 processor. This trick eliminates the sound loop most of the times in Silent Hill 2 for PC.
Method 2:
You can create a shortcut to start a program directly with the desired affinity:
1. Right click on the desktop>New>Shortcut
2. In "Type the location of the item" enter:
[path] /C start /affinity 1 [executable]
In my case:
"C:\Program Files\Konami\Silent Hill 2\sh2pc.exe" /C start /affinity 1 sh2pc.exe
Just in case, I'm using quotation marks because the path contains blank spaces. An error message will be displayed without the quotation marks.
3. Press Next
4. Give a name for the shortcut and press Finish.
5. To verify if this is working, double click the shortcut you just created.
6. Get out of the application by pressing Alt+Tab or Control+Esc.
7. Open the Task Manager and verify the affinity in the Details tab (just like in the first method).
I hope this is useful for everyone!