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

GEMUS Script and/or "key=value" problem

Discuss GameBase, the Universal Emulator Frontend!

Moderator: Jimbo

oks
New Member
Posts: 1
Joined: Thu Jan 13, 2011 10:45 am

GEMUS Script and/or "key=value" problem

Thu Jan 13, 2011 10:56 am

Ok, i have a game that has the following "key=value" pair:

Code: Select all

sc3000=yes
and the following is my Script:

Code: Select all

If %key_sc3000% CONTAINS(yes)
	Add_CLP(sc3000 -cart sg1000:%gamefilenoext%)
Else
	Add_CLP(sg1000 -cart %gamefilenoext%)
End If

Run_Emulator()
I've tried various combinations of using quotes and other things and no matter what, I can't get the game to run as sc3000 without all other games running as such.

I've just started using GameBase today, but I can't seem to find any documentation aside from what's on the wiki.

thanks
User avatar
K.C.
Cool Member
Cool Member
Location: The Netherlands
Posts: 416
Joined: Mon Sep 29, 2003 9:57 am

Thu Jan 13, 2011 12:14 pm

Remove the % symbols in the first line. A working script should look like this:

Code: Select all

If Key_sc3000 CONTAINS(yes)
	Add_CLP(sc3000 -cart sg1000:%gamefilenoext%)
Else
	Add_CLP(sg1000 -cart %gamefilenoext%)
End If

Run_Emulator()

Return to “The GameBase Frontend”

Who is online

Users browsing this forum: No registered users and 36 guests