Author Topic: [fixed] MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work  (Read 4766 times)

macuser

  • Guest
Hello,

I have a Macbook Core 2 Duo (not -Pro, i.e. my MB has integrated Intel GMA 950 graphics) with OS X 10.6.5 and difficulties to get MegaGlest 3.3.7.2 running (Glest 3.2.2 is running not very fast but works fine).

First I downloaded MegaGlest-3.3.7.2.dmg and moved the package "MegaGlest.app" from the mounted .dmg image to "/Applications".
Then I downloaded MegaGlest.data.tgz and moved the "megaglest" folder extracted from the .tgz archive to "/Users/macuser/Library".
When I start the Game by double-clicking on "MegaGlest.app", its icon shortly appears in the dock and then immediately disappears again.
When I execute "/Applications/MegaGlest.app/Contents/MacOS/MegaGlest" from within the "MegaGlest.app" package via the terminal, I get the following error message:
Code: [Select]
bash-3.2$ ./MegaGlest
v3.3.7.2-GNUC: 40201-Oct 24 2010 14:03:11, SVN: [$Rev: 1106 $]
[2011-01-01 20:39:09] In [/Users/GeoVah/Dev/release-3.3.7.2/source/glest_game/global/config.cpp::getInstance Line: 122]
[2011-01-01 20:39:09] In [/Users/GeoVah/Dev/release-3.3.7.2/source/shared_lib/sources/util/properties.cpp::load Line: 43] path = [glest.ini]
[2011-01-01 20:39:09] In [/Users/GeoVah/Dev/release-3.3.7.2/source/glest_game/main/main.cpp::handleRuntimeError Line: 110] [Can't open propertyMap file: glest.ini] gameInitialized = 0, program = 0x0
******************************************************
    #2 An error ocurred and Glest will close.
Error msg = [Can't open propertyMap file: glest.ini]

Please report this bug to contact_game@glest.org
******************************************************
START Closing logfiles
END Closing logfiles
Where does "/Users/GeoVah/..." come from? This user should not be on my Macbook.

Do I have to move the "megaglest" folder etc. to another location?
Do you have any ideas what I am doing wrong?

If I need to compile it myself, what exactly do I have to do with the downloaded OpenAL framework after unzipping?
The description in the CompileGuideMac Wiki is not quite clear to me.
How shall I install the libraries? Via "sudo port install {lib}" or rather "sudo port install {lib} +universal"?

Thanks for your hints and a Happy New Year 2011!

EDIT:
When I alternatively extract the contents of "megaglest" folder from the .tgz archive to "/Library/MegaGlest", I get the same error messages like above.
« Last Edit: 1 January 2011, 20:02:46 by macuser »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #1 on: 8 January 2011, 17:27:35 »
First of all, I'm sorry we are not able to provide full support for OS X. This is because the core developers do not have access to an OS X system (hardware + software license). The OS X builds provided here are a community effort, and are provided by GeoVah and m0ellemeister (these are forum user names, you can search for them).

Error msg = [Can't open propertyMap file: glest.ini]

This means that the game is unable to find glest.ini. On Linux and Windows, this file should be contained in the same directory the game executable is found in. I assume this can be similar on OS X. With newer builds (development) you may also provide the patch to the storage location of the libraries, configuration and log files by passing command line arguments to the 'glest' binary. Use glest --help for details.

Where does "/Users/GeoVah/..." come from? This user should not be on my Macbook.

GeoVah is the guy who made those packages. To me, too, it seems wrong that the DMG package would refer to /home/GeoVah/, this should probably dynamically map to the current users' home directory instead. I assume this static string did probably slip GeoVah's attention when building the package.
« Last Edit: 10 January 2011, 00:48:52 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

macuser

  • Guest
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #2 on: 9 January 2011, 08:13:14 »
Hello and thanks for your kind explanations.
Since I have OS X 10.6.5, I am happy to help further testing this on that platform.
I will check what I can do to get it running following what you have written and give feedback afterwards.
However, I am no programmer and therefore rely on some further hints here.
I am familiar with svn (from Ubuntu linux) and able to build code from source (providing having the necessary tools on my Macbook like Xcode etc.).

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #3 on: 10 January 2011, 01:17:26 »
m0ellemeister was around on IRC tonight (central european night), and he was trying to get a current version to build. Since the build system was recently changed from Perforce jam to cmake, one of the first steps in creating OS X builds is to make XCode parse the cmake files. Unfortunately this doesn't seem to currently work - but I'm convinced he won't rest his efforts easily. ;)

If you need help with anything not OS X related (such as exact paths/file locations) then I'll be happy to provide it - if I can, I'm pretty new to such a development project myself (but we can try).
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

istrandi

  • Guest
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #4 on: 26 March 2011, 22:56:34 »
I am having the exact error on my imac.

Could it be that GeoVah has specified the app to look for a custom folder, rather than looking for a generic folder i.e. /Library/Application Support/MegaGlest etc.

Also, aren't .ini windows files?

The equivalent is the .plist file right? so shouldn't a plist etc. be used rather than the .ini?

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #5 on: 26 March 2011, 23:12:25 »
We have no dedicated Mac people so no-one does much for Mac, we need help from someone who can compile and make proper Mac packages.

Thanks

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #6 on: 27 March 2011, 01:16:52 »
Also, aren't .ini windows files?

The equivalent is the .plist file right? so shouldn't a plist etc. be used rather than the .ini?
No, INI's are not windows files. They are generic configuration files and the most popular way to store settings for programs. The reason they are sometimes associated with Windows is because windows was the first to use them to store system settings, but later abandoned them for the Windows Registry around Windows 95 (that long ago). Sometimes INI files don't have the INI extension though, insteading opting to use CFG, TXT, CONF, or even no extension. XMLs are actually a better method of storing data, but INIs win in the simplicity column. Even a complete computer noob can understand a system of equal sign separated attributes and values.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

istrandi

  • Guest
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #7 on: 27 March 2011, 03:15:01 »
Ah, right...
I have only ever seen them associated with windows executables before thats all.

m0ellemeister

  • Guest
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #8 on: 29 March 2011, 19:54:18 »
I'm reinstalling Mac OS X on my MacBook just right now. As soon as i finished installing everything i need i'll try one more time to get MegaGlest 3.4.0 to build on MacOSX 10.6.5. As soon as i have any results i'll let you know.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #9 on: 30 March 2011, 00:15:48 »
Thanks m0ellemeister :)

m0ellemeister

  • Guest
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #10 on: 31 March 2011, 00:34:17 »
Tonight i was able to build MegaGlest 3.4.0 using cmake. BUT:
the first test ended up in a crash. The second test ended up with a freezed MacBook.

As long as i have some spare time, i'll try to build working version of MegaGlest.

EDIT: single player game works for me. But as soon as i click on one buttons in the main menu, the games gets realy "choppy".
i've figured out that that the graphics option "Map preview" kills my MacBook. In the "custom game" menu i had just 7 FPS. After deactivating "map preview" i had 33 FPS in "custom game" menu.

Next i'll try to build a .dmg Image which could be used by people who are interested in testing MG on MacOSX.
« Last Edit: 31 March 2011, 00:53:06 by m0ellemeister »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #11 on: 31 March 2011, 22:05:50 »
EDIT: single player game works for me.
\o/ awesome!

i've figured out that that the graphics option "Map preview" kills my MacBook. In the "custom game" menu i had just 7 FPS. After deactivating "map preview" i had 33 FPS in "custom game" menu.

That's almost exactly the same for me (on Linux): With 3.4.0 I get 30 FPS in all menus but the custom game menu which is where I get 10 FPS (due to map preview).
This has much improved since, though, so the beta you may be experimenting with next should not show this behaviour anymore.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #12 on: 31 March 2011, 22:27:11 »
Hmm...why does the map preview slow it down so much? I think the map preview should quickly render the map once, take an image, and just have this still image here. You might have a momentary slow down while it renders the image, but then smooth sailing.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MegaGlest 3.3.7.2 for Mac OS X (10.6.5) does not work
« Reply #13 on: 31 March 2011, 22:42:28 »
That is exactly what is done in the new beta coming soon.

 

anything