Page 1 of 1

Je n'arrive pas à faire fonctionner le jeu sous linux

Posted: Mon Feb 03, 2014 8:19 am
by Saryon
Bonjour

Je ne suis pas très doué en informatique. Si j'ai bien compris, c'est le fichier .sh qui lance le jeu. Quand je double clique dessus, ça me demande si je veux lancer le programme, je clique pour lancer, et là il me dit que je n'ai pas la permission.

Je vais donc dans les propriétés pour autoriser le .sh à se lancer comme programme. Je coche la case, elle se décoche aussitôt. J'ai pas mal cherché sur internet, je ne comprend pas le problème.

Si quelqu'un pourrait m'expliquer comment faire (et si possible sans taper trop de lignes de code?)

Je vous remercie d'avance.

Game don't work for me on linux

Posted: Fri Feb 28, 2014 7:21 pm
by Saryon
Hello,

I'm not very talented in computers. If i understand well, the .sh file is the file which run the game. When i click on it, that ask me if i want to run the program, i say yes. Then, he say i'm not allowed to run the program.

I go in properties of the .sh file to allow .sh file to be run like a program. When i check the box, it uncheck immediately. I sherch on the internet, but i don't understand what the problem.

Can someone gave me some hit (if possible without using to much the terminal)?

Thanks

Re: Je n'arrive pas à faire fonctionner le jeu sous linux

Posted: Sun Mar 09, 2014 11:05 pm
by neio
(Google translate may speak better french than I do.)

Which distribution of linux are you running?
Quelle distribution utilisez-vous ?
- Ubuntu
- Debian
- Fedora
- Arch
- Gentoo
(etc)

Are you an administrator / can you use sudo?
Est-ce que vous êtes l'administrateur système ?
Pouvez-vous utilisez la commande informatique «sudo» ?

Re: Je n'arrive pas à faire fonctionner le jeu sous linux

Posted: Tue Mar 11, 2014 5:37 pm
by Saryon
I use Ubuntu.

I can use sudo command.

Re: Je n'arrive pas à faire fonctionner le jeu sous linux

Posted: Tue Mar 11, 2014 8:31 pm
by neio
Open the terminal to the folder where the .sh file is located.

Type the following:
sudo chmod +x file.sh
Where file.sh is the name of the script you're trying to run.

If you get an error, post the error here. Otherwise, type

Code: Select all

./file.sh
If that works, congratulations.

If you get an error, post it here, and then try

Code: Select all

sudo bash file.sh
If that also returns an error, post the text of the error here.

Re: Je n'arrive pas à faire fonctionner le jeu sous linux

Posted: Wed Mar 12, 2014 2:36 pm
by Saryon
For the first command:

saryon@saryon-Aspire-X3200:~/Bureau/Katawa shoujo/Katawa Shoujo-linux-x86$ ./"Katawa Shoujo.sh"
./Katawa Shoujo.sh: 20: exec: ./lib/python: Permission denied


For the second command (bash):

Katawa Shoujo.sh: ligne 20: /home/saryon/Bureau/Katawa shoujo/Katawa Shoujo-linux-x86/lib/python: Permission non accordée
Katawa Shoujo.sh: ligne 20 : exec: /home/saryon/Bureau/Katawa shoujo/Katawa Shoujo-linux-x86/lib/python : impossible d'exécuter : Permission non accordée
saryon@saryon-Aspire-X3200:~/Bureau/Katawa shoujo/Katawa Shoujo-linux-x86$

Re: Je n'arrive pas à faire fonctionner le jeu sous linux

Posted: Mon Mar 24, 2014 7:50 pm
by Saryon
No one know how to fix this permission problem? That's the first time it happens?

Re: Je n'arrive pas à faire fonctionner le jeu sous linux

Posted: Tue Mar 25, 2014 9:09 am
by neio
Did the chmod command work?

Re: Je n'arrive pas à faire fonctionner le jeu sous linux

Posted: Tue Mar 25, 2014 5:24 pm
by Saryon
Yes chmod works.

That the two others commands which doesn't.

Re: Je n'arrive pas à faire fonctionner le jeu sous linux

Posted: Tue Mar 25, 2014 10:53 pm
by neio
OK, it still looks like a permissions problem.

Code: Select all

sudo chmod -R 777 "/home/saryon/Bureau/Katawa shoujo"

Re: Je n'arrive pas à faire fonctionner le jeu sous linux

Posted: Wed Mar 26, 2014 7:13 pm
by Saryon
With this command, it works.

Thank you!