Game Development Community

OSX Weirdness

by Michael Cordner · in Torque Game Builder · 10/13/2005 (4:12 pm) · 4 replies

Trying to run a project that runs perfectly on windows... the exact same versions of the resource files.


On OSX (10.4 with all updates installed), this kind of thing is all over the console log:

Loading compiled script T2D/client/gamedata/level_001/images/background/common/level_001_frontlayer_001/datablock.cs.
Could not locate texture: T2D/client/gamedata/level_001/images/background/common/level_001_frontlayer_001/level_001_frontlayer_001_000_000.png
fxImageMapDatablock2D::calculateImageMap() - Failed to load Texture for ImageMap! (T2D/client/gamedata/level_001/images/background/common/level_001_frontlayer_001/level_001_frontlayer_001_000_000.png)

The datablock for this particular entry would look like this:

datablock fxImageMapDatablock2D(level_001_frontlayer_001_000_000_ImageMap)
{
   mode = full;
   textureName = "./level_001_frontlayer_001_000_000.png";
};

And the PNG file is indeed in T2D/client/gamedata/level_001/images/background/common/level_001_frontlayer_001

Very odd, cause it picked up the original datablock.cs file on the same path with no issues. Are there any known issues that might be causing the image paths not to be picked up?

Thanks
-Mike

#1
10/13/2005 (7:16 pm)
I vaguely recall something about there being a naming length limit for Mac that caused odd behavior. You might try trimming the names down just to see if that works.
#2
10/13/2005 (10:20 pm)
In the TGE forums someone posted an engine fix having to do with long filenames support on Mac. Hopefully that made it into the next T2D release but I have no idea.
#3
10/14/2005 (2:27 am)
Thanks again. Would someone with TGE access be able to post an idea of what the fix was on these forums?
#4
10/14/2005 (2:28 am)
Never mind, you already have!

http://www.garagegames.com/mg/forums/result.thread.php?qt=34039