Tom Clancy's Splinter Cell: Conviction

Tom Clancy's Splinter Cell: Conviction

Not enough ratings
Low FPS fix
By Caboose2009
This will fix any low fps issues from the game running on one core.
3
   
Award
Favorite
Favorited
Unfavorite
Starting The Game And Changing The Application CPU Affinity
Copy and paste the below text and save as a PowerShell file (.ps1). Run the PowerShell file by right clicking on it and selecting "Run with PowerShell". This script will start the game and change the CPU affinity of the program allowing it to run on more then one thread.

Copy/Paste Below:
Function FindAndSetSplinterCell{ $LoopNumber = 0 $SplinterCellFound = 0 $SplinterCell = $Null #Try to get the splinter cell process do{ #Sleep the command for 2 seconds Write-Output "Searching For Splinter Cell. Looping $LoopNumber" Start-Sleep -s 1 If($LoopNumber -eq 4){Break} #Check for the Splinter Cell Process If((GET-PROCESS conviction_game -ErrorAction SilentlyContinue) -ne $Null){ $SplinterCell = GET-PROCESS conviction_game $SplinterCellFound = 1} #Add 1 to the loop number $LoopNumber++ }while($SplinterCellFound -eq 0) $Refresh = 0 $Affinity = 255 #Core 1 = 1 #Core 2 = 2 #Core 3 = 4 #Core 4 = 8 #Core 5 = 16 #Core 6 = 32 #Core 7 = 64 #Core 8 = 128 #Add all the core values (255) to use all 8 cores #Ex. 4 Core usage = 1+2+4+8 = 15 If($SplinterCell.ProcessName -eq "conviction_game") { do{ Write-Output "Setting Affinity For: $SplinterCell.ProcessName. Refresh $Refresh." #Refresh the process to get the current values $SplinterCell.Refresh() #ProcessorAffinity=255 set the cpu affinity to the first 8 cpu threads if not already set If($SplinterCell.ProcessorAffinity -ne $Affinity){$SplinterCell.ProcessorAffinity = $Affinity} #Sleep the command for 3 seconds Start-Sleep -s 3 $Refresh++ #As long as the process conviction_game is active the loop will continue }while(-not $SplinterCell.HasExited) }} $FindAndSet = 0 #Start Splinter Cell Write-Output "Starting Splinter Cell" Start-Process steam://rungameid/33220 do{ Start-Sleep 1 Write-Output "Find And Set Splinter Cell $FindAndSet" FindAndSetSplinterCell $FindAndSet++ }while($FindAndSet -lt 4)
Changing The Application CPU Affinity (After The Game Has Started)
Copy and paste the below text and save as a PowerShell file (.ps1). After launching the game and arriving at the main menu run the PowerShell file by right clicking on it and selecting "Run with PowerShell". This script will change the CPU affinity of the program allowing it to run on more then one thread.

Copy/Paste Below:
$PROCESS = GET-PROCESS conviction_game #Core 1 = 1 #Core 2 = 2 #Core 3 = 4 #Core 4 = 8 #Core 5 = 16 #Core 6 = 32 #Core 7 = 64 #Core 8 = 128 #Add all the core values (255) to use all 8 cores #Ex. 4 Core usage = 1+2+4+8 = 15 $Affinity = 255 If($PROCESS -ne $Null) { Write-Output "Setting Affinity for: "$PROCESS.ProcessName do{ #Refresh the process to get the current values $PROCESS.Refresh() #ProcessorAffinity=255 set the cpu affinity to the first 8 cpu threads if not already set If($PROCESS.ProcessorAffinity -ne $Affinity){$PROCESS.ProcessorAffinity = $Affinity} #Sleep the command for 3 seconds Start-Sleep -s 3 #As long as the process conviction_game is active the loop will continue }while(-not $PROCESS.HasExited) }
6 Comments
Ayto 26 Jun, 2023 @ 5:17pm 
It states the following in the powershell window:
"Setting Affinity For: System.Diagnostics.Process (conviction_game).ProcessName. Refresh 15.
Ausnahme beim Festlegen von "ProcessorAffinity": "Zugriff verweigert"
In C:\Users\Ati\Documents\conviction.ps1:39 Zeichen:55
+ ... rAffinity -ne $Affinity){$SplinterCell.ProcessorAffinity = $Affinity}
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
+ FullyQualifiedErrorId : ExceptionWhenSetting"

I dont know what to do, any help?
My system is in german, does this mess with the commands for powershell since its in english there?
Adeptus ⁧⁧Aconite 3 May, 2023 @ 1:52pm 
What to tweak if i have 12 cores?
Honkey Kong 21 Apr, 2022 @ 4:18pm 
Getting "cannot be loaded because running scripts is disabled on this system."
mindrover777 24 Nov, 2021 @ 4:21am 
did not work dear. any workaround.?
ҭҗҥдċ Paradise 23 Apr, 2021 @ 5:49pm 
Holy guacamole this works SO WELL!
wolfinston85 20 Mar, 2021 @ 5:33pm 
Any way to make it run automatically?