How do I create a Construct 2 Export for MAC (Is it Buggy?)

Get help using Construct 2

Post » Mon Jun 15, 2015 5:19 am

LittleStain wrote:
Ralphpalx wrote:Also can you add a quick function (Wait "Untill Current Animation Finishes") <- As an action not an event...



Wouldn't "system wait for signal" action and on animation finished "system signal" work for that?



Yea i found that out too but it could be very complex when creating a complex animation based sequence. It would be nice to have it as an action although i dont have the time to make a plugin for it. anyway can u test the mac export bug apparently a lot of people have it.
B
9
S
3
Posts: 28
Reputation: 887

Post » Sun Nov 08, 2015 4:55 am

If anyone is having a permission problem on Mac. I created a terminal shell script that fixes the permissions on the correct files. Place the unzipped script in the exported folder ( the one with the osx32 and osx64 folder ) and run it. The permissions should be fixed. Zip file: https://www.dropbox.com/s/ja5vhl6016uex ... c.zip?dl=0

If you rather create the shell script yourself just paste the below code into any text editor and change the permissions using
chmod u+x yourfilenamehere. Then place your file in the exported folder and run.

Code: Select all
echo "Fix permission problems for osx32:"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
cd osx32

for d in */ ; do
    cd "$d"

    for dr in */ ; do
       cd "$dr"
       chmod -u+xrw PkgInfo
       cd "Frameworks"
       chmod -u+xrw crash_inspector
       cd "nwjs Helper.app"
       cd "Contents"
       chmod -u+xrw PkgInfo
       cd MacOS
       chmod -u+xrw "nwjs Helper"
       cd ..
       cd ..
       cd ..
       cd "nwjs Helper EH.app"
       cd "Contents"
       chmod -u+xrw PkgInfo
       cd MacOS
       chmod -u+xrw "nwjs Helper EH"
       cd ..
       cd ..
       cd ..
       cd "nwjs Helper NP.app"
       cd "Contents"
       chmod -u+xrw PkgInfo
       cd MacOS
       chmod -u+xrw "nwjs Helper NP"
       cd ..
       cd ..
       cd ..
       cd ..
       cd "MacOS"
       chmod -u+xrw "nwjs"
    done
done

cd ..
cd ..
cd ..
cd ..

echo "Fix permission problems for osx64:"
cd osx64

for d in */ ; do
    cd "$d"

    for dr in */ ; do
       cd "$dr"
       chmod -u+xrw PkgInfo
       cd "Frameworks"
       chmod -u+xrw crash_inspector
       cd "nwjs Helper.app"
       cd "Contents"
       chmod -u+xrw PkgInfo
       cd MacOS
       chmod -u+xrw "nwjs Helper"
       cd ..
       cd ..
       cd ..
       cd "nwjs Helper EH.app"
       cd "Contents"
       chmod -u+xrw PkgInfo
       cd MacOS
       chmod -u+xrw "nwjs Helper EH"
       cd ..
       cd ..
       cd ..
       cd "nwjs Helper NP.app"
       cd "Contents"
       chmod -u+xrw PkgInfo
       cd MacOS
       chmod -u+xrw "nwjs Helper NP"
       cd ..
       cd ..
       cd ..
       cd ..
       cd "MacOS"
       chmod -u+xrw "nwjs"
    done
done


echo "Done ..."
B
4
Posts: 1
Reputation: 202

Post » Tue Apr 12, 2016 9:55 am

Hi mcsamuel. this sounds like an awesome script! thank you... but it didn't work :D (for me at least) I copied it in the exported folder, run it. But the .app file still doesn't open (no error messages, no nothing)

any advice? :)
tanks a lot


EDIT: oh wait. when the script runs it says in every line "No such file or directory" can you specify what i need to change in the script please?
Chris Hinz

Design, visual development and illustration

www.hinz-art.com
B
8
S
1
Posts: 54
Reputation: 575

Post » Wed Jun 08, 2016 10:17 pm

Hi hello, whats up with the node-webkit mac export issue? I also read the tutorial "Exporting desktop apps with NW.js" but couldn't solve the permission problem -.-
Im using C2 on my macbook via virtual box. How can I copy files from Windows to the Mac Version like supposed in that tutorial? Or is there any new tip, method, way of getting my game offline to mac :)

thankful for any help! ;)
Chris
Chris Hinz

Design, visual development and illustration

www.hinz-art.com
B
8
S
1
Posts: 54
Reputation: 575

Previous

Return to How do I....?

Who is online

Users browsing this forum: agg1401, ahmetkahveci and 23 guests