Enhancement: menu entry to swap HDF file as you do with ADF files
theshinyknight opened this issue · 3 comments
I think this is self-explanatory: it works great to have a single HDF as auto boot, but would be great to have an option to change that without the need to modify a JSON file, since the pocket has no onboard editor nor a console you can use for things like this.
Adding the capability to change the attached HDF file and rebooting, would allow us to swap images for the hard drive and make different versions of the drive. Thanks
Being able to change .hdf from the OSD would be wonderful!
In the meantime, I found a silly workaround, but it is quite tedious and doesn’t really scale beyond a few hdf choices:
- I made multiple copies of the core, by duplicating the
cores/Mazamars312.Amiga
folder tocores/Mazamars312.AmigaWB
for example. - I edited the "shortname" property in the core.json file
cores/Mazamars312.AmigaWB/core.json
to be "AmigaWB" instead of "Amiga" - I edited the data.json file
cores/Mazamars312.AmigaWB/data.json
to mount my own Workbench .hdf instead of MegaAGS.hdf, by replacing"filename": "MegaAGS.hdf"
with"filename": "MyWorkbench.hdf"
(or whatever hdf you want to mount) - I duplicated the
assets/amiga/Mazamars312.Amiga
folder toassets/amiga/Mazamars312.AmigaWB
so that my new AmigaWB core would find its mpu.bin file.
Now, when I launch the Amiga core I can select “change core” and choose between Amiga and AmigaWB. If I choose the AmigaWB core, it boots MyWorkbench.hdf, and if I choose the Amiga core it boots the standard MegaAGS.hdf.
I then repeated the process a few times to create more core duplicates for my favorite hdfs.
One problem with this workaround is that you will have to manually update these duplicates of the core because the updater only touches the mazamars312.Amiga folders, not the ones you manually created.
Very nice solution; for the time being it could work (although it has the downside of creating a lot of single entries if you have a lot of variants). Thanks!
The sad thing is that the MPU does not handle changing of the HDD on the fly very well. Even after rebooting.
So, at this moment, I am leaving this "hardwired" to a JSON-only change for other images.