I think this is due to a very strange problem where the NSIS installer cannot copy the Mac templates into the windows self-extracting EXE file, gideros.exe. I think it is due to some unusual filenames used on Mac (NSIS is a Windows program) Perhaps we could provide these templates separately in a simple zip file, @ar2sawseen?
@john26@ar2rsawseen I believe there is some issue in mac os desktop export (at least from windows 7).
Unfortunately I don't have a Mac: I had to ask a friend, whose laptop is running Yosemite 10.10.4.
Since he had an error on my exported game I tried exporting jumpingBalls2 example encrypted and not encrypted:
Exported app with encrypted code and assets won't start from finder, but only starts from shell, the "plain" one starts also from finder.
Both versions crash on start (just after the window opens) with error "bad header in precompiled chunk" and then the name of the first lua file in project.
The mac os template I am using to export is the one extracted from gideros.dmg as suggested before by John.
Thanks for letting us know we will investigate further. It seems it may be something to do with exporting from Windows as Mac exporting Mac seems to be ok
I spoke to Arturs, and it seems this may indeed be a problem of trying to export for Mac using Windows. It seems some files which are folders on Mac become files on Windows or similar. Could you ask your friend to download the Mac version of Gideros and export a simple test app for Mac (eg Bird Animation)? Then see if it runs?
There is a known problem with Mac export on 2015.8 to do with the Documents directory. We will fix this by next release but this should not cause the crash you mentioned.
Hello, I've found the issue, the problem is that Windows exports precompiled lua and OSX does not understand it. For such case we need to export plain lua only.
@pie if you replace your exported lua files with files from your project, it should work on OSX too
Comments
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
We will try to fix this issue by next release
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
C:\Program Files\Gideros\Templates\Qt
(adjust this if you have installed Gideros elsewhere of course)
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
Unfortunately I don't have a Mac: I had to ask a friend, whose laptop is running Yosemite 10.10.4.
Since he had an error on my exported game I tried exporting jumpingBalls2 example encrypted and not encrypted:
Exported app with encrypted code and assets won't start from finder, but only starts from shell, the "plain" one starts also from finder.
Both versions crash on start (just after the window opens) with error "bad header in precompiled chunk" and then the name of the first lua file in project.
The mac os template I am using to export is the one extracted from gideros.dmg as suggested before by John.
Thank you
Likes: pie
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
There is a known problem with Mac export on 2015.8 to do with the Documents directory. We will fix this by next release but this should not cause the crash you mentioned.
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
For a faster feedback maybe there is someone here who owns a windows laptop and a mac and could do it, @SinisterSoft or someone else?
Thank you
This is fixed-Documents-Directory Template, but without Plugin :
http://www.mediafire.com/download/ghebsd9f5opc12j/MacOSXDesktopTemplate.app.zip
Copy and paste it inside Gideros Studio (show packages) / Contents / Templates / Qt / MacOSXDesktopTemplate.
If you want to test an exported game (demo) made with Gideros :
http://www.mediafire.com/download/2sr4blczewhytd3/Miracle_Fly_-_Demo_[MAC].zip
Not forget to mention, i also can't export from Windows.
Likes: john26, pie
I've found the issue, the problem is that Windows exports precompiled lua and OSX does not understand it. For such case we need to export plain lua only.
@pie if you replace your exported lua files with files from your project, it should work on OSX too
So there would be no code encryption available on OSX (from windows) at all, or do you mean this as a temp workaround?
Likes: pie
Mac os desktop export from windows works now, either encrypting assets and lua files (2015.09).
Thanks!
Likes: SinisterSoft, john26