Main > Lightguns
Use RCPS3 Move Games with Lightgun using scripts
<< < (28/39) > >>
Jayinem:

--- Quote from: phasermaniac on September 05, 2020, 05:48:56 pm ---Hi! Today I was rereading the whole threat and I think I know weres the confusion with the script:
In ahk if you do a simple remap, like "c:: LButton", in one line you dont need return. But if its a multiple renmap, it needs a return in the end or it runs next remapping.
Another problem is that i think the move o button is not only l+m but. l+m+r.
So the button part of the sript might be:

--- Code: ---c::
Send {RButton Down}
Send {MButton Down}
Send {LButton Down}
Sleep, 60
Send {LButton Up}
Send {MButton Up}
Send {RButton Up}
Return

v::
Send {RButton Down}
Send {MButton Down}
Sleep, 60
Send {MButton Up}
Send {RButton Up}
Return
...

--- End code ---
Tomorrow i'll test in the cabinet, can share the script I have there, that works fine

--- End quote ---

After further testing I think this is good I just press keyboard a and then c then I'm out of calibration.
Jayinem:
Ok my final script (I've said this before I know)


--- Code: ---#SingleInstance Force
run rpcs3.exe Enter_Full_Path_to_EBOOT.BIN_or_.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




--- End code ---
lllll44:
thanks for all you efforts man!
phasermaniac:
There are two things I can't understand:

if you do this:

--- Code: ---a::
send {RButton Down}
send {MButton Down}
Return

--- End code ---
I think you let R and M Buttons pressed. In fact, when exiting the game I have some focus problems with the mouse click, even with the script closed, that solves opening the Task manager.


Move Circle button is R + L only, I can't stand why we need R+M+L.


In my cabinet I have this using SendInput, which is supposed to be faster and more reliable, which seems to work but not perfect at all:


--- Code: ---;Circle
c::
SendInput {RButton Down}
SendInput {LButton Down}
Sleep, 60
SendInput {LButton Up}
SendInput {RButton Up}
Return

;Triangle
v::
SendInput {RButton Down}
SendInput {MButton Down}
Sleep, 60
SendInput {MButton Up}
SendInput {RButton Up}
Return

;Start (for skipping intro scenes}
1::
SendInput {RButton Down}
SendInput {MButton Down}
SendInput {LButton Down}
Sleep, 60
SendInput {LButton Up}
SendInput {MButton Up}
SendInput {RButton Up}
Return

--- End code ---
Jayinem:
These scripts are weird they'll work perfect then I won't even change them then they won't do the same things they did before. It's frustrating.

When I try your script, c just restarts the calibration, and v shoots somehow lol. I do like your 1 hits start script.

I have had those problems you mentioned about buttons not working after you close the script, but with my current escape script, it closes it completely even in taskmgr.


--- Code: ---$Escape::
    Send !{f4}
    Process,Close,rpcs3.exe
    Run,taskkill /im "rpcs3.exe" /F
    ExitApp
return
--- End code ---
Navigation
Message Index
Next page
Previous page

Go to full version