It seems there is something different with the GLOB API under macosx.
I need to apply this patch in order to load scenario which does'nt contains loading screen:
Index: /Users/GeoVah/Dev/megaglest_clean/source/shared_lib/sources/platform/common/platform_common.cpp
===================================================================
--- /Users/GeoVah/Dev/megaglest_clean/source/shared_lib/sources/platform/common/platform_common.cpp (revision 1015)
+++ /Users/GeoVah/Dev/megaglest_clean/source/shared_lib/sources/platform/common/platform_common.cpp (working copy)
@@ -235,7 +235,7 @@
glob_t globbuf;
int res = glob(mypath.c_str(), 0, 0, &globbuf);
- if(res < 0) {
+ if(res < 0 && errorOnNotFound) {
std::stringstream msg;
msg << "Couldn't scan directory '" << mypath << "': " << strerror(errno);
throw runtime_error(msg.str());
Which seems not so strange to emit the error only if the argument errorOnNotFound is set to true