libretro / libretro-uae

PUAE libretro
GNU General Public License v2.0
116 stars 62 forks source link

Possibility to load a normal HDF file ? #86

Closed ghost closed 5 years ago

ghost commented 5 years ago

I wondered if it's possible to load a HDF file with ClassicWB on it ? So we can just boot up and choose from several WHDLoad games installed on the Harddrive. At the moment I think it only allows single game HDF's and it looks for the file 'game.slave'.

sonninnos commented 5 years ago

rsn8887 already enabled that. You just need to disable the WHDLoad.hdf in core options.

ghost commented 5 years ago

Is there anything else i'm missing ? I've turned off the WHDload option and set it to A1200 but I just get the red 'Software Failure' when booting the HDF. It works in UAE4Arm.

Are there any extra kickstarts that I need to put in the System directory apart from the 3 required ones ?

sonninnos commented 5 years ago

I didn't do anything else. Try with another hdf maybe?

In the end the temporary uae that is created looked like this:

cpu_type=68ec020 chipmem_size=4 fastmem_size=8 chipset=aga ntsc=false cpu_speed=real cpu_compatible=true sound_output=exact sound_stereo_separation=5 sound_interpol=anti sound_filter=emulated sound_filter_type=standard floppy_speed=100 floppy_volume=80 immediate_blits=false gfx_center_vertical=none gfx_center_horizontal=none cycle_exact=true gfx_lores=false gfx_linemode=double show_leds=true kickstart_rom_file=c:\tools\retroarch\system\kick40068.A1200 hardfile=read-write,32,1,2,512,s:\emu\amiga\hdf\System.hdf

Edit: That System.hdf is 200MB.

rsn8887 commented 5 years ago

You can load hdf files directly via load content. If you have system/WHDLoad.hdf and want to load a bootable single hdf, then you have to use the core option to disable WHDLoad.hdf.

Also, I think classicwb needs Amiga 1200 config. So try to either save A1200 core options, or put "(AGA)" or "(A1200)" in your hdf filename to force an Amiga 1200 option.

Try to boot other hdf files and see if they work for you. It might be the hdf file size of your classicWB hdf is too big or some such. I am not sure what the max supported hdf size is in this core.

It might also be the hdf type. Currently, PUAE always uses the "32,1,2,512" type. E.g. surfaces = 1 etc.

You can diagnose your hdf file with xdftool https://amitools.readthedocs.io/en/latest/tools/xdftool.html

You can also start a .uae file where you can put lots of custom options.

ghost commented 5 years ago

I'll try a fresh one later. I think the problem maybe that mine is formatted to the PFS3 filesystem ?

sonninnos commented 5 years ago

The UAE version is pretty old so It would not surprise me.

ghost commented 5 years ago

Yep. The PFS3 filesystem was the problem. I've got it working now. Cheers guys.