Guide: Fix Jank in r190+ Node-Webkit Export

Discussion and feedback on Construct 2

Post » Mon Apr 06, 2015 5:05 am

Hey, anyone know if this still works in recent C2 builds after the change to 'nw.js'?

I tried putting the old PC, mac and linux files into the 'NWjsForC2' folder as well as the 'NodeWebkitForC2' folder. Every time I try to export, C2 tells me that nw.js is not installed.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,689

Post » Mon Apr 06, 2015 5:53 am

One thought: there was no 64 bit version of node for 10.5, so if you deleted all the 64 bit folders, C2 might be complaining about that. Try copying in the win/osx/linux64 folders from a newer release; leave the 32 bit folders with the 10.5 packages.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Mon Apr 06, 2015 6:29 am

@sqiddster

Just tried an export from r200, works fine for me. My 32 bit binaries are all 10.5.

Here's my whole "NodeWebkitForC2" folder; hopefully you could just copy this into program files and get it to work:

https://drive.google.com/file/d/0B08LZ- ... sp=sharing

If not, could be there's a path name stuck in the registry. If so, I'd try:

1. Install an old package of node-webkit, like:

http://downloads.scirra.com/nwjs/nodewe ... 0-11-5.exe

mirror:

https://drive.google.com/file/d/0B08LZ- ... sp=sharing

2. Delete the resultant "NodeWebkitForC2" folder, and paste my folder in it's place.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Sun Apr 19, 2015 4:22 pm

TiAm wrote:@sqiddster

Just tried an export from r200, works fine for me. My 32 bit binaries are all 10.5.

Here's my whole "NodeWebkitForC2" folder; hopefully you could just copy this into program files and get it to work:

https://drive.google.com/file/d/0B08LZ- ... sp=sharing

If not, could be there's a path name stuck in the registry. If so, I'd try:

1. Install an old package of node-webkit, like:

http://downloads.scirra.com/nwjs/nodewe ... 0-11-5.exe

mirror:

https://drive.google.com/file/d/0B08LZ- ... sp=sharing

2. Delete the resultant "NodeWebkitForC2" folder, and paste my folder in it's place.


Works for me. Thanks.
B
135
S
33
G
17
Posts: 1,557
Reputation: 20,717

Post » Sun Aug 23, 2015 12:05 pm

Thanks so much for this! Fixed an issue I was having with exporting crappy builds on PC :)
B
44
S
13
G
8
Posts: 622
Reputation: 7,417

Post » Sat Apr 16, 2016 12:03 pm

TiAm wrote:@sqiddster

Just tried an export from r200, works fine for me. My 32 bit binaries are all 10.5.


Thanks it's running fine, but i have a browser toolbar above the game. Any idea how to remove it? Thanks!

C2 v227, NW10.5
B
7
S
1
Posts: 12
Reputation: 556

Post » Sat Apr 16, 2016 1:39 pm

martiin wrote:C2 v227, NW10.5

A lot of bugs have been fixed, also several performance improvements can be found in the newer NW.js versions. There's no need to stick with the old 10.5 version any more. Try updating your NW.js, it will probably fix your problem. https://www.scirra.com/nwjs
B
135
S
33
G
17
Posts: 1,557
Reputation: 20,717

Post » Sat Apr 16, 2016 2:08 pm

glerikud wrote:
martiin wrote:C2 v227, NW10.5

A lot of bugs have been fixed, also several performance improvements can be found in the newer NW.js versions. There's no need to stick with the old 10.5 version any more. Try updating your NW.js, it will probably fix your problem. https://www.scirra.com/nwjs


I measure significant performance difference between 10.5 and the new version.

Btw. i've found a workaround for my toolbar problem: Exported project as Html5, and packed with Nodebob. ;)
B
7
S
1
Posts: 12
Reputation: 556

Post » Sat Apr 16, 2016 4:46 pm

martiin wrote:I measure significant performance difference between 10.5 and the new version.

Btw. i've found a workaround for my toolbar problem: Exported project as Html5, and packed with Nodebob. ;)

I'm glad you found a workaround. If you do have big performance problems with the new version, it might worth a report.
B
135
S
33
G
17
Posts: 1,557
Reputation: 20,717

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: Tokinsom and 5 guests