OpenTTD on UBUNTU?
Moderator: OpenTTD Developers
OpenTTD on UBUNTU?
Well I am a n00b for UBUNTu so please explain me:
I got the OTTD package for UBUNTU from the OTTD page and I runned it, till here it is ok, the install finished but where have it installed OTTD?
Thanks,
>-Andy-<
I got the OTTD package for UBUNTU from the OTTD page and I runned it, till here it is ok, the install finished but where have it installed OTTD?
Thanks,
>-Andy-<
Join us today at Sunshine Team ORG.
i simply downloaded the nightly build for linux i686 and placed it in my /home folder
after this i added music and data files and (after some changes like timidity and mouse wheel) added an alias to the desktop and started it with no problems
but i must say that i always use nightlies also on windows, and i don't know how linux install openttd, i simply done it like windows
after this i added music and data files and (after some changes like timidity and mouse wheel) added an alias to the desktop and started it with no problems
but i must say that i always use nightlies also on windows, and i don't know how linux install openttd, i simply done it like windows

Re: OpenTTD on UBUNTU?
if i remember this right, you just have to open a console and write openttd there =Dandy_blah wrote:Well I am a n00b for UBUNTu so please explain me:
I got the OTTD package for UBUNTU from the OTTD page and I runned it, till here it is ok, the install finished but where have it installed OTTD?
Thanks,
>-Andy-<
sry for my bad english !

