Surely some clever person had a tackle of the Vice script?
Don't look at me, I'm professionally stupid, its in my contract
Welcome to the Gamebase 64 forums. An attempt to document ALL Commodore 64 gameware before it's too late!
Did anyone ever fix the script for Vice 2.4?
Moderator: Jimbo
- Paul Irvine
- Cool Member
Post
Did anyone ever fix the script for Vice 2.4?
-------
Loved ones are never gone as long as you remember them....
Loved ones are never gone as long as you remember them....
- .mad.
- Honoured Member
- Location: Lancashire
Post
Hi Paul,
As far as i know, there doesn't need to be any fixing.
What problems are you having?.
VICE v2.4 has a few extra options like these...
Drive8SuperCard=0
Drive9SuperCard=0
Drive10SuperCard=0
Drive11SuperCard=0
but these do not need to be scripted for the gamebase.
The v2.3 script should work perfectly.
gemus.dat can be updated, if that's what you need.
As far as i know, there doesn't need to be any fixing.
What problems are you having?.
VICE v2.4 has a few extra options like these...
Drive8SuperCard=0
Drive9SuperCard=0
Drive10SuperCard=0
Drive11SuperCard=0
but these do not need to be scripted for the gamebase.
The v2.3 script should work perfectly.
gemus.dat can be updated, if that's what you need.
Code: Select all
[Commodore 64]
;Recommended emulators
¬WinVICE v2.4 SC (x86)¬http://vice-emu.sourceforge.net¬¬x64sc.exe¬AC69060E¬D64;D71;D80;D81;D82;G64;G41;X64;T64;P00;TAP;PRG;CRT¬Y¬WinVICE-SC.txt¬vice.ini¬
¬WinVICE v2.4 (x86)¬http://vice-emu.sourceforge.net¬¬x64.exe¬75020375¬D64;D71;D80;D81;D82;G64;G41;X64;T64;P00;TAP;PRG;CRT¬Y¬WinVICE.txt¬vice.ini¬
- Paul Irvine
- Cool Member
Post
When trying to load games I get a -joy2dev and it bails out.
Remember I'm talking about the Vic20 Xvic.exe
Version 2.1 works.
Remember I'm talking about the Vic20 Xvic.exe
Version 2.1 works.
-------
Loved ones are never gone as long as you remember them....
Loved ones are never gone as long as you remember them....
- .mad.
- Honoured Member
- Location: Lancashire
Post
The script needs a tiny rewrite for 2.4.
only time i had that -joy2dev error was on c64 version.
this was due to the clp having data before using the autoload/autostart on original disks that needed to boot using load"*",8,1.
you need to remove the %c64imagename% from clipboard.
easy fixed using clear clp function.
single PRG files work using this setup.
need to script TAP and CRT files and it's all good.
Only noticed the VIC20 bit after posting.Paul Irvine wrote:When trying to load games I get a -joy2dev and it bails out.
Remember I'm talking about the Vic20 Xvic.exe
Version 2.1 works.
The script needs a tiny rewrite for 2.4.
only time i had that -joy2dev error was on c64 version.
this was due to the clp having data before using the autoload/autostart on original disks that needed to boot using load"*",8,1.
you need to remove the %c64imagename% from clipboard.
Code: Select all
Add_CLP2( -autostart "%gamepathfile%:%c64imagename%")
easy fixed using clear clp function.
Code: Select all
If Key_load CONTAINS(wildcard)
; Auto boot disk with LOAD"*",8,1
Clear_CLP()
Add_CLP2( -autostart "%gamepathfile%")
ElseIf Key_load CONTAINS(basic)
; Auto boot Disk with LOAD"*",8
Clear_CLP()
Add_CLP2( -autostart "%gamepathfile%" -basicload)
single PRG files work using this setup.
Code: Select all
;disable warp start.
Set_INI_Value(1||VIC20||AutostartWarp||0)
;remove crap CRT gfx filter.
Set_INI_Value(1||VIC20||VICFilter||0)
If GameType CONTAINS(prg)
;use prg mode.
Set_INI_Value(1||VIC20||AutostartPrgMode||1)
Add_CLP( -autostart "%gamepathfile%")
run_emulator()
- .mad.
- Honoured Member
- Location: Lancashire
Post
not had any -joydev2 problems while testing.
can you give me an example of a game that doesn't work for you,
and post the script you are using.
i have scripted the v2.4 basics.
Joystick config is working ok, using the set ini function.
you must have one connected to use the keyset.
as the option is greyed out otherwise.
so the default numpad keyset is used.
found a problem with some filenames...
Terraguard.zip - Terraguard-a000.prg
This doesn't work, with my new script setup.
Renaming it to Terraguard-a000.crt and it runs ok.
i never had a VIC20 so not sure if this is a cart rip that needs a SYS start or a bad name extension. It only has 6 bytes changed in the header from the other crt version in the gamebase.
Could Vicman or Mayhem please shed some light on the facts.
can you give me an example of a game that doesn't work for you,
and post the script you are using.
i have scripted the v2.4 basics.
Joystick config is working ok, using the set ini function.
you must have one connected to use the keyset.
as the option is greyed out otherwise.
so the default numpad keyset is used.
found a problem with some filenames...
Terraguard.zip - Terraguard-a000.prg
This doesn't work, with my new script setup.
Renaming it to Terraguard-a000.crt and it runs ok.
i never had a VIC20 so not sure if this is a cart rip that needs a SYS start or a bad name extension. It only has 6 bytes changed in the header from the other crt version in the gamebase.
Could Vicman or Mayhem please shed some light on the facts.
- Paul Irvine
- Cool Member
Post
Hi Mad
Here a C&P of the whole script, sorry its long..Its the script that comes with the mrk2 version of the Vic20 GB. This is being used with version 2.4 of the XVIC.exe
All games bring up the -joydev2 error
If I use xvic 2.1 its fine?
;************************
;* WinVICE GEMUS Script *
;* (c) The GB Team *
;* 16 December 2004 *
;************************
;
; PLEASE SET YOUR EMULATOR PROPERTIES AS FOLLOWS:
;
; Emulator File: XVIC.EXE
; Associated File (1): vice.ini
; Use Short Filenames: YES
; File Types: D64;T64;G64;G41;TAP;CRT;P00;PRG
;
; This script was written for WinVICE v1.15 but
; may work with other versions too.
;
; Memory configuration is set through the key=value pair:
; memory=x
; where x is: none,all,3k,8k,16k,24k,"0,1,2,3,5" or "04,20,40,60,A0"
; as specified in the VICE manual section 7.2.2.2
; (Note: the Memory Expansion field can not be used by GEMUS)
;
; If the program requires a SYS call to start, then use:
; sys=x
; where x is the starting address as entered from BASIC
; and it will be displayed in a REM statement in the emulator
;
; Multipart cartridges must have the memory locations in the file names.
; The cartridge memory locations are set in the key=value pairs
; cart=A
; cart2=B
; where A and B are 2000,4000,6000,a000 or b000 (or 20,40,60,a0 or b0).
; Single carts may need to have a cart=A value set..
If GameType CONTAINS(d64||t64||g64||g41||tap||crt||prg)
;set paths to file location for possible image swaps
Set_INI_Value(1||VIC20||InitialDiskDir||%gamepath%)
Set_INI_Value(1||VIC20||InitialTapeDir||%gamepath%)
Set_INI_Value(1||VIC20||InitialCartDir||%gamepath%)
Set_INI_Value(1||VIC20||InitialAutostartDir||%gamepath%)
;autostart or 'manual load' the game image
If Key_cart CONTAINS(*)
If Key_cart CONTAINS(*20*)
Add_CLP( -cart2 %gamepath%\*%cart_value%*.*)
ElseIf Key_cart CONTAINS(*40*)
Add_CLP( -cart4 %gamepath%\*%cart_value%*.*)
ElseIf Key_cart CONTAINS(*60*)
Add_CLP( -cart6 %gamepath%\*%cart_value%*.*)
ElseIf Key_cart CONTAINS(*a0*)
Add_CLP( -cartA %gamepath%\*%cart_value%*.*)
ElseIf Key_cart CONTAINS(*b0*)
Add_CLP( -cartB %gamepath%\*%cart_value%*.*)
End If
If Key_cart2 CONTAINS(*20*)
Add_CLP( -cart2 %gamepath%\*%cart2_value%*.*)
ElseIf Key_cart2 CONTAINS(*40*)
Add_CLP( -cart4 %gamepath%\*%cart2_value%*.*)
ElseIf Key_cart2 CONTAINS(*60*)
Add_CLP( -cart6 %gamepath%\*%cart2_value%*.*)
ElseIf Key_cart2 CONTAINS(*a0*)
Add_CLP( -cartA %gamepath%\*%cart2_value%*.*)
ElseIf Key_cart2 CONTAINS(*b0*)
Add_CLP( -cartB %gamepath%\*%cart2_value%*.*)
End If
;autostart or 'manual load' the game image (with SYS call messages)
If VersionComment CONTAINS(*load manually*)
;check if a SYS call is needed to start
If Key_sys CONTAINS(*)
Add_CLP( -keybuf "REM LOAD MANUALLY THEN START WITH SYS%sys_value%%crlf%")
Else
Add_CLP( -keybuf "REM LOAD MANUALLY THEN SOFT RESET TO START%crlf%")
End If
Else
;check if a SYS call is needed to start
If Key_sys CONTAINS(*)
Add_CLP( -keybuf "SYS%sys_value%%crlf%")
End If
End If
Else
;autostart or 'manual load' the game image (with SYS call messages)
If ImageName CONTAINS(*)
If VersionComment CONTAINS(*load manually*)
;check if a SYS call is needed to start
If Key_sys CONTAINS(*)
Add_CLP( -keybuf "REM LOAD MANUALLY THENSTART WITH SYS%sys_value%%crlf%")
Add_CLP2( -autoload "%gamepathfile%:%c64imagename%")
Else
Add_CLP( -keybuf "REM YOU MUST LOAD AND START MANUALLY%crlf%")
Add_CLP2( -autoload "%gamepathfile%:%c64imagename%")
End If
Else
;check if a SYS call is needed to start
If Key_sys CONTAINS(*)
Add_CLP( -keybuf "%crlfx2%%crlfx2%SYS%sys_value% PRESS ENTER‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘%crlf%")
Add_CLP2( -autoload "%gamepathfile%:%c64imagename%")
Else
Add_CLP2( -autostart "%gamepathfile%:%c64imagename%")
End If
End If
Else
If VersionComment CONTAINS(*load manually*)
;check if a SYS call is needed to start
If Key_sys CONTAINS(*)
Add_CLP( -keybuf "REM LOAD MANUALLY THENSTART WITH SYS%sys_value%crlf%")
Add_CLP2( -autoload "%gamepathfile%)
Else
Add_CLP( -keybuf "REM YOU MUST LOAD AND START MANUALLY%crlf%")
Add_CLP2( -autoload "%gamepathfile%)
End If
Else
;check if a SYS call is needed to start
If Key_sys CONTAINS(*)
Add_CLP( -keybuf "%crlf%%crlfx2%%crlfx2%%crlfx2%SYS%sys_value% PRESS ENTER‘‘‘‘‘‘‘‘‘‘‘‘‘%crlf%")
Add_CLP2( -autoload "%gamepathfile%")
Else
Add_CLP2( -autostart "%gamepathfile%")
End If
End If
End If
End If
;do we want a PAL or NTSC setup?
If PalNTSC = NTSC
Add_CLP( -ntsc)
Else
Add_CLP( -pal)
End If
;settings for expanded memory
If Key_memory CONTAINS(*)
Add_CLP( -memory %memory_value%)
Else
Add_CLP( -memory none)
End If
;set the game controls
;0=None, 1=Numpad + RCtrl, 2=Keyset A, 3=Keyset B, 4+ are for real joysticks/pads;
If %gamefile% CONTAINS(*)
If Control = JoyPort2
Add_CLP( -joydev2 2)
If NumPlayers > 1
Add_CLP( -joydev1 3)
Else
Add_CLP( -joydev1 0)
End If
ElseIf Control = JoyPort1
Add_CLP( -joydev1 2)
If NumPlayers > 1
Add_CLP( -joydev2 3)
Else
Add_CLP( -joydev2 0)
End If
Else
Add_CLP( -joydev1 0)
Add_CLP( -joydev2 0)
End If
End If
;unsupported game controls
If Control = PaddlePort1
Show_Message(This emulator does not have Paddle emulation.%crlfx2%This game may be uncontrollable/unplayable.)
ElseIf Control = PaddlePort2
Show_Message(This emulator does not have Paddle emulation.%crlfx2%This game may be uncontrollable/unplayable.)
End If
;give the user a warning message?
If VersionComment CONTAINS(*use real C64*)
Show_Message(This game may not work properly with this emulator.%crlfx2%See Version Comment for more info.)
End If
If VersionComment CONTAINS(*not 100%*||*not working*||*doesn't work*)
Show_Message(This game may not work properly.)
End If
If VersionComment CONTAINS(*load manually*)
Show_Message(You must load this game manually within the emulator.%crlfx2%Game file: %gamepathfile%)
End If
If VersionComment CONTAINS(*PET Emulator*)
Show_Message(Use PET Emulator to run this game.)
End If
;run the emulator
Run_Emulator()
Else
;invalid game file type
Show_Message(GAME_NOT_SUPPORTED%crlfx2%Supported types: D64, T64, G64/G41, TAP, CRT, PRG, P00)
End If
Here a C&P of the whole script, sorry its long..Its the script that comes with the mrk2 version of the Vic20 GB. This is being used with version 2.4 of the XVIC.exe
All games bring up the -joydev2 error
If I use xvic 2.1 its fine?
;************************
;* WinVICE GEMUS Script *
;* (c) The GB Team *
;* 16 December 2004 *
;************************
;
; PLEASE SET YOUR EMULATOR PROPERTIES AS FOLLOWS:
;
; Emulator File: XVIC.EXE
; Associated File (1): vice.ini
; Use Short Filenames: YES
; File Types: D64;T64;G64;G41;TAP;CRT;P00;PRG
;
; This script was written for WinVICE v1.15 but
; may work with other versions too.
;
; Memory configuration is set through the key=value pair:
; memory=x
; where x is: none,all,3k,8k,16k,24k,"0,1,2,3,5" or "04,20,40,60,A0"
; as specified in the VICE manual section 7.2.2.2
; (Note: the Memory Expansion field can not be used by GEMUS)
;
; If the program requires a SYS call to start, then use:
; sys=x
; where x is the starting address as entered from BASIC
; and it will be displayed in a REM statement in the emulator
;
; Multipart cartridges must have the memory locations in the file names.
; The cartridge memory locations are set in the key=value pairs
; cart=A
; cart2=B
; where A and B are 2000,4000,6000,a000 or b000 (or 20,40,60,a0 or b0).
; Single carts may need to have a cart=A value set..
If GameType CONTAINS(d64||t64||g64||g41||tap||crt||prg)
;set paths to file location for possible image swaps
Set_INI_Value(1||VIC20||InitialDiskDir||%gamepath%)
Set_INI_Value(1||VIC20||InitialTapeDir||%gamepath%)
Set_INI_Value(1||VIC20||InitialCartDir||%gamepath%)
Set_INI_Value(1||VIC20||InitialAutostartDir||%gamepath%)
;autostart or 'manual load' the game image
If Key_cart CONTAINS(*)
If Key_cart CONTAINS(*20*)
Add_CLP( -cart2 %gamepath%\*%cart_value%*.*)
ElseIf Key_cart CONTAINS(*40*)
Add_CLP( -cart4 %gamepath%\*%cart_value%*.*)
ElseIf Key_cart CONTAINS(*60*)
Add_CLP( -cart6 %gamepath%\*%cart_value%*.*)
ElseIf Key_cart CONTAINS(*a0*)
Add_CLP( -cartA %gamepath%\*%cart_value%*.*)
ElseIf Key_cart CONTAINS(*b0*)
Add_CLP( -cartB %gamepath%\*%cart_value%*.*)
End If
If Key_cart2 CONTAINS(*20*)
Add_CLP( -cart2 %gamepath%\*%cart2_value%*.*)
ElseIf Key_cart2 CONTAINS(*40*)
Add_CLP( -cart4 %gamepath%\*%cart2_value%*.*)
ElseIf Key_cart2 CONTAINS(*60*)
Add_CLP( -cart6 %gamepath%\*%cart2_value%*.*)
ElseIf Key_cart2 CONTAINS(*a0*)
Add_CLP( -cartA %gamepath%\*%cart2_value%*.*)
ElseIf Key_cart2 CONTAINS(*b0*)
Add_CLP( -cartB %gamepath%\*%cart2_value%*.*)
End If
;autostart or 'manual load' the game image (with SYS call messages)
If VersionComment CONTAINS(*load manually*)
;check if a SYS call is needed to start
If Key_sys CONTAINS(*)
Add_CLP( -keybuf "REM LOAD MANUALLY THEN START WITH SYS%sys_value%%crlf%")
Else
Add_CLP( -keybuf "REM LOAD MANUALLY THEN SOFT RESET TO START%crlf%")
End If
Else
;check if a SYS call is needed to start
If Key_sys CONTAINS(*)
Add_CLP( -keybuf "SYS%sys_value%%crlf%")
End If
End If
Else
;autostart or 'manual load' the game image (with SYS call messages)
If ImageName CONTAINS(*)
If VersionComment CONTAINS(*load manually*)
;check if a SYS call is needed to start
If Key_sys CONTAINS(*)
Add_CLP( -keybuf "REM LOAD MANUALLY THENSTART WITH SYS%sys_value%%crlf%")
Add_CLP2( -autoload "%gamepathfile%:%c64imagename%")
Else
Add_CLP( -keybuf "REM YOU MUST LOAD AND START MANUALLY%crlf%")
Add_CLP2( -autoload "%gamepathfile%:%c64imagename%")
End If
Else
;check if a SYS call is needed to start
If Key_sys CONTAINS(*)
Add_CLP( -keybuf "%crlfx2%%crlfx2%SYS%sys_value% PRESS ENTER‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘%crlf%")
Add_CLP2( -autoload "%gamepathfile%:%c64imagename%")
Else
Add_CLP2( -autostart "%gamepathfile%:%c64imagename%")
End If
End If
Else
If VersionComment CONTAINS(*load manually*)
;check if a SYS call is needed to start
If Key_sys CONTAINS(*)
Add_CLP( -keybuf "REM LOAD MANUALLY THENSTART WITH SYS%sys_value%crlf%")
Add_CLP2( -autoload "%gamepathfile%)
Else
Add_CLP( -keybuf "REM YOU MUST LOAD AND START MANUALLY%crlf%")
Add_CLP2( -autoload "%gamepathfile%)
End If
Else
;check if a SYS call is needed to start
If Key_sys CONTAINS(*)
Add_CLP( -keybuf "%crlf%%crlfx2%%crlfx2%%crlfx2%SYS%sys_value% PRESS ENTER‘‘‘‘‘‘‘‘‘‘‘‘‘%crlf%")
Add_CLP2( -autoload "%gamepathfile%")
Else
Add_CLP2( -autostart "%gamepathfile%")
End If
End If
End If
End If
;do we want a PAL or NTSC setup?
If PalNTSC = NTSC
Add_CLP( -ntsc)
Else
Add_CLP( -pal)
End If
;settings for expanded memory
If Key_memory CONTAINS(*)
Add_CLP( -memory %memory_value%)
Else
Add_CLP( -memory none)
End If
;set the game controls
;0=None, 1=Numpad + RCtrl, 2=Keyset A, 3=Keyset B, 4+ are for real joysticks/pads;
If %gamefile% CONTAINS(*)
If Control = JoyPort2
Add_CLP( -joydev2 2)
If NumPlayers > 1
Add_CLP( -joydev1 3)
Else
Add_CLP( -joydev1 0)
End If
ElseIf Control = JoyPort1
Add_CLP( -joydev1 2)
If NumPlayers > 1
Add_CLP( -joydev2 3)
Else
Add_CLP( -joydev2 0)
End If
Else
Add_CLP( -joydev1 0)
Add_CLP( -joydev2 0)
End If
End If
;unsupported game controls
If Control = PaddlePort1
Show_Message(This emulator does not have Paddle emulation.%crlfx2%This game may be uncontrollable/unplayable.)
ElseIf Control = PaddlePort2
Show_Message(This emulator does not have Paddle emulation.%crlfx2%This game may be uncontrollable/unplayable.)
End If
;give the user a warning message?
If VersionComment CONTAINS(*use real C64*)
Show_Message(This game may not work properly with this emulator.%crlfx2%See Version Comment for more info.)
End If
If VersionComment CONTAINS(*not 100%*||*not working*||*doesn't work*)
Show_Message(This game may not work properly.)
End If
If VersionComment CONTAINS(*load manually*)
Show_Message(You must load this game manually within the emulator.%crlfx2%Game file: %gamepathfile%)
End If
If VersionComment CONTAINS(*PET Emulator*)
Show_Message(Use PET Emulator to run this game.)
End If
;run the emulator
Run_Emulator()
Else
;invalid game file type
Show_Message(GAME_NOT_SUPPORTED%crlfx2%Supported types: D64, T64, G64/G41, TAP, CRT, PRG, P00)
End If
-------
Loved ones are never gone as long as you remember them....
Loved ones are never gone as long as you remember them....
- .mad.
- Honoured Member
- Location: Lancashire
Post
Hi Paul,
your script is buggered.
The v2.4 emulator is more VIC20 correct now.
so old script bits won't work as standard.
this is very much a work in progress...
bits are missing from the original script, while other stuff has been added.
If keyset realjoystick=yes is not selected.
NUMPAD and Right Control keys are used for joystick as default.
http://www.datafilehost.com/download-40cf184e.html
overwrite the game files with these.
they now have the correct extension for the emulator to run them.
(CRT not PRG)
VIC20 only has 1 control port as standard, so using joydev2 will give you problems.
Before a 2nd Joystick can be used, you need to configure a special adapter setting in the emulator.
so i guess 99.9% of games will work fine in port 1 (joydev1)
waits for someone to mention the multi-player exception....
This looks a bit messy at the moment, as testing is still in progress
every VICE.INI option is in the script for reference only.
your script is buggered.
The v2.4 emulator is more VIC20 correct now.
so old script bits won't work as standard.
this is very much a work in progress...
bits are missing from the original script, while other stuff has been added.
If keyset realjoystick=yes is not selected.
NUMPAD and Right Control keys are used for joystick as default.
http://www.datafilehost.com/download-40cf184e.html
overwrite the game files with these.
they now have the correct extension for the emulator to run them.
(CRT not PRG)
VIC20 only has 1 control port as standard, so using joydev2 will give you problems.
Before a 2nd Joystick can be used, you need to configure a special adapter setting in the emulator.
so i guess 99.9% of games will work fine in port 1 (joydev1)
waits for someone to mention the multi-player exception....
This looks a bit messy at the moment, as testing is still in progress
every VICE.INI option is in the script for reference only.
Code: Select all
;****************************
;* WinVICE 2.4 GEMUS Script *
;* (c) The GB Team *
;* 17 December 2012 *
;****************************
;Set_INI_Value(1||VIC20||LogFileName||"")
;Set_INI_Value(1||VIC20||Directory||"$$")
;Set_INI_Value(1||VIC20||AutostartPrgDiskImage||"C:\gamebase\Vic20_v02\WinVICE-2.4-x86\autostart-VIC20.d64")
;Set_INI_Value(1||VIC20||AutostartBasicLoad||0)
;Set_INI_Value(1||VIC20||AutostartRunWithColon||0)
;Set_INI_Value(1||VIC20||AutostartHandleTrueDriveEmulation||0)
;Set_INI_Value(1||VIC20||AutostartWarp||0)
;Set_INI_Value(1||VIC20||AutostartPrgMode||0)
;Set_INI_Value(1||VIC20||AutostartDelay||0)
;Set_INI_Value(1||VIC20||AutostartDelayRandom||1)
;Set_INI_Value(1||VIC20||RomsetArchiveName||"default")
;Set_INI_Value(1||VIC20||RomsetArchiveActive||"")
;Set_INI_Value(1||VIC20||RomsetFileName||"default")
;Set_INI_Value(1||VIC20||RomsetSourceFile||1)
;Set_INI_Value(1||VIC20||Language||"en")
;Set_INI_Value(1||VIC20||MonitorDimensions||"")
;Set_INI_Value(1||VIC20||InitialDefaultDir||"")
;Set_INI_Value(1||VIC20||InitialTapeDir||"")
;Set_INI_Value(1||VIC20||InitialDiskDir||"")
;Set_INI_Value(1||VIC20||InitialAutostartDir||"")
;Set_INI_Value(1||VIC20||InitialCartDir||"")
;Set_INI_Value(1||VIC20||InitialSnapshotDir||"")
;Set_INI_Value(1||VIC20||FullscreenDevice||0)
;Set_INI_Value(1||VIC20||FullscreenBitdepth||32)
;Set_INI_Value(1||VIC20||FullscreenWidth||640)
;Set_INI_Value(1||VIC20||FullscreenHeight||480)
;Set_INI_Value(1||VIC20||FullscreenRefreshRate||0)
;Set_INI_Value(1||VIC20||FullscreenEnabled||0)
;Set_INI_Value(1||VIC20||SaveResourcesOnExit||0)
;Set_INI_Value(1||VIC20||ConfirmOnExit||0)
;Set_INI_Value(1||VIC20||SingleCPU||0)
;Set_INI_Value(1||VIC20||Window0Xpos||242)
;Set_INI_Value(1||VIC20||Window0Ypos||242)
;Set_INI_Value(1||VIC20||Window1Xpos||-2147483648)
;Set_INI_Value(1||VIC20||Window1Ypos||-2147483648)
;Set_INI_Value(1||VIC20||VBLANKSync||0)
;Set_INI_Value(1||VIC20||AlwaysOnTop||0)
;Set_INI_Value(1||VIC20||KeepAspectRatio||0)
;Set_INI_Value(1||VIC20||TrueAspectRatio||0)
;Set_INI_Value(1||VIC20||AspectRatio||1000)
;Set_INI_Value(1||VIC20||FliplistName||"C:\gamebase\Vic20_v02\WinVICE-2.4-x86\fliplist-VIC20.vfl")
;Set_INI_Value(1||VIC20||FSDevice8Dir||".")
;Set_INI_Value(1||VIC20||FSDevice9Dir||".")
;Set_INI_Value(1||VIC20||FSDevice10Dir||".")
;Set_INI_Value(1||VIC20||FSDevice11Dir||".")
;Set_INI_Value(1||VIC20||FSDevice8ConvertP00||1)
;Set_INI_Value(1||VIC20||FSDevice9ConvertP00||1)
;Set_INI_Value(1||VIC20||FSDevice10ConvertP00||1)
;Set_INI_Value(1||VIC20||FSDevice11ConvertP00||1)
;Set_INI_Value(1||VIC20||FSDevice8SaveP00||0)
;Set_INI_Value(1||VIC20||FSDevice9SaveP00||0)
;Set_INI_Value(1||VIC20||FSDevice10SaveP00||0)
;Set_INI_Value(1||VIC20||FSDevice11SaveP00||0)
;Set_INI_Value(1||VIC20||FSDevice8HideCBMFiles||0)
;Set_INI_Value(1||VIC20||FSDevice9HideCBMFiles||0)
;Set_INI_Value(1||VIC20||FSDevice10HideCBMFiles||0)
;Set_INI_Value(1||VIC20||FSDevice11HideCBMFiles||0)
;Set_INI_Value(1||VIC20||EventSnapshotDir||".\")
;Set_INI_Value(1||VIC20||EventStartSnapshot||"start.vsf")
;Set_INI_Value(1||VIC20||EventEndSnapshot||"end.vsf")
;Set_INI_Value(1||VIC20||EventStartMode||0)
;Set_INI_Value(1||VIC20||EventImageInclude||1)
;Set_INI_Value(1||VIC20||DoCoreDump||0)
;Set_INI_Value(1||VIC20||VirtualDevices||1)
;Set_INI_Value(1||VIC20||Speed||100)
;Set_INI_Value(1||VIC20||RefreshRate||0)
;Set_INI_Value(1||VIC20||WarpMode||0)
;Set_INI_Value(1||VIC20||HwScalePossible||0)
;Set_INI_Value(1||VIC20||DXPrimarySurfaceRendering||0)
;Set_INI_Value(1||VIC20||DX9Disable||0)
;Set_INI_Value(1||VIC20||ChargenName||"chargen")
;Set_INI_Value(1||VIC20||KernalName||"kernal")
;Set_INI_Value(1||VIC20||BasicName||"basic")
;Set_INI_Value(1||VIC20||KeymapSymFile||"win_sym.vkm")
;Set_INI_Value(1||VIC20||KeymapPosFile||"win_pos.vkm")
;Set_INI_Value(1||VIC20||MachineVideoStandard||-1)
;Set_INI_Value(1||VIC20||VICVideoCache||1)
;Set_INI_Value(1||VIC20||VICDoubleScan||1)
;Set_INI_Value(1||VIC20||VICDoubleSize||1)
;Set_INI_Value(1||VIC20||VICPaletteFile||"default")
;Set_INI_Value(1||VIC20||VICExternalPalette||0)
;Set_INI_Value(1||VIC20||VICColorSaturation||1000)
;Set_INI_Value(1||VIC20||VICColorContrast||1000)
;Set_INI_Value(1||VIC20||VICColorBrightness||1000)
;Set_INI_Value(1||VIC20||VICColorGamma||2200)
;Set_INI_Value(1||VIC20||VICColorTint||1000)
;Set_INI_Value(1||VIC20||VICPALScanLineShade||667)
;Set_INI_Value(1||VIC20||VICPALBlur||500)
;Set_INI_Value(1||VIC20||VICPALOddLinePhase||1250)
;Set_INI_Value(1||VIC20||VICPALOddLineOffset||750)
;Set_INI_Value(1||VIC20||VICAudioLeak||0)
;Set_INI_Value(1||VIC20||VICFilter||0)
;Set_INI_Value(1||VIC20||VICBorderMode||0)
;Set_INI_Value(1||VIC20||SoundDeviceName||"dx")
;Set_INI_Value(1||VIC20||SoundDeviceArg||"")
;Set_INI_Value(1||VIC20||SoundRecordDeviceName||"")
;Set_INI_Value(1||VIC20||SoundRecordDeviceArg||"")
;Set_INI_Value(1||VIC20||Sound||1)
;Set_INI_Value(1||VIC20||SoundSampleRate||44100)
;Set_INI_Value(1||VIC20||SoundBufferSize||100)
;Set_INI_Value(1||VIC20||SoundFragmentSize||2)
;Set_INI_Value(1||VIC20||SoundSuspendTime||0)
;Set_INI_Value(1||VIC20||SoundSpeedAdjustment||2)
;Set_INI_Value(1||VIC20||SoundVolume||100)
;Set_INI_Value(1||VIC20||SoundOutput||0)
;Set_INI_Value(1||VIC20||SidResidSampling||0)
;Set_INI_Value(1||VIC20||SidResidPassband||90)
;Set_INI_Value(1||VIC20||SidResidGain||97)
;Set_INI_Value(1||VIC20||SidResidFilterBias||0)
;Set_INI_Value(1||VIC20||SidStereo||0)
;Set_INI_Value(1||VIC20||SidEngine||0)
;Set_INI_Value(1||VIC20||SidFilters||1)
;Set_INI_Value(1||VIC20||SidModel||0)
;Set_INI_Value(1||VIC20||SidHardSIDMain||0)
;Set_INI_Value(1||VIC20||SidHardSIDRight||1)
;Set_INI_Value(1||VIC20||SidCart||0)
;Set_INI_Value(1||VIC20||SidAddress||0)
;Set_INI_Value(1||VIC20||SidClock||1)
;Set_INI_Value(1||VIC20||RsDevice1||"10.0.0.1:25232")
;Set_INI_Value(1||VIC20||RsDevice2||"10.0.0.1:25232")
;Set_INI_Value(1||VIC20||RsDevice3||"10.0.0.1:25232")
;Set_INI_Value(1||VIC20||RsDevice4||"10.0.0.1:25232")
;Set_INI_Value(1||VIC20||RsUserEnable||0)
;Set_INI_Value(1||VIC20||RsUserBaud||300)
;Set_INI_Value(1||VIC20||RsUserDev||0)
;Set_INI_Value(1||VIC20||IECDevice4||0)
;Set_INI_Value(1||VIC20||IECDevice5||0)
;Set_INI_Value(1||VIC20||IECDevice8||0)
;Set_INI_Value(1||VIC20||IECDevice9||0)
;Set_INI_Value(1||VIC20||IECDevice10||0)
;Set_INI_Value(1||VIC20||IECDevice11||0)
;Set_INI_Value(1||VIC20||PrinterTextDevice1||"viceprnt.out")
;Set_INI_Value(1||VIC20||PrinterTextDevice2||"LPT1:")
;Set_INI_Value(1||VIC20||PrinterTextDevice3||"LPT2:")
;Set_INI_Value(1||VIC20||Printer4TextDevice||0)
;Set_INI_Value(1||VIC20||Printer5TextDevice||0)
;Set_INI_Value(1||VIC20||PrinterUserportTextDevice||0)
;Set_INI_Value(1||VIC20||Printer4Output||"text")
;Set_INI_Value(1||VIC20||Printer5Output||"text")
;Set_INI_Value(1||VIC20||PrinterUserportOutput||"text")
;Set_INI_Value(1||VIC20||Printer4Driver||"ascii")
;Set_INI_Value(1||VIC20||Printer5Driver||"ascii")
;Set_INI_Value(1||VIC20||PrinterUserportDriver||"ascii")
;Set_INI_Value(1||VIC20||Printer4||0)
;Set_INI_Value(1||VIC20||Printer5||0)
;Set_INI_Value(1||VIC20||PrinterUserport||0)
;Set_INI_Value(1||VIC20||DosName1541||"dos1541")
;Set_INI_Value(1||VIC20||DosName1541ii||"d1541II")
;Set_INI_Value(1||VIC20||DosName1570||"dos1570")
;Set_INI_Value(1||VIC20||DosName1571||"dos1571")
;Set_INI_Value(1||VIC20||DosName1581||"dos1581")
;Set_INI_Value(1||VIC20||DosName2000||"dos2000")
;Set_INI_Value(1||VIC20||DosName4000||"dos4000")
;Set_INI_Value(1||VIC20||DosName2031||"dos2031")
;Set_INI_Value(1||VIC20||DosName2040||"dos2040")
;Set_INI_Value(1||VIC20||DosName3040||"dos3040")
;Set_INI_Value(1||VIC20||DosName4040||"dos4040")
;Set_INI_Value(1||VIC20||DosName1001||"dos1001")
;Set_INI_Value(1||VIC20||ETHERNET_INTERFACE||"")
;Set_INI_Value(1||VIC20||TFEIOSwap||0)
;Set_INI_Value(1||VIC20||ETHERNET_DISABLED||1)
;Set_INI_Value(1||VIC20||ETHERNET_ACTIVE||0)
;Set_INI_Value(1||VIC20||ETHERNET_AS_RR||0)
;Set_INI_Value(1||VIC20||Acia1Dev||0)
;Set_INI_Value(1||VIC20||Acia1Irq||2)
;Set_INI_Value(1||VIC20||Acia1Mode||0)
;Set_INI_Value(1||VIC20||Acia1Enable||0)
;Set_INI_Value(1||VIC20||Acia1Base||38912)
;Set_INI_Value(1||VIC20||DIGIMAX||0)
;Set_INI_Value(1||VIC20||DIGIMAXbase||65535)
;Set_INI_Value(1||VIC20||DS12C887RTC||0)
;Set_INI_Value(1||VIC20||DS12C887RTCbase||65535)
;Set_INI_Value(1||VIC20||SFXSoundExpanderIOSwap||0)
;Set_INI_Value(1||VIC20||SFXSoundExpander||0)
;Set_INI_Value(1||VIC20||SFXSoundExpanderChip||3526)
;Set_INI_Value(1||VIC20||SFXSoundSamplerIOSwap||0)
;Set_INI_Value(1||VIC20||SFXSoundSampler||0)
;Set_INI_Value(1||VIC20||GEORAMfilename||"")
;Set_INI_Value(1||VIC20||GEORAMIOSwap||0)
;Set_INI_Value(1||VIC20||GEORAM||0)
;Set_INI_Value(1||VIC20||GEORAMsize||512)
;Set_INI_Value(1||VIC20||GEORAMImageWrite||0)
;Set_INI_Value(1||VIC20||MIDIEnable||0)
;Set_INI_Value(1||VIC20||MIDIMode||0)
;Set_INI_Value(1||VIC20||MIDIInDev||0)
;Set_INI_Value(1||VIC20||MIDIOutDev||0)
;Set_INI_Value(1||VIC20||IEEE488||0)
;Set_INI_Value(1||VIC20||IOCollisionHandling||0)
;Set_INI_Value(1||VIC20||RAMInitStartValue||0)
;Set_INI_Value(1||VIC20||RAMInitValueInvert||64)
;Set_INI_Value(1||VIC20||RAMInitPatternInvert||0)
;Set_INI_Value(1||VIC20||DoodleOversizeHandling||0)
;Set_INI_Value(1||VIC20||DoodleMultiColorHandling||1)
;Set_INI_Value(1||VIC20||DoodleTEDLumHandling||0)
;Set_INI_Value(1||VIC20||DoodleCRTCTextColor||0)
;Set_INI_Value(1||VIC20||NetworkServerName||"127.0.0.1")
;Set_INI_Value(1||VIC20||NetworkServerBindAddress||"")
;Set_INI_Value(1||VIC20||NetworkServerPort||6502)
;Set_INI_Value(1||VIC20||NetworkControl||797)
;Set_INI_Value(1||VIC20||KeepMonitorOpen||1)
;Set_INI_Value(1||VIC20||MonitorServerAddress||"ip4://127.0.0.1:6510")
;Set_INI_Value(1||VIC20||MonitorServer||0)
;--------------------------------------------------------------------
; Start of script.
;--------------------------------------------------------------------
;do we want a PAL or NTSC setup?
If PalNTSC = NTSC
Add_CLP( -ntsc)
;Set_INI_Value(1||VIC20||MachineVideoStandard||-2)
Else
Add_CLP( -pal)
;Set_INI_Value(1||VIC20||MachineVideoStandard||-1)
End If
; Set emulator default values.
Set_INI_Value(1||VIC20||DriveTrueEmulation||0)
Set_INI_Value(1||VIC20||AutostartPrgMode||0)
Set_INI_Value(1||VIC20||AutostartWarp||0)
Set_INI_Value(1||VIC20||VICFilter||0)
; Joystick / Keyboard Control
; Start with Keyboard Only - Disable all Control Port devices.
Set_INI_Value(1||VIC20||JoyDevice1||0)
Set_INI_Value(1||VIC20||Lightpen||0)
Set_INI_Value(1||VIC20||LightpenType||0)
Set_INI_Value(1||VIC20||Mouse||0)
Set_INI_Value(1||VIC20||KeymapIndex||1)
Set_INI_Value(1||VIC20||KeySetEnable||1)
If Control = Mouse
Set_INI_Value(1||VIC20||Mouse||1)
ElseIf Control = LightPen
Set_INI_Value(1||VIC20||Lightpen||1)
;0=Pen Button Up, 1=Pen Button Left ,2=Datel Pen ,3=Magnum Light Phaser, 4=Stack Light Rifel
Set_INI_Value(1||VIC20||LightpenType||0)
ElseIf Control = LightGun
Set_INI_Value(1||VIC20||Lightpen||1)
Set_INI_Value(1||VIC20||LightpenType||3)
;Use USB Joystick PC#0
; Joystick MUST be attached to enable this option.
ElseIf Control = JoyPort1
If Key_realjoystick CONTAINS(yes)
Set_INI_Value(1||VIC20||JoyDevice1||4)
Else
; Use Keyset NUMPAD + Right Control as default.
; No Joystick=0 , NUMPAD=1, Keyset A=2, Keyset B=3, PC#0 (USB)=4
Set_INI_Value(1||VIC20||JoyDevice1||1)
End If
ElseIf Control = JoyPort2
; Same function as Control = Port 1.
If Key_realjoystick CONTAINS(yes)
Set_INI_Value(1||VIC20||JoyDevice1||4)
Else
; Use Keyset NUMPAD + Right Control as default.
; No Joystick=0 , NUMPAD=1, Keyset A=2, Keyset B=3, PC#0 (USB)=4
Set_INI_Value(1||VIC20||JoyDevice1||1)
End If
;Paddles are switched on using Mouse command.
ElseIf Control = PaddlePort2
Set_INI_Value(1||VIC20||Mouse||1)
ElseIf Control = PaddlePort1
Set_INI_Value(1||VIC20||Mouse||1)
Else
End If
;Set_INI_Value(1||VIC20||JoyOpposite||0)
; Keyset A - Customise your own keys.
;Set_INI_Value(1||VIC20||KeySet1NorthWest||0)
;Set_INI_Value(1||VIC20||KeySet1North||0)
;Set_INI_Value(1||VIC20||KeySet1NorthEast||0)
;Set_INI_Value(1||VIC20||KeySet1East||0)
;Set_INI_Value(1||VIC20||KeySet1SouthEast||0)
;Set_INI_Value(1||VIC20||KeySet1South||0)
;Set_INI_Value(1||VIC20||KeySet1SouthWest||0)
;Set_INI_Value(1||VIC20||KeySet1West||0)
;Set_INI_Value(1||VIC20||KeySet1Fire||0)
; Use Keyset B Cursor Keys + Right Control
;Set_INI_Value(1||VIC20||JoyDevice1||3)
; Keyset B - Customise your own keys.
;Set_INI_Value(1||VIC20||KeySet2NorthWest||0)
;Set_INI_Value(1||VIC20||KeySet2North||0)
;Set_INI_Value(1||VIC20||KeySet2NorthEast||0)
;Set_INI_Value(1||VIC20||KeySet2East||0)
;Set_INI_Value(1||VIC20||KeySet2SouthEast||0)
;Set_INI_Value(1||VIC20||KeySet2South||0)
;Set_INI_Value(1||VIC20||KeySet2SouthWest||0)
;Set_INI_Value(1||VIC20||KeySet2West||0)
;Set_INI_Value(1||VIC20||KeySet2Fire||0)
;***************************************************************
;VIC20 only has 1 Control port as standard.
;Extra joysticks can only be used by attaching special adapters.
;***************************************************************
;Set_INI_Value(1||VIC20||ExtraJoy||0)
;Set_INI_Value(1||VIC20||ExtraJoyType||0)
;Set_INI_Value(1||VIC20||JoyDevice2||0)
;Set_INI_Value(1||VIC20||JoyDevice3||0)
;Set_INI_Value(1||VIC20||JoyDevice4||0)
;Set_INI_Value(1||VIC20||JoyFire1Button||0)
;Set_INI_Value(1||VIC20||JoyFire2Button||0)
;Set_INI_Value(1||VIC20||JoyFire3Button||0)
;Set_INI_Value(1||VIC20||JoyFire4Button||0)
;Set_INI_Value(1||VIC20||JoyAutofire1Speed||16)
;Set_INI_Value(1||VIC20||JoyAutofire1Axis||0)
;Set_INI_Value(1||VIC20||JoyAutofire1Button||0)
;Set_INI_Value(1||VIC20||JoyAutofire2Speed||16)
;Set_INI_Value(1||VIC20||JoyAutofire2Axis||0)
;Set_INI_Value(1||VIC20||JoyAutofire2Button||0)
;Set_INI_Value(1||VIC20||JoyAutofire3Speed||16)
;Set_INI_Value(1||VIC20||JoyAutofire3Axis||0)
;Set_INI_Value(1||VIC20||JoyAutofire3Button||0)
;Set_INI_Value(1||VIC20||JoyAutofire4Speed||16)
;Set_INI_Value(1||VIC20||JoyAutofire4Axis||0)
;Set_INI_Value(1||VIC20||JoyAutofire4Button||0)
;--------------------------------------------------------------------
; Memory configuration.
;Set_INI_Value(1||VIC20||RAMBlock0||0)
;Set_INI_Value(1||VIC20||RAMBlock1||0)
;Set_INI_Value(1||VIC20||RAMBlock2||0)
;Set_INI_Value(1||VIC20||RAMBlock3||0)
;Set_INI_Value(1||VIC20||RAMBlock5||0)
;set through the key||value pair:
; memory=x
; where x is: none,all,3k,8k,16k,24k,"0,1,2,3,5" or "04,20,40,60,A0"
If Key_memory CONTAINS(*)
Add_CLP( -memory %memory_value%)
Else
Add_CLP( -memory none)
End If
;--------------------------------------------------------------------
If GameType CONTAINS(prg)
;use prg mode.
Set_INI_Value(1||VIC20||AutostartPrgMode||1)
Add_CLP( -autostart "%gamepathfile%")
run_emulator()
end if
;--------------------------------------------------------------------
If GameType CONTAINS(crt)
;Set_INI_Value(1||VIC20||CartridgeType||-1)
;Set_INI_Value(1||VIC20||CartridgeReset||1)
;Set_INI_Value(1||VIC20||CartridgeFile||"")
;Set_INI_Value(1||VIC20||GenericCartridgeFile2000||"")
;Set_INI_Value(1||VIC20||GenericCartridgeFile4000||"")
;Set_INI_Value(1||VIC20||GenericCartridgeFile6000||"")
;Set_INI_Value(1||VIC20||GenericCartridgeFileA000||"")
;Set_INI_Value(1||VIC20||GenericCartridgeFileB000||"")
;Set_INI_Value(1||VIC20||FinalExpansionWriteBack||0)
;Set_INI_Value(1||VIC20||VicFlashPluginWriteBack||0)
;Set_INI_Value(1||VIC20||MegaCartNvRAMfilename||"")
;Set_INI_Value(1||VIC20||MegaCartNvRAMWriteBack||0)
If Key_cart CONTAINS(*20*)
Add_CLP( -cart2 %gamepath%\*%cart_value%*.*)
ElseIf Key_cart CONTAINS(*40*)
Add_CLP( -cart4 %gamepath%\*%cart_value%*.*)
ElseIf Key_cart CONTAINS(*60*)
Add_CLP( -cart6 %gamepath%\*%cart_value%*.*)
ElseIf Key_cart CONTAINS(*a0*)
Add_CLP( -cartA %gamepath%\*%cart_value%*.*)
ElseIf Key_cart CONTAINS(*b0*)
Add_CLP( -cartB %gamepath%\*%cart_value%*.*)
End If
If Key_cart2 CONTAINS(*20*)
Add_CLP( -cart2 %gamepath%\*%cart2_value%*.*)
ElseIf Key_cart2 CONTAINS(*40*)
Add_CLP( -cart4 %gamepath%\*%cart2_value%*.*)
ElseIf Key_cart2 CONTAINS(*60*)
Add_CLP( -cart6 %gamepath%\*%cart2_value%*.*)
ElseIf Key_cart2 CONTAINS(*a0*)
Add_CLP( -cartA %gamepath%\*%cart2_value%*.*)
ElseIf Key_cart2 CONTAINS(*b0*)
Add_CLP( -cartB %gamepath%\*%cart2_value%*.*)
End If
Run_emulator()
end if
;--------------------------------------------------------------------
If GameType CONTAINS(t64||tap)
;Set_INI_Value(1||VIC20||DatasetteResetWithCPU||1)
;Set_INI_Value(1||VIC20||DatasetteZeroGapDelay||20000)
;Set_INI_Value(1||VIC20||DatasetteSpeedTuning||1)
;No commandline options for loading tapes with ,1,1. Only BASIC load available.
If ImageName CONTAINS (*)
; Load the TAPE Image (T64) with Filename stored in GameBase.
Add_CLP2( -autostart "%gamepathfile%:%c64imagename%")
End If
If key_load CONTAINS(manual)
Show_Message(You must load the TAPE manually. Example Load"",1,1)
; Attach Tape Image in default Cassette Deck (1) and run emulator. Disable auto loading.
Clear_CLP()
Add_CLP2( -1 "%gamepathfile%")
Else
; Load the first file on the Tape image.
;Default Attach TAPE and load
Add_CLP2( -autostart "%gamepathfile%")
End If
Run_emulator()
end if
;--------------------------------------------------------------------
If GameType CONTAINS(d64||g64||g41)
Set_INI_Value(1||VIC20||DriveTrueEmulation||1)
;Set_INI_Value(1||VIC20||DriveSoundEmulation||0)
;Set_INI_Value(1||VIC20||Drive8Type||1541)
;Set_INI_Value(1||VIC20||AttachDevice8Readonly||0)
;Set_INI_Value(1||VIC20||FileSystemDevice8||1)
;Set_INI_Value(1||VIC20||Drive8ExtendImagePolicy||0)
;Set_INI_Value(1||VIC20||Drive8IdleMethod||0)
;Set_INI_Value(1||VIC20||Drive8RAM2000||0)
;Set_INI_Value(1||VIC20||Drive8RAM4000||0)
;Set_INI_Value(1||VIC20||Drive8RAM6000||0)
;Set_INI_Value(1||VIC20||Drive8RAM8000||0)
;Set_INI_Value(1||VIC20||Drive8RAMA000||0)
Set_INI_Value(1||VIC20||Drive9Type||0)
;Set_INI_Value(1||VIC20||AttachDevice9Readonly||0)
;Set_INI_Value(1||VIC20||FileSystemDevice9||0)
;Set_INI_Value(1||VIC20||Drive9ExtendImagePolicy||0)
;Set_INI_Value(1||VIC20||Drive9IdleMethod||0)
;Set_INI_Value(1||VIC20||Drive9RAM2000||0)
;Set_INI_Value(1||VIC20||Drive9RAM4000||0)
;Set_INI_Value(1||VIC20||Drive9RAM6000||0)
;Set_INI_Value(1||VIC20||Drive9RAM8000||0)
;Set_INI_Value(1||VIC20||Drive9RAMA000||0)
Set_INI_Value(1||VIC20||Drive10Type||0)
;Set_INI_Value(1||VIC20||AttachDevice10Readonly||0)
;Set_INI_Value(1||VIC20||FileSystemDevice10||0)
;Set_INI_Value(1||VIC20||Drive10ExtendImagePolicy||0)
;Set_INI_Value(1||VIC20||Drive10IdleMethod||0)
;Set_INI_Value(1||VIC20||Drive10RAM2000||0)
;Set_INI_Value(1||VIC20||Drive10RAM4000||0)
;Set_INI_Value(1||VIC20||Drive10RAM6000||0)
;Set_INI_Value(1||VIC20||Drive10RAM8000||0)
;Set_INI_Value(1||VIC20||Drive10RAMA000||0)
Set_INI_Value(1||VIC20||Drive11Type||0)
;Set_INI_Value(1||VIC20||AttachDevice11Readonly||0)
;Set_INI_Value(1||VIC20||FileSystemDevice11||0)
;Set_INI_Value(1||VIC20||Drive11ExtendImagePolicy||0)
;Set_INI_Value(1||VIC20||Drive11IdleMethod||0)
;Set_INI_Value(1||VIC20||Drive11RAM2000||0)
;Set_INI_Value(1||VIC20||Drive11RAM4000||0)
;Set_INI_Value(1||VIC20||Drive11RAM6000||0)
;Set_INI_Value(1||VIC20||Drive11RAM8000||0)
;Set_INI_Value(1||VIC20||Drive11RAMA000||0)
; -autorun autoloads prg file, but you will need to type RUN [return] manually.
; -autostart autoloads and runs the file.
If ImageName CONTAINS (*)
;Default setting. Boot disk with ImageName
Add_CLP2( -autostart "%gamepathfile%:%c64imagename%")
; ***** 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
; ***************************************************************************************************
If Key_load CONTAINS(wildcard)
; Auto boot disk with LOAD"*",8,1
Clear_CLP()
Add_CLP2( -autostart "%gamepathfile%")
ElseIf Key_load CONTAINS(basic)
; Auto boot Disk with LOAD"*",8
Clear_CLP()
Add_CLP2( -autostart "%gamepathfile%" -basicload)
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
- Paul Irvine
- Cool Member
Post
.Mad, you sir are a stud...
Thank you..
Give your whippet a stroke for me
Seriously, happy Xmas etc to you and yours.
Thank you..
Give your whippet a stroke for me
Seriously, happy Xmas etc to you and yours.
-------
Loved ones are never gone as long as you remember them....
Loved ones are never gone as long as you remember them....
- Mayhem
- GB64 Team
- Contact:
- Location: Londonish
Post
XVIC changed operation since the last release of GB20, and yes the version of GEMUS included with GB20 v0.2 will throw up an error with XVIC version 2.2 and newer. It has been corrected back in 2010. Obviously as I haven't released v0.3 yet, then the updated GEMUS is not out there
I've also added Vice 2.4 to the GEMUS detection script for emulators, so it will find that when you search for compatible emulation. Vice 2.2 and 2.3 will NOT be supported as there are issues with both in regards to VIC emulation.
If you find you are having issues loading games in newer versions of XVIC, you may need to disable "short filenames" in the GEMUS setup for the emulator. This will be listed as an entry in the FAQ included with the package release.
Sadly v0.3 will not be out in time for Xmas, but I am at the point given Vice 2.4 is out, that I will be looking to draw a line and make it happen. So hopefully not too far in the distant future.
I've also added Vice 2.4 to the GEMUS detection script for emulators, so it will find that when you search for compatible emulation. Vice 2.2 and 2.3 will NOT be supported as there are issues with both in regards to VIC emulation.
If you find you are having issues loading games in newer versions of XVIC, you may need to disable "short filenames" in the GEMUS setup for the emulator. This will be listed as an entry in the FAQ included with the package release.
Sadly v0.3 will not be out in time for Xmas, but I am at the point given Vice 2.4 is out, that I will be looking to draw a line and make it happen. So hopefully not too far in the distant future.
Lie with passion and be forever damned...
- Paul Irvine
- Cool Member
Post
Thanks for that Mayhem, no rush on the updated DB, it will be out when its done.
Thanks for updating it and the info.
Thanks for updating it and the info.
-------
Loved ones are never gone as long as you remember them....
Loved ones are never gone as long as you remember them....
- macguyver
- New Member
Post
Any suggestion on how to change the GEMUS script if I'm trying to use Vice V2.4.24.3073 with the dink mod so that my wireless xbox controllers can work with VICE. Works fine on its own, but can't make work in Gamebase.
The error message is
argument 'c:\gbgame\0\*a000*.* not valid for option '-cartA'
Thanks!
MG
The error message is
argument 'c:\gbgame\0\*a000*.* not valid for option '-cartA'
Thanks!
MG
- .mad.
- Honoured Member
- Location: Lancashire
Post
the error looks more like you are trying to load a prg/tap/d64 as a Cartridge.
if the game file has "xxx-a000.prg" as part of the name, try renaming to "xxx-a000.crt"
and add GEMUS
cart=a0
the joypad will probably be a new option or joydevice number.
EXAMPLE ONLY (not real)
JoyDevice=?
or
Set_INI_Value(1||VIC20||wirelesspad||1)
Set_INI_Value(1||VIC20||wirelesspadType||?)
if you post the working DINKMOD VICE.INI i will add it.
if the game file has "xxx-a000.prg" as part of the name, try renaming to "xxx-a000.crt"
and add GEMUS
cart=a0
the joypad will probably be a new option or joydevice number.
EXAMPLE ONLY (not real)
JoyDevice=?
or
Set_INI_Value(1||VIC20||wirelesspad||1)
Set_INI_Value(1||VIC20||wirelesspadType||?)
if you post the working DINKMOD VICE.INI i will add it.
- macguyver
- New Member
Post
Thanks .mad. for the prompt response!
I'm a bit confused though. I will explain my setup and maybe you can suggest what is going on. You are saying that the error looks more like I am trying to load a prg as a Cartridge. But I think my situation is a bit different.
What I am doing is using the Vic20 Gamebase. I am trying to run the Vic20 game "Omega Race" and I have two versions of VICE set up in the Gamebase. One is WinVICE-2.4-x64, and the other is WinVICE-2.4.24.30373-x64 which is a recent nightly build version with the dink mod that allows for some cool new features like gamepad integration, etc.
Depending how I set up the "manage emulators" menu, I can have the gamebase use either the V2.4 or the dink mod version. So I don't understand why the new error code would come up in Gamebase, since the exact same game file opens up fine with V2.4 of VICE (minus the gamepad features of course). But when I switch to have the dink mod version as the primary (first) emulator in Gamebase, I get the error. I figured it was due to my GEMUS script.
I actually think the biggest mistake is that I am using the GEMUS script from this very thread as it was the newest I could find on the net. This was from your post above on Dec. 17, 2012 which I'm guessing does not work with the Dink Mod version, perhaps.
Would love any suggestions.
Here is the working dink mod VICE.ini:
Below this is the VICE.log file, in case that is of any assistance:
[/code]
I'm a bit confused though. I will explain my setup and maybe you can suggest what is going on. You are saying that the error looks more like I am trying to load a prg as a Cartridge. But I think my situation is a bit different.
What I am doing is using the Vic20 Gamebase. I am trying to run the Vic20 game "Omega Race" and I have two versions of VICE set up in the Gamebase. One is WinVICE-2.4-x64, and the other is WinVICE-2.4.24.30373-x64 which is a recent nightly build version with the dink mod that allows for some cool new features like gamepad integration, etc.
Depending how I set up the "manage emulators" menu, I can have the gamebase use either the V2.4 or the dink mod version. So I don't understand why the new error code would come up in Gamebase, since the exact same game file opens up fine with V2.4 of VICE (minus the gamepad features of course). But when I switch to have the dink mod version as the primary (first) emulator in Gamebase, I get the error. I figured it was due to my GEMUS script.
I actually think the biggest mistake is that I am using the GEMUS script from this very thread as it was the newest I could find on the net. This was from your post above on Dec. 17, 2012 which I'm guessing does not work with the Dink Mod version, perhaps.
Would love any suggestions.
Here is the working dink mod VICE.ini:
Code: Select all
[VIC20]
InitialDefaultDir="C:\GBGame\0"
InitialTapeDir="E:\Emulator ROMs\Vic20\Gamebase20_v03\Games"
Window0Xpos=60
Window0Ypos=60
Window0Width=763
Window0Height=680
SaveResourcesOnExit=1
SoundDeviceName="dx"
SoundBufferSize=100
KeymapIndex=1
VirtualDevices=1
VICVideoCache=1
VICFilter=0
SidEngine=0
SidModel=0
JoyDevice1=1
FSDevice8Dir="C:\GBGame\0"
AutostartWarp=0
AutostartPrgMode=0
DriveTrueEmulation=0
ETHERNET_DISABLED=1
Acia1Base=38912
Below this is the VICE.log file, in case that is of any assistance:
Code: Select all
*** VICE Version 2.4.24, rev 30373M ***
OS compiled for: WIN64
GUI compiled for: NATIVE
CPU compiled for: X64
Compiler used: GCC-5.3.0
Current OS: Windows 7 Professional SP1 (64bit X64)
Current CPU: Intel Pentium Pro/II/III/Celeron/Core/Core 2/Atom
Welcome to xvic, the free portable VIC20 Emulator.
Current VICE team members:
Andreas Matthies, Martin Pottendorfer, Marco van den Heuvel, Fabrizio Gennari,
Groepaz, Marcus Sutton, Kajtar Zsolt, Stefan Haubenthal, BSzili.
This is free software with ABSOLUTELY NO WARRANTY.
See the "About VICE" command for more info.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\VIC20\kernal'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\VIC20\basic'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\VIC20\chargen'.
VIC20 kernal patched to 901486-07.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\PRINTER\mps803'.
Palette: Loading palette `C:\Emulators\WinVICE-2.4.24.30373-x64\PRINTER\mps803.vpl'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\PRINTER\nl10-cbm'.
Palette: Loading palette `C:\Emulators\WinVICE-2.4.24.30373-x64\PRINTER\nl10.vpl'.
NL10: Printer driver initialized.
Palette: Loading palette `C:\Emulators\WinVICE-2.4.24.30373-x64\PRINTER\1520.vpl'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\dos1540'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\dos1541'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\d1541II'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\dos1570'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\dos1571'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\dos1581'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\dos2000'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\dos4000'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\dos2031'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\dos2040'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\dos3040'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\dos4040'.
Loading system file `C:\Emulators\WinVICE-2.4.24.30373-x64\DRIVES\dos1001'.
Drive: Finished loading ROM images.
video_dx9: Failed to prepare for rendering!
Sound: Available sound devices: dx wmm dummy fs dump wav voc iff aiff mp3 flac ogg soundmovie
TFEARCH: LoadLibrary WPCAP.DLL failed!
Keyboard: Loading keymap `C:\Emulators\WinVICE-2.4.24.30373-x64\VIC20\win_pos.vkm'.
Main CPU: starting at ($FFFC).
Main CPU: RESET.
video_dx9: Failed to prepare for rendering!
Sound: Opened device `dx', speed 44100Hz, fragment size 2.9ms, buffer size 101ms
AUTOSTART: Autodetecting image type of `C:\GBGame\0\Omega Race (1982)(Commodore)-a000.crt'.
Filesystem Image: Unknown disk image `C:\GBGame\0\Omega Race (1982)(Commodore)-a000.crt'.
Tape: Error - Cannot open file `C:\GBGame\0\Omega Race (1982)(Commodore)-a000.crt'
AUTOSTART: Loading PRG file `C:\GBGame\0\Omega Race (1982)(Commodore)-a000.crt' with virtual FS on unit #8.
AUTOSTART: Resetting the machine to autostart 'OMEGA RACE (1982)(COMMODORE)-A000.CRT'
AUTOSTART: `C:\GBGame\0\Omega Race (1982)(Commodore)-a000.crt' recognized as program/p00 file.
Main CPU: RESET.
AUTOSTART: Loading program 'OMEGA RACE (1982)(COMMODORE)-A000.CRT'
AUTOSTART: Autodetecting image type of `C:\GBGame\0\Omega Race (1982)(Commodore)-a000.crt'.
Filesystem Image: Unknown disk image `C:\GBGame\0\Omega Race (1982)(Commodore)-a000.crt'.
Tape: Error - Cannot open file `C:\GBGame\0\Omega Race (1982)(Commodore)-a000.crt'
AUTOSTART: Loading PRG file `C:\GBGame\0\Omega Race (1982)(Commodore)-a000.crt' with virtual FS on unit #8.
AUTOSTART: Resetting the machine to autostart 'OMEGA RACE (1982)(COMMODORE)-A000.CRT'
AUTOSTART: `C:\GBGame\0\Omega Race (1982)(Commodore)-a000.crt' recognized as program/p00 file.
Main CPU: RESET.
AUTOSTART: Loading program 'OMEGA RACE (1982)(COMMODORE)-A000.CRT'
AUTOSTART: Starting program.
AUTOSTART: Done.
Main CPU: RESET.
AUTOSTART: Turned off.
Attached cartridge type 1, file=`C:\GBGame\0\Omega Race (1982)(Commodore)-a000.crt'.
Main CPU: RESET.
Writing configuration file `C:\Emulators\WinVICE-2.4.24.30373-x64\vice.ini'.
Exiting...
Sound: Closing device `dx'[code]
Return to “Commodore Vic20 - GameBaseVIC20”
Who is online
Users browsing this forum: No registered users and 0 guests