RBuster's Forum Posts

  • > I have compressed and copied the package to the home folder and after I extracted the files, I defined the file permission. When I try to execute the game the system continues to warning me that there is no application installed for "shared library" files and asking me if want to search one to open this file.

    >

    This typically happens, if you mismatch builds, like trying to execute a 32bit executable on a 64bit linux. Unlike windows, this does not work (not by default and requires some work). So if you have a 64bit Linux, be sure to use the 64bit executable.

    Oh man! Thank you so much. Now I can run the game from the terminal.

    But unfortunately I've two problems now (an old and a new one): the application is not working properly: I'm using a xml to load images, text and a sound file that I 've imported to the Project Files and that are in the folder's root with the "nw" file. When I click to load one of these assets, nothing happens. My other problem is that I really need that the nw file can be executed through the file manager, is it possible?

    Edited:

    Eisenhans

    Can I share the files with you? It is just a small demo.

  • I have compressed and copied the package to the home folder and after I extracted the files, I defined the file permission. When I try to execute the game the system continues to warning me that there is no application installed for "shared library" files and asking me if want to search one to open this file. I checked the properties and the location path is correct (/home/user/game) but in the location I have "shared library (application/x-sharedlib). I try to execute the app through the terminal and I got the message: "The program 'nw' is currently not installed. You can install it by typing sudo apt install newtrw". So, I did it and now, when I try to open the nw in the terminal, it shows a lot of options (nw [udp] <options> <host> <port>) . In the file manager, all remains the same (Could not display 'nw'. There is no application installed ...). I really need to show this demonstration for a possible client that only use linux. Any help, please?

  • Why are you opening executable files in your browser?

    It's an offline project. Just a big menu with buttons as an index that open several games in .exe format. I used the browser object because I usually use it to open files from the C2.

  • Asmodean

    Could you help me with this, please?

  • Sorry to reopen this thread but I'm having this same issue. I have already checked the file permission and it's everything ok but the system continues to warning me that there is no application installed for "shared library" files and asking me if want to search one. I try to execute the app through the terminal and I got the message: "The program 'nw' is currently not installed. You can install it by typing sudo apt install newtrw. So, I did it and now, when I try to open the nw in the terminal, it shows a lot of options (nw [udp] <options> <host> <port>) . In the file manager, all remains the same (Could not display 'nw'. There is no application installed ...). I really need to show this demonstration for a possible client that only use linux. Any help, please?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If the files sit in the shared folders (i.e. if you try to access it from within virtualbox, but they still sit on the regular filesystem) you might not be able to change the permission. I'm not familiar with it, but I remember from a long time ago (that was with virtualbox on windows) that you had to mount the shared filesystem in a very specific way and also add your linux user to a specific usergroup to be able to change the permissions and owners accordingly.

    The simplest thing would (probably) be to copy the files into the linux file system and not try to get it right on the shared folders.

    Thanks

    I will give it a try.

  • I'm still trying to execute the "nw" file without success. Any help, please? Thanks in advance.

  • Thank you for this great plugin.

    I have a doubt: is it possible to know when the video ends? I need to execute an action after this.

  • UP

  • It is just a demo I would like to send to a possible client that use Linux. Anyway, I have installed the VirtualBox and the Ubuntu on my Mac (nice! ). Now I can access the files that I generated for Linux. However, even change the file permissions to execute the "nw" file, the system is asking if I want to search for an app to open this file. Can someone help me?

  • I created a main menu with buttons that to be used to open/save executable files that are in the Project Files. For this, I'm using the browser action: invoke download. It is working on the C2 preview mode but when I access through the web, the browser shows the file's code (ASCII mode?) What can be wrong?

    Thanks in advance.

  • Sorry - I don't know the answers to those questions.... The c2 export will work in linux, all you have to do is right click on the exported executable to enable the permissions. If you want to have a game-icon instead of the default then I think you need to use nw-builder - but I have not used that and I wouldn't know where to start to help you use it on a mac...

    Ok. Thank you.

  • I forgot to say that I'm a mac user. Do you know any mac version of this program? You suggested the nw-builder and in this case I have to export to HTML5 instead the NW.js, right? I have no idea about how to use it (by the terminal I presume). I need to show the game to a possible client. Can I ask him to apply the command ((chmod a+x my game) just to enable the app in Linux.

  • Here's a tutorial explaining NWjs export.

    Thanks Colludium,

    I have read this tutorial. So I need to use this command (chmod a+x my game) to set the executable-flag, right? I don't have Linux here, but I will ask a friend to do it. Do you know if it is necessary to write the whole path or just use the file name ("nw" in this case)? If I will distribute this file, it will be always necessary to do this procedures on all the machines? If so, I can create a kind of batch file to automate this process?

  • Hi Eisenhans

    No. Could you explain me how I can do it?

    Thanks