Jump to content
LaunchBox Community Forums

PCSX2 with CPU affinity


Recommended Posts

Hi all

I am a great fan of Time Crisis games and I have had problems with PCSX2 running Time Crisis 2 and 3.  The game slows down and becomes unplayable at times.  I am running a Ryzen 7 1700 with a GTX1060. 

I have found a way to get these to run smoothly by adjusting CPU affinity.  Check out google for different affinity settings.  I had to try different settings to find one that worked well on my processor.

By using an AHK script I can now run this directly from launchbox.  

Onother way of changing affinity settings is to create a shortcut to pcsx2 and change the target to: C:\Windows\System32\cmd.exe /C start "" /affinity 7F "X:\Your PCSX2 directory location\pcsx2.exe"  The only problem with using a shortcut is it is hard to use with launchbox.

Hope this helps some others.  Took me a while to figure this out

Heres my AHK script:  I highlighted the part with sets CPU affinity.  My setting is 7F.  Obviously you will have to change paths to emulator directories etc.


#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

Run, C:\Windows\System32\cmd.exe /C start "" /affinity 7F "H:\Playstation2 PSX2 (PS)\experiment\pcsx2-v1.7.0-dev-549-g3442ba748-windows-x86\pcsx2.exe" "H:\Playstation2 PSX2 (PS)\roms\Time Crisis 2\Time Crisis II (USA).bin"

    Run,taskkill /im "pcsx2.exe" /F


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...