I've changed it back to enabling short filenames which is what I had before, thanks .mad. (Also possible by clicking the "use short (8.3) filenames" checkbox in the GEMUS menu in Gamebase)

This is back to what I had before and is not effecting the outcome of this error.

The writeup on the dink mod of VICE is located below, in case that provides any info on why this version of VICE wouldn't work with the 2012 GEMUS script, above. It's a fantastic version of VICE, I just am trying to figure out how to implement it in Gamebase.

Thanks for the ideas, .mad. I'm at work now, so I'll check your notes tonight. But in the meantime...

I got it working another way! I was able to make this work by trying an earlier, offically sanctioned version of the dink mod VICE package which is Version 2.4.8 (it's not an x64 version either, that might be an issue as well) I realize now that it was risky and/or foolish of me to be using a nightly build, even though it was a newer version. So I swapped out my xvice.exe file with the v2.4.8 version, and now I have the dink mod version of VICE working fine in Gamebase Vic20. I am curious though what GEMUS script you would recommend for v 2.4.8 of VICE. Would the version in this thread work, in your opinion?

For anyone reading this who is interested in getting a wired or wireless controller working with VICE, the dink mod version is invaluable. I am playing my favorite Vic20 games from the comfort of my couch, controlling games with a wireless Xbox 360 controller and the visuals on my HDTV. With the ease of the well curated Gamebase Vic20, it's a dream come true!

Thanks again for your suggestions, .mad! I'm off to try all these games

Wow. Thanks very much, .mad. for going to the trouble of creating a custom GEMUS script for the x64 version of the VICE dink mod. However I agree with you that it's probably smarter to stick with the x86 version because it works perfectly with Gamebase and all the thousands of games. The idea of renaming all the multi-cart files in order to use the x64 version feels painful.

The last thing I'd love to know from you is what GEMUS script you'd recommend for the x86 V2.4.8 version of VICE with the dink mod.

The most recent GEMUS script I've been able to find is in this thread and it starts with:

If Key_drivesound CONTAINS (yes)
;Default is OFF
;Drive Sound stays on playing the first two multi-load games tested Mini Kong & Men Rescue.
Set_INI_Value(1||VIC20||DriveSoundEmulation||1)
Set_INI_Value(1||VIC20||DriveSoundEmulationVolume||4000)
Else
Set_INI_Value(1||VIC20||DriveSoundEmulation||0)
Set_INI_Value(1||VIC20||DriveSoundEmulationVolume||0)
End IF

;enable Joypad - must be attached and driver installed before emulator is run.
;if you plug it in USB once WinVICE is running, you must select it manually from options.

;---------------------------------------------------------------------------------
; Dink MOD - remap extra Joypad Buttons for custom KEYS.
; You can not map a KEY to D-Pad function, but can map a BUTTON to DPAD direction.
; The code is there to make it work, but i can not?.
;
; Future Update Request.
; JoyDinkUP/DOWN/LEFT/RIGHT/FUNCTION
; This would be very usefull to remap keyboard only games in GEMUS.
; ALL keys if Possible.
; "SHIFT" ";" "." "," "'" "@" "CBM"
;
; Stop Tape Function, for a few Vic20 Tape Games.
; Jogger disables Joystick while play is pressed (datasette motor running).
;
; Please NOTE:
; Every Pad and USB Adapter could use slightly different button numbers.
; Example shows a PS2 Joypad with "Twin USB Vibration Gamepad" adapter.
;---------------------------------------------------------------------------------

; Keyset A - Customise your own keys
; remap a keyboard only game to joypad.
;Set_INI_Value(1||VIC20||KeymapIndex||1)
;Set_INI_Value(1||VIC20||KeySetEnable||1)

;Cursor numbers
;90 up, 92 left, 93 right, 95 down, 100 R-CTRL

If key_up CONTAINS (*)
Set_INI_Value(1||VIC20||KeySet1North||%up_value%)
End if

If key_down CONTAINS (*)
Set_INI_Value(1||VIC20||KeySet1South||%down_value%)
End if

If key_left CONTAINS (*)
Set_INI_Value(1||VIC20||KeySet1West||%left_value%)
End If

If key_right CONTAINS (*)
Set_INI_Value(1||VIC20||KeySet1East||%right_value%)
End If

If key_fire CONTAINS (*)
Set_INI_Value(1||VIC20||KeySet1Fire||%fire_value%)
End If

;***************************************************************
;VIC20 only has 1 Control port as standard.
;Extra joysticks can only be used by attaching special adapters.
; TankAtak needs OEM joy adapater for 2 players.
;***************************************************************

Else
; Load the first file on the Tape image.
;Default Attach TAPE and load
Add_CLP2( -autostart "%gamepathfile%")
End If

if key_tape CONTAINS(detach)
;Jogger controls do not work without a tape at the STOP position.
;If using a T64 file the image needs to be removed.
;Open WinVICE menu and detach T64/Tape file.
Run_Emulator_Send_Keys([4]%{f}h||50)

; ***** Boot all other disks with a wildcard, if no internal file can be set on the image (G64) *****
Else
Add_CLP2( -autostart "%gamepathfile%")
End If
; ***************************************************************************************************

ElseIf key_load CONTAINS(manual)
Show_Message(You must load the game on the disk manually. LOAD"$",8 and type LIST for directory)
; Just attach disk in default drive 8 and run emulator. Disable auto loading.
Clear_CLP()
Add_CLP2( -8 "%gamepathfile%")
End If
Run_emulator()
End If

.mad. I'm having great luck getting the controller to work as thanks to your helpful GEMUS script. however, I'm having trouble trying to get Gamebase to exit by pressing the escape key. Any ideas? At first I was modifying the win_sym.vkm file but I've somehow got to fool VICE that pressing "esc" is the same as alt-x. Any suggestions?

- actually I got it to work by adjusting the .vkm file to include the following:

1 -1 -1 0 /* ESC -> No Key */

(To get the escape key functionality, I'm also using GameEx which runs overtop of Gamebase, so it's a little crazy but it all works.)

One other issue I noticed with the GEMUS script above is that I think some of the details are out of sync with the version of VICE that it's meant for (2.4.8 dink mod). For example, I could not get the cartridge version of "Gorf" to work on it any longer. (GORF-a000.prg) So what I did is copy the previous GEMUS script pieces from V2.4 earlier in this thread, and past that section relating to memory addresses and loading in to the new version you provided. Now it works! I wonder what is offside about that section of your newest GEMUS script?

I do realize that Gorf is a cartridge. I purchased it myself for $64 in 1983 and played it like crazy that summer! I remember the salesperson was telling my mother, "It's four games in 1, so your son is getting quite the deal".

Unfortunately it appears that many of the cartridges in the latest version (V3) of the Vic20 Gamebase are listed with the PRG extension. Thanks for the suggestion of renaming the files, or adding PRG to cartridge filetype. I chose the latter route rather than renaming them all, even though I hope the next version of the database will go with the new naming scheme.

Thanks again for your help. Playing the huge collection of Gamebase Vic20 games with a wireless D-pad is such a blast!