I put ahk script in root of rpcs3 install. You can point your front end to that file.
You must copy .self files from game1 and game2 to USRDIR. See screenshot.
So for me ....dev_hdd0\disc\Time Crisis Razing Storm BLUS30528\PS3_Game\USRDIR
Note: If you did not go through extremely long install of pirates, you will not see the pirates_PS3.ppu.self
It looks like you are not putting the game in rpcs3, you have different paths. Unless you created C:\pc3 as a virtual cd directory, otherwise it won't work.
Here is my ahk script for razingstorm. You will need to create a different script for timecrisis4.self and pirates_ps3.ppu.self
Notice my game is under dev_hdd0\disc\ inside the rpcs3 install folder.
Just double click your ahk script to launch game, or have front end point to ahk script to launch for you.
#SingleInstance Force
run rpcs3.exe "D:\Emulation\rpcs3\dev_hdd0\disc\Time Crisis Razing Storm BLUS30528\PS3_GAME\USRDIR\razingstorm.self"
q::
MouseGetPos, , , win
maxWindow("ahk_id" win)
return
maxWindow(title) {
WinMove, % title, , 0, 0, % A_ScreenWidth, % A_ScreenHeight
WinActivate, % title
WinSet, Style, -0xC00000, % title
WinSet, Style, -0x40000, % title
WinSet, AlwaysOnTop, Off, % title
}
c::
Send {RButton Down}
Send {MButton Down}
Send {LButton Down}
Sleep, 60
Send {LButton Up}
Send {MButton Up}
Send {RButton Up}
Return
a::
send {RButton Down}
send {MButton Down}
Return
$Escape::
Send !{f4}
Process,Close,rpcs3.exe
Run,taskkill /im "rpcs3.exe" /F
ExitApp
return