A PowerShell script designed to manage CPU affinity for game processes, with a specific focus on Rainbow Six Siege processes. This tool allows temporary CPU core allocation modifications to potentially improve game performance or system resource management.
- Temporary CPU affinity modification for specified processes
- Automatic restoration of original CPU affinity settings
- Configurable wait time between modifications
- Detailed logging with timestamps
- Error handling and process validation
- Support for multiple processes simultaneously
- Windows operating system
- PowerShell 5.1 or higher
- Administrative privileges (required for modifying process affinity)
Run the script with default settings:
.\fixe_Rainbow_Six_Siege.ps1
- The script first calculates a mask for all available CPU cores
- It then modifies the CPU affinity of specified processes to use only the first core
- Waits for the specified duration
- Automatically restores the original CPU affinity settings for all modified processes
- Logs all operations with timestamps and detailed information
Contributions are welcome! Please feel free to submit a Pull Request.
Use this script at your own risk. Modifying CPU affinity can affect process performance and system stability. Always test in a safe environment first.
If you encounter any issues or have questions, please:
- Check the common issues section above
- Open an issue in the GitHub repository
- Provide detailed information about your system and the error encountered