libretro / libretro-uae

PUAE libretro
GNU General Public License v2.0
111 stars 60 forks source link

RFE: autobooting with a workbench for the non-bootable hdf images? #243

Closed i30817 closed 4 years ago

i30817 commented 4 years ago

It's a bit annoying that there are still hd images around that are not WHDLoad ready, so a option to fallback to loading a workbench if the hd is not bootable and there is no whdload boot file present to manually navigate the workbench to the game and boot it up would be cool.

Not sure if a good idea, since ofc, there are different WB for different models and how savestates would react.

Or we can wait until people stop creating lha/hdf that are not bootable and don't have the whdload file; though the problem appears to be that the people who made these (often hacks/remakes, like the Heart of the Alien Redux) do it and then no-one ever dares to distribute a modified version, even for convenience.

ghost commented 4 years ago

Or we can wait until people stop creating lha/hdf that are not bootable and don't have the whdload file; though the problem appears to be that the people who made these (often hacks/remakes, like the Heart of the Alien Redux) do it and then no-one ever dares to distribute a modified version, even for convenience.

I think they do it because Workbench and Kickstarts are still illegal to distribute freely. That's why EAB etc. forbid them from being shared. Cloanto have the licence to these files and are still making money from Amiga Forever.

i30817 commented 4 years ago

I understand that, but lha whdloads doesn't actually need the workbench to start (now), just the kickstart, so i'd expect turning a 'hdloader' into whdload would be trivial by adding the launcher file... but maybe i'm wrong, since i never did it.

sonninnos commented 4 years ago

Might be easiest to simply edit those lazy images to have the startup-sequence, since that will already be searched and launched. But I guess it isn't impossible to start WB when slaves and startup-sequences are not found. I'll have a look soonish.

i30817 commented 4 years ago

BTW, there is a particular whdload that might be handy to special case:

http://www.whdload.de/apps/Workbench31.html

Yes, this is probably a bit silly but might be a good way to standardize. Or not and just having the floppies would be enough...

sonninnos commented 4 years ago

How about this tiny reorganizing with the same tools that already were there: WHDLoad.zip

No need to go full WB when the simple selector should be enough, amirite.

i30817 commented 4 years ago

Whatever works. Just to be sure, this means that it's still going to use the core inbuilt selector even if it doesn't find a .slave file by allowing selecting executable files?

Should i just place that file on the system dir or is it going to be built in to the core?

sonninnos commented 4 years ago

The selector initially shows only the info/icon files, but navigating with it will show all files.

Just replace the existing one with that for testing. If you find it adequate I will of course update it into the core.

i30817 commented 4 years ago

I figured, i'm compiling RA atm and it's not building from upstream so it might take a while to get back to you. But if you tested it works i'm already satisfied.

i30817 commented 4 years ago

Ok i tested it and it works well except it could probably use a tweak if possible.

Selecting a 'Readme.info' file and quitting it starts it up again, so you have to restart to select the game .info that starts the actual game.

There was also a curious bug on HeartOfTheAlienRedux_v1.1_HD_DaliborJavorcek.lha that i'm not sure is original, where selecting the HeartOfTheAlienRedux.info started the hack-intro but quitting that failed at starting the game executable (it shows a 'cannot open mathiassomething library' and a 'error 900' at the next line) and starts up the readme.info instead (and then you're at the first bug). Trying to startup the executable that the game.info would start is also weird because it's not visible on the root at first, you have to enter a dir and get back up to show all files that aren't a info or a dir (which your message tells me is on purpose, so ignore it). Also it has two game.info files named the same which might influence (you can only tell after you disable that 'only show .info files and dirs) with a bit of directory movement).

In short that game may be broken on the environment / it expects something from workbench. Not a big deal, just funny and probably maybe showing something to fix with the 'retry other info files' strange behavior going on). There are also other bugs (like darkmere hd crashing) that i'm not sure is from this strategy, the emulator, config, or a badly done install so i won't ask you to investigate them - i only mentioned the HotARedux thing because of the weird info behavior).

sonninnos commented 4 years ago

Added the missing library, fixed the scripting issues and got HeartOfTheAlienRedux working by forcing it to A1200.

i30817 commented 4 years ago

Thanks for this, seems to work perfectly now.

Darkmere is working with A1200. Hopefully retroarch/libretro upstream gets per playlist config overrides someday so i can force A1200 for the retroplay 'HD Loaders' playlist and leave the default A500 for the retroplay 'whdload games' playlist. Even now 'game overrides' works to start them after reboot, without renaming them.

I also found a way to filter the retroplay dats of languages/mt32 i don't want with xmlstarlet cmd line app, so i've got a moderately sane way to update/import them with the RA 'manual scan' option.