Doom Comic
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > "Bug" in IWAD detection in *nix (windows too?)
 
Author
All times are GMT. The time now is 10:51. Post New Thread    Post A Reply
Csonicgo


Posts: 4458
Registered: 03-04


I'm not sure if this has been mentioned yet, but the method for detecting iwads seems to be very "interesting" in EE when running under Linux.

When any Doom game is purchased and installed from Steam, the IWAD files are named like so:DOOM.WAD, DOOM2.WAD, TNT.WAD, PLUTONIA.WAD .

The problem is, Eternity isn't seeing these IWAD files at all when they're copied to the same directory Eternity is in. When I use the -iwad command switch, Eternity works properly.

Without it, Eternity fails to start.

This is pretty fishy and I haven't been able to "fix" this by myself. What's exactly going on here?

Old Post 08-05-12 04:04 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
esselfortium
A Major Doomworld Concern


Posts: 6642
Registered: 01-02


Case sensitivity in Linux is dumb. That's what's going on.

Old Post 08-05-12 17:59 #
esselfortium is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
tempun
Member


Posts: 597
Registered: 08-09



esselfortium said:
Case sensitivity in Linux is dumb. That's what's going on.
Case insensitivity on Windows is dumb.

Old Post 08-05-12 18:11 #
tempun is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Quasar
Moderator


Posts: 6128
Registered: 08-00


Heh, ok, a religious war over OS case sensitivity is not called for :P

Anyway, I'll consider adding a check for uppercase versions of the standard IWAD names, but I'm drawing the line there. The problem you get into is that near-infinite case combinations are possible. For example if you copy an IWAD from a Win9x system to a Linux partition, it would more than likely end up named Doom.wad - and I'm not going to support that because then you could equally argue I should support DOOM.wad, DooM.wad, dOOm.wad, etc etc.

Old Post 08-05-12 19:06 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11393
Registered: 07-07



tempun said:
Case insensitivity on Windows is dumb.


The old 16-bit FAT system used in DOS only allowed UPPERCASE FILE NAMES LIKE 8LETTERS.EXT, and with Windows 95 they introduced FAT-32 which allowed up to 256 letters in both cases, but for compatibility purpose each file also had a "short name" variant.

The case-insensitivity in Windows is a legacy of this. In fact, even now, the short name of a file can be accessed.

Fun fact: MacOS X is case-insensitive too!

ZDoom on non-Mac Unix uses three variants for all IWAD names it recognizes:
UPPERCASE
lowercase
Capitalized

So, doom2.wad, Doom2.wad and DOOM2.WAD are all valid, but DooM2.WaD or Doom2.WAD isn't.

Old Post 08-05-12 20:20 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8893
Registered: 06-06



tempun said:
Case insensitivity on Windows is dumb.
For normal users who don't spend their time maintaining and tinkering with computers, case insensitivity makes sense for nearly all things.

__________________
Automatic Wolfenstein - Version 1.0 - also on Android

Old Post 08-05-12 21:07 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit || Quote
All times are GMT. The time now is 10:51. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > "Bug" in IWAD detection in *nix (windows too?)

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.