Opened 15 years ago

Closed 14 years ago

Last modified 12 months ago

#7399 closed enhancement

SCUMM: Eliminate platform-specific targets

Reported by: sev- Owned by: sev-
Priority: normal Component: Engine: SCUMM
Keywords: Cc:


It would be nice to eliminate platform-specific targets
such as monkey1, zaktowns, game etc and base detection
on MD5 using GF_MULTIPLE_VERSIONS feature.

Also there should be config file upgrade completely
transparent to users. I.e. it will replace legacy
targets when found without any additional
commands/tools. Only thing which we may consider is
printing out some message like 'Upgrading old ScummVM
config file'

Ticket imported from: #1091806. Ticket imported from: feature-requests/215.

Change History (5)

comment:1 by sev-, 15 years ago

As it was mentioned on #scummvm it would be more correct to
show a dialog to user something like: "Old config format
found. This is your chance to save backup version. Should I
upgrade? [Proceed] [Quit]"

comment:2 by fingolfin, 15 years ago

Alternatively, we could also leave all the existing targets in
there and just silently remap them, during runtime, to the
new "single" targets.

In my eyes, the targets, just like language/platform settings,
should only be "hints" to the engine. My personal vision is that
one day, you could run ScummVM like this:

./scummvm -p /path/to/game/ run

and it would auto-detect the engine/game/language/ etc. and
run it.

The only reason to specify a target/language/etc. would be to
handle cases were we don't (yet) detect this properly; or where
a game version is not yet in our MD5 DB; or where the user
wants to make an override (like to force english subtitles in
a german COMI).

And yet another related thing: at least the SCUMM auto-detector
could be further improved by detecing the language of COMI
and DIG, by looking for the LANGUAGE.* file(s).

comment:3 by sev-, 14 years ago

Status: newclosed

comment:4 by sev-, 14 years ago

Okay, I've implemented this. As of LANGUAGE.BND detection, I
think separate FR could be submitted for that :).

comment:5 by digitall, 12 months ago

Component: Engine: SCUMM
Note: See TracTickets for help on using tickets.