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

Vector 06C Gamebase

Discuss any other databases that use the GameBase Frontend, whether in pre development, development or publically released.

Moderator: Jimbo

manguan
Keen Member
Keen Member
Location: Spain
Posts: 128
Joined: Mon Jan 22, 2018 9:26 pm

Vector 06C Gamebase

Sun Jun 10, 2018 9:14 pm

...in project.
Sergeb
New Member
Posts: 15
Joined: Sun Jul 14, 2013 8:56 am

Re: Vector 06C Gamebase

Tue Jun 12, 2018 9:56 am

Thanks very much!
manguan
Keen Member
Keen Member
Location: Spain
Posts: 128
Joined: Mon Jan 22, 2018 9:26 pm

Re: Vector 06C Gamebase

Tue Jun 12, 2018 11:04 am

Need help with the script as always.

On the one hand I have roms (vec||ve0||rom||r0m||cas||com) that runs with...

Add_CLP(%gamepathfile%)
Run_Emulator()

...and on the other (fdd) that needs something like that depending on the case...

Add_CLP(%gamepathfile%)
Run_Emulator_Send_Keys([2]{F12}[2]KOMRAB{ENTER}[2]{SPACE}[3]{SPACE}||40)
(word in bold changes)

How could I make it with an If/ElseIf/End If structure? Better another way?

Help .mad.!!
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1703
Joined: Sun Jun 19, 2005 3:30 pm

Re: Vector 06C Gamebase

Tue Jun 12, 2018 1:58 pm

If GameType CONTAINS(vec||ve0||rom||r0m||cas||com)
Add_CLP(%gamepathfile%)
Run_Emulator()

ElseIf GameType CONTAINS(fdd)
Add_CLP(%gamepathfile%)
Run_Emulator_Send_Keys([2]{F12}[2]%name_value%{ENTER}[2]{SPACE}[3]{SPACE}||40)
End If

GEMUS must be filled for ALL disk games
name=KOMRAB
manguan
Keen Member
Keen Member
Location: Spain
Posts: 128
Joined: Mon Jan 22, 2018 9:26 pm

Re: Vector 06C Gamebase

Tue Jun 12, 2018 5:44 pm

:) Just what I did for Jupiter ace. Thought It was an unreliable method. Ok.

Since each .fdd has its needs, should be something like that:

If GameType CONTAINS(vec||ve0||rom||r0m||cas||com)
Add_CLP(%gamepathfile%)
Run_Emulator()

ElseIf GameType CONTAINS(fdd)
Add_CLP(%gamepathfile%)
Run_Emulator_Send_Keys([2]%name_value%||40)
End If

GEMUS must be filled for ALL disk games.
name={F12}[2]komrab{ENTER}[2]{SPACE}[3]{SPACE}

Am I right?
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1703
Joined: Sun Jun 19, 2005 3:30 pm

Re: Vector 06C Gamebase

Tue Jun 12, 2018 8:32 pm

if every fdd game needs {F12}[2] put that in the run_emulator_sendkeys part, so you are not filling the gemus with repeated default commands.

try to have a little as possible for the GEMUS command.
or use two commands, if the game requires it.

filename=donkeykong
run=sys49152 (default = run)

that way if the user needs to change the timing, they don't have to edit every gamebase entry.
only the wait time in the script.

Run_Emulator_Send_Keys([2]{F12}[2]load"%filename_value%"{ENTER}[10]%run_value%{enter}||40)

this will type...
load" filename " {enter}
[wait 10 seconds]
sys49152 {enter}

and all the {ENTER} [wait] are in the script.
**i know that is not always possible, depending on the emulator or game, but you get the idea?
manguan
Keen Member
Keen Member
Location: Spain
Posts: 128
Joined: Mon Jan 22, 2018 9:26 pm

Re: Vector 06C Gamebase

Tue Jun 12, 2018 9:49 pm

I do. Thanks .mad.

Return to “Other GameBase Projects”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests