Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Hi scoobie_snack

The issue you describe is fairly common for emulators and/or games that require some sort of launcher (like PCSX2Bonus) for operation through GameEx. The problem that is happening is that GameEx only 'knows' about the executable you launch. Most of the time the executable is the emulator, so the system works as expected. The trouble is that in this case the executable only stays in memory long enough to launch PCSX2. When the executable completes GameEx just figures that you're done playing, since that's the process it's watching. You need to tell GameEx to also watch PCSX2. That's where an advanced emulator config will be your friend.

Here's an example of what you need to do. Open up notepad and paste the following contents into it:

# This is an advanced emulator configuration file. It does things such as allow keyboard only emulators to be operated by a gamepad, wait for additional processes to exit and map keys. If this file is used it overrides the MAPKeys setting for the emulator.[GENERAL]# Enabled. Use this.Enabled=True#Make MCE Back button and X-ARCADE Escape and SlikStik Escape to close emulator processMapBack=False#Make Escape key close emulator processMapEscape=False#When exiting an emulator via the above mappings, you can specify keys in the send keys format to send instead of having GameEx close the process to cleanly exit the emulator. Such as the Q Key or ALT F4 which is %{F4}KeysToSendOnExit=#Wait for keys to be processed by the emulatorEmuWaitForKeys=True#Additional processes to wait to exit or close on exit. Dont include the .exe. Leave blank not to use.Process1=pcsx2-r5875Process2=Process3=Process4=[JOYMAPPING]# For mapping a GamePad to keys# Specify a virtual key code to send when the specific joystick control is pressed. Look at vkcodes.htm for codes.JoymappingEnabled=FalseLeft=up=Right=Down=Button1=Button2=Button3=Button4=Button5=Button6=Button7=Button8=Button9=Button10=Button11=Button12=Button13=Button14=Button15=Button16=[GAMEPADEXIT]#MAP Gamepad controls to exit and make controls exit processMapGamePadExit=False#Flag the controls that exit a game by placing True next to each control. To not use the control as part of the combination use a 0Left=TrueDown=Right=Up=TrueButton1=Button2=Button3=Button4=TrueButton5=TrueButton6=TrueButton7=Button8=Button9=Button10=Button11=Button12=Button13=Button14=Button15=Button16=[MOUSEMAPPING]# For registered users, the ability to control the mouse with a gamepad and/or directional keys.# For example for PC strategy games.# Apparantly this functionality is similar to the software Pinnacle profiler. Remember you can setup an emulator# as one PC game. Specify enabled, and mousespeed 0-20. 20 Being fastest. This setting overrides the directional# mapping for the above and buttons 1 and 2 Button 1/CTRL becomes left mouse. Button 2/ALT Right mouseMouseMappingEnabled=FalseMouseSpeed=0[BLOCKKEYS]# Use this section to disable and block key presses and mouse clicks.# To disable the mouse clicks use code 1 for left mouse button,# 2 for right button and 4 for middle buttonEnabled=FalseBlockKey_1=1BlockKey_2=2BlockKey_3=4BlockKey_4=BlockKey_5=[KEYBOARDREMAP]# Remap Keys for the emulator. Specify from the from key, which is the key you wish to replace the to key# This should be good enough for real time gaming. Registered version feature. Look at VKCodes.htm for codes.Enabled=FalseRemap_1_From_VK=Remap_1_To_VK=Remap_2_From_VK=Remap_2_To_VK=Remap_3_From_VK=Remap_3_To_VK=Remap_4_From_VK=Remap_4_To_VK=Remap_5_From_VK=Remap_5_To_VK=Remap_6_From_VK=Remap_6_To_VK=Remap_7_From_VK=Remap_7_To_VK=Remap_8_From_VK=Remap_8_To_VK=Remap_9_From_VK=Remap_9_To_VK=Remap_10_From_VK=Remap_10_To_VK=Remap_11_From_VK=Remap_11_To_VK=Remap_12_From_VK=Remap_12_To_VK=Remap_13_From_VK=Remap_13_To_VK=Remap_14_From_VK=Remap_14_To_VK=Remap_15_From_VK=Remap_15_To_VK=Remap_16_From_VK=Remap_16_To_VK=Remap_17_From_VK=Remap_17_To_VK=Remap_18_From_VK=Remap_18_To_VK=Remap_19_From_VK=Remap_19_To_VK=Remap_20_From_VK=Remap_20_To_VK=Remap_21_From_VK=Remap_21_To_VK=Remap_22_From_VK=Remap_22_To_VK=Remap_23_From_VK=Remap_23_To_VK=Remap_24_From_VK=Remap_24_To_VK=Remap_25_From_VK=Remap_25_To_VK=Remap_26_From_VK=Remap_26_To_VK=Remap_27_From_VK=Remap_27_To_VK=Remap_28_From_VK=Remap_28_To_VK=Remap_29_From_VK=Remap_29_To_VK=Remap_30_From_VK=Remap_30_To_VK=Remap_31_From_VK=Remap_31_To_VK=Remap_32_From_VK=Remap_32_To_VK=


Save that file with the following name (or one of your own choosing): [Mapping Off] PCSX2 (Process Close) and put it in the following directory: ...\GameEx\CONFIG\EMULATORS

As I mentioned the above file is very close to what you need but not be exactly what you need. That's because of the following lines:

#Additional processes to wait to exit or close on exit. Dont include the .exe. Leave blank not to use.Process1=pcsx2-r5875

You'll notice that PCSX2 includes the release version in the name of the executable, so unless you're also using PCSX2 r5875, you'll need to modify that part so that it points to your own version of PCSX2. Here's how you do that:

Open up the Setup Wizard and go to the Advanced Emulator Setup screen. There you'll find a field called Advanced Config. That's the one you're interested in, so open up the drop-down selection, and you'll find an entry for the file you created above. Make that selection. Now click on the '...' button, which will open up the Advanced Config Editor. Find the tab called Process Wait, and click on it. There you'll see pcsx2-r5875 listed as Process1. Double click on the text that says 'pcsx2-r5875' which will open up the editing box. Now click the text again which will open up a file explorer. Now just navigate to where ever you have PCSX2 located, and double click the executable for the emulator (make sure you don't choose the setup.exe).

OK! We're there! Phew! That should help to address the issue you're experiencing. Hopefully it helps to put you on the right track. Good luck!

  • Like 5
  • 2 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...