Experimental Greenworks plugin

Discussion and feedback on Construct 2

Post » Sun Jan 03, 2016 6:58 pm

@ReflextionsDev - Mmmm! The only other thing I can think of is to check that you're including the correct steam_api.dll files and steam_appid.txt file in the package.nw? If you think that these are the correct ones, try exporting a simple project to nw.js with the greenworks plugin included and those files listed above. If the test runs in nw.js then you know you have the right dll and appid files for the plugin (and a problem somewhere else in your game), and if it crashes then you know those files are somehow incompatible.
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
73
S
19
G
66
Posts: 2,198
Reputation: 42,193

Post » Sun Jan 03, 2016 7:35 pm

Colludium wrote:@ReflextionsDev - Mmmm! The only other thing I can think of is to check that you're including the correct steam_api.dll files and steam_appid.txt file in the package.nw? If you think that these are the correct ones, try exporting a simple project to nw.js with the greenworks plugin included and those files listed above. If the test runs in nw.js then you know you have the right dll and appid files for the plugin (and a problem somewhere else in your game), and if it crashes then you know those files are somehow incompatible.


I think some people earlier in the thread were also having black screen crashes. I'll check all this though too. It looks like I'm currently using NW 11.5, so I might need to update it, but before I do I want to make sure I have backups, is there an archive of C2 NW installations?
B
68
S
24
G
11
Posts: 452
Reputation: 12,240

Post » Sun Jan 03, 2016 7:42 pm

@ReflextionsDev - it's not very clear which files go with which version of the plugin and which version of the sdk. My guess is that's where your problem lies... Fingers crossed!
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
73
S
19
G
66
Posts: 2,198
Reputation: 42,193

Post » Sun Jan 03, 2016 7:45 pm

NW11.5 can be download here (for the moment) https://www.scirra.com/nwjs (last download link)
NW11.5 = greenworks 0.4 = sdk 130
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816

Post » Sun Jan 03, 2016 7:52 pm

@MadSpy is the greenworks oracle.... :)
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
73
S
19
G
66
Posts: 2,198
Reputation: 42,193

Post » Sun Jan 03, 2016 8:40 pm

MadSpy wrote:NW11.5 can be download here (for the moment) https://www.scirra.com/nwjs (last download link)
NW11.5 = greenworks 0.4 = sdk 130


OK that's what I'm using. I'll try a re-export and everything to see if I can fix the black screen. What is the SDK 130 of? Also, do you think it would be possible to provide your NW 12 plugin? Thanks!
B
68
S
24
G
11
Posts: 452
Reputation: 12,240

Post » Sun Jan 03, 2016 9:06 pm

Ok, I used an empty project and simply put the greenworks plugin into it, and then exported for node, put in the steam app id, and correct api.dll into package.nw and renamed the exe to nw.exe, then triple checked it. Unless I'm missing something their I can't identify which steps I missed, so I'm going to try to use an older nw installation with the earlier plugin now.

Edit: does anyone have a nw 0.10 download? I can't find it.
B
68
S
24
G
11
Posts: 452
Reputation: 12,240

Post » Tue Jan 05, 2016 5:29 am

alspal wrote:
80bit wrote:@alspal

Heres what I do from windows for the Mac build:

- rename the game.app file to nw.app - dont know if this is required, but i do it anyway.
- put steam_appid.txt file with the steam app id as the only contents into the folder with the nw.app
- Double click nw.app - should act as a folder. Navigate to: Contents/Resources/app.nw - this is essentially the same thing as the zip folder on the windows side of things.
- Copy the libsteam_api.dylib from the "osx32" folder of the "sdk/redistributable_bin" from the steam SDK into this folder.
- done! upload to steam as per usual.


Do you do that ContentPrep thing on the Mac before uploading it?


I do not. I upload from windows tho to avoid any mac permission screw ups that happen when transferring from parallels to mac finder.
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 » Fri Jan 08, 2016 1:57 pm

Another update:

NW.js 0.13.0-beta2 is out, and with the next beta of C2, it's looking like most of the integration issues are solved, so the NW.js side of things seems to be working smoothly now.

However it appears Greenworks doesn't yet support the 0.13 branch yet. Their page only mentions 0.12 support and I get an error trying to use it with 0.13. I've logged an issue on their github here: https://github.com/greenheartgames/greenworks/issues/64 and sent the team an email to check on the support status. So the next beta will not have Greenworks support still, but when we sort out Greenworks support for 0.13 we should be able to update the plugin again (and hopefully add more of the latest Greenworks features).

For shipping the plugin with C2, I'm hopeful the release after the next beta can be a stable. If this is the case, I avoid making any serious changes for a stable release (had too many disasters in the past with that), so even if the Greenworks plugin is working before then I'd postpone shipping it in C2 to the next beta release after that. Still it shouldn't matter much if there's an updated plugin you can install separately.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,464

Post » Fri Jan 08, 2016 9:36 pm

It's good news. Thank you for the information @Ashley.
B
129
S
33
G
17
Posts: 1,552
Reputation: 20,515

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests