Author Topic: Glest 3.0 package on Mac OS X  (Read 22294 times)

KaSek

  • Guest
Glest 3.0 package on Mac OS X
« on: 13 February 2008, 13:36:21 »
As asked, I create this new topic.

I ported Glest 3.0 to Mac OS X and packed it for easy installation.
Please see:

http://ciderhouse.ivory.ne.jp/wp/english/glest

Enjoy !
« Last Edit: 1 January 1970, 00:00:00 by KaSek »

daniel.santos

  • Guest
(No subject)
« Reply #1 on: 13 February 2008, 15:51:54 »
That's awesome!  Did you have to make any modifications?  Good job!
« Last Edit: 1 January 1970, 00:00:00 by daniel.santos »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #2 on: 13 February 2008, 19:36:42 »
thanks!
« Last Edit: 1 January 1970, 00:00:00 by martiño »

markroedel

  • Guest
(No subject)
« Reply #3 on: 13 February 2008, 19:43:06 »
Doesn't run on my Macbook (with Leopard 10.5.2).

Error message is

Quote
Exception: Your system supports OpenGL version "1.2 APPLE-1.5.24"
Glest needs at least version 1.3 to work
You may solve this problem by installing your latest video card drivers


(The old Glest 2.01 port did run OK.  Graphics drivers are, to the best of my knowledge, fully up to date.)
« Last Edit: 1 January 1970, 00:00:00 by markroedel »

KaSek

  • Guest
(No subject)
« Reply #4 on: 14 February 2008, 15:20:45 »
Quote from: "markroedel"
Doesn't run on my Macbook (with Leopard 10.5.2).

Error message is

Quote
Exception: Your system supports OpenGL version "1.2 APPLE-1.5.24"
Glest needs at least version 1.3 to work
You may solve this problem by installing your latest video card drivers

(The old Glest 2.01 port did run OK.  Graphics drivers are, to the best of my knowledge, fully up to date.)


While Glest 2.0 for Mac never checked the version of OpenGL, my 3.0 does. I'm not sure Glest 3.0 really depends on OpenGL 1.3.
Anyway, please try "CheckGlCaps=0" in glest.ini. With this setting, Glest won't check the version of OpenGL.

Good luck.
« Last Edit: 1 January 1970, 00:00:00 by KaSek »

markroedel

  • Guest
(No subject)
« Reply #5 on: 14 February 2008, 19:28:24 »
Quote from: "KaSek"
While Glest 2.0 for Mac never checked the version of OpenGL, my 3.0 does. I'm not sure Glest 3.0 really depends on OpenGL 1.3.
Anyway, please try "CheckGlCaps=0" in glest.ini. With this setting, Glest won't check the version of OpenGL.

Good luck.


Yep...that change gets me in.  Thanks!
« Last Edit: 1 January 1970, 00:00:00 by markroedel »

KaSek

  • Guest
Source code avairalbe
« Reply #6 on: 16 February 2008, 13:22:26 »
FYI.

I posted new Glest3App.dmg and source code on above page.
You don't need to download Glest3App again if Glest already works on your Mac.

BTW,
I found a serious problem in Glest 3.x and write a report in:

http://www.glest.org/glest_board/viewto ... 3620#13620

This is the reason why we can't connect to other platform (Linux/Windows).

Mac users don't need to care about this. I already fixed it in my Mac version.
« Last Edit: 1 January 1970, 00:00:00 by KaSek »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #7 on: 16 February 2008, 19:20:17 »
Hi Kasek,

I've read that you have ported Glest to Mac, does it mean that you have made a lot of changes to the source code? We could incorporate those into the official port if it is possible to make it easier for future releases. We could also host the binaries in the sourceforge website if that would be of any help.

Regads.

Martiño.
« Last Edit: 1 January 1970, 00:00:00 by martiño »

Auria

  • Guest
(No subject)
« Reply #8 on: 18 February 2008, 21:38:30 »
Hey great job!

I take it it will only run on intel macs? (maybe should be specified)
« Last Edit: 1 January 1970, 00:00:00 by Auria »

AF

  • Guest
(No subject)
« Reply #9 on: 19 February 2008, 17:17:02 »
Running on non intel macs would entail endian issues, that's assuming endianness wasn't addressed in the mac port.
« Last Edit: 1 January 1970, 00:00:00 by AF »

Auria

  • Guest
(No subject)
« Reply #10 on: 20 February 2008, 02:40:44 »
Hmm on the webpage it says it runs on PPC  :o not sure how he did it. Though he offers the code so maybe a diff could reveal changes
« Last Edit: 1 January 1970, 00:00:00 by Auria »

KaSek

  • Guest
