[Scummvm-devel] Mixed case filenames
Jonathan Gray
jsg at goblin.cx
Sun Oct 16 09:07:01 CEST 2005
On Sun, Oct 16, 2005 at 05:31:26PM +0300, Eugene Sandulenko wrote:
> On Sun, 16 Oct 2005 22:00:40 +1000
> Jonathan Gray <jsg at goblin.cx> wrote:
>
> > Well if you ask the file class for a mixed case filename it will
> > try upper and lower case equivalents in addition.
> Yes, Kirben already mentioned that. The problem with those titles is
> they mix cases as they want (stupid unnamed case insensitive OSes is a
> real cause of that). That will mean that almost all games aren't
> runnable from CD and when you copy files to HD with case-sensitive FS,
> you have to rename them, otherwise ScummVM will not even notice it.
> Some examples:
>
> Soccer2004.HE0
> FreddiSCS.HE4 (here we have target name as FreddiSCS, but it seeks for
> FreddiSCS.he0, FREDDISCS.HE0, Freddiscs.he0 and freddiscs.he0)
> BluesBirthdayDemo.HE0
> dog.HE0
> don't remember which games had Blah.He0, I usually rename them.
>
> So we have 2 options here. Either we add enormous amount of all various
> file naming cases, or open all specified default directories as well as
> extrapaths, read their content and match with scumm_stricmp().
>
> Any thoughts?
Is there any strong reason to not insist the user fixes this themselves?
More information about the Scummvm-devel
mailing list