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: Winvice and key mappings  (Read 6385 times)

0 Members and 1 Guest are viewing this topic.

whatisk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:March 27, 2017, 06:41:39 am
  • Nothing to see here
Winvice and key mappings
« on: April 10, 2006, 06:51:44 pm »
Now that I have the whole fliplist and VSF thing sorted, I was wondering if anyone knows how to remap keys in Winvice.

Reason being is that RUN/STOP is currently mapped to ESC. So, if I have games load from the beginning on my cab where after the crack screen they show the doc on the game, you need to press RUN/STOP to exit this. I was hoping to keep the cab consistent and have ESC to exit the game. In order to do this, I believe I would need to change the mapping for RUN/STOP to something else. Unfortunately, the key map file (win_pos.vkm in the C64 folder) makes absolutely no sense to me what-so-ever.

So, just wondering if anyone knows how this would be achieved?...
No trees were harmed in the creation of this post. Though several electrons were severely inconvenienced.

chemame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:January 26, 2007, 01:54:05 pm
  • I want to build my own arcade controls!
Re: Winvice and key mappings
« Reply #1 on: April 11, 2006, 07:54:39 am »
Whatisk:

I never did get my head completely around the keymappings, but here's what works for me:

comment out the current ESC key mapping
#1 7 7 8                /*          ESC -> Run/Stop     */

btw: ("1" = ESC, "7 7" = C64 run/stop, "8" = can be shifted, or not, doesn't matter):

then modify an unused key's mapping to point to the same c64 key
for instance, I change this:
68 -1 -1 0            /*          F10 -> (no key)     */

into this:
68 7 7 8              /*          F10 -> Run/Stop     */

make sure your x64 is using the mapping file you just edited (I say this because the docs say it uses SYM by default, but I found mine to be using POS by default).

Anyway, that should be it. F10 is now RUN/STOP

I tried to make it be PAUSE or BREAK as RUN/STOP, but couldn't get it to work.
If you have any luck with using BREAK as RUN/STOP, please let me know.

Let me know if this helps.

Chemame

whatisk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:March 27, 2017, 06:41:39 am
  • Nothing to see here
Re: Winvice and key mappings
« Reply #2 on: April 11, 2006, 06:38:18 pm »
Thanks heaps (again) Chemame!!  :notworthy:
Something so simple as reassigning it to an unused key sorta makes me wonder why I didn't think of it. Must just like to make things hard for myself...

As an aside, how are you getting your C64 games to list in Mamewah?
I have tried creating a DAT file for them (so I can keep the original disk and tape images at the 8 chars), but I think I must have the format wrong as the list reports how many games I have, but I can't see the names of the games.

I created a NMS file (using my Daphne setup as a template) and that seems to work okay, but I was hoping to have only the games I list in a DAT file (for example) to show up in the list. I believe I would need to use for for list_generation_method in Mamewah 1.62 rom_folder_vs_dat_file.
Unfortunately, when I use that method with the DAT file I made, it reports that there are no games (unlike if I just use dat_file).

Here is an example of the file I did (using an example I found in another old thread here):
Code: [Select]
game (
   name 10THFRAM
   description "10th Frame"
)
« Last Edit: April 11, 2006, 06:55:50 pm by whatisk »
No trees were harmed in the creation of this post. Though several electrons were severely inconvenienced.

chemame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:January 26, 2007, 01:54:05 pm
  • I want to build my own arcade controls!
Re: Winvice and key mappings
« Reply #3 on: April 12, 2006, 12:03:11 am »
Well, I won't be much help to you there I don't think.

Way back when, I found a website that had thousands upon thousands of c64 roms, and I wrote a spider to crawl the site and scrape them all. Thing is, I ended up with full filenames. I think I'd have rathered 8 char names, but I got what I got, and hey it works for me.

So... long story short, I just let mamewah do a rom_folder list, and I get like 3400 roms, all named very nicely.

That being said, your post did remind me of something. I can't get my mame roms to list properly in mamewah 1.62 using rom_folder_vs_listxml. It works great in 1.61, but for some reason the identical mame folder gives me nothing in 1.62; I think I remember somewhere along the line the parameter for mame changed, so maybe 1.62 is using some parameter not supported by my (very old) mame version. Who knows. I copied the 1.61 mame.lst file to 1.62, and it worked. If you were able to list c64 roms properly under mamewah 1.61, perhaps a similar trick would work for you?

Lotsa luck. I'm off to play paradroids.  ;D

Chemame

whatisk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:March 27, 2017, 06:41:39 am
  • Nothing to see here
Re: Winvice and key mappings
« Reply #4 on: April 12, 2006, 12:22:24 am »
I thought it might have been something to do with Mamewah 1.62, so I tried the DAT file in Mamewah 1.61 and got the same results (should have said that in the previous post I suppose  :P). That's why I'm thinking that the format of my DAT file isn't right.

I've now done all the work of setting up the NMS file and renaming artwork to match the rom names and it all seems to appear okay now. I'm only putting on the cab the games I like (~100), so it wasn't that bad to setup. Way better than if I was going to use all 15000+ 8 char name games I have...

I haven't tried regenerating my MAME list in 1.62, I just transferred it over from 1.61. Must remember not to regenerate the full list (not that I have a reason to) just in case something happens to it.

Thanks again.
Whatisk.
No trees were harmed in the creation of this post. Though several electrons were severely inconvenienced.