VOGONS

Common searches


First post, by PC-48

User metadata
Rank Newbie
Rank
Newbie

How can I make specific keyboard configurations for games and have that load from my .conf file? I just want to change the controls for each game and then have that load automatically from my .conf file.

Reply 1 of 16, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Are you using the DOSBox keymapper?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 2 of 16, by PC-48

User metadata
Rank Newbie
Rank
Newbie

Is that were it shows a picture of a keyboard in the dosbox program? I tried messing around with that but I wanted something specific for each different game that I could maybe save in the .conf file.

Reply 3 of 16, by ripa

User metadata
Rank Oldbie
Rank
Oldbie
README.TXT, section 6 wrote:
If you change the default mapping, you can save your changes by clicking on "Save". DOSBox will save the mapping to a location s […]
Show full quote

If you change the default mapping, you can save your changes by clicking on
"Save". DOSBox will save the mapping to a location specified in the configuration
file (the mapperfile= entry). At startup, DOSBox will load your mapperfile,
if it is present in the DOSBox configuration file.

I.e. make a new config file, specify a new mapper file in it, start dosbox, start mapper, map, save, and from then on that config file uses that mapping.

Reply 4 of 16, by PC-48

User metadata
Rank Newbie
Rank
Newbie

Ok so I used the mapper but now when I want to type arena to start the game or exit to exit dosbox all my keys are different because I mapped them to something else. Is there a way to map the text "exit" or "arena" to one key? I tried but nothing happened.

Reply 5 of 16, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Put the arena and exit commands in the dosbox.conf file. At the bottom.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 7 of 16, by PC-48

User metadata
Rank Newbie
Rank
Newbie

Ok so here is the bottom of my conf file:

[autoexec]
# Lines in this section will be run at startup.
@echo off
mount c "C:\Documents\DOS\Arena" -freesize 1000
mount d D:\ -t cdrom -ioctl
c:
arena
exit

It doesn't exit dosbox when I exit out of arena though.

Reply 11 of 16, by PC-48

User metadata
Rank Newbie
Rank
Newbie

Well it is a shortcut but I added this where it says Target:
"C:\Program Files (x86)\DOSBox-0.73\dosbox.exe" -conf arena.conf

So I double click on the shortcut and it uses my arena conf file automatically.

Reply 14 of 16, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

wd is not saying anything. He is asking. You are the one who should do all the saying since you have this arena thing on your PC, not wd.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32