FreeSO On Linux Natively

Discussion in 'Support' started by dotequals, Feb 12, 2018.

  1. dotequals

    dotequals Member

    UPDATE: If you have been using FreeSO on Linux prior to Update 70 (June 9th, 2018), you must redownload macextras.zip

    In this thread Rhys mentions that the steps to getting FreeSO working on Mac may also work to get it running on Linux and this is in fact true and doesn't involve the unnecessary complexities of wine!
    [​IMG]
    On Linux the game looks for The Sims Online files to be in a folder named game and that folder must be inside your FreeSO folder. For example, /home/dotequals/FreeSO/game/TSOClient/TSOClient.exe should be the original TSO game executable.
    Installation Instructions:
    • Download and install mono for Linux from your package manager http://www.mono-project.com/download/#download-lin
    • Download and install SDL2 from your package manager (On Arch the package was called sdl2, but on Ubuntu it is called libsdl2-2.0-0)
    • Download and install rsync from your package manager if "which rsync" (without quotes) returns nothing as it's used during the client update process.
    • Download and extract the Windows build of the game as normal. The latest build on http://servo.freeso.org (log in as guest) should work as a starting point.
    • Download The Sims Online files and place the files into a folder named game that lives in your FreeSO folder.
      • If you can't copy the game from network or a windows drive, you can try downloading with GetTSO.sh by Fatbag from NioTSO http://wiki.niotso.org/GetTSO
        • Make sure your system has all the dependencies listed before running the script
    • Download the Mac Extras zip here: http://freeso.org/stuff/macextras.zip
    • Extract the Mac Extras into your FreeSO folder (ex. freeso.command and all other files inside should be copied directly into your FreeSO folder).
    • Make freeso.command and freeso3d.command executable with chmod +x freeso.command (also do this for freeso3d.command if you want to play in 3D).
    • Run ./freeso.command or ./freeso3d.command from your FreeSO folder to start the game! (these run mono FreeSO.exe through your terminal) you will need to update at least once.
    IMPORTANT: UPDATING
    • Updating FreeSO is more difficult. After the game's update finishes, the updater will not run. You must run freeso.command or freeso3d.command again, where you will see it performing the update in the command line.
    • Additionally, the game will not properly close until you close the terminal window hosting it. This is pretty unclean, but it works for now.
    • Check back at this thread or the Mac thread after updates just to check if this process has changed, or if you need new MacExtras.
    Installed packages can vary widely from system to system so make sure to read the terminal output as you go through this process to check for errors. GetTSO.sh for example, has an unlisted dependency on bc, but will complete just fine without it.
    Simitone:
    [​IMG]
    • You will need to install mono and (likely) SDL2 from the above steps if you have not already done so.
    • Download and extract the latest ReleaseOGL from https://github.com/riperiperi/Simitone/releases
      • Because we aren't on Windows, ReleaseDX will not work. Don't download it.
    • You will need to obtain The Sims Complete Collection files from a Windows PC and place them within a set of sub-folders inside your Simitone folder. For example, /home/dotequals/Simitone/C:/Program Files (x86)/Maxis/The Sims/The Sims.exe should be the original The Sims executable.
      • If you're using the command line to make these folders, quotations or escapes are your friend.
    • From your Simitone folder, run "mono Simitone.Windows.exe" or "mono Simitone.Windows.exe -3d" without quotes and enjoy!
    Last edited: Jun 9, 2018
  2. nalina

    nalina New Member

    Amazing! Just replaced my lutris copy. With a few touch-ups this could definitely mean FreeSO native packages for many distros.

    Edit: I have noticed that I can't change which output device mono plays out of through pavucontrol.
    Last edited: Feb 13, 2018
  3. AquilaSim

    AquilaSim Administrator Staff Member Moderator

    Thread stickied
  4. mrpenguinb

    mrpenguinb Active Member

    :eek::eek::eek::eek::eek::eek::eek::eek::eek:
    -------------------------------------------------
    Thank you so much for this! :D
    The instructions are really helpful instead of going off of the Mac instructions.
    -------------------------------------------------
  5. dotequals

    dotequals Member

    Added instructions on how to get Simitone working to my original post. You will need Windows to obtain the TS1 game files.
  6. quimby

    quimby New Member

    Thanks for this - really helpful. Does TTS work? I couldn't get it to on my machine. Otherwise everything is great.
  7. mrpenguinb

    mrpenguinb Active Member

    You may have to force TTS on to do all of the messages in chat, otherwise you (or other people) have to have it enabled in the launcher/config.ini file
    Last edited: Jun 3, 2018
  8. dotequals

    dotequals Member

    I believe the current implementation of TTS currently checks if the platform is Windows and then uses Windows specific system calls, so it’s unavailable for Linux and Mac.
  9. RHY3756547

    RHY3756547 FreeSO Developer Staff Member Moderator

    System.Speech is not supported on mono, so TTS is not available on mac or linux.
  10. damondamore

    damondamore New Member

    I'm getting an error saying that there's additional unparseable characters at the end of the string. I'm not sure where I went wrong, can anyone help?
  11. damondamore

    damondamore New Member

    [​IMG]

    Sorry for the double post but here is a screenshot of the error.
  12. Mixa97sr

    Mixa97sr Member

    I usually get that error when I don't run it with sudo (super user - read: admin - privileges). Also, if it's updating from the old version, you will need to also run updater with mono after the client gets needed files.
  13. damondamore

    damondamore New Member

    Trying to run the updater reports that it must run the game to download the files... however, the game throws the error before it can download the files making the update procedure impossible.

    Also I have tried using sudo and I'm getting the same thing.
  14. Mixa97sr

    Mixa97sr Member

    You are running the freeso.command file, right? To run it, you don't run it with mono, but with "./" followed by the name of the file (in this case "freeso.command" or "freeso3d.command") with no space.
  15. damondamore

    damondamore New Member

    If I try to run freeso.command directly from the terminal I am told "command not found" (even if I have changed my directory and the file is listed by ls) however, if I set the permissions for the file to be executable then run it in a terminal that way the game comes up and I get the error. However your feedback did encourage me to try something.

    From my home directory I used
    Code:
    sudo ./Games/FreeSO/freeso.command
    and I did get the game to come up... and immediately give me the same error as above.
  16. dotequals

    dotequals Member

    I've added some clarification to the steps and included how to make the scripts executable since that was lacking. Thanks for that!

    However, I haven't come across the FormatException error before. Did you use GetTSO.sh to download and extract The Sims Online files or were you able to copy them from a Windows computer?
  17. damondamore

    damondamore New Member

    I copied them from my windows install.

    And yeah I forgot to add the ./ when running it from the folder because in my brain all terminals are DOS 6 and it is still 1999.
  18. damondamore

    damondamore New Member

    I just wanted to say that I solved my issue. I downloaded the game files with Fatbag's GetTSO.sh. So, the only thing I can assume is that my windows files had something funky happen to them (indexing? maybe the OS compressed it on the disk?)

    Anyway the game is running and playable with low graphics but I knew I had a low-end machine to begin with so that's no surprise.
  19. dotequals

    dotequals Member

    I'm glad that worked for you! Usually copying the files from a Windows machine locally works better than using the script, but it sounds like they got corrupted during the transfer or something.
  20. dotequals

    dotequals Member

    UPDATE: If you have been using FreeSO on Linux prior to Update 70 (June 9th, 2018), you must redownload macextras.zip

Share This Page