Author Topic: Hacking the UA control scheme to be like POD?  (Read 165 times)

Offline Zeea

  • Newbie
  • *
  • Posts: 5
Hacking the UA control scheme to be like POD?
« on: March 22, 2017, 02:52:30 AM »
This is probably absolutely futile, but is there any existing hack or reasonable method for altering Unlimited Adventures' controls to work more like Pools of Darkness? Specifically, the way you could always use arrow keys and Enter to select horizontal menu options? I'm using a Wii U Pro Controller through an adaptor that emulates an X-Box 360 controller, along with Xpadder, and that's been absolutely awesome for Pools of Darkness and the Savage Frontier games.

But Unlimited Adventures inexplicably goes back to the requirement to press specific keys or use a mouse. I can emulate a mouse with Xpadder, but I'd really love to be able to use the much faster and more comfortable Pools of Darkness scheme.

I'm kinda doubting I'll find anything, and I'll just have to deal with it, but it doesn't hurt to ask, right?

(Also, can I just say I'm really, really impressed and happy that there's still an Unlimited Adventures community, even if it's small? I first got the game as a kid and never got to be part of the BBS community or whatever, so it's heartening to see that the game never died. And I'm glad GOG brought it back.)

Offline ProphetSword

  • Mod Designer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2894
  • FRUA Lives!
    • Lands of Adventure
Re: Hacking the UA control scheme to be like POD?
« Reply #1 on: March 22, 2017, 08:17:03 AM »
I'm kinda doubting I'll find anything, and I'll just have to deal with it, but it doesn't hurt to ask, right?

I don't believe that there's any way to reprogram the way the game was hard-coded.  We don't have access to the source code, unfortunately.
LANDS OF ADVENTURE: An Old-School Style CRPG

More Information Here: http://landsadventure.blogspot.com/

Offline Mechanaut

  • Full Member
  • ***
  • Posts: 124
Re: Hacking the UA control scheme to be like POD?
« Reply #2 on: March 22, 2017, 08:56:55 AM »
It might be possible to use a custom DOSBox keymap file to achieve what you want; where you would remap the keys that you wish to use, to signal key-presses from the keys that UA demands.  I have done this with Mortal Kombat, and Menzoberranzan; to allow use of easier (more comfortable) keys in MK, and to make Menzo WASD.

 https://www.dosbox.com/wiki/Mapper

Of course, this means using a custom DOSBox config specifically for UA; but it needn't be a dedicated DOSBox install (like GoG does it).  I make regular Windows shortcuts for specific titles, and use a different config file for each ~if need be; depending on the needs of the game or application.

For Example my shortcut to run Dan Autry's Toolbox:
   C:\Games\DOSBox-0.74\DOSBox.exe -conf ".\conf\TOOLBOX.conf" -noconsole -c exit

Where TOOLBOX.conf includes this to run that specific program:
   [autoexec]
   #gives access to my SSI games.   
   mount c c:\games\dos
   mount d c:\games\dos_games 
   
   c:
   cd toolbox
   TOOLBOX.exe

**If needed, you would change the mapperfile reference to a custom keymap in the [sdl] section of the config file.
Where the default might be:
   mapperfile=mapper-0.74.map
« Last Edit: March 22, 2017, 09:23:35 AM by Mechanaut »

Offline Zeea

  • Newbie
  • *
  • Posts: 5
Re: Hacking the UA control scheme to be like POD?
« Reply #3 on: March 22, 2017, 08:04:06 PM »
Thanks so much for the replies. Guess I'll just have to make do, then. :)

Xpadder lets me map gamepad controls to keys easily, and it's worked well for Menzoberranzan and most of the other Gold Box games. The problem with FRUA is that it has so many different letters that need pressing depending on the situation, so it's a little harder to fit them all on a controller without getting too complicated. But I'm gonna give it a shot, all the same. If nothing else, I'll just switch to my mouse emulation setup with a few hotkeys added.

(My actual mouse is broken, and more importantly, using a mouse gives me arm ache problems due to a stupid injury running to the bus in high school.)