How do I create a working Linux export?

Get help using Construct 2

Post » Wed Jul 13, 2016 5:37 pm

I've never been able to successfully run a Linux build. What am I doing wrong?

I found this post from just a few months ago and followed all the steps multiple times, but no luck: how-do-i-run-a-game-on-linux-exported-via-nw-js_t167345

Has something changed since then? I'm using the newest stable build of Construct 2 and I believe a pretty recent NW.js (no more than six month old, definitely the same or newer than the version referenced in that post. For testing, I'm using a recent Ubuntu installation on a VM.
B
14
S
2
Posts: 73
Reputation: 794

Post » Fri Jul 15, 2016 2:23 pm

donkeyspaceman wrote:Has something changed since then?


Probably. My Java mentor said, "Two years is an eternity in the computer world." So, a few months is still a good amount of time.

Here are some quick links I dug up on Google:
how-do-i-run-a-game-on-linux-exported-via-nw-js_t167345
http://forums.rpgmakerweb.com/index.php ... ther-tips/
https://github.com/jaredallard/nexe
https://github.com/nwjs/nw.js/wiki/Appl ... ws-and-OSX
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857

Post » Tue Jul 19, 2016 10:18 am

Ehen you export as Nw.js , It works with windows and linux, in fact, Nw.js is made for Windows and Linux, but not Mac
B
5
S
1
Posts: 15
Reputation: 413

Post » Tue Jul 19, 2016 5:42 pm

gumshoe2029 wrote:
donkeyspaceman wrote:Has something changed since then?


Probably. My Java mentor said, "Two years is an eternity in the computer world." So, a few months is still a good amount of time.

Here are some quick links I dug up on Google:
how-do-i-run-a-game-on-linux-exported-via-nw-js_t167345
http://forums.rpgmakerweb.com/index.php ... ther-tips/
https://github.com/jaredallard/nexe
https://github.com/nwjs/nw.js/wiki/Appl ... ws-and-OSX


I linked that Scirra forum post already. Was not helpful. Nexe sounds vaguely promising though, thanks.

Badramgad wrote:Ehen you export as Nw.js , It works with windows and linux, in fact, Nw.js is made for Windows and Linux, but not Mac


I'm aware that NW.js is supposed to work on Linux, but my exports don't.
B
14
S
2
Posts: 73
Reputation: 794

Post » Tue Jul 19, 2016 6:08 pm

what happens when you try running it?
I've ran stuff on linux in a vm, but the webgl effects would not be working.
B
47
S
22
G
65
Posts: 1,127
Reputation: 38,395

Post » Tue Jul 19, 2016 8:56 pm

Prominent wrote:what happens when you try running it?
I've ran stuff on linux in a vm, but the webgl effects would not be working.


Nothing. Just double clicking the nw file in the folder does nothing and when I try running it from the terminal (per the instructions on that post linked a few times above, changing permissions to execute and using "./nw"), also nothing.

Have you tried building something recently? I'd be curious if anyone here has and could confirm that it works at all, even with an empty project.
B
14
S
2
Posts: 73
Reputation: 794

Post » Tue Jul 19, 2016 9:13 pm

No errors on build, no warnings, nothing?

We can't help you man, if the problem is this vague

I'd assume that if there was a general bug in the linux export, Ashley would know.
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,471

Post » Tue Jul 19, 2016 11:23 pm

I remember when I last ran it I had to right click the file and go to properties, then permissions and enable execute permission before it will run.

also, some Linux distributions lack libudev.so.0 which is required to run node.webkit apps
I don't know if that is the same case for nw.js
B
47
S
22
G
65
Posts: 1,127
Reputation: 38,395


Return to How do I....?

Who is online

Users browsing this forum: michaelverdi and 26 guests