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

Recommended Posts

Posted

In my DOSBox games list in GameEx I have a game that needs Escape to be pressed to start.

I tried messing with the configuration .ini file to map a different key for the whole GameEx but... I can't find what I need in the .ini file to do that.

Posted

At the moment it is not possible to change the exit key for the whole of gameex.

You can however use an advanced config file like this, which will allow you to map the escape button to your gamepad in order to start the game.

You can also exit the emulator with a combination of buttons, MCE Back button, X-ARCADE Escape, and SlikStik Escape.

# 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=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 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=True

Left=

up=

Right=

Down=

Button1=

Button2=

Button3=

Button4=

Button5=

Button6=

[GAMEPADEXIT]

#MAP Gamepad controls to exit and make controls exit process

MapGamePadExit=true

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

Left=

Down=

Right=

Up=

Button1=

Button2=

Button3=

Button4=

Button5=

Button6=

Button7=

Button8=

Button9=

Button10=

Button11=

Button12=

You can map the escape button to start the game under [JOYMAPPING] check the 'VKCodes.htm' for the number which corresponds to escape.

Then use the [GAMEPADEXIT] function to exit Dosbox with a combination of buttons.

The advanced config files are kept here: C:\Program Files\GameEx\CONFIG\EMULATORS

To enable one select it in the emulator options under 'advanced config'

Is this any use to you? :huh:

Posted

Yes, of course, thanks but

I didn't know DOSBox could allow me to create a keyboard map for each game/emulation. It does and that's so cool. Something I missed reading in the docs.

Thanks anyway

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