Page 5 of 13

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Mon Jul 07, 2014 08:08
by Morn76
Mgdie wrote: but another problem appeared now where the mouse pointer appears it won't click there but lower, seems to be on windowed mode


That is already covered in the first post: Don't resize the MT window! Define your default window size in minetest.conf instead (or set it to fullscreen there). This is an Irrlicht bug on OS X apparently.

OmniStudent wrote:Thanks again for all your work Morn76, you're the best!


Thanks, OmniStudent! :-)

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Tue Jul 08, 2014 16:53
by Mgdie
:(
Is there a way to exit full screen? and go to other app.
While playing mine test i want to answer Facebook messages but i haven't found a way to hide mine test, so i have to quit every time, if i want to see the desktop again

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Tue Jul 08, 2014 16:58
by Sokomine
It ought to work if you press ESC. Then you can access the controls of the window containing Minetest; mouse movements will no longer be interpreted as looking around in the game.

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Tue Jul 08, 2014 17:06
by Mgdie
Sokomine wrote:It ought to work if you press ESC. Then you can access the controls of the window containing Minetest; mouse movements will no longer be interpreted as looking around in the game.


still can't hide it

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Tue Jul 08, 2014 19:01
by stormchaser3000
Mgdie mean that there is no option to hide the window like in windows or in some linux distros there will be a button in the window that looks like a - that hides the window into the task bar. i have tried this on my grandma's computer and yep no - thing option.

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Tue Jul 08, 2014 22:03
by Mgdie
stormchaser3000 wrote:Mgdie mean that there is no option to hide the window like in windows or in some linux distros there will be a button in the window that looks like a - that hides the window into the task bar. i have tried this on my grandma's computer and yep no - thing option.


no what i mean is to be able to go to the desktop in fullscreen there aren't any window decoration i am talking about a key combination

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Wed Jul 09, 2014 04:52
by stormchaser3000
Mgdie wrote:
stormchaser3000 wrote:Mgdie mean that there is no option to hide the window like in windows or in some linux distros there will be a button in the window that looks like a - that hides the window into the task bar. i have tried this on my grandma's computer and yep no - thing option.


no what i mean is to be able to go to the desktop in fullscreen there aren't any window decoration i am talking about a key combination



OH ok yeah um put these options in your minetest.conf file:

screenW = (width of screen)
screenH = (height of screen)
fullscreen = true

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Wed Jul 09, 2014 13:37
by Mgdie
stormchaser3000 wrote:
Mgdie wrote:
stormchaser3000 wrote:Mgdie mean that there is no option to hide the window like in windows or in some linux distros there will be a button in the window that looks like a - that hides the window into the task bar. i have tried this on my grandma's computer and yep no - thing option.


no what i mean is to be able to go to the desktop in fullscreen there aren't any window decoration i am talking about a key combination



OH ok yeah um put these options in your minetest.conf file:

screenW = (width of screen)
screenH = (height of screen)
fullscreen = true


b=not really

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Wed Jul 09, 2014 19:23
by Morn76
In principle it should be easy to add a menu with Apple+H for hiding the window: Get MainMenu.xib from Toabi's old tree, compile it to a .nib and copy it into minetest.app/Contents/Resources/.

But unfortunately in practice this does not seem to work. The .nib file is there but still no menu. Very strange.

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Thu Jul 10, 2014 02:45
by Mgdie
Morn76 wrote:In principle it should be easy to add a menu with Apple+H for hiding the window: Get MainMenu.xib from Toabi's old tree, compile it to a .nib and copy it into minetest.app/Contents/Resources/.

But unfortunately in practice this does not seem to work. The .nib file is there but still no menu. Very strange.


so once you are in the game only way out is to close it. You can't minimized hided move it

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Thu Jul 10, 2014 05:56
by Mgdie
ooo men it is so nice to play with efficient code, the macbook fans never turn on. In mine craft, it get real hot and sounds like it is about to take off

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Thu Jul 10, 2014 12:59
by Morn76
Apparently for the menu to work, MT would need to wrapped inside an NSApplication object which would load the NIB file. Xcode does this automatically via a template, but we use make to build, therefore the NIB file does not get loaded when the application starts. So getting the Mac menu to work is apparently far more complicated than I thought. :-(

Anyway, the OS X build has been updated to 20140707.e69d660. This brings some minor bug fixes for 0.4.10 but nothing too serious I hope.

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Thu Jul 10, 2014 17:48
by Mgdie
Morn76 wrote:Apparently for the menu to work, MT would need to wrapped inside an NSApplication object which would load the NIB file. Xcode does this automatically via a template, but we use make to build, therefore the NIB file does not get loaded when the application starts. So getting the Mac menu to work is apparently far more complicated than I thought. :-(

Anyway, the OS X build has been updated to 20140707.e69d660. This brings some minor bug fixes for 0.4.10 but nothing too serious I hope.

i am not sure but i think there was a mac os x build which i could hide.. must somewhere in this forum

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Thu Jul 10, 2014 20:34
by Morn76
Toabi's old build probably. Unfortunately my build does not work right now with Xcode/xcodebuild because some assertion related to semaphores fails. So maybe I can figure out how to fix that assertion problem and then use xcodebuild again instead of make. Or maybe I can wrap everything in an NSApplication object and continue to use make. We'll see.

BTW, have you tried to pause MT with Escape and ⌘-Tab from fullscreen mode to another application? I think ⌘-Tab should work even if an application does not use NSApplication.

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Fri Jul 11, 2014 04:24
by Mgdie
Morn76 wrote:Toabi's old build probably. Unfortunately my build does not work right now with Xcode/xcodebuild because some assertion related to semaphores fails. So maybe I can figure out how to fix that assertion problem and then use xcodebuild again instead of make. Or maybe I can wrap everything in an NSApplication object and continue to use make. We'll see.

BTW, have you tried to pause MT with Escape and ⌘-Tab from fullscreen mode to another application? I think ⌘-Tab should work even if an application does not use NSApplication.


nope

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Sun Jul 13, 2014 11:49
by Morn76
Updated to 20140713.24a631e

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Sun Jul 20, 2014 10:12
by Morn76
Updated to 20140719.33ca115

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Sun Jul 27, 2014 11:18
by Morn76
Updated to 20140725.5357a17.

The Carbone and Voxelgarden subgames are now also included.

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Fri Aug 08, 2014 20:42
by Morn76
Updated to 20140805.15f3713

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Sun Aug 24, 2014 08:26
by shaheerziya
Nice.

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Mon Aug 25, 2014 11:21
by Minetestforfun
thank you for your work !

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Tue Aug 26, 2014 09:16
by Morn76
You're welcome, shaheerziya and Minetestforfun. :-)

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Wed Sep 03, 2014 19:20
by Morn76
Updated to 20140903.8948907

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Mon Sep 22, 2014 06:13
by OmniStudent
Still following this thread. Thanks Morn!
I'll be back!

Re: Morn76's Minetest OS X Mavericks builds

PostPosted: Mon Sep 22, 2014 09:27
by Morn76
OmniStudent wrote:Still following this thread. Thanks Morn!
I'll be back!

Thanks, OmniStudent! I also wanted to post a new binary yesterday, but for some mysterious reason the dynamic linker no longer finds libfreetype which is right there in /usr/local/lib/. So I could only compile without Freetype and gettext. The OS X bugs and odditiies never really stop, do they? :-)