(No subject)
« Reply #11 on: 21 February 2008, 12:39:26 »
Quote from: "martiño"
Hi Kasek,

I've read that you have ported Glest to Mac, does it mean that you have made a lot of changes to the source code? We could incorporate those into the official port if it is possible to make it easier for future releases. We could also host the binaries in the sourceforge website if that would be of any help.

Regads.

Martiño.


Not so much, I think. I done it with adhoc way. You can do that more sophiscated way.

As for binary hosting, anytime you can do that. I think it's better for people outside Japan.

Thank you.
« Last Edit: 1 January 1970, 00:00:00 by KaSek »

KaSek

  • Guest
(No subject)
« Reply #12 on: 21 February 2008, 12:46:10 »
Auria, AF:

It works on my PowerBook. The spec. is:

PowerPC G4 1.33GHz
RAM: 768MB
GPU: nVidia GeForce FX Go5200 with 64MB VRAM
OS: 10.4.9

If you find an error message in glest.log or system's console log, please let me know.
« Last Edit: 1 January 1970, 00:00:00 by KaSek »

Tael_

  • Guest
(No subject)
« Reply #13 on: 21 February 2008, 14:12:25 »
When launching it on my MacBook, I got the following error :
Quote
Exception: OpenGL extension not supported: GL_ARB_texture_env_crossbar, required for Glest


Any solution ?

Thanks.
« Last Edit: 1 January 1970, 00:00:00 by Tael_ »

greenmoss

  • Guest
(No subject)
« Reply #14 on: 6 March 2008, 02:31:57 »
Definitely a good start for us Mac users!  :D



Can the package included some kind of notice instructing the user what to do after the app has downloaded? After a bit of fumbling, I read the notice on the site that says to download the data files, etc. Can the package offer to download these for the user and place them appropriately?



So I've got the data files, now I apparently need some kind of setting for the glest.ini file. I found a sample one for Linux, but the fonts don't work. Running the app using OS X "open" (eg "open /Applications/Glest/Glest.app/Contents/MacOS") shows me an error message:

void Shared::Platform::Window::setStyle(Shared::Platform::WindowStyle) not implemented.
2008-03-05 21:15:16.893 Glest[21477:10b] font is nil
2008-03-05 21:15:16.894 Glest[21477:10b] Didn't make display list
2008-03-05 21:15:16.895 Glest[21477:10b] font is nil
2008-03-05 21:15:16.895 Glest[21477:10b] Didn't make display list
2008-03-05 21:15:16.896 Glest[21477:10b] font is nil
2008-03-05 21:15:16.896 Glest[21477:10b] Didn't make display list
2008-03-05 21:15:16.897 Glest[21477:10b] font is nil
2008-03-05 21:15:16.897 Glest[21477:10b] Didn't make display list
2008-03-05 21:15:16.897 Glest[21477:10b] font is nil
2008-03-05 21:15:16.898 Glest[21477:10b] Didn't make display list
2008-03-05 21:15:16.898 Glest[21477:10b] font is nil
2008-03-05 21:15:16.899 Glest[21477:10b] Didn't make display list

Whereupon no fonts on the screen are readable.

I've tried various font settings in the  ~/Library/GlestGame/glest.ini file, eg

FontConsole=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
FontDisplay=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
FontMenu=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*

replacing "utopia" with "arial", "*", "none", etc. None work. Guess I'll hit IRC.



Can you include a sample glest.ini with the package? Or even install a default in the user home directory?



For the record, here is the contents of my glest.ini:

AiLog=0
AiRedir=0
CameraFps=100
ChangeDisplay=1
CheckGlCaps=1
ColorBits=32
ConsoleMaxLines=10
ConsoleTimeout=1
DayTime=1000
DebugMode=0
DepthBits=16
FactoryGraphics=OpenGL
FactorySound=OpenAL
FastSpeedLoops=2
Filter=Bilinear
FilterMaxAnisotropy=1
FirstTime=0
FocusArrows=1
FogOfWar=1
FogOfWarSmoothing=1
FogOfWarSmoothingFrameSkip=3
FontConsole=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
FontDisplay=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
FontMenu=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
Lang=english.lng
MaxLights=1
PathFindLevelsMax=250
PathFindRefresh=10
PhotoMode=0
RefreshFrequency=75
ScreenHeight=600
ScreenWidth=800
ShadowAlpha=0.1
ShadowFrameSkip=2
ShadowTextureSize=256
Shadows=Projected
SoundStaticBuffers=16
SoundStreamingBuffers=4
SoundVolumeAmbient=80
SoundVolumeFx=80
SoundVolumeMusic=90
StencilBits=0
Textures3D=1
UpdateFps=40
Windowed=1
« Last Edit: 1 January 1970, 00:00:00 by greenmoss »

