1. Hey! Guest! The 31st GMC Jam will take place between Nov 16th, 12:00 UTC (Friday noon) and Nov 26th, 12:00 UTC (Monday noon). Why not join in! Click here to find out more!
    Dismiss Notice

Linux users?

Discussion in 'Programming' started by obscene, Nov 8, 2018 at 3:31 PM.

  1. obscene

    obscene Member

    Joined:
    Jun 21, 2016
    Posts:
    2,159
    I have been a linux user for approx 1 hour lol. I have a build. Got ourselves a runner file and in the folder of assets there is a game.unx file. Thought it might be cool to run it or something. Enabled "run this as an executable." And then now I have no idea what to do next.

    upload_2018-11-8_10-29-38.png
     
  2. Binsk

    Binsk Member

    Joined:
    Jun 22, 2016
    Posts:
    455
    Code:
    cd ~/Downloads/Orphan
    ls
    
    ls will list the files in the folder. See if Runner shows up as green (aka, can be executed) . If not,
    Code:
    chmod +x Runner
    
    If it did show green or you had to run the above then the following should execute it:

    Code:
    ./Runner
    
    If it is saying permission denied then it may be owned by root and you have to use:
    Code:
    sudo ./Runner
    
    Followed by the root password.
     
  3. YellowAfterlife

    YellowAfterlife ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ Forum Staff Moderator

    Joined:
    Apr 21, 2016
    Posts:
    1,950
    bonus: if the binary is built for different architecture (e.g. your VM is x86 but binary is x64 from GMS2) there's a tendency of throwing "no such file" instead of an actual error
     
    Binsk likes this.
  4. Binsk

    Binsk Member

    Joined:
    Jun 22, 2016
    Posts:
    455
    Good note, I didn't know about that one.
     
  5. obscene

    obscene Member

    Joined:
    Jun 21, 2016
    Posts:
    2,159
    Thank you guys very much, that did the trick. It's running about 1fps in Virtualbox but now I'll try to get it running on a real install and see what happens. :)
     
  6. obscene

    obscene Member

    Joined:
    Jun 21, 2016
    Posts:
    2,159
    Can you guys guide me on how to use connect GM to a virtual machine in Virtualbox? (I have it on a real machine but it's not stable). On the physical machine, I simply put the IP address from Linux into GM and it connected successfully. In Virtualbox, I do the same but the connection request times out. Not 100% sure I have it set up correctly.
     
    Last edited: Nov 9, 2018 at 12:06 AM
  7. Steevo

    Steevo Member

    Joined:
    Nov 6, 2018
    Posts:
    57
    obscene likes this.
  8. obscene

    obscene Member

    Joined:
    Jun 21, 2016
    Posts:
    2,159
    That did it!
     
    Steevo likes this.
  9. Steevo

    Steevo Member

    Joined:
    Nov 6, 2018
    Posts:
    57
  10. obscene

    obscene Member

    Joined:
    Jun 21, 2016
    Posts:
    2,159
    Edit: never mind. Slowly figuring this out...
     
    Last edited: Nov 9, 2018 at 3:35 AM

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice