Skip to main content
Topic: How install pak128 in Linux (Read 23562 times) previous topic - next topic

How install pak128 in Linux

How I can install pak128 in Linux-version? (Where is simutrans in Linux-filetree?)

Re: How install pak128 in Linux

Reply #1
Go to Simutrans download page, select the linux version of the main program.  Extract it and put it in the home folder.

Than, Download the pak128 packets. Extract it and put it in the home folder.

the folder should like this:

simutrans
  /simutrans                 <--the main exe file you extrack
  /pak128                    <--the second thing you extrack
  /....                          <--And so on

than just double click, the program will launch.

The method is the same as we do under Windows(R).

Have fun

Re: How install pak128 in Linux

Reply #2
Go to Simutrans download page, select the linux version of the main program.  Extract it and put it in the home folder.

Than, Download the pak128 packets. Extract it and put it in the home folder.

the folder should like this:

simutrans
  /simutrans                 <--the main exe file you extrack
  /pak128                    <--the second thing you extrack
  /....                          <--And so on

than just double click, the program will launch.

The method is the same as we do under Windows(R).

Have fun

It's not so simply in Linux, becouse all program folders are secured for regular user account. (only root (admin) can write those)

Anyway, in this case copying is simplest do in console.

1. Download pak128 files and open a package.
2. Open console and go to right folder
3. Copy files: sudo cp -r simutrans /usr/share/games/

And that is. It works Debian-style distros (Ubuntu etc). Othes (Red Hat/ Fedora etc) will be different.
Note: In Ubuntu 9.04 repos is still older version (101) of Simutrans. (version will change in Ubuntu 9.10)

Re: How install pak128 in Linux

Reply #3
Or you can just put it in your home folder, which doesn't require root access...

/home/[user]/simutrans/...

Re: How install pak128 in Linux

Reply #4
Then Chmod 0700 simutrans :P
H./


Re: How install pak128 in Linux

Reply #6
@ linesa:

No - have the exe and other things from the exe download in the /home/[user]/simutrans/ folder, and then put the pak128 download stuff in /home/[user]/simutrans/pak128/.

I think the game may then create a /home/[user]/.simutrans/ folder but I'm not sure if this is still used or not.  It used to hold screenshots and saves.

Re: How install pak128 in Linux

Reply #7
Simutrans 101 creates ~/.simutrans (that's what comes with eeebuntu) and does put the savegames there.
Just extracting the pak directory to ~/.simutrans/ has no effect.

It is for many currently impossible to play pakgerman or pak128, because installing paks reuires root access.

This makes me wonder.. How difficult would it be to look also in the place simutrans creates in the user's home folder (usually ~/.simutrans) and not only in the game installation directory?
Not only sysadmins play games 8 hours per day. And even if they do, real sysadmins play nethack ;)

Re: How install pak128 in Linux

Reply #8
Current nightly will look for extensions (but not paksets) in the user folder. Reason for extensions only is the shaing of the translations, which need to match the main version Mismatches could cause crashes.

Re: How install pak128 in Linux

Reply #9
Do you mean that if for example Simutrans 0.98 is installed and a user installs a pak for 102 in his home directory, the game could crash for that user?
If the user does that, then isn't the risk the same as it is currently under windows, were user is always able to do something like this.

Might be that I just didn't understand your point, until the fifth time I read it, it sounded like Chinese to me. After repeatedly reading it, it now strongly resembles the English I have learned :)

Re: How install pak128 in Linux

Reply #10
Using a mismatched pak will cause an error at load time. Using mismatched translations may cause an error at run-time, for instance when an error message appears. Generally the main paks should match the simutrans version.

Therefor paks are only searched in the binary path (or wherever specified by the distribution) and only extension are user addable. The same porblem persists on windows. If a user has only restricted rights, he could also  not install somethig in the program directory. Nevertheless, few users work like this and thus crshes occur, as you can see in the help section from time to time.

Re: How install pak128 in Linux

Reply #11
... in other words, "we" ****ume you install paksets and program together, just as you always should. And that installing is done with sufficient privileges.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Re: How install pak128 in Linux

Reply #12
... in other words, "we" ****ume you install paksets and program together, just as you always should. And that installing is done with sufficient privileges.

Of course you understand that this also means that "we" ****ume that everybody wants to play pak64 and nothing else? :)
You aren't given much choise when installing a ubuntu package..

However, in IRC we found something of a workaround for this: It is very easy making a .deb package that has a certain version of Simutrans as its dependency. I have already packaged some of the paks.
Of course also this requires that the user has root access...

Anyway, wouldn't it kinda make sense that Simutrans would control the pak versions by itself?

 

Re: How install pak128 in Linux

Reply #13
Oh. Well. "we" also have no control over what the packagers do :( I ****ume the problem is that something p****es the freedom-ness filter to repos and something does not and messing with the installer et al is not so easy for users.

I think that the only way to make this as easy as a few clicks will be actually getting 128 to the repos, too...

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!