Experimental Greenworks plugin

Discussion and feedback on Construct 2

Post » Thu Feb 19, 2015 12:52 pm

Every 0.1 update Greenworks apparently need to rebuild the plugin. I already asked them to. Hopefully they'll have it ready soon!
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,250

Post » Thu Feb 19, 2015 3:04 pm

Thanks a lot! Hopefully it won't be too long : )
Image | @AurelRegard on twitter
B
19
S
6
G
1
Posts: 307
Reputation: 2,500

Post » Thu Feb 19, 2015 9:59 pm

Really good to hear this plugin is (generally) working OK for the major features.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,679

Post » Tue Mar 03, 2015 7:02 pm

Do someone has any info on this?
Image | @AurelRegard on twitter
B
19
S
6
G
1
Posts: 307
Reputation: 2,500

Post » Fri Mar 13, 2015 1:51 am

OSX users are getting this error when trying to run my game:

Image

I'm not sure how to fix it, the libsteam_api.dylib seems to be in the right place like @80bit mentioned (Contents/Resources/app.nw) and I remember it was working before, so I'm not sure what's going on... anyone have any idea? Any help or suggestion is appreciated!
B
122
S
42
G
40
Posts: 846
Reputation: 27,994

Post » Fri Mar 13, 2015 6:38 pm

is the game running from steam, @andreyin? I get a weird error like that if:

1) The game is not being run from steam or
2) the game is running and steam is not running or
3) the steam_appid.txt file isnt in the root of the folder with the .app file or
4) maybe the game.app needs to be renamed nw.app (dont know if this is required but i do it anyway)
Made Cosmochoria - www.cosmochoria.com
Currently working on Slayaway Camp - www.slayawaycamp.com
B
27
S
8
G
3
Posts: 384
Reputation: 5,020

Post » Sun Mar 15, 2015 5:11 am

@80bit

Yeah, the game was running directly from Steam. After some messing around I'm thinking that what caused that to happen was that I had updated node-webkit to 0.11, and tested it working just fine on Windows without testing if it was working OK with OSX.

Unfortunately after rolling back all the changes (greenworks plugin to 10.5 and node-webkit to 10.5), the game still works fine on Windows, but on OSX it just closes itself after opening up, without any errors. I'd love to see some errors so I can look around...

I searched a bit and found posts about having to chmod the file so it would get the permissions back, but that didn't seem to work. I'm wondering, what version of Node-Webkit/Greenworks plugin are you using, and does it work just fine for all the exports (Linux and OSX)?

Thanks once again for the help!

edit: after some searching around, I tried running the game from the terminal to see if it would specify the error.

It says "dyld: lazy symbol binding failed: Symbol not found" and says it's referenced from greenworks-osx32.node. I honestly have no idea what this could mean. ):

edit2: and now the weirdest thing - I removed the greenworks plugin just to see if the game would run OK without it, but it doesn't. If I open it, the loading percentage gets stuck and red. I tried once again running the terminal to see what was the error, and apparently each line there's an error about not being able to load the images.

The error starts with "Warning: shared memory creation failed; out of file descriptors" repeated over and over, then it proceeds to try and load the images giving out an error for each one. My guess is that something in the new versions of Construct is clashing with the old Node-Webkit, but I don't even know if that is possible... I honestly wish I could just update everything and it would work but I don't think there's a greenworks plugin for the latest version of nw.js (the one that got rid of the hiccups), right? Maybe I could just apologize to OSX users and turn off the achievements for the time being...
B
122
S
42
G
40
Posts: 846
Reputation: 27,994

Post » Tue Mar 17, 2015 5:04 am

The issue is that native modules for nw.js need to be rebuild for every nw.js release. For us this wasn't an issue because we just stuck with one version (too many regressions in n-w at the time anyway).

Moving forward we think the only workable way is to have greenworks automatically build for every nw.js release. I'm happy to say that the nw.js team is working towards that goal.
B
3
S
1
Posts: 4
Reputation: 333

Post » Tue Mar 17, 2015 5:21 am

@greenheartgames Hey, thanks a billion for reading this topic, guys! : )
Image | @AurelRegard on twitter
B
19
S
6
G
1
Posts: 307
Reputation: 2,500

Post » Tue Mar 17, 2015 5:41 am

andreyin wrote:@80bit

Yeah, the game was running directly from Steam. After some messing around I'm thinking that what caused that to happen was that I had updated node-webkit to 0.11, and tested it working just fine on Windows without testing if it was working OK with OSX....


@andreyin after all the fuss with NW 11+ and stuff I basically have not moved past 10.5 yet.. So i havent even tried the latest greenworks plugin ashley made as i was worried it would open a world of problems i couldnt deal with on my own.

Right now I'm using the first version of the greenworks plugin ashley made, plus C2 197 (planning to upgrade to 200 this week) and NW 10.5 (going to stay there for a while I think.)
Made Cosmochoria - www.cosmochoria.com
Currently working on Slayaway Camp - www.slayawaycamp.com
B
27
S
8
G
3
Posts: 384
Reputation: 5,020

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: jefftrier and 7 guests