jacks897 Posted July 14, 2021 Share Posted July 14, 2021 Hey, would it be possible to make it so that pressing the guide button 2 times quickly would trigger the script? Quote Link to comment Share on other sites More sharing options...
jacks897 Posted July 14, 2021 Share Posted July 14, 2021 32 minutes ago, jacks897 said: Hey, would it be possible to make it so that pressing the guide button 2 times quickly would trigger the script? I figured this one out myself, here it is if it helps anyone else vk07:: If (A_ThisHotkey == A_PriorHotkey && A_TimeSincePriorHotkey < 400) { if !WinExist("ahk_exe yBigBox.exe") Run C:\Users\Jack\LaunchBox\Core\BigBox.exe else WinActivate, ahk_exe BigBox.exe Run %A_ScriptDir%\nircmd.exe setdefaultsounddevice "32W_LCD_TV" ; send {esc} WinClose, ahk_exe retroarch.exe WinClose, ahk_exe Dolphin.exe WinClose, ahk_exe pcsx2.exe WinClose, ahk_exe pcsx2.exe WinClose, ahk_exe PPSSPP WinClose, ahk_exe kodi.exe WinClose, ahk_exe citra-qt.exe WinClose, ahk_exe Cemu.exe Send {y} } 1 Quote Link to comment Share on other sites More sharing options...
jacks897 Posted July 22, 2021 Share Posted July 22, 2021 Hey, anyone know of a way to exit PCem when a button is pressed? It doesn't seem to work for me whatever I try. Quote Link to comment Share on other sites More sharing options...
JamesBond@ge Posted July 23, 2021 Share Posted July 23, 2021 On 7/22/2021 at 5:08 PM, jacks897 said: Hey, anyone know of a way to exit PCem when a button is pressed? It doesn't seem to work for me whatever I try. @Zombeaver may be able to help with that. He is a specialist ? Quote Link to comment Share on other sites More sharing options...
Zombeaver Posted July 24, 2021 Share Posted July 24, 2021 Assuming you're using PCem for Windows 9x you wouldn't want that anyway as you need to shut it down properly through the start menu, not pull the proverbial plug. 1 Quote Link to comment Share on other sites More sharing options...
jacks897 Posted July 24, 2021 Share Posted July 24, 2021 Thanks for the reply, yeah I realized that after going through scan disk, I hadn't seen that screen for years! Your PCem config/Bat work very well, thank you Quote Link to comment Share on other sites More sharing options...
jacks897 Posted July 24, 2021 Share Posted July 24, 2021 Does anyone know how to shrink a PCem hard drive .img file? Quote Link to comment Share on other sites More sharing options...
Zombeaver Posted July 24, 2021 Share Posted July 24, 2021 5 hours ago, jacks897 said: Does anyone know how to shrink a PCem hard drive .img file? You can't. But you shouldn't be using .img hdds anyway. PCem (v17) lets you create variable size / dynamically-expanding vhds. You specify a size that you want to be seen in the VM - 16GB, 32GB, whatever you want - but the actual size that it occupies is only however much space is used by the files on the drive, and it dynamically expands as you add more, up to whatever the maximum size was that your specified on creation. Quote Link to comment Share on other sites More sharing options...
jacks897 Posted July 26, 2021 Share Posted July 26, 2021 Thanks, that sounds like a much better way of using the hdd's. Is there a way to convert an img hard drive to a vhd? i downloaded a copy of a Windows 98 image on Archive.org that was already configured for pcem, that's why I have an img file Quote Link to comment Share on other sites More sharing options...
Zombeaver Posted July 27, 2021 Share Posted July 27, 2021 I don't believe so, no. You could always "reverse engineer" one of my game packages that use PCem, just uninstalling the game in the 98 environment and then putting whatever you wanted on. The newer ones are setup with variable vhds. The older ones are imgs, from before those were available. https://www.zombs-lair.com/ It's pretty easy to just start from scratch though if you want to go that route. I'd recommend using 98SE + FIC VA-503+ or later mobo as this allows you to shut down the computer and then PCem automatically closes itself. Quote Link to comment Share on other sites More sharing options...
jacks897 Posted July 27, 2021 Share Posted July 27, 2021 Cool, thanks for pointing me in the right direction. I already have one of your packages L.A.P.D Future Cop so I will take a look at reverse engineering that, I never could get that game to run on modern systems, great game from my youth. Quote Link to comment Share on other sites More sharing options...
Musi Posted August 4, 2021 Share Posted August 4, 2021 Hey guys, I was wondering if any of you knew about an app that could possibly map a button on the keyboard or on a controller to a mouse to at a specific point on screen. This would be extremely help in Cemu games like Splatoon where in order to squid jump you need to use the mouse which is a hassle. Have a simple button to click it for you would be a phenomenal idea. Let me know in the comments if you guys have anything that can do this! ❤️ Quote Link to comment Share on other sites More sharing options...
Krakatoa Posted August 8, 2021 Share Posted August 8, 2021 Anyone help with a script? I am trying to have a Joystick button press simulate pressing F1 and F2 this is what I have, but its not working. Joy4:: If GetKeyState("Joy4") { SetKeyDelay, -1, 110 Send {F1},{F2} } Return Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted August 8, 2021 Share Posted August 8, 2021 1 hour ago, Krakatoa said: If GetKeyState("Joy4") You only need this if needing to use a button combination. Try this (not tested) 1Joy4:: { SetKeyDelay, -1, 110 Send {F1}{F2} } Return I don't know if the 1st "1" is required to tell it to look for Controller #1. But in past tests, I know it works. This will send a keypress to {F1} and then to {F2}. [vs. sending {F1} a_literal_comma {F2} ] Quote Link to comment Share on other sites More sharing options...
Krakatoa Posted August 8, 2021 Share Posted August 8, 2021 3 hours ago, JoeViking245 said: You only need this if needing to use a button combination. Try this (not tested) 1Joy4:: { SetKeyDelay, -1, 110 Send {F1}{F2} } Return I don't know if the 1st "1" is required to tell it to look for Controller #1. But in past tests, I know it works. This will send a keypress to {F1} and then to {F2}. [vs. sending {F1} a_literal_comma {F2} ] thanks, for some reason, its still not working. Maybe there's a special way needed for the Dolphin emulator Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted August 8, 2021 Share Posted August 8, 2021 3 hours ago, Krakatoa said: Maybe there's a special way needed for the Dolphin emulator Not sure exactly what your wanting to do in Dolphin. Load a save state? Do Frame Advance [fast forward]?... If it's something like that, you can set those in Dolphin itself. Go to Options, Hotkey Settings. Make sure "Device" is set to XInput/Gamepad for it to register the controller. Then go to the tab you need and click once in the box you want to set, then press the appropriate controller button. Quote Link to comment Share on other sites More sharing options...
Krakatoa Posted August 9, 2021 Share Posted August 9, 2021 13 hours ago, JoeViking245 said: Not sure exactly what your wanting to do in Dolphin. Load a save state? Do Frame Advance [fast forward]?... If it's something like that, you can set those in Dolphin itself. Go to Options, Hotkey Settings. Make sure "Device" is set to XInput/Gamepad for it to register the controller. Then go to the tab you need and click once in the box you want to set, then press the appropriate controller button. When Mario GP and GP2 launch and the Nintendo screen shows you need to press F1 or F2 to proceed, F1 is for GP1 and F2 is for GP2, my goal was to create an AHK script that would simulate a keyboard press, so I don't have to keep a keyboard in racing cab. I think the script it correct, but for some reason its not working with Dolphin Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted August 9, 2021 Share Posted August 9, 2021 17 minutes ago, Krakatoa said: Mario GP and GP2 It's F1 for both my GP1 and GP2. I use a 'dedicated' version of Dolphin just for these 2 and set it up like so.. Depending on your games' load time, you may need to adjust the sleep 4 seconds ("4000"). And if your GP2 is indeed F2, and pressing F1 doesn't 'hurt' it (and visa versa for GP1)... copy and paste the last 3 lines to below what's there and change "F1" to F2". Then play and have loads of fun! Quote Link to comment Share on other sites More sharing options...
Krakatoa Posted August 9, 2021 Share Posted August 9, 2021 1 minute ago, JoeViking245 said: It's F1 for both my GP1 and GP2. I use a 'dedicated' version of Dolphin just for these 2 and set it up like so.. Depending on your games' load time, you may need to adjust the sleep 4 seconds ("4000"). And if your GP2 is indeed F2, and pressing F1 doesn't 'hurt' it (and visa versa for GP1)... copy and paste the last 3 lines to below what's there and change "F1" to F2". Then play and have loads of fun! You are awesome, thank you!! BTW these games are awesome. 1 Quote Link to comment Share on other sites More sharing options...
jacks897 Posted August 17, 2021 Share Posted August 17, 2021 Does anyone know what the code is for the share button on the xbox one controller? Quote Link to comment Share on other sites More sharing options...
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.