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

How to insert 2 disks at once to an emulator ?

Discuss GameBase, the Universal Emulator Frontend!

Moderator: Jimbo

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

How to insert 2 disks at once to an emulator ?

Thu Jan 24, 2008 2:38 pm

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

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

But I can't do it with gamebase. Both disk images were in one zip file.

The following script didn't work:

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

And curiously neither did the following simpler script:

Add_CLP(%gamepathfile% %gamepathfile(1)%)
Run_Emulator()


Does anyone know a solution to this problem ?
Belgarath
Keen Member
Keen Member
Posts: 71
Joined: Tue Sep 09, 2003 10:32 am

Thu Jan 24, 2008 3:07 pm

Add_CLP(%gamepathfile% %gamepathfile(1)%)
Run_Emulator()
That will work, but they need to be seperately zipped.
hrmes
New Member
Posts: 29
Joined: Thu Jan 24, 2008 9:49 am

Thu Jan 24, 2008 4:05 pm

But how can you select more than one zip file with the Game Selector ?
Belgarath
Keen Member
Keen Member
Posts: 71
Joined: Tue Sep 09, 2003 10:32 am

Thu Jan 24, 2008 6:09 pm

You don't need to, as long as the naming is something like
gamename_disk1 gamename_disk2 etc (or diska and diskb)

all you have to do is select the first disk, and gamebase will automatically insert the 2nd one if it exists.
hrmes
New Member
Posts: 29
Joined: Thu Jan 24, 2008 9:49 am

Thu Jan 24, 2008 6:23 pm

Great! That did the trick. Thanks a lot!
And it worked with both files zipped together.
arthur_gill@hotmaIl.com
Cool Member
Cool Member
Posts: 213
Joined: Fri Apr 23, 2004 1:19 pm

:)

Thu Jan 24, 2008 8:34 pm

You gotta love Gamebase and it's design (for the most part!)
It lends itself to just such requirements, and Belgarath has shown (with the amiga gamebase) just what can be achieved.
Belgarath wrote:You don't need to, as long as the naming is something like
gamename_disk1 gamename_disk2 etc (or diska and diskb)

all you have to do is select the first disk, and gamebase will automatically insert the 2nd one if it exists.
Retroplay
Cool Member
Cool Member
Location: Denmark
Posts: 320
Joined: Sun Apr 18, 2004 10:18 pm

Thu Feb 07, 2008 4:35 pm

Great to see that the X68000 is to be GameBase'ified. :)
Just for fun I have also been fooling around with XM6 and WinX68K Highspeed and for some reason WinX68K don't like to be launched from GameBase.
When I select a game and run it with XM6 everything works fine, but WinX68K Highspeed don't run the game.
The disks don't get properly inserted into drive 1 and 2.
Is there any special settings I need to use for this emulator?
I'm asking this because some games runs better with WinX68K like Chase H.Q. and Akumajou Dracula.
hrmes
New Member
Posts: 29
Joined: Thu Jan 24, 2008 9:49 am

Thu Feb 28, 2008 10:54 am

The problem with WinX68K is that it doesn't parse correctly filenames that contain spaces. That is probably the cause of your problems.

See if your disk images contain spaces in their filenames and convert them to underscores. That should provide a workaround to that bug.
Belgarath
Keen Member
Keen Member
Posts: 71
Joined: Tue Sep 09, 2003 10:32 am

Thu Feb 28, 2008 11:28 am

The spaces aren't the problem, the emulator just doesn't support command lines so you have to insert the disks by modifying the ini.

This is the script I use

Set_INI_Value(%emupath%\winx68k.ini||WinX68k||fdd0image||%gamepathfile%)
Set_INI_Value(%emupath%\winx68k.ini||WinX68k||fdd1image||%gamepathfile(1)%)
Run_Emulator()
hrmes
New Member
Posts: 29
Joined: Thu Jan 24, 2008 9:49 am

Thu Feb 28, 2008 12:45 pm

WinX68K CAN accept disk images from the command line, it just does that in a clumsy and buggy way. I can do it with this simple script:

Add_CLP(-0%gamepathfile% )
Add_CLP(-1%gamepathfile(1)%)
Run_Emulator()

Remember that this won't work if the filenames contain spaces.
Belgarath
Keen Member
Keen Member
Posts: 71
Joined: Tue Sep 09, 2003 10:32 am

Thu Feb 28, 2008 8:19 pm

Ah my apologies then.

My way is probably better than as it works with spaces in the filenames ;)

Return to “The GameBase Frontend”

Who is online

Users browsing this forum: No registered users and 0 guests