Page 2 of 2

Re: Can not enter Westwillow

Posted: June 3rd, 2010, 2:21 pm
by Tyranthraxus
BasiliskWrangler wrote:It is fixed.

This happens to be a really nasty little problem with Linux and BlitzMax- the system cannot read filenames with capital letters. The script for entering Westwillow calls for the game to load "Westwillow" (notice the capital 'W'). So, this command fails for practically everyone using Linux, but not Mac or Win.
Odd. I`d have expected it to be the other way around. Linux tends to be very unfussy about case-sensitivity.

Re: Can not enter Westwillow

Posted: June 3rd, 2010, 3:38 pm
by BasiliskWrangler
Tyranthraxus wrote:
BasiliskWrangler wrote:It is fixed.

This happens to be a really nasty little problem with Linux and BlitzMax- the system cannot read filenames with capital letters. The script for entering Westwillow calls for the game to load "Westwillow" (notice the capital 'W'). So, this command fails for practically everyone using Linux, but not Mac or Win.
Odd. I`d have expected it to be the other way around. Linux tends to be very unfussy about case-sensitivity.
Yeah, I don't know why this is either. The first time I tried to compile Book 1 on Linux the damn thing crashed constantly. After hours of searching for answers, I discovered that all file names had to be lower-case, and all internal references to file names had to be lower-case as well.

In this bug, it turns out that while the filename is, in fact, lower-case, the script asks for the map filename "Westwillow" and that is all it takes to bring down the house.

Re: Can not enter Westwillow

Posted: June 3rd, 2010, 7:58 pm
by sirdilznik
BasiliskWrangler wrote:
Tyranthraxus wrote:
BasiliskWrangler wrote:It is fixed.

This happens to be a really nasty little problem with Linux and BlitzMax- the system cannot read filenames with capital letters. The script for entering Westwillow calls for the game to load "Westwillow" (notice the capital 'W'). So, this command fails for practically everyone using Linux, but not Mac or Win.
Odd. I`d have expected it to be the other way around. Linux tends to be very unfussy about case-sensitivity.
Yeah, I don't know why this is either. The first time I tried to compile Book 1 on Linux the damn thing crashed constantly. After hours of searching for answers, I discovered that all file names had to be lower-case, and all internal references to file names had to be lower-case as well.

In this bug, it turns out that while the filename is, in fact, lower-case, the script asks for the map filename "Westwillow" and that is all it takes to bring down the house.
Yeah that's kind of weird. Linux, as well as other Unix-like systems, are case-sensitive. Unlike in Windows where Westwillow=westwillow=WeStWiLlOw in Linux Westwillow!=westwillow. Kind of weird that Blitzmax asks for Westwillow despite the fact that the file is called westwillow.

Anyway thank you BW for fixing the issue and don't worry about when you churn out 1.04 with the fix for us. You have already churned out updates at a much faster rate than the vast majority of big time studios with 20x the manpower you have at your disposal. We all appreciate all the hard work into putting out this excellent product and thank you for supporting alternative operating systems.

Re: Can not enter Westwillow

Posted: June 7th, 2010, 11:03 am
by SpottedShroom
I had an idea for how to work around this issue. I think it should even work for people who have already visited the map in question without having to reset the map. Since the problem is with case sensitivity, it should be possible to work around it by running Book II from a case-insensitive filesystem. Try this:

Code: Select all

dd if=/dev/zero of=eschalon_fs.img bs=1M count=100
mkfs.vfat eschalon_fs.img
mkdir eschalon_fs
sudo mount eschalon_fs.img -o loop eschalon_fs
Then copy your Book II install into the eschalon_fs directory and run it from there.

Note that I haven't tried this yet (I will this evening) so no guarantees. It's possible that the game unpacks the map files somewhere other than the install directory, in which case you'd have to figure out where that is and replace that location with a VFAT mount.

Re: Can not enter Westwillow

Posted: June 7th, 2010, 2:41 pm
by Tyranthraxus
BasiliskWrangler wrote:
Tyranthraxus wrote:
BasiliskWrangler wrote:It is fixed.

This happens to be a really nasty little problem with Linux and BlitzMax- the system cannot read filenames with capital letters. The script for entering Westwillow calls for the game to load "Westwillow" (notice the capital 'W'). So, this command fails for practically everyone using Linux, but not Mac or Win.
Odd. I`d have expected it to be the other way around. Linux tends to be very unfussy about case-sensitivity.
Yeah, I don't know why this is either. The first time I tried to compile Book 1 on Linux the damn thing crashed constantly. After hours of searching for answers, I discovered that all file names had to be lower-case, and all internal references to file names had to be lower-case as well.

In this bug, it turns out that while the filename is, in fact, lower-case, the script asks for the map filename "Westwillow" and that is all it takes to bring down the house.
Is BlitzMax from the same stable as the venerable Blitz Basic on the Amiga?
If so, it looks like they`ve forgotten some important conventions since those days. :oops:

Re: Can not enter Westwillow

Posted: June 9th, 2010, 2:03 pm
by Elwro
According to this post: viewtopic.php?f=12&t=3818 version 1.04, which is supposed to fix this problem, will only be released in the end of June :( Is there really no way to let (some of the) Linux folks enter the area earlier on?

Re: Can not enter Westwillow

Posted: June 9th, 2010, 2:07 pm
by SpottedShroom
My fix above didn't work :(

I ran the game through strace, and I can see it trying to read Westwillow.map from inside the tmp directory of the saved game folder. Unfortunately, there's no westwillow.map there either, so making it case insensitive doesn't help. I don't know enough about how the game works to know where that file is supposed to come from.

Of course, I could just unzip a copy out of the main game data file if I knew the encryption password :)

Maybe we're looking at this the wrong way. I think not being able to enter Westwillow is a bonus quest thrown in just for us Linux users.

Re: Can not enter Westwillow

Posted: June 9th, 2010, 2:26 pm
by Elwro
SpottedShroom wrote:Of course, I could just unzip a copy out of the main game data file if I knew the encryption password :)
Well, do you think it would work if BW was kind enough to post a link just to the map file for us so that we could copy it into the tmp folder before running the game (every time, if it's necessary)?

Re: Can not enter Westwillow

Posted: June 25th, 2010, 10:59 pm
by sirdilznik
Now that the 1.04a BETA is out can BW or someone else post a howto on resetting map files so I can attempt to enter Westwillow?

Thanks in advance.

Re: Can not enter Westwillow

Posted: June 25th, 2010, 11:17 pm
by CrazyBernie
The map files just before entering Westwillow should be "ironpool_dam_lower.*" - They're in your savegame folder... so just delete the ones from your most recent save and you should be good to go. If there are any named "Westwillow.*" I'd go ahead and delete those too, but they shouldn't exist yet.

Re: Can not enter Westwillow

Posted: June 25th, 2010, 11:24 pm
by sirdilznik
Thanks CB I'll give it a whirl.

Edit: It worked. I'm now standing on the outskirts of Westwillow. Thanks again.

Re: Can not enter Westwillow

Posted: June 28th, 2010, 6:33 pm
by Elwro
Alas, deleting the lower dam files didn't work for me. I tried all directions - "Turn back. Your fate awaits elsewhere".

(1.04a beta)