Small caption in IFileSystem::createFileList (fix proposed)

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Small caption in IFileSystem::createFileList (fix propos

Post by CuteAlien »

@chronologicaldot: thanks for the feedback. As christianclavet wrote - filesnames should never change at all. What has to be fixed is the places where the comparison assumes they have been changed.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Small caption in IFileSystem::createFileList (fix propos

Post by CuteAlien »

Some update on this. I had started looking into it, but did run into some other problems first which needed to be cleaned up (as good as I could without breaking the interface... it's no longer possible to make this completely clean).
Stuff like when filenames are converted.

As christianclavet already noted it's only happening on Windows and the reason is that this was the mechanism once to load windows files even when upper/lowercase writing was wrong (which it should). This still has to be fixed as the names returned should be correct in case people continue to work with them.

But... in the meantime I've run into a bunch of other engines problems which are more urgent to me (there might be regressions in other areas, but I have to code some stuff to have test-cases), so it will again take a while until I get to continue on this. Sorry. Still trying to solve this as soon as I can.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply