First post, by Nazo
- Rank
- Newbie
Is there any way to change these on the fly at all? For instance, I want to remap my joystick to keyboard controls for Zeliard as I don't like its default controls at all (in particular, I really want to map one of the buttons to the up arrow so the jump feels more natural and is less hard to actually do while moving.)
I realize of course that you can change the configuration file in the dosbox.conf file, but I like to run DOSBox kind of like an emulated system rather than on an individual game basis. Eg, I type "dosbox" and I'm presented with a C prompt after everything finishes starting up and then I run games as I would on a DOS machine without ever double clicking on anything or whatever. I like to keep things set somewhat on a universal basis and just change a few basics as needed via batch files (for instance, if I want to switch from using MIDI via the Windows MIDI mapper to MT-32 emulation, I use the config -set command to change the settings relevant to this via a batch file. I generally set each game that I can only get to sound decent via MT-32 emulation (I have the S-YXG50 synthesizer installed, so for the most part just about everything I can get to run through General MIDI sounds best that way to me) to switch on the fly, and when the game is done, it just switches back to the standard Windows MIDI mapping in case I run another game that's best that way. As someone who started out with computers back in the days before games really went to Windows, I've always just preferred it this way and up until now I haven't really run into anything that couldn't be either pretty universal or changed on the fly as needed in a simple batch file. This really seems to be the exception though as any changes to this on the fly appear to be ignored.
Ok, so of course I ran a search. It seems at least back in 2007 it was stated that DOSBox could not change anything from the sdl section of the configuration on the fly (I'm surprised it hasn't gotten past that in the past four years, but I guess it's just is too messy to change such a thing? I get the impression that everyone on the development team is fine with having a separate DOSBox setup for each game to just double click or whatever rather than doing it the old fashioned way really.) Assuming there is no solution in this though, isn't there any other way? After all, I don't need to switch complex keyboard keys or anything like that, merely remap the joystick buttons themselves (not even the axes.) Perhaps there might even be a more old-fashioned solution? Say a DOS program that can do this? After all, the games that should required this should generally be pretty old and probably won't crash if something is playing around with interrupts in such a manner as a TSR like this might be would probably do. Or maybe some simpler function in DOSBox itself since it doesn't need to change anything more than that?