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: C64 Keyboard mapping swap per game?  (Read 2105 times)

0 Members and 1 Guest are viewing this topic.

JudgeRob

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 471
  • Last login:July 13, 2024, 10:00:33 pm
    • forum.arcadecontrols.com/index.php/topic,149265.120.html
C64 Keyboard mapping swap per game?
« on: September 15, 2017, 11:33:21 pm »
Anybody dialed in the C64 emulation on a cabinet setup?  Specifically I am hitting some walls with the keyboard mapping to buttons.  I am using an ipac as my encoder.  I have reviewed information about how to customize the keyboard maps for VICE but I can't find a way to swap the keyboard maps on the fly so I can have a dedicated map for each game.   If you are familiar with C64 games, you know each one will utilize a random few keystrokes in its execution.  So, I can't simply map a few given keys.  I would like to be able to launch a custom map at the launch of each game (with a default for unknown games).  I would like to run it through my Hyperspin setup. 

Would Xpadder or Joy2Key help?  I don't use either at the moment.

Or... must I use a keyboard for this system?  :(

PS - I have U360 sticks with the Ipac for buttons.

ark_ader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5645
  • Last login:March 02, 2019, 07:35:34 pm
  • I glow in the dark.
Re: C64 Keyboard mapping swap per game?
« Reply #1 on: September 15, 2017, 11:50:29 pm »
How many games are we talking about?

I have the same problem with coinops and elite. It works or not.  I have a wireless keyboard just inside the coin door for these issues.  You could have several instances with keymaps for each game.  I play 5 cbm games on the cab so it isn't a big deal.
If I had only one wish, it would be for three more wishes.

JudgeRob

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 471
  • Last login:July 13, 2024, 10:00:33 pm
    • forum.arcadecontrols.com/index.php/topic,149265.120.html
Re: C64 Keyboard mapping swap per game?
« Reply #2 on: September 16, 2017, 01:43:06 am »
I'm an old C64 dog, so I don't know yet, but I would guess about 20-40 games would satisfy me.  I don't mind establishing a custom map for each if they could auto-launch.  I would love to have some pre-defined maps that would auto-launch through hyperspin and obviate the need for a keyboard.  It's not like each game needs 50 keys, they just all require different random keys. 

yamatetsu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2724
  • Last login:Today at 12:11:21 am
  • Just because.
Re: C64 Keyboard mapping swap per game?
« Reply #3 on: September 16, 2017, 03:46:23 am »
Is it possible to start a batch file via Hyperspin?

If it is, you could make a folder for each game, make a custom keyboard map for the game and name it like the default keyboard map. Then make a batch file for each game that:

- deletes the default keymap file

- copies the custom keymap file to the default keymap folder

- starts the emulator
                  

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: C64 Keyboard mapping swap per game?
« Reply #4 on: September 16, 2017, 04:49:02 am »
It's an effort, but I have used joy2key in the past and was pleased with results if you are willing to make some effort. Easiest thing is to map a "Basic" keymap that will be default and catch many games. Standard layout, but with common keys like enter and space bar mapped out. Then you dive into your games and make specialized keymaps for games that rely on special keys. Games that are action based but need keyboard aid are really fun on a cabinet (I'm looking at you, wolfenstein.) A couple suggestions

Keep it to just core games you want to have. The process takes time to map games.

Have Vice boot into savestates of the game stared up, not disk images themselves. This not only eliminates load times, but often there is a main menu (or a "crack" screen) that you can bypass and avoid needing to map keys to just get past the menu (Press F1 to begin, etc.)

Right away create an alternative default keymap where P2 is the default joystick. Many c64 games used port 2 as default.

JudgeRob

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 471
  • Last login:July 13, 2024, 10:00:33 pm
    • forum.arcadecontrols.com/index.php/topic,149265.120.html
Re: C64 Keyboard mapping swap per game?
« Reply #5 on: September 16, 2017, 05:11:52 pm »
Quote
Is it possible to start a batch file via Hyperspin?

If it is, you could make a folder for each game, make a custom keyboard map for the game and name it like the default keyboard map. Then make a batch file for each game that:

- deletes the default keymap file

- copies the custom keymap file to the default keymap folder

- starts the emulator

Hmm, that's a creative idea.  I don't know if hyperspin has that function, but maybe Rocketlauncher does...

Quote
Have Vice boot into savestates of the game stared up, not disk images themselves. This not only eliminates load times, but often there is a main menu (or a "crack" screen) that you can bypass and avoid needing to map keys to just get past the menu (Press F1 to begin, etc.)

Right away create an alternative default keymap where P2 is the default joystick. Many c64 games used port 2 as default.

Do the joy2key profiles auto-switch with the game?  How, through HS?