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

Questions, answers and issues regarding releases.
Post Reply
Saryon
Posts: 7
Joined: Mon Feb 03, 2014 8:13 am

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

Post by Saryon » Mon Feb 03, 2014 8:19 am

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.

Saryon
Posts: 7
Joined: Mon Feb 03, 2014 8:13 am

Game don't work for me on linux

Post by Saryon » Fri Feb 28, 2014 7:21 pm

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

User avatar
neio
Posts: 246
Joined: Mon Feb 04, 2013 4:42 pm
Location: Xanadu

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

Post by neio » Sun Mar 09, 2014 11:05 pm

(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» ?
Recommended fics: A pseudo-pseudo Suzu Route | Sisterhood (Hanako Epilogue) | Can You Open Your Heart? (Rika)

(New) Movie contest: From which 2012 film did I mangle this quote? Prize: Humble Bundle
You're worried about the Nurse? Try the mom.

Saryon
Posts: 7
Joined: Mon Feb 03, 2014 8:13 am

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

Post by Saryon » Tue Mar 11, 2014 5:37 pm

I use Ubuntu.

I can use sudo command.

User avatar
neio
Posts: 246
Joined: Mon Feb 04, 2013 4:42 pm
Location: Xanadu

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

Post by neio » Tue Mar 11, 2014 8:31 pm

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.
Recommended fics: A pseudo-pseudo Suzu Route | Sisterhood (Hanako Epilogue) | Can You Open Your Heart? (Rika)

(New) Movie contest: From which 2012 film did I mangle this quote? Prize: Humble Bundle
You're worried about the Nurse? Try the mom.

Saryon
Posts: 7
Joined: Mon Feb 03, 2014 8:13 am

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

Post by Saryon » Wed Mar 12, 2014 2:36 pm

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$

Saryon
Posts: 7
Joined: Mon Feb 03, 2014 8:13 am

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

Post by Saryon » Mon Mar 24, 2014 7:50 pm

No one know how to fix this permission problem? That's the first time it happens?

User avatar
neio
Posts: 246
Joined: Mon Feb 04, 2013 4:42 pm
Location: Xanadu

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

Post by neio » Tue Mar 25, 2014 9:09 am

Did the chmod command work?
Recommended fics: A pseudo-pseudo Suzu Route | Sisterhood (Hanako Epilogue) | Can You Open Your Heart? (Rika)

(New) Movie contest: From which 2012 film did I mangle this quote? Prize: Humble Bundle
You're worried about the Nurse? Try the mom.

Saryon
Posts: 7
Joined: Mon Feb 03, 2014 8:13 am

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

Post by Saryon » Tue Mar 25, 2014 5:24 pm

Yes chmod works.

That the two others commands which doesn't.

User avatar
neio
Posts: 246
Joined: Mon Feb 04, 2013 4:42 pm
Location: Xanadu

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

Post by neio » Tue Mar 25, 2014 10:53 pm

OK, it still looks like a permissions problem.

Code: Select all

sudo chmod -R 777 "/home/saryon/Bureau/Katawa shoujo"
Recommended fics: A pseudo-pseudo Suzu Route | Sisterhood (Hanako Epilogue) | Can You Open Your Heart? (Rika)

(New) Movie contest: From which 2012 film did I mangle this quote? Prize: Humble Bundle
You're worried about the Nurse? Try the mom.

Saryon
Posts: 7
Joined: Mon Feb 03, 2014 8:13 am

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

Post by Saryon » Wed Mar 26, 2014 7:13 pm

With this command, it works.

Thank you!

Post Reply