scummvm/scummvm — pull request #229 by criezy (2012-04-15 11:15:38+00:00)
Title: Support for Dreamweb fr/es

I made two changes so that my dual French/Spanish Dreamweb CD works with ScummVM. I have not played very far but so far it seems to work well.

I am somewhat uncertain about the change to read the data files. That CD uses different file names (i.e. DREMWFR.* and DREAMWSP.*) but if there are French or Spanish versions out there that use the original file names (DREAMWEB.*) then I broke them. So it would be interesting to know if such versions exist. If they do I can see several ways to tackle this:
1) At detection we know which files were detected and can pass a flag to the engine to know which file names to use (I am not familiar with the detection code, so don't know if it is possible to pass custom flags to the engine).
2) When trying to open the files try both the modified names (for the French and Spanish version) and if unsuccessful try the original file names.
3) Same as 2) but do the file name detection only once in the engine constructor.

Please let me know what you think about this issue.