Comments (6)
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.
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.
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.
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.
Sure, extending it to patch files as well would be great! Tell me when I can download a build and test it.
from scicompanion.
A version that doesn't yet do this to patch files is already available as a Nightly release.
from scicompanion.
Related Issues (17)
- Feature Request: Support SCI2.1 Resource Naming Scheme HOT 4
- Crash when decompiling Torin HOT 3
- SQ3 decompilation crashed HOT 2
- Feature Request: Allow non English text in Vocabulary HOT 3
- LSL3DEMO: Selectors are all zero HOT 8
- Companion does not display properly in high resolutions HOT 4
- GK1 decompilation crashes HOT 3
- QFG1VGA: 203 - recompile after decompile fails HOT 10
- Avoid saving unsupported message format HOT 6
- QFG1VGA: 32- recompile after decompile fails HOT 2
- QFG1VGA: recompile all fails on few scripts HOT 2
- PC Speaker driver does not work with imported MIDI files HOT 2
- Support for code page 437 HOT 10
- Crash on Version Detection HOT 2
- Kings Quest 5 - Strange File Layout HOT 1
- Default room script crashes HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scicompanion.