Posted October 06, 2014
high rated
Hi, all! I'm new to the Terraria scene, and now that I can get a Steam-less copy I jumped all over that sucker.
In an effort to help any troubled users about the process of how to get this up and running, here's a short guide on installing the game on Ubuntu 14.04+Arch and the server on Ubuntu 14.04 server. I look forward to actually native ports in the future, but hopefully this can help some people in the meantime.
=======Ubuntu 14.04=======
1) If you don't have one already, you need a 32-bit wine environment. By default, Ubuntu will set up a 64-bit one. To do so, remove any .wine folder that you have in your home directory (one can balance two wine folders but I'm keeping it simple). Then create the new 32-bit environment with this command in the terminal:
WINEARCH=win32 winecfg
This will create your new profile. Close out the winecfg dialogue when it pops up. Keep your terminal open for later steps.
2) Download and install Terraria. It will install the XNA framework for you. This will all run mostly smoothly, but there will be errors near the end. This is alright, just click through them and finish the install. Don't play just yet.
3) Download MS's .NET 4 from here: http://www.microsoft.com/download/en/details.aspx?id=17718 and put it in your home directory. Go back to your terminal and copy/paste this in:
wine reg delete "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4" /f
It should say 'success' or something similar. Then install .NET 4 with this command:
wine dotNetFx40_Full_x86_x64.exe
After that's complete, run this command:
wine reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Install /t REG_DWORD /d 0001 /f
Now you're ready to play. When you launch Terraria there will likely be an error message... just click 'OK' and get to playing.
=======Arch Linux (2014-10-05)=======
You can follow all the above Ubuntu steps, but be sure you have 32-bit libraries installed. If you're on an Nvidia graphics card, see lib32-nvidia-libgl (or lib32-nvidia304.xx-libgl or whichever version you need), if you're on Intel or open-source AMD, see lib32-mesa-libgl.
Also be sure you have 32 bit audio libs installed: install lib32-alsa-lib and lib32-alsa-plugins.
=======Ubuntu 14.04 Standalone Server=======
For a comprehensive setup involving init.d scripts and proper user management, see here:
http://www.nooblet.org/blog/2013/installing-tshock-terraria-server-on-debian-wheezy/
This is written for Debian Wheezy but works splendidly on Ubuntu 14.04.
I opted to run it as a normal user as I'm not concerned about security and system adaptability, this is merely a small game to run internally. So here's a quick and dirty way of getting it up and running:
# Install dependancies
sudo apt-get update && apt-get install unzip \
mono-runtime libmono-system-core4.0-cil libmono-sqlite4.0-cil libmysql-cil-dev \
libmono-system-runtime-serialization4.0-cil libmono-web4.0-cil libmono-system-xml-linq4.0-cil
# Create Terraria dir in ~
mkdir ~/Terraria
# Download TShock (open source alternative - GPLv3) or use Terraria's official server:
# Latest TShock is located: https://github.com/NyxStudios/TShock/releases/latest
# Terraria's server is included in the install directory in .wine, e.g.
# /home/$USER/.wine/drive_c/GOG Games/Terraria/TerrariaServer.exe
# Whichever you use, put the TerrariaServer.exe into ~/Terraria
Start the server with:
mono TerrariaServer.exe
and you should be golden. Be sure to edit the config files that spawn after first launch.
-----------------------------------------------
Sources:
https://appdb.winehq.org/objectManager.php?sClass=version&iId=29123&iTestingId=84711
http://www.nooblet.org/blog/2013/installing-tshock-terraria-server-on-debian-wheezy/
In an effort to help any troubled users about the process of how to get this up and running, here's a short guide on installing the game on Ubuntu 14.04+Arch and the server on Ubuntu 14.04 server. I look forward to actually native ports in the future, but hopefully this can help some people in the meantime.
=======Ubuntu 14.04=======
1) If you don't have one already, you need a 32-bit wine environment. By default, Ubuntu will set up a 64-bit one. To do so, remove any .wine folder that you have in your home directory (one can balance two wine folders but I'm keeping it simple). Then create the new 32-bit environment with this command in the terminal:
WINEARCH=win32 winecfg
This will create your new profile. Close out the winecfg dialogue when it pops up. Keep your terminal open for later steps.
2) Download and install Terraria. It will install the XNA framework for you. This will all run mostly smoothly, but there will be errors near the end. This is alright, just click through them and finish the install. Don't play just yet.
3) Download MS's .NET 4 from here: http://www.microsoft.com/download/en/details.aspx?id=17718 and put it in your home directory. Go back to your terminal and copy/paste this in:
wine reg delete "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4" /f
It should say 'success' or something similar. Then install .NET 4 with this command:
wine dotNetFx40_Full_x86_x64.exe
After that's complete, run this command:
wine reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Install /t REG_DWORD /d 0001 /f
Now you're ready to play. When you launch Terraria there will likely be an error message... just click 'OK' and get to playing.
=======Arch Linux (2014-10-05)=======
You can follow all the above Ubuntu steps, but be sure you have 32-bit libraries installed. If you're on an Nvidia graphics card, see lib32-nvidia-libgl (or lib32-nvidia304.xx-libgl or whichever version you need), if you're on Intel or open-source AMD, see lib32-mesa-libgl.
Also be sure you have 32 bit audio libs installed: install lib32-alsa-lib and lib32-alsa-plugins.
=======Ubuntu 14.04 Standalone Server=======
For a comprehensive setup involving init.d scripts and proper user management, see here:
http://www.nooblet.org/blog/2013/installing-tshock-terraria-server-on-debian-wheezy/
This is written for Debian Wheezy but works splendidly on Ubuntu 14.04.
I opted to run it as a normal user as I'm not concerned about security and system adaptability, this is merely a small game to run internally. So here's a quick and dirty way of getting it up and running:
# Install dependancies
sudo apt-get update && apt-get install unzip \
mono-runtime libmono-system-core4.0-cil libmono-sqlite4.0-cil libmysql-cil-dev \
libmono-system-runtime-serialization4.0-cil libmono-web4.0-cil libmono-system-xml-linq4.0-cil
# Create Terraria dir in ~
mkdir ~/Terraria
# Download TShock (open source alternative - GPLv3) or use Terraria's official server:
# Latest TShock is located: https://github.com/NyxStudios/TShock/releases/latest
# Terraria's server is included in the install directory in .wine, e.g.
# /home/$USER/.wine/drive_c/GOG Games/Terraria/TerrariaServer.exe
# Whichever you use, put the TerrariaServer.exe into ~/Terraria
Start the server with:
mono TerrariaServer.exe
and you should be golden. Be sure to edit the config files that spawn after first launch.
-----------------------------------------------
Sources:
https://appdb.winehq.org/objectManager.php?sClass=version&iId=29123&iTestingId=84711
http://www.nooblet.org/blog/2013/installing-tshock-terraria-server-on-debian-wheezy/
Post edited October 06, 2014 by Chauncellor