View Single Post
  #40  
Old March 10th, 2012, 06:33 PM
jotwebe's Avatar

jotwebe jotwebe is offline
Corporal
 
Join Date: Oct 2011
Location: UTC+1
Posts: 127
Thanks: 22
Thanked 5 Times in 4 Posts
jotwebe is on a distinguished road
Default Re: a lEArning experience (Newbie EA CBM1.92) [filled]

Quote:
Originally Posted by megawidget View Post
Where'd you get the map? Mine has both in the same camel case, and I got it here:

http://forum.shrapnelgames.com/showpost.php?p=713239
That's where I got it from, too (the "even more final" zip). And both the .map and the .tga are in camel-case - that's the problem, I think.
The .map file is a text file with all the data about its provinces and so on.

At the start it tells dominions where to get the image - and here's a quote from it. As you can see in the #imagefile line, it specifies it in lowercase.

Code:
-- Title and image file
#dom2title The Land of Ethereal Squirrels
#imagefile landofetherealsquirrels.tga
#domversion 175
#wraparound
#defaultmapzoom 1.00
#description "An infinite world full of ethereal beings, but primarily known of 
ethereal squirrels. This is the fixed version of 22.2.2010."
That's no problem in windows, windows ignores case. On linux however there's a difference between landofetherealsquirrels.tga and LandofEtherealSquirrels.tga, and so dominions gets told "there's no such file here, sucka". Then dominions crashes

One fix would be to change the #imagefile line in the .map file to CamelCase, but I'm a bit worried that there'd be problems when the .map files aren't exactly the same, even if there's no difference for the actual map. Maybe someone with more MP experience knows?

The fix I went for is to rename the .tga file to lowercase, which leaves the .map file completely unchanged. I don't expect the server to care about the map images, so I hope it'll be ok.

I'm a bit surprised it hasn't come up in all the time the map has been in use.
Reply With Quote