PDA

View Full Version : [SOLVED] How to run?


tadcan
November 9th, 2008, 04:32 PM
Ok I downloaded 'battle for wesnoth' and 'book of eschalon' and opened them with the package manager. In 8.04 I was able to find a file and run it.

Now in 8.10 i don't seem to be able to....

crazyfuturamanoob
November 10th, 2008, 09:05 AM
Ok I downloaded 'battle for wesnoth' and 'book of eschalon' and opened them with the package manager. In 8.04 I was able to find a file and run it.

Now in 8.10 i don't seem to be able to....

Any error messages? Have you tried re-install? What is the problem? :confused:

tadcan
November 10th, 2008, 09:40 AM
Basically i dont know how I got it to start in 8.04 or the correct way to start the programs. I have unzipped the packages into the home folder. Before I was able right click on an icon choose run and play the game.

That doesn't seem to work. And being a total noob I'm lost.... :(

jorj82
November 10th, 2008, 02:00 PM
Try installing the games from Applications -> Add/Remove, and they'll show up under Applications -> Games

tadcan
November 10th, 2008, 02:29 PM
That worked for wesnoth, but book of eschalon is not in the repos.

Artificial Intelligence
November 10th, 2008, 02:36 PM
That worked for wesnoth, but book of eschalon is not in the repos.

Normally commercial games you won't find with a .deb or with a repo.
They have to be installed "manually".

Stuff that aren't part of the repo won't be listed either.


Buy the way book II will soon be released, hopefully they make it available to be bought through greenhouse, so we have something like steam for linux.

tadcan
November 10th, 2008, 03:18 PM
Ok, so is there a guide to doing manual installs?

I have installed fallout (first one) to fill my rpg needs. :guitar:

Edit. Saw the link! found a guide. Trying it now.

tadcan
November 10th, 2008, 04:55 PM
Ahh I'm so close. I got down to entering the info into the launcher atthe very end.

I chose type: application
Name: As listed in guide
Command: sh /home/tadcan/.Games/eschalon_book_1_demo/Launch_ES1.sh
(Since I got the demo I changed the line)

So I see the game listed in the games section. But it doesn't launch when I click on it. I don't even know where to Browse for it to find the correct command. Any ideas?

Artificial Intelligence
November 11th, 2008, 12:59 AM
Try exexcute this command in the terminal, it may tell you what went wrong;

sh /home/tadcan/.Games/eschalon_book_1_demo/Launch_ES1.sh

You can't see the .Games folder in your home directory. The dot infront of files and folders name makes them hidden (do not change files/folders hidden ad libitum as it counts as name change).
In the file-browser you can set it to show hidden to go in there to make changes.

tadcan
November 11th, 2008, 02:20 PM
I got this response

/home/tadcan/.Games/eschalon_book_1_demo/Launch_ES1.sh: 4: ./eschalon_book_1: not found

Looks like I made a mess of something earlier.

The install involved some guess work. i.e changing _demo

And doing things in the terminal I have never done before. This bit esp confused me.


Add the following;

#!/bin/bash

cd ~/.Games/eschalon_book_1
./eschalon_book_1

Save [ctrl] + [o] and exit [ctrl] + [x].

Artificial Intelligence
November 12th, 2008, 12:10 AM
This is the path to its folder;

cd ~/.Games/eschalon_book_1

cd = change directory
~/.Games/eschalon_book_1 = the path. Note the ~ infront. It means it will look in the users directory (the user you're logged into). So it means /home/<user>/.Games/eschalon_book_1
Also note there's a diffrences in upper and lower cases letters.

So you have to change this line as well to fit the demo.
cd ~/.Games/eschalon_book_1_demo

./eschalon_book_1 = Will execute the binary file.

tadcan
November 12th, 2008, 07:24 AM
I ran this and it seemed to work
cd ~/.Games/eschalon_book_1_demo

I presumed this ./eschalon_book_1_demo was for the menus as a link for the button in games.

I tried to launch and got an error message. "Failed to execute child process. file or directory does not exist "

In the terminal tadcan@Quad:~$ ./eschalon_book_1
bash: ./eschalon_book_1: No such file or directory
tadcan@Quad:~$ ./eschalon_book_1_demo
bash: ./eschalon_book_1_demo: No such file or directory
tadcan@Quad:~$

Vadi
November 12th, 2008, 08:37 AM
Try dragging the "eschalon_book_1" file from the file manager into the terminal and pressing enter. It'll find it then.

(and this is why stuff should be in canonical's partner repository! ;))

Artificial Intelligence
November 12th, 2008, 08:47 AM
I ran this and it seemed to work
cd ~/.Games/eschalon_book_1_demo

I presumed this ./eschalon_book_1_demo was for the menus as a link for the button in games.

I tried to launch and got an error message. "Failed to execute child process. file or directory does not exist "

In the terminal tadcan@Quad:~$ ./eschalon_book_1
bash: ./eschalon_book_1: No such file or directory
tadcan@Quad:~$ ./eschalon_book_1_demo
bash: ./eschalon_book_1_demo: No such file or directory
tadcan@Quad:~$

You can't execute the file at tadcan@Quad:~$
You need to change directory in the terminal.

cd ~/.Games/eschalon_book_1_demo
./eschalon_book_1

tadcan
November 12th, 2008, 08:48 AM
Not sure what you mean by file manager.

I reveled the hidden files and found and .Games folder in the Home dir.

Ecshalon is there.

Artificial Intelligence
November 12th, 2008, 08:51 AM
Not sure what you mean by file manager.

I reveled the hidden files and found and .Games folder in the Home dir.

Ecshalon is there.

file manger = file browser

please post the outcome of this;

cd ~/.Games/eschalon_book_1_demo
ls -a

tadcan
November 12th, 2008, 08:59 AM
tadcan@Quad:~$ cd ~/.Games/eschalon_book_1_demo
tadcan@Quad:~/.Games/eschalon_book_1_demo$ ls -a

Vadi
November 12th, 2008, 12:01 PM
Go to places - search for files, and search for "eschalon_book_1". Where does it find it?

tadcan
November 12th, 2008, 12:25 PM
/home/tadcan/Desktop/eschalon_book_1_demo
/home/tadcan/Desktop/eschalon_book_1_demo.tar.gz
/home/tadcan/Desktop/eschalon_book_1_demo/eschalon_book_1_demo

Vadi
November 12th, 2008, 12:38 PM
"/home/tadcan/Desktop/eschalon_book_1_demo" means that the file should be right on your desktop. Try double-clicking on it, does it start? If no, right-click, select properties, permissions, allow executing as program, and double-click to start.

tadcan
November 12th, 2008, 12:50 PM
I clicked on the icon with two blue cogs and nothing happens.

As in the screen shot

Vadi
November 12th, 2008, 02:12 PM
OK. I'll make you a video in a moment.

Vadi
November 12th, 2008, 03:14 PM
See this: http://dl.getdropbox.com/u/84880/Delete%20Nov%2024th/eshalon-on-ubuntu-1.ogv (right-click and save as, then watch)

If it doesn't work, try this: http://dl.getdropbox.com/u/84880/Delete%20Nov%2024th/eshalon-on-ubuntu-2.ogv.ogv

Let me know if you get stuck.

tadcan
November 12th, 2008, 04:49 PM
Thanks for the video, very nice.

When I right click and select open nothing happens. The box appeared in 8.04. There maybe some strange bug/conflict in 8.10 and my machine.

Edit. I installed the .exe version through wine. The launch window appears in the bottom panel. But cant be shown on the screen. Something strange is going on.

Vadi
November 12th, 2008, 05:40 PM
Did you try the second video?

Copy/paste the text from the terminal (right click to copy) here.

tadcan
November 12th, 2008, 06:21 PM
Sorry I thought it was a second link to the same video

Why would I get this?

tadcan@Quad:~$ file:///home/tadcan/Desktop/eschalon_book_1/Eschalon_Book_I
bash: file:///home/tadcan/Desktop/eschalon_book_1/Eschalon_Book_I: No such file or directory

Vadi
November 12th, 2008, 08:56 PM
Select "paste filenames", not the "paste" option here

tadcan
November 13th, 2008, 11:50 AM
tadcan@Quad:~$ '/home/tadcan/Desktop/eschalon_book_1_demo/eschalon_book_1_demo' /home/tadcan/Desktop/eschalon_book_1_demo/eschalon_book_1_demo: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Vadi
November 13th, 2008, 11:59 AM
Now at least we know what the issue is.

Here, try clicking on this (apt:libstdc++5) to install what I think it needs and try the game again.

tadcan
November 13th, 2008, 04:35 PM
That worked. I can start the game now. When I tried to put the icon of the game in the game menu it would only see .svg. Is there a way to a) get it to see a .png or convert it to a .svg. I tried gimp, but not one of its file types.

Vadi
November 13th, 2008, 05:01 PM
I'm glad that worked. Sorry it took so long to figure out - usually running a program from the terminal is the first thing you'd do to find out what's wrong, because it says in there.

svg to png yes, png to svg quite hard without special tools, I wouldn't even try it. I've asked if they can provide one: http://basiliskgames.com/forums/viewtopic.php?f=11&t=1975

tadcan
November 13th, 2008, 05:06 PM
Thanks, I'll know for net time. Still really new to this linux thing!

Vadi
November 13th, 2008, 05:54 PM
Yep. Feel free to ask if you'll need help.