Coder Social home page Coder Social logo

Comments (6)

Kawa-oneechan avatar Kawa-oneechan commented on July 27, 2024

I can think of two ways to run SCI games: in MS-DOS (real, virtualized, or DOSBox), or through ScummVM. The former is case insensitive to begin with. The latter I don't know, because all I have to test on is Windows though I guess I could check the source, with how much abstraction that thing has.

So basically, is it worth the effort to preserve casing? And what about games with more than one volume? Would I need to remember the original casing for the entire possible range? I'm not even sure how.

from scicompanion.

codengine avatar codengine commented on July 27, 2024

Following scenario: Lets say I deliver a new version of the game. People that use Linux extract it and overwrite the already existing version.

If I dont take care about the filename-casing they would end up having the files twice because Linux is case-sensitive. I can't even tell you which casing has precedence in ScummVM on Linux.

I know those ancient SCI games which I'm dealing with are probably a niche market but to be honest - You cant imagine how important SCI Companion is for those translations, bugfixes etc. :)

It's not too big of a deal, but when I deliver an update and don't take care about the character casing, the situation above could occur.

from scicompanion.

Kawa-oneechan avatar Kawa-oneechan commented on July 27, 2024

You raise a good point. However, I still don't know how how to find the current casing, though I have an inkling of an idea.

Also: since they're old DOS games the "canonical" casing should be full uppercase. (Don't let Windows 95 fool you.)

Edit: FindFirstFile is case-insensitive, but returns the actual filename. Testing it by finding Resource.map returns a struct with RESOURCE.MAP in, which is what I wanted. I can use this.

from scicompanion.

Kawa-oneechan avatar Kawa-oneechan commented on July 27, 2024

If you can confirm this is what you wanted, I can extend this to include patch files as well, and close this issue.

from scicompanion.

codengine avatar codengine commented on July 27, 2024

Sure, extending it to patch files as well would be great! Tell me when I can download a build and test it.

from scicompanion.

Kawa-oneechan avatar Kawa-oneechan commented on July 27, 2024

A version that doesn't yet do this to patch files is already available as a Nightly release.

from scicompanion.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.