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

Gamebase is always giving me "invalid file referenced in script function" !

Are you having problems setting up GB64 on your machine? Ask your questions in here!

Moderator: Jimbo

The 80s Fan
New Member
Posts: 5
Joined: Sun Feb 09, 2020 4:07 am

Gamebase is always giving me "invalid file referenced in script function" !

Fri May 27, 2022 2:45 am

Hello @ all, helleo .mad !

I am referring to "Demobase64"_V2.
I KNOW: It is not about the gamecollection, but its the same frontend, so...

Everytime i want to start a demo a windows pops up telling me "Invalid file referenced in script function. After clicking it is asking me to run the script anyways. When i click yes, the emulator shows me a black screen.
Configured "Vice" And "CCS64", both failed.

I even made a "clean install", but: No luck...



Please help me as soon as possible, big respect !!
User avatar
.mad.
Honoured Member
Honoured Member
Location: Lancashire
Posts: 2256
Joined: Sun Jun 19, 2005 3:30 pm

Re: Gamebase is always giving me "invalid file referenced in script function" !

Fri May 27, 2022 3:12 pm

Hi 80's fan.

that problem is incorrect path set to emulator ini or config file in the script.

first open emulators.ini file in notepad.

[CCS64 v3.9.2 R3]
UseShortFilenames=1
SupportedTypes=D64;G64;G41;T64;P00;TAP;PRG;CRT
EmulatorPathFile=C:\GameBase\GBC_v16\emu\CCS64\CCS64.exe
ScriptFile=CCS64.txt
1=C:\GameBase\GBC_v18\emu\CCS64\c64.cfg
UseDefaultTypes=0
WaitFinish=1

in this example.
is the "c64.cfg" at that path location.

the script is looking for it, so it can edit it.
the "(1||" in the script...
Set_CFG_Value(1||$CONTROLPORT1||0)
refers to this "1" in the emulators ini.
1=C:\GameBase\GBC_v18\emu\CCS64\c64.cfg

if you move gamebase install files around. This is another way of doing the same thing.
Set_CFG_Value(%dbpath%\scripts\c64.cfg||$CONTROLPORT1||0)

Return to “GB64 Help!”

Who is online

Users browsing this forum: No registered users and 11 guests