fs-uae-launcher icon indicating copy to clipboard operation
fs-uae-launcher copied to clipboard

Recognize specific WHDLoad archives and apply game database config automatically?

Open FrodeSolheim opened this issue 8 years ago • 1 comments

obyan writes:

Hi there about whdload and commandline: since fs-uae can utilize the open amiga database i was thinking about something; wouldnt it be possible from the commandline to have fs-uae “lookup” and parse the configuration needed for the specified game via the database? (thus avoiding the use of individual cfg files) i know nothing about programming, but i assume once you have scraped the game dir, the info is saved locally? forgive my ignorance, i love the work youve ptu into this!, cheers

FrodeSolheim avatar Mar 14 '16 22:03 FrodeSolheim

This is implemented now, and will be released with FS-UAE Launcher 2.9.4dev. Short description:

By default, if you start fs-uae-launcher with a path to a WHDLoad archive, it will derive the variant UUID from the files in the archive, and if FS-UAE Launcher finds this variant in the game database, it will use the config from the online game database. You can disable this by adding the new --no-auto-detect-game parameter.

If the variant is not found, or --no-auto-detect-game, it will try to automatically generate a config for the game (A1200, 8MB fast RAM, automatically find slave / extract WHDLoad arguments, etc). PRELOAD will be forced automatically (can be disabled by an option).

A change in functionality is that now, when launching with a WHDLoad archive as parameter, the name of the archive will be used as save dir name. This applies regardless of whether the variant was found in the game database or not. So the save data is basically tied to the archive name. (On the other hand, if you launch fs-uae-launcher with an UUID, the launcher will generate the save dir name).

FrodeSolheim avatar Jan 24 '17 22:01 FrodeSolheim