Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Daphne key mapping problem  (Read 5140 times)

0 Members and 1 Guest are viewing this topic.

big daddy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:May 01, 2019, 12:16:13 pm
  • I'm a llama!
Daphne key mapping problem
« on: September 18, 2008, 03:26:31 pm »
I'm interested only in Dragon's lair at the moment.  I downloaded latest version of daphne, copied over needed rom, copied video files for dragon's lair (HD files).  I can run dragon's lair by command prompt as follows

> daphne lair vldp -framefile "f:\emulators\daphne\framefile\lair\lair.txt"  -fullscreen

Game works great except the default keymaps don't match my arcade controls (joystick works, but my "sword" button is configured to the "q" key, which just QUITS the game whenever I click it).   

The only way I can see to change the keymapping is by running, seperately, "daphneloader.exe", which is a GUI that allows you to configure those things.   My problem is, when I change it in the GUI, it's not reflecting in the game. 
1) It lets you set different settings for different game revisions.  I'm not actually sure which game revision I have the rom/videos for?  Regardless, I've changed the keymappings for all revisions and it still isn't working when I run it via commandline
2) I don't launch the game from daphneloader, I'm launching through commandprompt...so again the one I'm editing with daphneloader is not the one that is launched through commandline apparantly
3) I can't launch the game from daphneloader, because it tries to go online and download the videofiles (I already have the files for Lair!) and says it needs the CD in place to run

So any ideas how I can configure controls for commandline usage?  Is there a config file where this is saved?  I see a config.xml, but also has the games broken up by revisions (and I'm not sure what revision I have based on the rom/video files?) and doesn't seem to reflect the changes I made via daphneloader anyways?  Thoughts?


jharris

  • Guest
  • Trade Count: (0)
Re: Daphne key mapping problem
« Reply #1 on: September 18, 2008, 07:42:30 pm »
Apparently it's a bug with Daphneloader.exe somehow not saving the key mappings in the file dainput.ini. As a result daphne.exe always reads the default layout. You can fix it by editing dainput.ini yourself with the use of a text editor like Notepad. Read the Daphne Wiki section entitled "Changing Keyboard Input" for more info.
« Last Edit: September 18, 2008, 07:45:01 pm by jharris »

big daddy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:May 01, 2019, 12:16:13 pm
  • I'm a llama!
Re: Daphne key mapping problem
« Reply #2 on: September 19, 2008, 09:35:22 am »
I don't see a dainput.ini file at all and can't seem to access the link you provided.

Can someone post their dainput.ini file for me to use as a starting point?