stonev Posted yesterday at 02:59 PM Posted yesterday at 02:59 PM Hi All--I've managed to integrate Supermodel into LB and unlike Mame and Retroarch, it appears that I need to set up pause screen buttons manually. It seems like it would be easy to set up AHK scripts under the Pause Screen options for Supermodel, but I can't quite seem to figure it out. For reference Supermodel uses the following keys: Pause: Alt+P Reset: Alt+R Load State: F7 Save State: F5 I can confirm that these commands work when I'm using the keyboard. I just can't seem to map them to the Pause Screen commands. It's very likely that I'm just doing AHK wrong. For instance, for Reset, I've tried "Send !r", "Send {Alt down}r{Alt up}", "Send, !r", and a few other iterations. The Reset option appears on my pause screen, but it doesn't really do anything. Although I can confirm that the game does pause when the pause screen is up. Thanks for any help folks can provide! Quote
Solution JoeViking245 Posted 23 hours ago Solution Posted 23 hours ago 17 minutes ago, stonev said: unlike Mame and Retroarch, it appears that I need to set up pause screen buttons manually If you had LaunchBox install MAME for you, there should be some scripts in the Reset, Save and Load sections. 18 minutes ago, stonev said: I've tried "Send !r", "Send {Alt down}r{Alt up}", "Send, !r", and a few other iterations. ...and if those scripts had been in there, you could look at the one for Save, where it takes a modifier key and another keypress to activate. Modify that script to suit your needs and you'd get Send {Alt down} Sleep 50 Send {r down} Sleep 50 Send {r up} Sleep 50 Send {Alt up} The key here (no pun intended) is setting a Key Delay which is needed for some emulators. Essentially, you're causing a more pronounced key press(es). I haven't tested this in Supermodel because like any Arcade game, I don't save. We call it "old school". But I suspect it will work. 1 Quote
stonev Posted 22 hours ago Author Posted 22 hours ago Oh man, I only checked the Mame controls for pause and resume and, seeing nothing, I never thought to look at the others! Duh. Sufficed to say, your solutions worked…mostly. Everything seems to be fine for most games, but the commands are being ignored for light-gun games, like The Lost World. This may be getting too deep into the Supermodel weeds, but using @Warped Polygon’s AMAZING presets, specifically DINPUT ini.zip, I noticed that those games have an extra parameter: InputSystem=rawinput. If I comment that out, the pause screen scripts work, but my trackball no longer moves the light-gun target, making the game unplayable. I don’t suppose there’s any way for the script to go into direct input for the pause screen and go back to raw for the game? Or maybe I’m misdiagnosing the problem? Quote
JoeViking245 Posted 20 hours ago Posted 20 hours ago 1 hour ago, stonev said: I noticed that those games have an extra parameter: InputSystem=rawinput. If I comment that out, the pause screen scripts work, but my trackball no longer moves the light-gun target, making the game unplayable. Since you're using a trackball for Lost Word (instead of an actual Dinput lightgun), maybe comment out that line and revamp the Lost Word section of supermodel.ini? Like, back to stock? This is all just guessing as I've never had Dinput anything, let alone anything Raw. But I do have a trackball. ; Light guns (Lost World) InputGunLeft = "KEY_LEFT" ; digital, move gun left InputGunRight = "KEY_RIGHT" ; digital, move gun right InputGunUp = "KEY_UP" ; digital, move gun up InputGunDown = "KEY_DOWN" ; digital, move gun down InputGunX = "MOUSE_XAXIS,JOY1_XAXIS" ; analog, full X axis InputGunY = "MOUSE_YAXIS,JOY1_YAXIS" ; analog, full Y axis InputTrigger = "KEY_LEFTCTRL,JOY1_BUTTON1,MOUSE_LEFT_BUTTON" InputOffscreen = "KEY_LEFTALT,JOY1_BUTTON2,MOUSE_RIGHT_BUTTON" ; point off-screen InputAutoTrigger = 1 ; automatic reload when off-screen InputGunLeft2 = "NONE" InputGunRight2 = "NONE" InputGunUp2 = "NONE" InputGunDown2 = "NONE" InputGunX2 = "JOY2_XAXIS" InputGunY2 = "JOY2_YAXIS" InputTrigger2 = "JOY2_BUTTON1" InputOffscreen2 = "JOY2_BUTTON2" InputAutoTrigger2 = 0 1 Quote
stonev Posted 20 hours ago Author Posted 20 hours ago (edited) Unfortunately, that's what I've got already. It seems that for Model 3 light gun games, I can either have them work or have a pause screen, but not both. For now, I'll choose to have them work! UPDATE: In fact, @JoeViking245, I was not following your script *exactly*. I had MOUSE1_XAXIS and MOUSE1_YAXIS instead of MOUSE_XAXIS and MOUSE_YAXIS. When I changed them to *just* MOUSE_XAXIS and MOUSE_YAXIS (no "1"), it worked! As I *think* I understand it, the rawinput setting allows 2 light guns to be playing simultaneously. Since I have 0 light guns and only 1 trackball, that's not something I need. For folks reading this and encountering problems with the pause screen on Model 3 aside from the issues above, I also found that for it to work in Big Box (i.e., not crash), I had to un-check "Suspend Emulator Process While Paused" and "Forceful Pause Screen Activation" on the Pause Screen emulator settings in LB. Happy gaming! Edited 19 hours ago by stonev 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.