Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Issue with installing the itch app on Linux

A topic by Micjay32 created Jul 07, 2020 Views: 2,553 Replies: 5
Viewing posts 1 to 2

Hello everyone. I am hoping the community here is willing to help out a newbie with his issues. I am new to itch (having purchased the Bundle for Racial Justice and Equality). I am also very new to Linux, having just set up a Raspberry Pi 3 running the Raspberry Pi OS. 

I've tried downloading the Linux file for one of the games (Night in the Woods) and could not get it running after the file was unzipped. Then I saw that itch has an app that sounds like it would be able to do the install work for me. So I have the Linux app downloaded and once I double click on the icon I get a window that pops up asking to Choose Application - "Select an application to open "executable files". I have no idea how to proceed. I have also tried using the Terminal and entering chmod +x itch-setup && ./itch-setup and sudo chmod +x itch-setup && ./itch-setup, but the response I get is:

chmod: cannot access 'itch-setup': No such file or directory

The itch-setup file is currently in my Downloads folder. 

Any help with this would be greatly appreciated. 

Moderator

When opening the terminal, it starts in the “home” directory of your user, which is usually in /home/*username*/. The error that you get (No such file or directory) is because you have to “change directory” to the one where the file sits in.

Think of changing directory, like opening a folder in windows, and now you “are” inside that folder. So when you type any command, like ./itch-setup, it will search for the file itch-setup in the current directory.

So before you type the command chmod +x itch-setup && ./itch-setup, you would need to first user the cd command (change directory) to move to the Downloads directory. You can do this using this command:

cd Downloads/

You can confirm what your current directory is, using the command pwd (print working directory), it should output something like:

/home/username/Downloads

Now you can run the command to run the Itch app:

chmod +x itch-setup && ./itch-setup

This will help you run the Itch app, but it is not a solution to run games. Each game is configured differently by its developer, so each game has a different way of handling dependencies. Depending on the distro that you use, you would need to download the right dependencies. The best way to find them is to check the page of that game, hopefully the developer would have listed what steps you need to make to run their game.

Alternatively you can find what dependencies are missing from an executable, but that’s mostly for more advances users.

If you can’t run a game, I would suggest contacting the developer of that game, explaining your issue with as much detail as possible. The issue that you are having might be an issue many more users are having, that will simply give up and move to the next game, so any feedback you give to the developer is very valuable.

Hope that makes sense, let me know if you are having any more trouble with the terminal.

Thanks for the response. 

I entered the directory in Terminal and came up with this:

~ $ cd Downloads/

~/Downloads $ chmod +x itch-setup && ./itch-setup

bash: ./itch-setup: cannot execute binary file: Exec format error

I also tried downloading the app again and still came up with the Choose Application window after double clicking on the icon. Any suggestions? 

Moderator

Ah, sorry, I just re-read the original thread.

It seems you are using a Raspberry pi. As far as I’m aware, these are equipped with arm-based processors, so they require special executables specifically made for them.

From what I can tell, the download page for the Itch app only offers a x86_64 version of the executable, so this can’t run on arm-based processors (so it can’t run on raspberry pi).

My familiarity with hardware isn’t that good, but the error “Exec format error” should mean the executable is not suitable for the current processor. For more information, you can try searching online for keywords like “arm architecture” and “x86_64 architecture”.

I’ve searched online, and the Itchio app is open-source, that means technically someone can compile it for arm processors and make it available to run on a raspberry pi. That’s however something difficult to do for a user still getting used to the terminal, not sure if it’s worth checking on some online community?

I'll take a look around first. But if this is a hardware limitation and not a software limitation, then this may be what's preventing me from being able to install the individual game files. I don't know if there is much else I can do if the bundle I paid for only seems to offer the x86_64 files. 

I did find an OS that runs aarch64 for the RaspberryPi 3. Do you think that might work? Does aarch64 have anything to do with running x86_64 files?

Moderator

As far as my knowledge goes, this is a hardware limitation, but I’m not very confident on that, I could be wrong. Hardware is not an area I’m very experienced in.

Having said that, please keep in mind this is not the same for individual games, only for the Itch app itself. So even if you purchased the bundle, individual games could still offer multiple executables for multiple architectures, which you can download from the Itch website.

Because the Itch app is open-source, it’s always possible to compile it for ARM architecture, but individual games come already compiled, in which case you have to hope the developer has the game in a format that it can run on raspberry pi.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.