On Tue, 31 Oct 2023 at 09:43:42 +0100, Fabian Greffrath wrote: > the packaging information for the jazz_jackrabbit_collection package > from GOG.com is outdated. Thre is a new package available for download > called 'setup_jazz_jackrabbit_collection_2.0_csv2_(51327).exe' now, > and some of the file contents have changed. > > What is the best way to update g-d-p in this regard? Manually, file by > file? Or is there a better way?
game-data-packager make-template --base=jazz-jackrabbit setup_jazz_jackrabbit_collection_2.0_csv2_(51327).exe should provide a reasonable starting point: it will try to guess how the contents of the installer should be installed, and how they intersect with the groups of files in the existing data/jazz-jackrabbit.yaml. The output will need some adjustment, because make-template can't know anything about a particular game's semantics. If some of the binary blobs have changed, I would guess that you'll probably want to represent them as "use foo.bar?2.0 if available, or foo.bar?1.2, or foo.bar?1.0" similar to how data/doom.yaml works. Or you might want to represent different versions as different packages, similar to the way that in data/larry.yaml, larry1-en-data is marked as a "better_version" of larry1-ega-data. smcv