Gamebase 64 Forum
| View previous topic :: View next topic |
| Author |
Message |
K.C. Cool Member

Joined: 29 Sep 2003 Posts: 362 GB64-Points: 364 Location: The Netherlands
|
Posted: Tue Jul 03, 2012 8:48 am Post subject: Updated script files |
|
|
The scripts for WinVICE, WinVICE-SC and CCS64 are updated with some minor changes.
It now listens to a key=value pair JoystickAutoConfig.
If it is set to no, 0, off or false, all joystick settings of the emulator stay unmodified.
If it's blank or contains anything else, joysticks are automatically configured by the GEMUS script.
Is there anyone who can test if the scripts and GEMUS.DAT in the previous post are correct?
On my PC everything works ok.
GEMUS.INI:
| Code: | [global]
;Use the key=value pairs in this file
;to change the default behaviour of
;WinVICE and CCS64.
;Remove the ";" at the beginning of the
;line and change the value to YES, 1, ON
;or TRUE to enable the function, or
;change it to NO, 0, OFF or FALSE to
;disable it
;Set fullscreen or windowed mode
;Fullscreen=no
;Enable or disable CRT Emulation
;CrtEmu=yes
;Enable or disable sound output
;Sound=no
;Set the size of the window (1, 2 or 3)
;WindowSize=1
;Enable or disable a USB game controller
;instead of a keyset for player 1 and
;player 2
;RealJoystick1=no
;RealJoystick2=no
;Enable or disable automatic
;joystick configuration
;JoystickAutoConfig=yes
|
WINVICE.TXT:
| Code: | ;********************************
;* WinVICE Default GEMUS Script *
;* (c) The GB64 Team *
;* 3 July 2012 *
;********************************
;
; PLEASE SET YOUR EMULATOR PROPERTIES AS FOLLOWS:
;
; Emulator File: X64.EXE
; Associated Script File (1): vice.ini
; Use Short Filenames: YES
; File Types: D64;T64;G64;G41;TAP;CRT;P00;PRG;LNX
; (Compressed File Types: GZ;Z;BZ2;ZIP;TAR;TZG;ZOO)
;
; This script was written for WinVICE C64 v1.16,
; but may work with other Windows C64 versions too.
;
; Emulator Website: http://www.viceteam.org
;
; If you have a disk game that comes on multiple disks
; and works with multiple drives, you can set a
; GEMUS key=value pair to auto insert all the disks into
; VICE's drives. Simply press F2 (in the main GB window)
; and enter: maxdrives=x
; where x is either 2, 3 or 4
;
; If VICE requires True Drive Emulation, but CCS64 does not,
; use the key=value pair: vtde=yes
; If VICE does not require True Drive Emulation, but CCS64 does,
; use the key=value pair: vtde=no
;
; To enable the REU (RAM Expansion Unit),
; use the key=value pair: reu=x
; where x is 128,256,512,1024,2048,4086,8192 or 16384
If GameType CONTAINS(d64||t64||g64||g41||tap||crt||p00||prg||lnx)
;option to start in fullscreen mode
If Key_fullscreen CONTAINS(yes||1||on||true)
Set_INI_Value(1||c64||FullscreenEnabled||1)
ElseIf Key_fullscreen CONTAINS(no||0||off|false)
Set_INI_Value(1||c64||FullscreenEnabled||0)
End If
;option to set the window size
If Key_windowsize CONTAINS(1)
Set_INI_Value(1||c64||VICIIDoubleSize||0)
ElseIf Key_windowsize CONTAINS(2||3)
Set_INI_Value(1||c64||VICIIDoubleSize||1)
End If
;option to enable/disable emulation of a CRT monitor
If Key_crtemu CONTAINS(yes||1||on||true)
Set_INI_Value(1||c64||PALEmulation||1)
ElseIf Key_crtemu CONTAINS(no||0||off||false)
Set_INI_Value(1||c64||PALEmulation||0)
End If
;option to enable/disable sound output
If Key_sound CONTAINS(yes||1||on||true)
Set_INI_Value(1||c64||Sound||1)
ElseIf Key_sound CONTAINS(no||0||off|false)
Set_INI_Value(1||c64||Sound||0)
End If
;option to turn on/off Warp Mode (speed increase) at startup
;Set_INI_Value(1||C64||WarpMode||1)
;option to start in fullscreen mode (no border=640x400, border=600x800 or larger)
;Set_INI_Value(1||C64||FullscreenEnabled||1)
;Set_INI_Value(1||C64||FullscreenWidth||640)
;Set_INI_Value(1||C64||FullscreenHeight||400)
;Set_INI_Value(1||C64||FullscreenBitdepth||32)
;VICII settings for Color Enhancer v0.8 (but may work with other versions too)
;website: http://perso.wanadoo.fr/ck/C64/filter/C64Filter.html
;the Color Enhancer Filter replaces the default Scale2x filter
;with a 32-bit color depth smoothing/dithering filter algorithm.
;Set_INI_Value(1||C64||VICIIDoubleSize||1)
;Set_INI_Value(1||C64||VICIIScale2x||1)
;set paths to file location for possible image swaps
Set_INI_Value(1||C64||InitialDiskDir||"%gamepath%")
Set_INI_Value(1||C64||InitialTapeDir||"%gamepath%")
Set_INI_Value(1||C64||InitialCartDir||"%gamepath%")
Set_INI_Value(1||C64||InitialAutostartDir||"%gamepath%")
Set_INI_Value(1||C64||InitialDefaultDir||"%gamepath%")
Set_INI_Value(1||C64||InitialSnapshotDir||"%gamepath%")
Set_INI_Value(1||C64||FSDevice8Dir||"%gamepath%")
Set_INI_Value(1||C64||Drive9Type||0)
Set_INI_Value(1||C64||Drive10Type||0)
Set_INI_Value(1||C64||Drive11Type||0)
;set to extend tracks on access
Set_INI_Value(1||C64||Drive8ExtendImagePolicy||2)
Set_INI_Value(1||C64||Drive9ExtendImagePolicy||2)
Set_INI_Value(1||C64||Drive10ExtendImagePolicy||2)
Set_INI_Value(1||C64||Drive11ExtendImagePolicy||2)
;autostart or 'manual load' the game image
If GameType CONTAINS(crt)
;autostart the cart image
Add_CLP( -cartcrt %gamepathfile%)
Else
;insert multiple disks into drives 9, 10 and 11?
If GameType CONTAINS(d64||g64||g41)
If Key_maxdrives CONTAINS(2||3||4)
If NumGameFiles > 1
Add_CLP2( -9 "%gamepathfile(1)%")
Set_INI_Value(1||C64||FSDevice9Dir||"%gamepath%")
Set_INI_Value(1||C64||Drive9Type||1541)
End If
End If
If Key_maxdrives CONTAINS(3||4)
If NumGameFiles > 2
Add_CLP2( -10 "%gamepathfile(2)%")
Set_INI_Value(1||C64||FSDevice10Dir||"%gamepath%")
Set_INI_Value(1||C64||Drive10Type||1541)
End If
End If
If Key_maxdrives CONTAINS(4)
If NumGameFiles > 3
Add_CLP2( -11 "%gamepathfile(3)%")
Set_INI_Value(1||C64||FSDevice11Dir||"%gamepath%")
Set_INI_Value(1||C64||Drive11Type||1541)
End If
End If
End If
;autostart or 'manual load' the game image
If ImageName CONTAINS(*)
If VersionComment CONTAINS(*load manually*)
Add_CLP2( -autoload "%gamepathfile%:%c64imagename%")
If Key_keybuf CONTAINS(*)
Add_CLP2( -keybuf %keybuf_value%)
End If
Else
Add_CLP2( -autostart "%gamepathfile%:%c64imagename%")
End If
Else
If VersionComment CONTAINS(*load manually*)
Add_CLP2( -autoload "%gamepathfile%)
Else
Add_CLP2( -autostart "%gamepathfile%")
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
;true drive emulation (vtde=yes is for VICE only, not CCS64)
;set GEMUS key "vtde" to overrule database TrueDriveEmu settings
If Key_vtde CONTAINS(yes||on||true||1)
Add_CLP( -truedrive)
ElseIf Key_vtde CONTAINS(no||no*||off|false||0)
Add_CLP( +truedrive)
ElseIf TrueDriveEmu = YES
Add_CLP( -truedrive)
Else
Add_CLP( +truedrive)
End If
;set the game controls
;These settings are designed to automatically set the controls for player 1
;to the same controller, regardless of which PORT the game uses for player 1.
;
;0=None, 1=Numpad + RCtrl, 2=Keset A, 3=Keyset B, 4+ are for real joysticks/pads
;
;Use k=v pair REALJOYSTICK1 and REALJOYSTICK2 to activate a USB game controller
;for player 1 and player 2
If Key_joystickautoconfig CONTAINS(no||0||off||false)
Else
If Control = JoyPort2
If Key_realjoystick1 CONTAINS(yes||1||on||true)
Add_CLP( -joydev2 4)
Else
Add_CLP( -joydev2 3)
End If
If NumPlayers > 1
If Key_realjoystick2 CONTAINS(yes||1||on||true)
Add_CLP( -joydev1 5)
Else
Add_CLP( -joydev1 2)
End If
Else
Add_CLP( -joydev1 0)
End If
Set_INI_Value(1||C64||Mouse||0)
ElseIf Control = JoyPort1
If Key_realjoystick1 CONTAINS(yes||1||on||true)
Add_CLP( -joydev1 4)
Else
Add_CLP( -joydev1 3)
End If
If NumPlayers > 1
If Key_realjoystick2 CONTAINS(yes||1||on||true)
Add_CLP( -joydev2 5)
Else
Add_CLP( -joydev2 2)
End If
Else
Add_CLP( -joydev2 0)
End If
Set_INI_Value(1||C64||Mouse||0)
ElseIf Control = Mouse
;1351 Mouse emulation (the Port cannot be changed or determined via the GUI)
Set_INI_Value(1||C64||Mouse||1)
Set_INI_Value(1||C64||Mouseport||1)
Add_CLP( -joydev1 0)
Add_CLP( -joydev2 0)
ElseIf Control = PaddlePort1
;Mouse PORT1 setting may give partial PaddlePort1 control
Set_INI_Value(1||C64||Mouse||1)
Set_INI_Value(1||C64||Mouseport||1)
Add_CLP( -joydev1 0)
Add_CLP( -joydev2 0)
ElseIf Control = PaddlePort2
;Mouse PORT2 setting may give partial PaddlePort2 control
Set_INI_Value(1||C64||Mouse||1)
Set_INI_Value(1||C64||Mouseport||2)
Add_CLP( -joydev1 0)
Add_CLP( -joydev2 0)
Else
;Disable Joysticks and Mouse
Add_CLP( -joydev1 0)
Add_CLP( -joydev2 0)
Set_INI_Value(1||C64||Mouse||0)
End If
End If
;REU (Ram Expansion Unit) = 128,256,512,1024,2048,4086,8192 or 16384 kB
If Key_reu CONTAINS(*)
;enable REU and set to reu value
If Key_reu CONTAINS(128||256||512||1024||2048||4096||8192||16384)
Set_INI_Value(1||C64||REUsize||%reu_value%)
Set_INI_Value(1||C64||REU||1)
ElseIf Key_reu CONTAINS(no||no*||off||false||0)
;disable REU if set to off
Set_INI_Value(1||C64||REU||0)
Else
;set to 512 kB for all other REU values (on, yes, 500, etc.)
Set_INI_Value(1||C64||REUsize||512)
Set_INI_Value(1||C64||REU||1)
End If
Else
;disable REU
Set_INI_Value(1||C64||REU||0)
End If
;unsupported game controls
If Control = LightPen
Show_Message(This emulator does not have LightPen emulation.%crlfx2%This game may be uncontrollable/unplayable.)
ElseIf Control = KoalaPad
Show_Message(This emulator does not have KoalaPad emulation.%crlfx2%This game may be uncontrollable/unplayable.)
ElseIf Control = LightGun
Show_Message(This emulator does not have LightGun emulation.%crlfx2%This game may be uncontrollable/unplayable.)
ElseIf Control = PaddlePort1
Show_Message(This emulator does not have Paddle emulation.%crlfx2%Mouse Port1 setting may allow partial control via the mouse.%crlfx2%This game may still be uncontrollable/unplayable.)
ElseIf Control = PaddlePort2
Show_Message(This emulator does not have Paddle emulation.%crlfx2%Mouse Port2 setting may allow partial control via the mouse.%crlfx2%This game may still be uncontrollable/unplayable.)
End If
;give the user a warning message?
If VersionComment CONTAINS(*use C64S*||*use CCS*||*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(*PET Emulator*)
Show_Message(Use LOAD"*",8 and RUN in PET Emulator start this game.)
End If
If VersionComment CONTAINS(*ATTN:*||*NOTE:*||*ATTN!:*||*NOTE!:*)
;point out that critical info is in the version comment
Show_Message(Read this game's Version Comments for very important information/instructions.)
End If
If VersionComment CONTAINS(*VIC-20*||*VIC20*)
If VersionComment CONTAINS(*emulator*)
Show_Message(Use VIC-20 column Emulator to run this game properly.)
End If
End If
;show message for the user
If Key_msg CONTAINS(*)
Show_Message(%msg_value%)
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, P00, PRG, LNX)
End If
|
WINVICE-SC.TXT
| Code: | ;********************************
;* WinVICE Default GEMUS Script *
;* (c) The GB64 Team *
;* 3 July 2012 *
;********************************
;
; PLEASE SET YOUR EMULATOR PROPERTIES AS FOLLOWS:
;
; Emulator File: X64.EXE
; Associated Script File (1): vice.ini
; Use Short Filenames: YES
; File Types: D64;T64;G64;G41;TAP;CRT;P00;PRG;LNX
; (Compressed File Types: GZ;Z;BZ2;ZIP;TAR;TZG;ZOO)
;
; This script was written for WinVICE C64 v1.16,
; but may work with other Windows C64 versions too.
;
; Emulator Website: http://www.viceteam.org
;
; If you have a disk game that comes on multiple disks
; and works with multiple drives, you can set a
; GEMUS key=value pair to auto insert all the disks into
; VICE's drives. Simply press F2 (in the main GB window)
; and enter: maxdrives=x
; where x is either 2, 3 or 4
;
; If VICE requires True Drive Emulation, but CCS64 does not,
; use the key=value pair: vtde=yes
; If VICE does not require True Drive Emulation, but CCS64 does,
; use the key=value pair: vtde=no
;
; To enable the REU (RAM Expansion Unit),
; use the key=value pair: reu=x
; where x is 128,256,512,1024,2048,4086,8192 or 16384
If GameType CONTAINS(d64||t64||g64||g41||tap||crt||p00||prg||lnx)
;option to start in fullscreen mode
If Key_fullscreen CONTAINS(yes||1||on||true)
Set_INI_Value(1||C64SC||FullscreenEnabled||1)
ElseIf Key_fullscreen CONTAINS(no||0||off|false)
Set_INI_Value(1||C64SC||FullscreenEnabled||0)
End If
;option to set the window size
If Key_windowsize CONTAINS(1)
Set_INI_Value(1||C64SC||VICIIDoubleSize||0)
ElseIf Key_windowsize CONTAINS(2||3)
Set_INI_Value(1||C64SC||VICIIDoubleSize||1)
End If
;option to enable/disable emulation of a CRT monitor
If Key_crtemu CONTAINS(yes||1||on||true)
Set_INI_Value(1||C64SC||PALEmulation||1)
ElseIf Key_crtemu CONTAINS(no||0||off||false)
Set_INI_Value(1||C64SC||PALEmulation||0)
End If
;option to enable/disable sound output
If Key_sound CONTAINS(yes||1||on||true)
Set_INI_Value(1||C64SC||Sound||1)
ElseIf Key_sound CONTAINS(no||0||off|false)
Set_INI_Value(1||C64SC||Sound||0)
End If
;option to turn on/off Warp Mode (speed increase) at startup
;Set_INI_Value(1||C64SC||WarpMode||1)
;option to start in fullscreen mode (no border=640x400, border=600x800 or larger)
;Set_INI_Value(1||C64SC||FullscreenEnabled||1)
;Set_INI_Value(1||C64SC||FullscreenWidth||640)
;Set_INI_Value(1||C64SC||FullscreenHeight||400)
;Set_INI_Value(1||C64SC||FullscreenBitdepth||32)
;VICII settings for Color Enhancer v0.8 (but may work with other versions too)
;website: http://perso.wanadoo.fr/ck/C64/filter/C64Filter.html
;the Color Enhancer Filter replaces the default Scale2x filter
;with a 32-bit color depth smoothing/dithering filter algorithm.
;Set_INI_Value(1||C64SC||VICIIDoubleSize||1)
;Set_INI_Value(1||C64SC||VICIIScale2x||1)
;set paths to file location for possible image swaps
Set_INI_Value(1||C64SC||InitialDiskDir||"%gamepath%")
Set_INI_Value(1||C64SC||InitialTapeDir||"%gamepath%")
Set_INI_Value(1||C64SC||InitialCartDir||"%gamepath%")
Set_INI_Value(1||C64SC||InitialAutostartDir||"%gamepath%")
Set_INI_Value(1||C64SC||InitialDefaultDir||"%gamepath%")
Set_INI_Value(1||C64SC||InitialSnapshotDir||"%gamepath%")
Set_INI_Value(1||C64SC||FSDevice8Dir||"%gamepath%")
Set_INI_Value(1||C64SC||Drive9Type||0)
Set_INI_Value(1||C64SC||Drive10Type||0)
Set_INI_Value(1||C64SC||Drive11Type||0)
;set to extend tracks on access
Set_INI_Value(1||C64SC||Drive8ExtendImagePolicy||2)
Set_INI_Value(1||C64SC||Drive9ExtendImagePolicy||2)
Set_INI_Value(1||C64SC||Drive10ExtendImagePolicy||2)
Set_INI_Value(1||C64SC||Drive11ExtendImagePolicy||2)
;autostart or 'manual load' the game image
If GameType CONTAINS(crt)
;autostart the cart image
Add_CLP( -cartcrt %gamepathfile%)
Else
;insert multiple disks into drives 9, 10 and 11?
If GameType CONTAINS(d64||g64||g41)
If Key_maxdrives CONTAINS(2||3||4)
If NumGameFiles > 1
Add_CLP2( -9 "%gamepathfile(1)%")
Set_INI_Value(1||C64SC||FSDevice9Dir||"%gamepath%")
Set_INI_Value(1||C64SC||Drive9Type||1541)
End If
End If
If Key_maxdrives CONTAINS(3||4)
If NumGameFiles > 2
Add_CLP2( -10 "%gamepathfile(2)%")
Set_INI_Value(1||C64SC||FSDevice10Dir||"%gamepath%")
Set_INI_Value(1||C64SC||Drive10Type||1541)
End If
End If
If Key_maxdrives CONTAINS(4)
If NumGameFiles > 3
Add_CLP2( -11 "%gamepathfile(3)%")
Set_INI_Value(1||C64SC||FSDevice11Dir||"%gamepath%")
Set_INI_Value(1||C64SC||Drive11Type||1541)
End If
End If
End If
;autostart or 'manual load' the game image
If ImageName CONTAINS(*)
If VersionComment CONTAINS(*load manually*)
Add_CLP2( -autoload "%gamepathfile%:%c64imagename%")
If Key_keybuf CONTAINS(*)
Add_CLP2( -keybuf %keybuf_value%)
End If
Else
Add_CLP2( -autostart "%gamepathfile%:%c64imagename%")
End If
Else
If VersionComment CONTAINS(*load manually*)
Add_CLP2( -autoload "%gamepathfile%)
Else
Add_CLP2( -autostart "%gamepathfile%")
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
;true drive emulation (vtde=yes is for VICE only, not CCS64)
;set GEMUS key "vtde" to overrule database TrueDriveEmu settings
If Key_vtde CONTAINS(yes||on||true||1)
Add_CLP( -truedrive)
ElseIf Key_vtde CONTAINS(no||no*||off|false||0)
Add_CLP( +truedrive)
ElseIf TrueDriveEmu = YES
Add_CLP( -truedrive)
Else
Add_CLP( +truedrive)
End If
;set the game controls
;These settings are designed to automatically set the controls for player 1
;to the same controller, regardless of which PORT the game uses for player 1.
;
;0=None, 1=Numpad + RCtrl, 2=Keset A, 3=Keyset B, 4+ are for real joysticks/pads
;
;Use k=v pair REALJOYSTICK1 and REALJOYSTICK2 to activate a USB game controller
;for player 1 and player 2
If Key_joystickautoconfig CONTAINS(no||0||off||false)
Else
If Control = JoyPort2
If Key_realjoystick1 CONTAINS(yes||1||on||true)
Add_CLP( -joydev2 4)
Else
Add_CLP( -joydev2 3)
End If
If NumPlayers > 1
If Key_realjoystick2 CONTAINS(yes||1||on||true)
Add_CLP( -joydev1 5)
Else
Add_CLP( -joydev1 2)
End If
Else
Add_CLP( -joydev1 0)
End If
Set_INI_Value(1||C64SC||Mouse||0)
ElseIf Control = JoyPort1
If Key_realjoystick1 CONTAINS(yes||1||on||true)
Add_CLP( -joydev1 4)
Else
Add_CLP( -joydev1 3)
End If
If NumPlayers > 1
If Key_realjoystick2 CONTAINS(yes||1||on||true)
Add_CLP( -joydev2 5)
Else
Add_CLP( -joydev2 2)
End If
Else
Add_CLP( -joydev2 0)
End If
Set_INI_Value(1||C64SC||Mouse||0)
ElseIf Control = Mouse
;1351 Mouse emulation (the Port cannot be changed or determined via the GUI)
Set_INI_Value(1||C64SC||Mouse||1)
Set_INI_Value(1||C64SC||Mouseport||1)
Add_CLP( -joydev1 0)
Add_CLP( -joydev2 0)
ElseIf Control = PaddlePort1
;Mouse PORT1 setting may give partial PaddlePort1 control
Set_INI_Value(1||C64SC||Mouse||1)
Set_INI_Value(1||C64SC||Mouseport||1)
Add_CLP( -joydev1 0)
Add_CLP( -joydev2 0)
ElseIf Control = PaddlePort2
;Mouse PORT2 setting may give partial PaddlePort2 control
Set_INI_Value(1||C64SC||Mouse||1)
Set_INI_Value(1||C64SC||Mouseport||2)
Add_CLP( -joydev1 0)
Add_CLP( -joydev2 0)
Else
;Disable Joysticks and Mouse
Add_CLP( -joydev1 0)
Add_CLP( -joydev2 0)
Set_INI_Value(1||C64SC||Mouse||0)
End If
End If
;REU (Ram Expansion Unit) = 128,256,512,1024,2048,4086,8192 or 16384 kB
If Key_reu CONTAINS(*)
;enable REU and set to reu value
If Key_reu CONTAINS(128||256||512||1024||2048||4096||8192||16384)
Set_INI_Value(1||C64SC||REUsize||%reu_value%)
Set_INI_Value(1||C64SC||REU||1)
ElseIf Key_reu CONTAINS(no||no*||off||false||0)
;disable REU if set to off
Set_INI_Value(1||C64SC||REU||0)
Else
;set to 512 kB for all other REU values (on, yes, 500, etc.)
Set_INI_Value(1||C64SC||REUsize||512)
Set_INI_Value(1||C64SC||REU||1)
End If
Else
;disable REU
Set_INI_Value(1||C64SC||REU||0)
End If
;unsupported game controls
If Control = LightPen
Show_Message(This emulator does not have LightPen emulation.%crlfx2%This game may be uncontrollable/unplayable.)
ElseIf Control = KoalaPad
Show_Message(This emulator does not have KoalaPad emulation.%crlfx2%This game may be uncontrollable/unplayable.)
ElseIf Control = LightGun
Show_Message(This emulator does not have LightGun emulation.%crlfx2%This game may be uncontrollable/unplayable.)
ElseIf Control = PaddlePort1
Show_Message(This emulator does not have Paddle emulation.%crlfx2%Mouse Port1 setting may allow partial control via the mouse.%crlfx2%This game may still be uncontrollable/unplayable.)
ElseIf Control = PaddlePort2
Show_Message(This emulator does not have Paddle emulation.%crlfx2%Mouse Port2 setting may allow partial control via the mouse.%crlfx2%This game may still be uncontrollable/unplayable.)
End If
;give the user a warning message?
If VersionComment CONTAINS(*use C64S*||*use CCS*||*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(*PET Emulator*)
Show_Message(Use PET Emulator to run this game.)
End If
If VersionComment CONTAINS(*ATTN:*||*NOTE:*||*ATTN!:*||*NOTE!:*)
;point out that critical info is in the version comment
Show_Message(Read this game's Version Comments for very important information/instructions.)
End If
If VersionComment CONTAINS(*VIC-20*||*VIC20*)
If VersionComment CONTAINS(*emulator*)
Show_Message(Use VIC-20 column Emulator to run this game properly.)
End If
End If
;show message for the user
If Key_msg CONTAINS(*)
Show_Message(%msg_value%)
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, P00, PRG, LNX)
End If
|
CCS64.TXT
| Code: | ;******************************
;* CCS64 v3.9 GEMUS Script *
;* (c) The GB64 Team *
;* 3 July 2012 *
;******************************
;
; PLEASE SET YOUR EMULATOR PROPERTIES AS FOLLOWS:
;
; Emulator File: CCS64.EXE (DOS Version)
; CCS.EXE (DirectX Version)
; Associated Script File (1): C64.CFG
; Use Short Filenames: YES
; File Types: D64;T64;PRG;P00;P01;G64;G41;CRT;TAP
;
; This script was written for CCS64 v3.9,
; and may not work with other versions.
;
; Emulator Website: http://www.ccs64.com
;
; To enable the REU (RAM Expansion Unit),
; use the key=value pair: reu=x
; where x is 128,256,512,1024,2048,4086,8192 or 16384
If GameType CONTAINS(t64||prg||p00||p01||d64||g64||g41||crt||tap)
;Screen mode (and window mode) options
;Some video modes may not be supported and may look different dependent on used emulator
;Option to start in a preset screen mode. Some video modes may not be supported.
;CCS64 v2: 0=windowed, 10=600x800.
;CCS64 v3: 0=Window, 1=Window 2X, 3=Window 3X, 12=320x200x16, 13=320x240x16, 14=400x300x16.
;Set_CFG_Value(1||$SCREENMODE||0)
;option to start in fulscreen mode
If Key_windowsize CONTAINS(1)
Set_CFG_Value(1||$SCREENMODE||0)
ElseIf Key_windowsize CONTAINS(2)
Set_CFG_Value(1||$SCREENMODE||1)
ElseIf Key_windowsize CONTAINS(3)
Set_CFG_Value(1||$SCREENMODE||2)
End If
If Key_fullscreen CONTAINS(yes||1||on||true)
Set_CFG_Value(1||$SCREENMODE||22)
End If
;option to enable/disable emulation of a CRT monitor
If Key_crtemu CONTAINS(yes||1||on||true)
Set_CFG_Value(1||$SCREENFILTER||1)
ElseIf Key_crtemu CONTAINS(no||0||off||false)
Set_CFG_Value(1||$SCREENFILTER||0)
End If
;Option to start in windowed mode. Not all video modes are supported,
;The window is not floating (it is fixed in the upper-left corner)
;This option is only valid for the DirectX emu versions
Add_CLP( -window)
;set the HardSID ID (5 is the default ID)
;This option is only valid for the emu versions supporting HardSID
;Add_CLP( -hardsid 5)
;option to enable/disable sound output
If Key_sound CONTAINS(yes||1||on||true)
Set_CFG_Value(1||$SOUNDENABLE||YES)
ElseIf Key_sound CONTAINS(no||0||off|false)
Set_CFG_Value(1||$SOUNDENABLE||NO)
End If
;Option to use max emulator speed during disk load (not always reliable)
;Set_CFG_Value(1||$MAX1541SPEED||1)
;set disk save mode (0=never, 1=ask, 2=continuously)
Set_CFG_Value(1||$DISKSAVEMODE||2)
;do we want a PAL or NTSC setup?
If PalNTSC = NTSC
;1=NTSC (65x263), 2=NTSC (65x262)
Set_CFG_Value(1||$SYSTEMMODE||1)
Else
;0=PAL (63x312)
Set_CFG_Value(1||$SYSTEMMODE||0)
End If
;load the selected game image
Add_CLP( %gamepathfile%)
If GameType CONTAINS(d64||t64)
Add_CLP(,%imageindex%)
;true drive emulation?
If TrueDriveEmu = NO
Add_CLP( -fastload)
Else
Add_CLP( -normalload)
End If
End If
;set the game path for the emulator
Set_CFG_Value(1||$LOADPATH||%gamepath%)
;check for 'manual load' verison comments
If VersionComment CONTAINS(*load manually*)
Add_CLP( -manualrun)
Else
;autorun the loaded image
Add_CLP( -autorun)
End If
;option to set screenshot size settings to 320x200 with no C64 border (GBC style)
;Set_CFG_Value(1||$SCREENSHOTSTARTX||128)
;Set_CFG_Value(1||$SCREENSHOTSTOPX||448)
;Set_CFG_Value(1||$SCREENSHOTSTARTY||51)
;Set_CFG_Value(1||$SCREENSHOTSTOPY||251)
;set the game controls
;These settings are designed to automatically set the controls for player 1
;to the same controller, regardless of which PORT the game uses for player 1.
;
;PORTx: 0=None, 1=Joystick, 2=Mouse C1531, 3=Paddles
;MODE for PORTx=1: 0-15=PC Gameport 1-16 16=Key-Set 1,
; 17=Key-Set 2, 18=Key-Set 3, 19=Adapter Port 1, 20=Adapter Port 2
;
;MODE for PORTx=2: 0=PC Mouse, 1=PC Gameport 1, 2=PC Gameport 2,
; 3=Key-Set 1, 4=Key-Set 2, 5=Key-Set 3
;
;MODE for PORTx=3: 0=PC Mouse+PC Mouse, ..., 80=PC Mouse+Key-Set 3,
; 48=PC Mouse+Key-Set 1, 64=PC Mouse+Key-Set 2
;
If Key_joystickautoconfig CONTAINS(no||0||off||false)
Else
If Control = JoyPort2
;default for JoyPort2 is PORT2=Key-Set 2 (and PORT1=Key-Set 1)
Set_CFG_Value(1||$CONTROLPORT2||1)
If Key_realjoystick1 CONTAINS(yes||1||on||true)
Set_CFG_Value(1||$CONTROLPORT2MODE||19)
Else
Set_CFG_Value(1||$CONTROLPORT2MODE||17)
End If
If NumPlayers > 1
Set_CFG_Value(1||$CONTROLPORT1||1)
If Key_realjoystick2 CONTAINS(yes||1||on||true)
Set_CFG_Value(1||$CONTROLPORT1MODE||20)
Else
Set_CFG_Value(1||$CONTROLPORT1MODE||16)
End If
Else
Set_CFG_Value(1||$CONTROLPORT1||0)
Set_CFG_Value(1||$CONTROLPORT1MODE||0)
End If
ElseIf Control = JoyPort1
;default for JoyPort1 is PORT1=Key-Set 2 (and PORT2=Key-Set 1)
Set_CFG_Value(1||$CONTROLPORT1||1)
If Key_realjoystick1 CONTAINS(yes||1||on||true)
Set_CFG_Value(1||$CONTROLPORT1MODE||19)
Else
Set_CFG_Value(1||$CONTROLPORT1MODE||16)
End If
If NumPlayers > 1
Set_CFG_Value(1||$CONTROLPORT2||1)
If Key_realjoystick1 CONTAINS(yes||1||on||true)
Set_CFG_Value(1||$CONTROLPORT2MODE||20)
Else
Set_CFG_Value(1||$CONTROLPORT2MODE||17)
End If
Else
Set_CFG_Value(1||$CONTROLPORT2||0)
Set_CFG_Value(1||$CONTROLPORT2MODE||0)
End If
ElseIf Control = Mouse
;C1531 Mouse in PORT1
Set_CFG_Value(1||$CONTROLPORT1||2)
Set_CFG_Value(1||$CONTROLPORT1MODE||0)
Set_CFG_Value(1||$CONTROLPORT2||0)
Set_CFG_Value(1||$CONTROLPORT2MODE||0)
ElseIf Control = PaddlePort1
;PaddlePort1 is typically for 1P or 2P (Simultaneous) games
;default is player 1 uses PC Mouse, player 2 uses Key-Set 2
Set_CFG_Value(1||$CONTROLPORT1||3)
Set_CFG_Value(1||$CONTROLPORT1MODE||64)
Set_CFG_Value(1||$CONTROLPORT2||0)
Set_CFG_Value(1||$CONTROLPORT2MODE||0)
ElseIf Control = PaddlePort2
;PaddlePort2 is typically for 2P (Alternating) or 1P PORT2 games
;default is both players 1 and 2 use the PC Mouse
Set_CFG_Value(1||$CONTROLPORT1||0)
Set_CFG_Value(1||$CONTROLPORT1MODE||0)
Set_CFG_Value(1||$CONTROLPORT2||3)
Set_CFG_Value(1||$CONTROLPORT2MODE||0)
Else
;clear the ports if not one of the above controls
Set_CFG_Value(1||$CONTROLPORT1||0)
Set_CFG_Value(1||$CONTROLPORT1MODE||0)
Set_CFG_Value(1||$CONTROLPORT2||0)
Set_CFG_Value(1||$CONTROLPORT2MODE||0)
End If
End If
;REU (Ram Expansion Unit) = 128,256,512,1024,2048,4086,8192 or 16384 kB
If Key_reu CONTAINS(*)
;enable REU and set to reu value
Set_CFG_Value(1||$REUENABLE||YES)
;set REU to reu value in number of 64kB units
If Key_reu CONTAINS(128)
Set_CFG_Value(1||$REUSIZE||2)
ElseIf Key_reu CONTAINS(256)
Set_CFG_Value(1||$REUSIZE||4)
ElseIf Key_reu CONTAINS(512)
Set_CFG_Value(1||$REUSIZE||8)
ElseIf Key_reu CONTAINS(1024)
Set_CFG_Value(1||$REUSIZE||16)
ElseIf Key_reu CONTAINS(2048)
Set_CFG_Value(1||$REUSIZE||32)
ElseIf Key_reu CONTAINS(4096)
Set_CFG_Value(1||$REUSIZE||64)
ElseIf Key_reu CONTAINS(8192)
Set_CFG_Value(1||$REUSIZE||128)
ElseIf Key_reu CONTAINS(16384)
Set_CFG_Value(1||$REUSIZE||256)
ElseIf Key_reu CONTAINS(no||no*||off||false||0)
;disable REU if set to off
Set_CFG_Value(1||$REUENABLE||NO)
Else
;default to 512 kB for all other REU values (on, yes, 500, etc.)
Set_CFG_Value(1||$REUSIZE||8)
End If
Else
;disable REU
Set_CFG_Value(1||$REUENABLE||NO)
End If
;unsupported game controls
If Control = LightPen
Show_Message(This emulator does not have LightPen emulation.%crlfx2%This game may be uncontrollable/unplayable.)
ElseIf Control = KoalaPad
Show_Message(This emulator does not have KoalaPad emulation.%crlfx2%This game may be uncontrollable/unplayable.)
ElseIf Control = LightGun
Show_Message(This emulator does not have LightGun emulation.%crlfx2%This game may be uncontrollable/unplayable.)
End If
;give the user a warning message?
If VersionComment CONTAINS(*use VICE*||*use C64S*||*use CCS v1*||*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 LOAD"*",8 and RUN in PET Emulator start this game.)
End If
If VersionComment CONTAINS(*ATTN:*||*NOTE:*||*ATTN!:*||*NOTE!:*)
;point out that critical info is in the version comment
Show_Message(Read this game's Version Comments for very important information/instructions.)
End If
If VersionComment CONTAINS(*VIC-20*||*VIC20*)
If VersionComment CONTAINS(*emulator*)
Show_Message(Use VIC-20 column Emulator to run this game properly.)
End If
End If
;run DirectX or DOS emulator
Run_Emulator()
;Run_Emulator(DOSCLOSE)
Else
;invalid game file type
Show_Message(GAME_NOT_SUPPORTED%crlfx2%Supported types: D64, T64, G64/G41, TAP, CRT, P00, P01, PRG)
End If
|
|
|
| Back to top |
|
 |
.mad. Outstanding Member


Joined: 19 Jun 2005 Posts: 984 GB64-Points: 2764 Location: Lancashire, England
|
Posted: Tue Jul 03, 2012 5:20 pm Post subject: |
|
|
Only obvious thing is the filetypes for HOXS64
missing G64 and FDI.
but not seen any FDI images myself.
| Code: |
¬Hoxs64 v1.0.7.4 (x64)¬http://www.hoxs64.net¬¬hoxs64.exe¬56C059B0¬G64;FDI;D64;TAP;P00;PRG¬Y¬Hoxs64.txt¬
¬Hoxs64 v1.0.7.4 (x86)¬http://www.hoxs64.net¬¬hoxs64.exe¬D2E718D4¬G64;FDI;D64;TAP;P00;PRG¬Y¬Hoxs64.txt¬
¬Hoxs64 v1.0.7.4 (9x2k)¬http://www.hoxs64.net¬¬hoxs64.exe¬EECEB076¬G64;FDI;D64;TAP;P00;PRG¬Y¬Hoxs64.txt¬
|
some modified versions of WinVICE.
with better G64 support and programmable joystick buttons.
| Code: |
;Modified Versions
WinVICE 2.3.17 SPS¬http://www.kryoflux.com/¬Enhanced G64 support¬x64.exe¬7FB22033¬D64;D71;D80;D81;D82;G64;G41;X64;T64;P00;TAP;PRG;CRT¬Y¬WinVICE.txt¬vice.ini¬
WinVICE 2.3.17 SC SPS¬http://www.kryoflux.com/¬Enhanced G64 support¬x64sc.exe¬21AE09C8¬D64;D71;D80;D81;D82;G64;G41;X64;T64;P00;TAP;PRG;CRT¬Y¬WinVICE.txt¬vice.ini¬
WinVICE 2.3.17 Dink Mod v5¬http://www.lemon64.com/forum/viewtopic.php?t=42474¬Programmable gamepad button code by dink @ lemon64¬x64.exe¬9B54C3D2¬D64;D71;D80;D81;D82;G64;G41;X64;T64;P00;TAP;PRG;CRT¬Y¬WinVICE.txt¬vice.ini¬
|
emulator websites to be placed in VICE script
; Emulator Websites:
; http://www.viceteam.org
; http://vice-emu.sourceforge.net/
; http://sourceforge.net/projects/vice-emu/files/development-releases/
; http://www.kryoflux.com/
; http://www.lemon64.com/forum/viewtopic.php?t=42474&sid=9021370532f37f5c1a0858c9751ce7aa
apart from that it looks good.  |
|
| Back to top |
|
 |
merman Cool Member

Joined: 08 Sep 2003 Posts: 371 GB64-Points: 453 Location: Skegness, UK
|
|
| Back to top |
|
 |
K.C. Cool Member

Joined: 29 Sep 2003 Posts: 362 GB64-Points: 364 Location: The Netherlands
|
Posted: Wed Jul 04, 2012 11:50 am Post subject: |
|
|
| merman wrote: | | ...the VICE team URL rather than the Sourceforge one... |
Of course! Changed in GEMUS.DAT a few posts earlier.
@.mad., thanks for the extra emulator definitions!
I hope you don't mind I've added them to GEMUS.DAT in my post.
Offtopic,
I would really like to see the collection distributed as a complete package.
Especially the first editions were nicely packaged in .ISO files.
V07 was distributed as one big .ZIP file (which had problems with the internal extraction tool in Windows) and V08 was never released as a complete package (not included HVSC, screenshots, emulators, SID players, frontend etc.).
There was also someone who created a fantastic DVD cover and label for GB64 V03. It can be downloaded here (and here's a nice poster with the same theme).
Maybe this guy is willing to modify it for V09 and include it in the official distribution. Or someone else with Photoshop skills can edit it (of course with Marko's permission).
Anyway, he still seems to be interested in Commodore related stuff, see this thread at the Lemon64 forums.
Distributing the collection with everything included as .ISO files, including cover art would give the GB64 collection a much more 'professional' look. |
|
| Back to top |
|
 |
Bilbo New Member
Joined: 01 Apr 2012 Posts: 44 GB64-Points: 44
|
Posted: Sun Aug 19, 2012 4:30 pm Post subject: |
|
|
Hi, Guys
Wonder if anyone can help me out.
For some reason i am missing the GEMUS.DAT file.
It must have been in the proper place before, but
now there is no sign of it in the Gamebase folder.
I know that i have not deleted it, as i have not been in
that folder since setting things up about a year ago.
Has any got the latest Gemus.dat that i can download
as i have noticed in this thread that there as been a
lot of alteration and updating.
Many thanks for your help with this.
Bilbo. |
|
| Back to top |
|
 |
.mad. Outstanding Member


Joined: 19 Jun 2005 Posts: 984 GB64-Points: 2764 Location: Lancashire, England
|
Posted: Fri Sep 07, 2012 6:00 pm Post subject: |
|
|
Calling K.C. the script master
Just noticed a problem with the script for some original disks.
Example... 180 darts [3 on 1]
due to the garbage in the directory and filenames,
this disk will only run from the emulator with Load"*",8,1
running via gamebase in WinVICE will crash the emulator.
made a small fix for CCS and HOXS but not worked it out for WinVICE yet.
add line in gemus
auto=wildcard
for the few disks with the load problem.
CCS
bugs if the %imageindex% is used.
remove to boot disk with "*"
| Code: |
;load the selected game image
Add_CLP( %gamepathfile%)
If Key_Auto CONTAINS(wildcard)
Run_Emulator()
Else
Add_CLP(,%imageindex%)
Run_Emulator()
End IF
|
HOXS
bugs if the hoxnum is used or set as default 0 (1st PRG file on the disk)
hoxsnum=position of PRG file in the dir -1
removing the zer0 boots disk with "*"
| Code: |
Add_CLP( -autoload %gamepathfile%)
If Key_hoxsnum CONTAINS(*)
Add_CLP( %hoxsnum_value%)
End If
;run the emulator
If Key_auto CONTAINS (wildcard)
Run_Emulator()
Else
ADD_CLP ( 0)
Run_Emulator()
End IF
|
|
|
| Back to top |
|
 |
.mad. Outstanding Member


Joined: 19 Jun 2005 Posts: 984 GB64-Points: 2764 Location: Lancashire, England
|
Posted: Sat Sep 08, 2012 11:42 am Post subject: |
|
|
Ok sorted the problem for WinVICE.
the script was missing a QUOTE, and pointing to winvice.txt instead of WinVICE-SC.txt in version i was using.
thought i was going insane for a moment.
this isn't a perfect way of doing it, but it does work.
have to use CLEAR_CLP() to clear the command lines previous entries.
GEMUS
load=wildcard
load=basic
load=manual
| Code: |
; -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%")
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)
; Boot disk with Load"*",8
Clear_CLP()
Add_CLP2( -autostart "%gamepathfile%" -basicload)
ElseIf key_load CONTAINS(manual)
Show_Message(You must load the game manually.)
; Just attach disk in default drive 8 and run emulator. disable auto loading.
Clear_CLP()
Add_CLP2( -8 "%gamepathfile%")
If Key_keybuf CONTAINS(*)
; can't seem to use "QUOTES" or any F-Keys???.
Add_CLP2( -keybuf %keybuf_value%)
End If
End If
|
|
|
| Back to top |
|
 |
.mad. Outstanding Member


Joined: 19 Jun 2005 Posts: 984 GB64-Points: 2764 Location: Lancashire, England
|
Posted: Sun Sep 09, 2012 6:43 pm Post subject: |
|
|
for anyone interested.
i made a slight update to the scripts and gemus.dat.
some options are limited due to the lack of command-lines.
FIXED VERSION
http://www.datafilehost.com/download-eb7dd542.html
use
WinVICE, CCS64 and HOXS64
load=wildcard ( LOAD"*",8,1 )
WinVICE only
load=basic ( LOAD"*",8 )
load=manual (attach image, and disable auto loading so sendkeys can be used.)
sendkeys=load"",1,1;sys64738
keep your original copies safe.
Last edited by .mad. on Mon Sep 10, 2012 2:40 pm; edited 1 time in total |
|
| Back to top |
|
 |
Bilbo New Member
Joined: 01 Apr 2012 Posts: 44 GB64-Points: 44
|
Posted: Sun Sep 09, 2012 10:26 pm Post subject: |
|
|
Thanks Mad
Downloaded it, has my gemus.dat just vanished and hoping this
will sort that out.
Thanks again |
|
| Back to top |
|
 |
.mad. Outstanding Member


Joined: 19 Jun 2005 Posts: 984 GB64-Points: 2764 Location: Lancashire, England
|
Posted: Mon Sep 10, 2012 2:41 pm Post subject: |
|
|
found a bug in the .tap loading.
please re-download. |
|
| Back to top |
|
 |
Bilbo New Member
Joined: 01 Apr 2012 Posts: 44 GB64-Points: 44
|
Posted: Mon Sep 10, 2012 9:04 pm Post subject: |
|
|
| Thanks Mad. |
|
| Back to top |
|
 |
Michael Plate GB64 Team

Joined: 12 Feb 2003 Posts: 873 GB64-Points: 873 Location: Stockholm
|
Posted: Tue Apr 02, 2013 4:07 pm Post subject: GB64v10 is approaching... |
|
|
...and as usual I need help to from you guys to prepare the latest and greatest gemus.dat and emulator scripts for inclusion in the database installer. So please make a proposal on what to include!
Thanks,
Michael |
|
| Back to top |
|
 |
.mad. Outstanding Member


Joined: 19 Jun 2005 Posts: 984 GB64-Points: 2764 Location: Lancashire, England
|
|
| Back to top |
|
 |
Michael Plate GB64 Team

Joined: 12 Feb 2003 Posts: 873 GB64-Points: 873 Location: Stockholm
|
Posted: Fri Apr 05, 2013 6:35 pm Post subject: Re: GB64v10 is approaching... |
|
|
Ooops, maybe I wasn't that clear!
Could someone make a package of the latest scripts & DAT file to be included in the installer. That would save me a lot of time and speed up the release of GB64v10!
Thanks,
Michael |
|
| Back to top |
|
 |
.mad. Outstanding Member


Joined: 19 Jun 2005 Posts: 984 GB64-Points: 2764 Location: Lancashire, England
|
Posted: Sat Apr 06, 2013 9:06 am Post subject: Re: GB64v10 is approaching... |
|
|
| Michael Plate wrote: | Ooops, maybe I wasn't that clear!
Michael |
you was clear, but i was hoping K.C. would post an update.
As his scripts are far superior to anything i can do.
This is nowhere near a FINAL release, just the latest core emulators, that 99.9% of us will be using.
WinVICE SuperCPU requires these two files in the script directory to work.
SCPU64_v05.bin
JiffyDOS_1581.bin
The Original SCPU64 file (v0.04) packaged with the emulator, causes auto loading to fail.
Last edited by .mad. on Mon Apr 15, 2013 2:38 pm; edited 2 times in total |
|
| Back to top |
|
 |
|
|
Cannot post new topics Cannot reply to topics Cannot edit your posts Cannot delete your posts Cannot vote in polls in this forum
|
Powered by phpBB © phpBB Group
|
|
|