Welcome to the Gamebase 64 forums.                 An attempt to document ALL Commodore 64 gameware before it's too late!

Gamebase - outdated

Discuss GameBase, the Universal Emulator Frontend!

Moderator: Jimbo

Gu
Guest

Gamebase - outdated

Fri Oct 22, 2004 5:37 pm

First off, id like to thank u guys for having such a wonderful archive.
I remember the first game I bought for the C64 was the “Temple of Apshai”
Took 15 minutes to load from tape!
Never did get to the end.

What id like to know, is there a simple way to send parameters to VICE via Gamebase.

Most of the key defs are outdated.

As in (-joydev2 4) is a joy sitck, not (-joydev2 3)

I may be missing something; I only downloaded and set up Gamebase a couple of hours ago

Thanks
J2003C
GB64 Team
Location: Just South of Hell
Posts: 910
Joined: Fri Feb 14, 2003 7:57 pm

Mon Oct 25, 2004 9:20 pm

There is nothing wrong with the GEMUS settings, just that it isn't what you want. Many people use Keyset joysticks. There is a major GEMUS update coming soon for 24 C64 emulators. Until then, here is the latest WinVICE script.

;************************
;* WinVICE GEMUS Script *
;* (c) The GB64 Team *
;* 27 August 2004 *
;************************
;
; 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
;
; This script was written for WinVICE v1.15, but
; may work with other Windows versions too.
;
; 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 GameType CONTAINS(d64||t64||g64||g41||tap||crt||p00||prg)

;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%)

;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)
If NumGameFiles > 1
Add_CLP2( -9 "%gamepathfile(1)%")
End If
ElseIf Key_maxdrives CONTAINS(3)
If NumGameFiles > 1
Add_CLP2( -9 "%gamepathfile(1)%")
End If
If NumGameFiles > 2
Add_CLP2( -10 "%gamepathfile(2)%")
End If
ElseIf Key_maxdrives CONTAINS(4)
If NumGameFiles > 1
Add_CLP2( -9 "%gamepathfile(1)%")
End If
If NumGameFiles > 2
Add_CLP2( -10 "%gamepathfile(2)%")
End If
If NumGameFiles > 3
Add_CLP2( -11 "%gamepathfile(3)%")
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%")
Add_CLP( -keybuf RUN)
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)
Add_CLP( -truedrive)
ElseIf Key_vtde CONTAINS(no)
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
;
;Replace * with <DISABLED> to disable the automatic settings for the JoyPorts
If %gamefile% CONTAINS(*)
If Control = JoyPort2
Add_CLP( -joydev2 3)
If NumPlayers > 1
Add_CLP( -joydev1 2)
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
;Disable Joysticks
Add_CLP( -joydev1 0)
Add_CLP( -joydev2 0)
End If
End If

;1351 Mouse emulation in PORT1
If Control = Mouse
Set_INI_Value(1||C64||Mouse||1)
Set_INI_Value(1||C64||Mouseport||1)
Else
Set_INI_Value(1||C64||Mouse||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%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 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(*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
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*)
If VersionComment CONTAINS(*emulator*)
Show_Message(Use Vic-20 column Emulator to run this game properly.)
End If
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)

End If
-J2010C-

Return to “The GameBase Frontend”

Who is online

Users browsing this forum: No registered users and 37 guests