The International Simutrans Forum

 

Author Topic: Game save file can save in anywhere  (Read 28064 times)

0 Members and 1 Guest are viewing this topic.

Offline spm

  • *
  • Posts: 39
Game save file can save in anywhere
« on: February 05, 2009, 03:14:20 AM »
I put the simutrans to my usb flash drive,so i can play it in anywhere,home,office,girlfriend's home....etc,but after play,i need to copy my game save file to my usb drive,and every time before playing,i need to replace my save file in "my documents",i wish we can choose the game save file save places.....

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10565
  • Languages: De,EN,JP
Re: Game save file can save in anywhere
« Reply #1 on: February 05, 2009, 09:03:24 AM »
Edit the file config/simuconf.tab in your simutrans folder and uncomment the entry:
Code: [Select]
singleuser_install = 1

With this, savegames, maps, screenshots and config files are directly saved in the simutrans folder. (The entry is disabled, because under Vista the virtualisation removes any savegames for users which are not administrator from "C:\Program Files\".) On a USB-Stick it should work fine.


Offline spm

  • *
  • Posts: 39
Re: Game save file can save in anywhere
« Reply #2 on: February 05, 2009, 11:22:25 AM »
Edit the file config/simuconf.tab in your simutrans folder and uncomment the entry:
Code: [Select]
singleuser_install = 1

With this, savegames, maps, screenshots and config files are directly saved in the simutrans folder. (The entry is disabled, because under Vista the virtualisation removes any savegames for users which are not administrator from "C:\Program Files\".) On a USB-Stick it should work fine.


yes,now alreay is "singleuser_install = 1"
so what i need to do?thank you!

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10565
  • Languages: De,EN,JP
Re: Game save file can save in anywhere
« Reply #3 on: February 05, 2009, 02:06:59 PM »
Now simutrans will save everything on your stick, if you changed the correct file (in the simutrans.exe you go to folder config and change this simuconf.tab!)

Offline Fuzzy Peach

  • *
  • Posts: 89
  • Creator of the Simuworld Challenges.
Re: Game save file can save in anywhere
« Reply #4 on: September 02, 2009, 01:30:35 PM »
Where does it normally save games in Vista and how do i find them?

Offline Spike

  • *
  • Posts: 1361
  • First Simutrans Developer and Graphics Artist
Re: Game save file can save in anywhere
« Reply #5 on: September 02, 2009, 03:55:06 PM »
I think they are in "My files", subfolder "simutrans", inside that, "save".

Offline Fuzzy Peach

  • *
  • Posts: 89
  • Creator of the Simuworld Challenges.
Re: Game save file can save in anywhere
« Reply #6 on: September 03, 2009, 12:42:35 PM »
Thanks.

venkat.partha

  • Guest
Re: Game save file can save in anywhere
« Reply #7 on: November 14, 2009, 06:11:17 PM »
Could any one tell me where in Ubuntu does Simutrans gets installed? If I have to add additional packs, where do I go and install those packs? I have the .simutrans folder under my Home directory. I am unable to locate the executables and the paks.

Regards,
Venkat.

Offline jonasbb

  • Web Team
  • *
  • Posts: 167
Re: Game save file can save in anywhere
« Reply #8 on: November 14, 2009, 06:28:25 PM »
Do you have simutrans installed by Synaptic?
Than you have to put the other paksets to "/usr/share/games/simutrans".

venkat.partha

  • Guest
Re: Game save file can save in anywhere
« Reply #9 on: November 14, 2009, 06:34:35 PM »
Thank you. Could you also tell me this: What are the folders created in Ubuntu when Simutrans is installed. There was one I found - /home/xxxx/.simutrans
The second one you told me : /usr/share/games/simutrans. Are there any other folders. Also, could you tell me how to I include my own city list and where?

Regards,
Venkat

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4863
  • Languages: EN, DE, AT
Re: Game save file can save in anywhere
« Reply #10 on: November 14, 2009, 07:26:49 PM »
here it should work:

/usr/share/games/simutrans/pakXYZ/text/citylist_??.txt

For '??' use he language selected in simutrans, i.e. ??=en for English.

Offline jonasbb

  • Web Team
  • *
  • Posts: 167
Re: Game save file can save in anywhere
« Reply #11 on: November 14, 2009, 11:46:46 PM »
Are there any other folders.
Yes, there are. It exist folder for the documentation. Additional there is a game file and a man page about simutrans.

Offline rdepass

  • *
  • Posts: 12
Can't save v102.2.2 on Ubuntu 8.04
« Reply #12 on: April 15, 2010, 02:05:59 PM »
I have a slightly different problem. I downloaded v102.2.2 onto linux, ubuntu 8.04 and it was fine before with the version released in march last year. Now, however, when I try to save in linux I get a message saying can't find target file and I can't figure it out.

I have all the updates for my Operating System.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10565
  • Languages: De,EN,JP
Re: Game save file can save in anywhere
« Reply #13 on: April 15, 2010, 07:56:28 PM »
Make sure you have started the right version, i.e. you must start via ./simutrans in the executable folder. Otherwise the simutrans that comes with ubuntu is invoked.

Offline rdepass

  • *
  • Posts: 12
Re: Game save file can save in anywhere
« Reply #14 on: April 16, 2010, 04:22:24 PM »
Thanks, I'll give it a try when i next run my linux baby, maybe I should put the side back on! And the front. At least everything inside the case is ok!

Zaharra Fin

  • Guest
Re: Game save file can save in anywhere
« Reply #15 on: May 10, 2012, 11:41:17 AM »
Edit the file config/simuconf.tab in your simutrans folder and uncomment the entry:
Code: [Select]
singleuser_install = 1

With this, savegames, maps, screenshots and config files are directly saved in the simutrans folder. (The entry is disabled, because under Vista the virtualisation removes any savegames for users which are not administrator from "C:\Program Files\".) On a USB-Stick it should work fine.
This doesn't work with me and I have no idea what I am doing wrong  :-[ (I've tried with v.111.2.1 and experimental but it keeps creating simutrans folder in My documents)
I have XP and I am playing from USB-stick. I've just downloaded Experimental and I'll play it in the future, is there any other way to save directly to the game folder?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10565
  • Languages: De,EN,JP
Re: Game save file can save in anywhere
« Reply #16 on: May 10, 2012, 01:13:52 PM »
The simutrans online installer (http://sourceforge.net/projects/simutrans/files/simutrans/simutrans-online-install.exe/download) will create a correct simuconf.tab. Just install simutrans to your USB stick and answer the question for the portable installation with yes. Please use the version from the above links, older version had an error.

Offline shubharora734

  • *
  • Posts: 1
Re: Game save file can save in anywhere
« Reply #17 on: December 12, 2020, 08:27:53 AM »
Thank you. Could you also tell me this: What are the folders created in Ubuntu when Simutrans is installed. There was one I found - /home/xxxx/.simutrans
teatv
Regards, hellodear.in
« Last Edit: February 11, 2021, 01:41:59 PM by shubharora734 »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10565
  • Languages: De,EN,JP
Re: Game save file can save in anywhere
« Reply #18 on: December 12, 2020, 12:16:40 PM »
I think Ubuntu patched simutrans to save them there. It is no my doing ...

Offline Freahk

  • Devotee
  • *
  • Posts: 1469
  • Languages: DE, EN
Re: Game save file can save in anywhere
« Reply #19 on: December 12, 2020, 02:44:48 PM »
Usually simutrans is shipped as a single folder.
The simutrans binary will create and use ~/simutrans and subfolders unless singleuser_install = 1 is set, in which case all files will be written to the working directory.

Anything else depends on the packaging of the distro. You should find more informations about this in the forums as roboron documented this, but I don't remember where exactly.

Offline makie

  • Devotee
  • *
  • Posts: 305
    • Homepage PAK128-German
  • Languages: DE
Re: Game save file can save in anywhere
« Reply #20 on: December 12, 2020, 04:56:08 PM »
Could you also tell me this: What are the folders created in Ubuntu when Simutrans is installed. There was one I found - /home/xxxx/.simutrans
OpenSuSE do it the same way

In OpenSuSE the files are here:
the programm in "/usr/libexec/simutrans/"
the paks and script, text, themes in  "/usr/share/simutrans/"   (Ubuntu may be "/usr/share/games/simutrans" or "/usr/games/simutrans")
a start script in "/usr/bin/"
Quote
#!/bin/sh
cd /usr/share/simutrans
exec /usr/libexec/simutrans/sim -use_workdir $@
save and screenshots in the hidden folder "/home/xxxx/.simutrans"
« Last Edit: December 12, 2020, 05:12:44 PM by makie »

Offline en63

  • *
  • Posts: 5
  • Languages: PL
Re: Game save file can save in anywhere
« Reply #21 on: December 12, 2020, 08:13:10 PM »
Mint :
savegame - - /home/xxxx/.simutrans

 program Simutrans:
/usr/local/bin/simutrans/

/usr/lib/simutrans/makeobj

Offline Andarix

  • *
  • Posts: 256
  • Languages: de
Re: Game save file can save in anywhere
« Reply #22 on: December 13, 2020, 06:31:52 AM »
I think Ubuntu patched simutrans to save them there. It is no my doing ...

Debian

Ubuntu include Debian package by deb package