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

I may have run into a similar issue IIRC. I tend to use controller mapping software for most of my emulators in order to map emulator functionality to controller functions (save states, load states, etc.). As a result my workaround here was fairly simple; I just mapped the bsnes exit emulator key to the controller combination I would normally use to exit an emulator.

You can configure the key used to exit bsnes in the input settings (the settings in bsnes, not in GameEx). I believe I have mine set to F5, but for some reason I think I altered it from the bsnes default, possibly due to a conflict with my controller mappings. This setting could just as easily be set to exit bsnes when esc is pressed (or whatever your global exit key is in GameEx).

If possible I tend to do this with most of my emulators. I figure it’s preferable to let the emulator close in the way it’s designed, rather than simply killing the process. Not sure how valid that is, but it makes sense to me. ;)

Posted

Yes. I noticed that this emulator is a pain to exit if you don't map an exit key which is set to nothing by default. So as suggested, setting one up is the best thing to do. It would not exit with any key, even Alt+F4. So explains why GameEx is having trouble sending exit key since there isn't one.

Posted

Can anyone walk me through how to get multiple button presses to exit this emulator..

because bsnes only allows one button.. which I think is kinda dangerous cause I don't

want to accidentally exit while playing.

Posted

If you'd like to configure this emulator to exit via a button combination I'm afraid it's going to come down to some controller mapping (or CP mapping if you're using a cabinet). In this realm your options are Xpadder (my favorite), JoyToKey, or the GameEx native controller mapping utility. My experience is with Xpadder, but obviously the GameEx utility is likely to be the most available/convenient option here.

Your solution here will depend on which of these options you choose. Using Xpadder it's fairly trivial to pull off. I can give you some pointers in Xpadder but don't really have experience with the other options. Let us know whether you'd like to pursue this option and if so which utility you plan to use.

Posted

As nullPointer stated, Xpadder is a great solution but you can gain the same result with the GameEx controller mapping utility (AdvancedConfigEditor.exe).

Open this utility.

Snap009.jpg

In "Keys to send on Exit", insert the key(s) bsnes uses to quit.

Then go to the "Game Pad Exit" tab:

Snap010.jpg

Click "Enabled" and map your combo keys. Save the file and name it as you want.

The open the ConfigWizard, select "Custom", then Advanced Emulator Setup.

Snap011.jpg

Select the system you want to map (in your case it should be SNES (bsnes)). Do you see the line in grey? Advanced Config. Select the file you just saved.

This should work.

EDIT: fRequEnCy ninja'd me!!! :ph34r:

  • Like 1
Posted

Wow, thanks so much for these detailed instructions AlphaUMI! I learned something myself today. Always good to become familiar with with other tools available. I'll be bookmarking this for future referrals. Thanks!

Posted

It has been a pleasure nullPointer. I'm curious to hear from dukeofarcadia if it works for him as it always worked for me with some reluctant emulators (don't know with bsnes since I don't use it).

Posted

It has been a pleasure nullPointer. I'm curious to hear from dukeofarcadia if it works for him as it always worked for me with some reluctant emulators (don't know with bsnes since I don't use it).

Will definitely work if as long as an exit key is setup in this emulator itself. Just not as easy as other emulators. An exit key is not set by default with is emulator and it does not close in a friendly way. Thank for such a great description!

Posted

unfortunately one of the key buttons I use in my universal exit for all the other systems is represented by button0.

Gameex doesn't seem to account for buttons associated with 0.

Posted

Is that button associated with the Home button on your controller? Honestly I kinda wondered if that was going to work for you. Does button 0 show up in the Windows default controller configuration dialog? If it doesn't, I'm afraid you're going to be out of luck as far as using that button in GameEx (and probably most emulators). My Logitech F710 has a home button and the only games that recognize it are Games for Windows (i.e. Windows Live and such)

I typically map my emulator exit combo to Select + Start. I haven't run into any conflicts with that yet. Are you super attached to the button combo you mentioned for the purposes of exiting emulators? There might still be a way via some sort of script but that's starting to get into 'more trouble than it's worth' territory.

Edit: Sorry missed the part where you said you're already using this key combination for other emulators. This may also come down to differences in programs that support Xinput vs. those that support DirectInput vs. RawInput etc. That's kind of grasping though. I take it button 0 does show up in the Windows controller configuration dialog?

Posted

What is the recommended Exit key for BSNES? In most Game Pad setups that I have seen, there is not a Button0. Have you reviewed the key mapping section in the BSNES tutorial to see if you can map it within there? You may have to perform a Ctrl+0 or some other combination to associate with the keys in your gamepad.

Posted

Like I've said though.. I already use the 0 button to exit out of gameex.. the 0 button represents

the start button actually.. not the home button.. my universal exit command is the home button,

start, and select button all pressed together.. works for everything except bsnes.. in gameex

The Advance Config that Alpha suggested doesn't allow this.. the universal exit settings

in the set up wizard however.. do allow it

Posted (edited)

Hmm . . . all good information. I'm not sure where to take it from here. I suggest putting this in as a feature request. In the meantime I think your options are either to alter your exit button combo for the purposes of bsnes, or to consider an alternate approach like an AutoHotKey script. AutoHotKey was basically designed to handle stuff like this, and it's fairly easy to write up a simple button swap script.

The whole script could be as simple as

Joy0::Send{Alternate Key Stroke}

The part I'm not sure about is whether or not GameEx will correctly receive the input from AutoHotKey, although I don't see why it wouldn't (probably comes down to the RawInput polling vs. DirectInput polling). Ultimately it comes down to the question of whether you want to go through this trouble or whether you'd rather just alter the button combo.

Edit: I almost forgot to suggest that you could still try one of the other controller mapping utilities mentioned earlier. Joy2Key is free and Xpadder has a free version (although it's worth sparing a few bucks for the current version IMHO). Yet another option is the Logitech Profiling software which as far as I know is free and I think works with a variety of controller brands (I've never tried it)

Edited by nullPointer
Guest
This topic is now closed to further replies.
×
×
  • Create New...