edit:
hmm but the question you asked was where it is installed ... to find out you could try to search for a folder or file named openttd in ubuntus search function.
you can also check something like /usr/share/games/openttd
or /usr/local/share/games/openttd
or /usr/share/local/games/openttd
or /usr/games/openttd
LAST entry by rasmus
im not so good with the filesystem ^^
GL!
Yes, thanks, I didn`t know I just have to type 'openttd' in the terminal to start OTTD XD, and thanks for providing me the list of possibile locations 

Join us today at Sunshine Team ORG.
Sorry for double posting but how could I move the game from that path to where I want to and how could I add to it the files it needs, the same as I did in the Windows version?
Join us today at Sunshine Team ORG.
If you install OpenTTD with the .deb-file you don't want to move it. The .deb file installs OpenTTD where all other programs are installed.=> in /usr/... What you want is to create an item in your program-menu for OpenTTD if you don't like to open the run-dialog or a terminal and type "openttd". If you can't or don't know how to add a menu item make a desktop shortcut.
I guess you run Gnome as that is ubuntu's default desktop. In that case I can not help you with how to make a menu-item or create a short-cut since that is far away from what I am using (wmii).
If you want to install it somewhere else, in you home directory for instance, you should grab the i686-version just as Wolf01 suggests.
I guess you run Gnome as that is ubuntu's default desktop. In that case I can not help you with how to make a menu-item or create a short-cut since that is far away from what I am using (wmii).
If you want to install it somewhere else, in you home directory for instance, you should grab the i686-version just as Wolf01 suggests.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
if you want to use your current installation instead of downloading the linux i686 (where can i find that btw?) you can (please dont kill me now, you kings of *nix)andy_blah wrote:Sorry for double posting but how could I move the game from that path to where I want to and how could I add to it the files it needs, the same as I did in the Windows version?
1. copy the six needed files to your home directory (~/ttfiles/), or make them available somewere else in the filesystem
2. assuming usr/games/openttd is the path to the game: in a terminal, run some commands like this:
Code: Select all
cd /usr/games/
sudo chmod -R 777 openttd/
cd openttd/
mkdir data
sudo cp -R ~/ttfiles /data
Maybe its safer to create a group on your ubuntu system like "games" .. or edit the already existing one. Then only set owner and that group to allow this. Maybe ottd dont even need all those rights to run? can someone tell?
=D
lol the forum think im spamming .. am i? =D
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!andy_blah wrote:Code: Select all
sudo chmod -R 777 openttd/
chmod 777 should never be used lightly, and certainly not in this situation, it leaves the whole system open to security problems.
Why is this sudo needed? You just left the folder world writeable...andy_blah wrote:Code: Select all
sudo cp -R ~/ttfiles /data
We Am De Best
Host of ThroughTheTube site
Host of ThroughTheTube site
/tmp should be 777. I think that's about it. Maybe /usr/tmp too, if it exists.
Because Andy's copying to /data, not to data. Please don't ask me why this is a good idea.Sacro wrote:Why is this sudo needed? You just left the folder world writeable...andy_blah wrote:Code: Select all
sudo cp -R ~/ttfiles /data
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
1. Download the Linux source. Put it in something like /home/username/bin/openttd
2. Open a terminal.
3. cd /home/username/bin/openttd
4. ./configure
5. make
6. Copy the necessary TTD files into your OpenTTD data/ folder.
7. Make a launcher to the openttd binary on your desktop or panel if you want.
8. Click the launcher, or if you didn't make one, open the binary.
And that's it. Not hard, and you certainly don't need to mess around with /usr/wherever.
2. Open a terminal.
3. cd /home/username/bin/openttd
4. ./configure
5. make
6. Copy the necessary TTD files into your OpenTTD data/ folder.
7. Make a launcher to the openttd binary on your desktop or panel if you want.
8. Click the launcher, or if you didn't make one, open the binary.
And that's it. Not hard, and you certainly don't need to mess around with /usr/wherever.
- jonty-comp
- Tycoon
- Posts: 2542
- Joined: 22 Oct 2005 16:05
- Location: Chesterfield, England
- Contact:
i can see that my lack in skills in linux and english has started some interesting discussions in this thread =D
Now i wounder how much better it is to make a special group, like "games" (maybe it already exists?) and add read/write/exec permissions for that group in the /usr/game/openttd (or whatever path that ottd has created) and add your own user to that group? I think the most past of this can be done by some "clicky-clicky" with the mouse in the ubuntu environment instead of "tappering-tappering" on the keyboard for all the needs. This could be good for the (like me) noobs on ubuntu/linux systems.
yes no?
bratwurst
Now i wounder how much better it is to make a special group, like "games" (maybe it already exists?) and add read/write/exec permissions for that group in the /usr/game/openttd (or whatever path that ottd has created) and add your own user to that group? I think the most past of this can be done by some "clicky-clicky" with the mouse in the ubuntu environment instead of "tappering-tappering" on the keyboard for all the needs. This could be good for the (like me) noobs on ubuntu/linux systems.
yes no?
bratwurst
Don't use white please, it is hard to read on the sub-silver skin.iNVERTED wrote:1. Download the Linux source. Put it in something like /home/username/bin/openttd
2. Open a terminal.
3. cd /home/username/bin/openttd
4. ./configure
5. make
6. Copy the necessary TTD files into your OpenTTD data/ folder.
7. Make a launcher to the openttd binary on your desktop or panel if you want.
8. Click the launcher, or if you didn't make one, open the binary.
And that's it. Not hard, and you certainly don't need to mess around with /usr/wherever.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)

OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone

OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone







Step by step on installing the ubuntu/debian version:
1. Download and run the .deb file.
2. Once it's installed, open a terminal and run'
sudo nautilus ./
and enter your password
3. This will open up a GUI window that has root rights therefore, be careful what you do as any changes could totally mess up your system.
4. Browse to /usr/share/games/openttd/data
5. Copy the required game files from your transport tycoon folder or wherever you have the files.
6. Paste them into the root window /usr/share/games/openttd/data
7. Close the root window (don't leave it open longer than you have to).
8. You can run the game by typing openttd into a terminal, or, press Alt + F2 to bring up a run dialog box. Type in openttd and click run.
Or
Run alacarte (either from terminal, or in the Applications menu) and in the left-hand pane, browse to the games section. Click it and then go to File -> New Entry.
Give it the name "OpenTTD" or whatever you like, comment if you want, the command is "openttd" (without the quotes). Give it an icon if you feel like it and click OK.
Close alacarte and check the Applications -> Games menu. If it's not there, open up a terminal and run "killall gnome-panel" (no quotes) and it should be there after it's done reloading the panel.
You do not need to change the mode of any files/directories (chmod).
1. Download and run the .deb file.
2. Once it's installed, open a terminal and run'
sudo nautilus ./
and enter your password
3. This will open up a GUI window that has root rights therefore, be careful what you do as any changes could totally mess up your system.
4. Browse to /usr/share/games/openttd/data
5. Copy the required game files from your transport tycoon folder or wherever you have the files.
6. Paste them into the root window /usr/share/games/openttd/data
7. Close the root window (don't leave it open longer than you have to).
8. You can run the game by typing openttd into a terminal, or, press Alt + F2 to bring up a run dialog box. Type in openttd and click run.
Or
Run alacarte (either from terminal, or in the Applications menu) and in the left-hand pane, browse to the games section. Click it and then go to File -> New Entry.
Give it the name "OpenTTD" or whatever you like, comment if you want, the command is "openttd" (without the quotes). Give it an icon if you feel like it and click OK.
Close alacarte and check the Applications -> Games menu. If it's not there, open up a terminal and run "killall gnome-panel" (no quotes) and it should be there after it's done reloading the panel.
You do not need to change the mode of any files/directories (chmod).
- Phil
Who is online
Users browsing this forum: No registered users and 9 guests