If you are experiencing issues with your mouse not working while trying to play GTA San Andreas on a Windows 10 or 11 PC, you are not alone. This problem commonly occurs because the game was originally designed for older systems over 20 years ago when processors were mostly single-core or dual-core. On modern multi-core processors, the game’s mouse input may not function correctly.
Fortunately, there is an easy fix for this problem. We can change the process affinity of the GTA_SA.EXE executable to run on a single CPU core. Here is how it is done:
1. Locate the GTA San Andreas installation folder
- Right-click on the desktop shortcut of GTA San Andreas and select Open file location.
- Alternatively, navigate directly to the installation folder, typically located at:
C:\Program Files (x86)\Rockstar Games\GTA San Andreas
2. Create a batch file to set CPU affinity
To force the game to use a single core, we need to create a batch file that launches the game with specific CPU settings. This script starts the game with CPU affinity set to core 0, which should resolve the mouse issue:
- In the GTA San Andreas folder, right-click and select New → Text Document and rename the file to launch.bat (make sure the file extension is .bat and not .txt).
- Open the newly created launch.bat file using Notepad, enter the following code and save it:
@echo off start /affinity 0x1 GTA_SA.EXE exit
3. Modify the game shortcut to use the batch file
- Go back to your desktop and right-click on the GTA San Andreas shortcut, then select Properties.
- In the Target field, replace the existing path with the location of the batch file you just created, like this: “C:\Program Files (x86)\Rockstar Games\GTA San Andreas\launch.bat”.
- Click OK to save the changes.
Now, whenever you want to play GTA San Andreas, use this modified shortcut. The mouse should work correctly in the game without any further tweaks.
The above steps should help fix the mouse not working issue when playing GTA San Andreas on Windows 10 or 11. The key is to make the game compatible with your modern system by forcing it to run on a single CPU core.