Skip to main content

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

how do i run a game on linux termanal?

A topic by pantera1 created Jan 13, 2024 Views: 329 Replies: 5
Viewing posts 1 to 5

need help because when i run a game on the app it says error

error can be quite a lot of things son, contact the developer.

it says error

what says what exactly?

is this the itch app? what is the exact error message? and why do you say run on terminal? if you are capable of running games on a linux terminal, chances are, you would not be needing to ask such questions, so I doubt this is translated correctly.

Moderator

To run a game through a linux terminal, you’d have to follow a few steps.

First go to the game’s directory with this:

cd <game_directory>

Then you need to find the executable file, sometimes it’s a file ending in “.sh”, sometimes it’s a file without an extension. Once you find that file you can then do:

./filename.sh

Replacing “filename.sh” with the executable file. It’s hard to give any more information, as those files can be very different from project to project.

So it might be, that the itch app does not know the executeable? Based on the wording, I assume OP trys to run the game with the itch app on linux.

If the game was not built on a linux, will the executeable flag be set correctly? It's been a while. But you had to have the flag and have it set for the user are logged in or the group, or no running of the game would commence.

If the game was built correctly, one could simply do a 

ls -la

 to see the files that have the x flag.

Moderator(+1)

I assume from the original post that OP has a game that’s crashing when run and they wanted to see what the error is (if any). Running a game through the terminal is a great way to get some error/output in the terminal that might explain the crash.

That’s at least my assumption, there isn’t enough details in the post so it’s hard to say.