KaSek

  • Guest
3.0.0r3 released
« Reply #15 on: 9 March 2008, 13:10:38 »
I released 3.0.0r3. Changes are:

Now GlestConf (configuration tool for Glest with Cocoa GUI) bundled.
Smaller fonts on game screen.
Precise calculation of font metrics.

You can get it from the same link above.
« Last Edit: 1 January 1970, 00:00:00 by KaSek »

KaSek

  • Guest
(No subject)
« Reply #16 on: 9 March 2008, 13:20:03 »
To greenmoss:

Glest3Data.pkg on my site includes modified glest.ini for Mac. The default fonts are Helvetica.  I suppose the users are using my data package.

And now you can use GlestConf to change the settings using the new version, 3.0.0r3.
« Last Edit: 1 January 1970, 00:00:00 by KaSek »

Happy

  • Guest
(No subject)
« Reply #17 on: 10 March 2008, 14:14:43 »
Just installed it on my MacBook Pro (OS X 10.4.11).
It works fine until I click "New Game" in the main menu.
After that it just quits silently. The Console says something like that.

Quote
void Shared::Platform::Window::setStyle(Shared::Platform::WindowStyle) not implemented.
/bin/sh: line 3:
awk: command not found
Couldn't process event: Error getting host by name (Error: Invalid argument)
/Users/kseki/Develop/glest-source-3.0.0/Xcode/../glest_game/network/network_manager.cpp:32: failed assertion `networkInterface==NULL'


 :)
« Last Edit: 1 January 1970, 00:00:00 by Happy »

KaSek

  • Guest
(No subject)
« Reply #18 on: 10 March 2008, 15:45:32 »
To Happy:

The following message is always shown when you use Windowed mode:

void Shared::Platform::Window::setStyle(Shared::Platform::WindowStyle) not implemented.

What's the following log? Did you use shell script?

/bin/sh: line 3:
awk: command not found
« Last Edit: 1 January 1970, 00:00:00 by KaSek »

markroedel

  • Guest
(No subject)
« Reply #19 on: 10 March 2008, 16:06:57 »
Quote from: "Tael_"
When launching it on my MacBook, I got the following error :
Quote
Exception: OpenGL extension not supported: GL_ARB_texture_env_crossbar, required for Glest

Any solution ?

Thanks.


I get this as well on my MacBook...I hope we're not just out of luck until Apple releases updated OpenGL drivers for the integrated graphics card!
« Last Edit: 1 January 1970, 00:00:00 by markroedel »

Happy

  • Guest
(No subject)
« Reply #20 on: 11 March 2008, 11:39:05 »
Quote from: "KaSek"
To Happy:

The following message is always shown when you use Windowed mode:

void Shared::Platform::Window::setStyle(Shared::Platform::WindowStyle) not implemented.
After my first (unsuccessful) try I played with the GlestConf.app.
It says this if I use the "default settings".
Quote
Couldn't process event: Error getting host by name (Error: Invalid argument)
/Users/kseki/Develop/glest-source-3.0.0/Xcode/../glest_game/network/network_manager.cpp:32: failed assertion `networkInterface==NULL'

Quote from: "KaSek"
What's the following log? Did you use shell script?

/bin/sh: line 3:
awk: command not found

My fault ^^
This has nothing to do with Glest. It's probably one of my faulty scripts I used with "GeekTool".
 :-[
« Last Edit: 1 January 1970, 00:00:00 by Happy »

KaSek

  • Guest
(No subject)
« Reply #21 on: 12 March 2008, 13:48:12 »
>Couldn't process event: Error getting host by name (Error: Invalid argument)

Don't you set the host name? What's happen when you run the following command in Terminal?

uname -a
« Last Edit: 1 January 1970, 00:00:00 by KaSek »

Happy

  • Guest
(No subject)
« Reply #22 on: 14 March 2008, 08:45:38 »
It says this:
Darwin andreas 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386

:)
« Last Edit: 1 January 1970, 00:00:00 by Happy »

KaSek

  • Guest
(No subject)
« Reply #23 on: 14 March 2008, 15:08:58 »
Happy:

I don't know why '.local' is not added to your host name. If you set the name using System Preference's Sharing, '.local' should be always shown like 'iMac.local'.

I'm not sure this has someting to do with the issue, but maybe it's not the problem of Glest.
« Last Edit: 1 January 1970, 00:00:00 by KaSek »

Happy

  • Guest
(No subject)
« Reply #24 on: 14 March 2008, 15:39:59 »
Ok. Thx. :)
« Last Edit: 1 January 1970, 00:00:00 by Happy »

 

anything