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 becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

If neither of those of work for you, you can donate any amount by clicking here.

Recommended Posts

Posted

I looked through the configs section of the forums and I'm not seeing an answer.

Gens works great in GameEX, just having a hard time exitting a game back to gameEx. By default Gens uses the ESC key to pause. I created and INI file forcing Alt-f4 to exit the game, but for some reason this also closes GameEX and takes me back to windows.

Here is what I have in my gameex.ini

[Emulator_5]

Enabled=True

StartPageName=SEGA Genesis Games

TitleText=SEGA Genesis

StartPageLogo=Genesis

RomFilter=*.zip

RomsInFolders=False

ROMPath=D:\Emulation\Sega Genesis-CD-32x\Roms

SnapPath=D:\Emulation\Sega Genesis-CD-32x\snaps

WorkingPath=D:\Emulation\Sega Genesis-CD-32x

MapKeys=False

WaitBeforeKeys=

SendKeys=

ReplaceDash=True

ReplaceUnder=True

Capitals=True

RemoveBrackets=True

AlsoLaunch=

ShowDesktop=False

Debug=False

MapFile=

OLDatZip=

Command=Gens.exe [ROMPath]\[RomFile]

TitlePath=

BoxPath=

LaunchBefore=

LaunchAfter=

CartPath=

configFile=gens

And here is what I have in the gens.ini

# 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 process

MapBack=True

#Make Escape key close emulator process

MapEscape=True

#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=%{F4}

#Wait for keys to be processed by the emulator

EmuWaitForKeys=True

#Additional processes to wait to exit or close on exit. Dont include the .exe. Leave blank not to use.

Process1=

Process2=

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=FALSE

Left=37

up=38

Right=39

Down=40

Button1=17

Button2=18

Button3=32

Button4=53

Button5=54

Button6=49

Thanks again for any help.

Posted

Is there some reason why you're not using the standard method of exiting? I've never had a problem with plain old mapkeys using Gens.

Posted
  djrobx said:
Is there some reason why you're not using the standard method of exiting?  I've never had a problem with plain old mapkeys using Gens.

Not sure what you mean. From what I can tell Gens doesn't have a set key combination to exit the emulator. ESC is pause, to quit you have to right click and choose file-quit.

Maybe I am just not understaning about Mapkeys

Thanks for the reply.

Posted

the point of mapkeys is that gameex intercepts and force closes the app when you push escape.

i use Fusion so i don't know..

Posted

Well as in my ini file I put in to force Alt-F4 when esc is pressed, but it not only closes Gens but also gameEx.

Unless there is another key combination I can't find that exits Gens?

Posted

If you do not use the advanced config, GameEx will trap the ESC key and do a task kill on the emulator that's running (sort of like hitting ctrl-alt-del and killing something from the task list). It doesn't matter what key combination exits or pauses. ESC will become an exit key.

This feature does have a use for some emulators like ZSnes. Zsnes doesn't save state when it's asked to exit that way, so you can lose your progress in games. I never had that problem with Gens.

Posted
  djrobx said:
If you do not use the advanced config, GameEx will trap the ESC key and do a task kill on the emulator that's running (sort of like hitting ctrl-alt-del and killing something from the task list).   It doesn't matter what key combination exits or pauses.  ESC will become an exit key.

This feature does have a use for some emulators like ZSnes.  Zsnes doesn't save state when it's asked to exit that way, so you can lose your progress in games.  I never had that problem with Gens.

OK, I think I got it. I set mapkeys to yes in the config and seems good now. Thanks :).

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