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

How to make NumGameFiles work ?

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

Moderator: Jimbo

hrmes
New Member
Posts: 29
Joined: Thu Jan 24, 2008 9:49 am

How to make NumGameFiles work ?

Thu Jan 24, 2008 10:07 am

Hi,
I have started setting up a X68000 gamebase using the XM6 emulator, and I'm trying to make a script to make the emulator load automatically 2 disk games on both disk drives.

I tried using the NumGameFiles variable but it doesn't seem to work.

I had no problem doing this from the command line like this:
XM6.exe game_disk_1 game_disk_2

The script that I used was this:


Add_CLP(%gamepathfile%)
If NumGameFiles > 1
Add_CLP( %gamepathfile(1)%)
End If
Run_Emulator()


Does anyone know what it takes for NumGameFiles to indicate multiple disks ?
Belgarath
Keen Member
Keen Member
Posts: 71
Joined: Tue Sep 09, 2003 10:32 am

Thu Jan 24, 2008 11:38 am

You've posted this in the wrong section, as it's a GameBase question not a GB64 question, but anyway why bother checking to see if there's more than 1 file?

Just use
Add_CLP(%gamepathfile% %gamepathfile(1)%)
Run_Emulator()

If there's only 1 disk it shouldn't cause any problem.
hrmes
New Member
Posts: 29
Joined: Thu Jan 24, 2008 9:49 am

Thu Jan 24, 2008 1:48 pm

Yeah, sorry for this. Anyway curiously your solution doesn't work either but thanks anyway.

Return to “GB64 Help!”

Who is online

Users browsing this forum: No registered users and 77 guests