Jump to content

OSX publish


tjheldna
 Share

Recommended Posts

Ive just had a look at the OSX publish option and had a query. When published under OSX a folder is created with your .app inside and all the game files loose in the same folder. Is it at all possible to get all game files nice and neat inside the .app file so your .app file can go directly into Applications?

 

Cheers!

trindieprod.png?dl=0spacer.png?dl=0steam-icon.png?dl=0twitter-icon.png?dl=0spacer.png?dl=0
Link to comment
Share on other sites

Add this line to the beginning of your program:

FileSystem::SetDir("MyGame.app/Contents/MacOS")

 

Or something like that. I forget the path for resources, but there is one.

 

The reason Leadwerks does not do this automatically is because Leadwerks does not attempt to control your code. If the project behaved differently when it was being run in development and when it was being run by the end user, that would be problematic.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

  • 1 year later...

In 3.0 it was possible but was removed around the time mobile devices were not supported anymore. It was really nice working on it in OSX, and personally I would prefer this over linux support any day. There has been mention it will be back, so I guess it's a question of when?

trindieprod.png?dl=0spacer.png?dl=0steam-icon.png?dl=0twitter-icon.png?dl=0spacer.png?dl=0
Link to comment
Share on other sites

Since OSX consumes a large part of the market, it would be a wise decision to add an export as soon as possible.

huh.png

Agree its a larger market than linux and would have made more sense to branch into if just comparing linux vs osx market shares with no regard to graphic cards, drivers, etc... but to say its a 'large part of the market' might be stretching it. To me, the other platforms just means Josh would be spending a lot of time and effort on problems singular to linux/osx that will not benefit the vast majority of his users. But typically this just means Josh will end up doing it at some point then regret it later. tongue.png

  • Upvote 1

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

I think amount of linux users will go up once Steam Machines and Steam Links release with the SteamOS out of beta. No matter what, if Leadwerks runs on all (the big ones) three PC operating systems, anyone with an OpenGL4 card can purchase the editor and play our games; and that's really neat.

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...