emularity icon indicating copy to clipboard operation
emularity copied to clipboard

Change the DSK in runtime.

Open nonom opened this issue 6 years ago • 7 comments

Is possible to change the dsk files in runtime? In example for Amstrad/Spectrum/MSX where a lot of games needs to replace the disk from the side A to side B in the same floppy drive to continue.

Awesome work, thanks!!

nonom avatar Oct 08 '19 23:10 nonom

It really depends on the emulator you're using. Make sure you include all of the necessary disk images as game files, so that they all get downloaded before the emulator starts. Switching disks is then a matter of figuring out how the emulator you're using works. Some emulators, like DOSBox, have a keyboard shortcut you can press to cycle through the available disk images. Others, like MAME, require you to navigate a menu.

What I would really prefer is to be able to offer an in-page UI for selecting disk images, but this requires some pretty serious modifications of the emulators so I haven't done it. Perhaps one day I'll have the time...

db48x avatar Oct 09 '19 00:10 db48x

Thanks for the quick response, I tho the same, maybe a method .replace(floppy) or something like. They could be replaced in a safe way since the data is stored.

Thanks again, I didn't know about the dosbox shorcut either the mame menu, I'll give a try.

nonom avatar Oct 09 '19 16:10 nonom

I'm using Amstrad CPC basically, many games are often needing to replace the disk.

nonom avatar Oct 09 '19 16:10 nonom

It's not the only storage who needs to be replaced, Apple , Spectrum, Msx , also need it. Could let me a start point to try to contribute a patch?

nonom avatar Nov 05 '19 14:11 nonom

Two problems exist.

The first is that Emularity's feature for allowing a multitide of emulators means there's no coherent, single way to trigger off actions across all the different systems. MAME is obviously the largest variant, but the amount of emulator systems will only grow - a central control panel is really needed.

The other is the situation with loaded images. MAME allows you to define a directory and then load the files in through a TAB-accessed menu. In theory, you can swap images using this, but it won't be obvious to anybody.

textfiles avatar Nov 05 '19 15:11 textfiles

Thanks Jason,

These systems (Amstrad, MSX, Spectrum, Amiga, Apple) are always waiting to press a key to continue loading the B side.

A single toggle button to switch between disk/dumps files, -like the fullscreen does-, would be a really nice improvement.

nonom avatar Nov 05 '19 16:11 nonom

I will add my observations. I’ve been experimenting with console games for some time, sometimes they need to be changed or attached in them too. I checked with SNES, GB emulators, but I think that the same problem is the same everywhere - when you try to open another image of the game, the emulator freezes tightly.

LeonisX avatar Jan 21 '20 16:01 LeonisX