WineHQ

Terraria

Various bugfixes, small features, sticky bombs. Version numbers are now clearly displayed.

Application Details:

Version: 1.0.*
License: Retail
URL: http://www.terraria.org/
Votes: Marked as obsolete
Latest Rating: Gold
Latest Wine Version Tested: 1.3.24

Maintainers: About Maintainership

Link Patch Notes Link Terraria on Steam Link Terraria Homepage Free Download Dedicated Server

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

Everything except multiplayer

What does not

Multiplayer

Hosting a dedicated server

Workarounds

What was not tested

Nothing!

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Tested this game again with a Nvidia card and Fedora 15 and it works fine. Multiplayer on the other hand is broken and hangs on "requesting tile data".

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentFedora 15 x86_64Aug 15 20111.3.24Yes Yes GoldPat 
ShowArch Linux x86_64Jul 11 20111.3.24N/A Yes Goldan anonymous user 
ShowDebian GNU/Linux 7.x "Wheezy" x86_64Jul 09 20111.3.23N/A Yes SilverPat 
ShowArch Linux x86_64Jun 12 20111.3.21Yes Yes Goldan anonymous user 
ShowUbuntu 11.04 "Natty" amd64 (+ variants like Kubuntu)Jun 02 20111.3.21Yes Yes Goldan anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

HowTo / Notes

Installation Guide (not using winetricks)

Step 1: Install Steam from the Website.

 msiexec /i SteamInstall.msi

For issues related to Steam visit it's wine page: http://appdb.winehq.org/objectManager.php?sClass=application&iId=1163

Step 2: Download and install Terraria. This will install XNA Redist as well.

Step 3: Exit Steam.

Step 4: Install .NET 4 from the Full Installer from: http://www.microsoft.com/download/en/details.aspx?id=17718

wine reg delete "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4" /f
wine dotNetFx40_Full_x86_x64.exe
wine reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Install /t REG_DWORD /d 0001 /f

Step 5: Start steam and run Terraria

Installation Guide (using winetricks)
Note 1: As WineHQ AppDB standards for test results do not allow platinum rating for applications that require using winetricks to install native dlls; if you submit a test result, please rate it gold and write in the description that winetricks was used.

Note 2: It is always recommended to run the latest and greatest version of wine, that said these steps should work with the most recent stable release of wine, 1.6.


Step 1: Install Microsoft .NET Framework 4.0 and Microsoft XNA Framework Redistributable 4.0

winetricks dotnet40
winetricks xna40


Step 2: Install Steam

winetricks --no-isolate steam


Step 3: Run Terraria

As part of the above installation of Steam it should install the latest updates for Steam and then ask you to log in. If it does not you will need to launch Steam and log in.  Once you log in, install Terraria and run it as you normally would. It should not prompt you to install XNA as it was installed in step 1 above.
Known issues and fixes

Connecting to multiplayer servers:

Open a terminal and run the following command(replace $SERVER with the address of the multiplayer server): 
ssh -L 7777:$SERVER:7777 localhost -N
It'll open a local port forward. Let it keep running. Then, on Terraria, connect to 127.0.0.1:7777. It will fool Terraria into connecting locally and work around the "Requesting tile data..." problem.

Stuttering sound issue:

If you ran into the stuttering sound issue, all you need to do is install some missing audio codecs using winetricks. Run the following command:

winetricks dirac directmusic dmsynth dsound ffdshow icodecs l3codecx

Unhandled exception; Could not find a Direct3D device that supports the XNA Framework Reach profile:

If you run into this issue attempt running in a virtual desktop.  Run winecfg and in the graphics tab check Emulate a virtual desktop and then enter the size you desire.

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

New Wine update prevents audio fix
by Hoot215 on Saturday December 3rd 2011, 17:15
Previously, I was able to fix my crackling audio by going into the winecfg audio tab, and setting hardware acceleration to emulation. However, as of Wine 1.3.28, most of the settings in the audio tab were removed (Including the hardware acceleration setting). As a result, I now have extremely annoying crackling audio that prevents me from enjoying the game. Does anyone know how to fix this?
RE: New Wine update prevents audio fix
by Joshua on Monday December 5th 2011, 19:02
you can use winetricks to turn sound to emulation, just do
winetricks dsoundhw=Emulation
RE: New Wine update prevents audio fix
by Hoot215 on Tuesday December 6th 2011, 18:24
Unfortunately that didn't seem to help... the sound is still crackling like mad. Thanks anyway though. I'm really not sure what could be causing it... unless it's the fact that I'm on a 64-bit system? I've heard that might affect it.
RE: New Wine update prevents audio fix
by Hoot215 on Wednesday December 7th 2011, 16:33
Actually never mind... just like my previous case a couple of posts down, my sound randomly started working again (That other one was from a while ago, I don't even remember posting it). Guess I should have tested a bit more before I posted. Sorry for the useless posts :)

NOTE: For anyone having the issue that I had, try restarting your computer. It seemed to work for me.
Registry hack to stop install popup?
by Jen on Thursday November 17th 2011, 14:24
I got Terraria working fine, but there was a registry hack to keep Steam from trying to install .NET again. Anyone remember what it was? I had to redo that wineprefix, so I can't remember what needed to be edited to stop the popup.
RE: Registry hack to stop install popup?
by Joshua on Thursday November 17th 2011, 20:58
wine reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Install /t REG_DWORD /d 0001 /f
RE: Registry hack to stop install popup?
by Jen on Thursday November 17th 2011, 21:02
Awesome, thanks!

by Evilandi666 on Saturday August 6th 2011, 18:29
Did Anyone tried it on a Intel GMA 4500MHD?

It should work (on Windows) but in wine it always fails with "no suitable card found". XNA Wiki says, 4500MHD should meet the requirements...

anyone tried it or has an idea?
RE:
by Raffaele on Wednesday October 19th 2011, 8:03
I think wine works well with Nvidia/Ati cards... Often works also with other cards, but not always :)
RE:
by lis82 on Friday June 8th 2012, 3:59
Just install driconf and enable S3TC texture compression.
No sound
by Hoot215 on Thursday August 4th 2011, 16:58
Help! I have no sound in Terraria (Other than that it works fine). I've set my sound to Emulation instead of Full, made sure that the sample rate is at 44100, and set the bits per sample to 16, and I still have no sound. Looking at all the posts, I tried to install lib32-pulse and lib32-alsa-plugins, but I can't seem to find them (They're not in the repositories)
Running Kubuntu 11.04 x86_64.
RE: No sound
by Hoot215 on Sunday August 7th 2011, 15:25
Actually, scratch that. My sound randomely started working again. (Hardware emulation at full)
No network
by Filipe Teixeira on Wednesday July 20th 2011, 3:28
Attention: No Network mode working! I saw the people giving gold rate, I didn't have notice one of the most important part from game not working.

Tried with all version since .19 to .24
RE: No network
by Gareth Schakel on Saturday May 11th 2013, 3:00
There is actually a way to get it working, it's just obnoxious, you need to set up either an SSH tunnel connection or a proxy so that localhost:7777 goes to the server you want to play on!
Was having trouble getting Terraria working on Arch
by John Koelndorfer on Friday June 17th 2011, 20:16
My fix for Arch on x86_64 was to install the lib32-libpulse and lib32-alsa-plugins packages -- once I did this, Terraria started!

I was pulling my hair out for days trying to figure out why I could not get this working. I am ecstatic!
No sound?
by Lars-Philip on Monday June 6th 2011, 12:54
Some test results say sound works, some say it doesn't. Well, it doesn't work here. I've pretty much followed Geiger's guide, the .NET Framework won't install because of the HRESULT error mentioned. Then I copied the whole shebang into the Terraria folder and it starts. Although it gives out the following error:

"Error parsing:
C:/windows/Microsoft .NET Framework/Framework/v4.0.30319/config/machine.config
Parser returned error 0x80004005"

But then Terraria starts just fine, I can play, but no sound.
RE: No sound?
by Tom Geiger on Tuesday June 7th 2011, 13:55
What version of wine are you running?

From an Audio- side, I'm not running pulse. You might want to try that.

(E.g. turning off pulseaudio)

Sound works for me perfectly.
RE: No sound?
by Robert "Vulpes" Gladson on Wednesday June 8th 2011, 0:14
I too am experiencing no sound. It was difficult enough to get the game running. It runs like crap in a virtual machine. Why the hell didn't they make a portable version in the first place? But I digress, yeah no sound using XP mode on a fresh registry Wine 1.3.21 with mono 2.10 installed.
RE: No sound?
by Joshua on Friday June 10th 2011, 14:48
I just tested this and there seems to be a bug that this game requires your soundcard to be set to 44100. You should be able to change this setting either in the .asoundrc located in your home folder or in the alsa.conf located in /usr/share/alsa, what I did was edit the alsa.conf and set the default rate for dmix devices to 44100 because that is typically how I access my sound
RE: No sound?
by Joshua on Friday June 10th 2011, 19:35
Actually, just setting audio in winecfg to Emulation and 44100khz worked
RE: No sound?
by Lars-Philip on Saturday June 11th 2011, 9:46
Yep, that works! Cheers!
Hosting Multiplayer
by Joshua on Sunday June 5th 2011, 17:00
Has anyone had any success in hosting a Terraria Multiplayer game?
For Russian users:
by Stanislav Oskolkov on Thursday June 2nd 2011, 13:07
For Russian users:

Лучше заранее убедиться, что ваша видео-карта поддерживается и может работать с XNA (Это касается и Windows-пользователей)
Список здесь:
www.xnawiki.com/index.php?title=Graphics_card_compatibility
(Стоит заметить, что, если карты в списке поддерживаемых нет то это ещё не значит, что она не может работать с XNA. Но если ваша карта в списке неподдерживаемых — увы, с ней вам поиграть в «Террарию» не светит)

Пункт 0, только для пользователей MacOS (На Linux не требуется):
0a: macports
0b: набираем в консоли
sudo port install winetricks
sudo port install wine-devel

Пункт 1:
Устанавливаем Wine и Winetricks (если не установился автоматом и если они у вас до сих пор не установлены) — крайне желательно, последних версий.

Пункт 2:
Устанавливаем Steam (можно через web-сайт). Как вариант — можно запустить уже установленный (даже в Windows, если у вас есть доступ к папке с ним). При установке Steam'а, он может начать обновляться, но зависнуть или вылететь в процессе обновления. Просто запустите Steam, он дообновится сам. После обновления — залогиньтесь.

Пункт 3:
Устанавливаем Terraria через Steam и пробуем запустить. Steam так же сам должен начать установку XNA (если он у вас к этому моменту ещё не установлен) во время установки или запуска игры. Если игра не запустится, перейдите к следующему пункту.

Пункт 4:
Выйдите из Steam'а

Пункт 5:
Запустите игру через консоль (терминал):

cd

Например: cd .wine/drive_c/Program Files/Steam/steamapps/common/terraria
(Чтобы перейти в папку с игрой)

wine Terraria.exe
После этого должно появиться сообщение, что вам нужен установленный Mono для Windows

Пункт 6:
Запускаем Winetricks и устанавливаем Mono 2.10 и 2.8 + Так же может понадобиться установка xact и xinput
( Если вы пользуетесь графической оболочкой последних версий Winetricks'а, то нужные пункты будут в меню «Select the default wineprefix» -> «Install a Windows DLL or component» )

Пункт 7а:
Скачиваем .NET 4 отсюда:
www.microsoft.com/downloads/en/details.aspx?familyid=0a391abd-25c1-4fc0-919f-b21f31ab88b7

И устанавливаем. Вручную, запуская файл с помощью Wine'а или
Через консоль:
wine dotNetFx40_Full_x86_x64.exe
(Вместо dotNetFx40_Full_x86_x64.exe может быть полный путь до файла установки. Не забудьте «взять» его в кавычки, если в пути у вас присутствуют пробелы, или ставить знак "\" перед каждым пробелом)

Установка, скорее всего, прервётся и нужно будет её повторять до тех пор, пока установщик не предложит восстановить установленную программу (пункт «Repair» в установщике). Соглашаемся на восстановление, ждём около полминуты и, если процесс «зависнет», «убиваем» его. Нужные нам компоненты уже должны были быть установлены.

Пункт 7б:
Если появляется сообщение что NET уже установлен, то придётся запись о его установке стереть вручную в реестре.
Запускаем regedit
Через консоль:
wine regedit
( Так же можно найти regedit.exe и запустить его вручную. Он, обычно, на виртуальном «Диске C:». Полный путь, обычно, примерно такой: '/home//.wine/dosdevices/c:/windows/regedit.exe' )
и удаляем следующий нод (пункт):
HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\v4
Затем возвращаемся к Пункту 7а

Пункт 8:
Возможно (А, возможно, и нет), потребуется скопировать нужные файлы библиотеки в папку с игрой.
Нужные файлы называются
Accessibility.dll, System.configuration.dll, System.dll, System.Drawing.dll, System.Windows.Forms.dll, System.Windows.Forms.DataVisualization.dll and System.XML.dll
(если лишних 200 мегабайт не жалко, можете скопировать всё)
И находятся они в папке
/windows/Microsoft.NET/Framework/v4.0.30319/
на «виртуальном» «Диске C»
(Или же можно попробовать «стащить» их из реально установленной Windows)

Через консоль скопировать можно так:
cd
например: cd .wine/drive_c/Program Files/Steam/steamapps/common/terraria
cp ~/.wine/drive_c/windows/Microsoft.NET/Framework/v4.0.30319/* .

Стоит заметить, что в будущем, при установке обновлённых версий 4-го .NET, название папки, откуда брать файлы, может несколько поменяться.

Пункт 9:
Запускаем Steam, логинимся, запускаем игру.
При этом может появиться окошко с ошибкой, но, после его закрытия, игра через несколько секунд все равно запустится.

Пункт 10: Если ничего не получается, попробуйте сделать всё заново.

С «пираткой» почти всё то же самое, только XNA придётся устанавливать вручную и пути несколько поменяются.

PS Это адаптация английской инструкции и некоторых советов
PPS Игра хорошая, мне не жалко было «отдать» за неё 10 «баксов»
UPDATE: Step by Step Guide
by Tom Geiger on Wednesday May 25th 2011, 5:06
Step by Step Guide from a wiped .wine directory:

tom-geiger.de/?p=163
RE: UPDATE: Step by Step Guide
by John Moffatt on Wednesday May 25th 2011, 18:16
Tom, I simply cannot get .net 4.0 to install via the standalone version. Any tips?
RE: UPDATE: Step by Step Guide
by Edvin on Wednesday May 25th 2011, 20:43
Got it to work on Ubuntu 10.10 with wine 1.3.19

.NET Installer failed with 0x80070643, but all needed files were installed.
RE: UPDATE: Step by Step Guide
by Xavier Penragon on Thursday May 26th 2011, 3:32
Works great on wine 1.3.20 after fixing the register (as described in your step-by-step guide) so it'll install .NET 4

I don't have any sound however.
Geiger's Method
by paulguy on Tuesday May 24th 2011, 12:38
Followed as exactly as possible once, tried some other things, just couldn't make it work reliably. I think we'll just need to wait for .NET 4 to reliably install and run in Wine before we have any hope of this working for most people.
RE: Geiger's Method
by Tom Geiger on Tuesday May 24th 2011, 12:45
Can you tell me the exact points you're getting errors?

I'm constantly updating things, and I hope I can get a virtual machine set up to recreate the process for installing step by step.

It's running on 2 64Bit and my Laptop, which is x86, going to try it from a clean VM once I find the time for it.
RE: Geiger's Method
by paulguy on Tuesday May 24th 2011, 13:37
Pretty much everything works as you said it would, up until running the game creates an unhandled page fault error and crashes. I tried it a couple more times, and those times I can't remember what I did differently, but XNA won't install, which hasn't happened doing anything else before. This is way too random.
RE: Geiger's Method
by Tom Geiger on Tuesday May 24th 2011, 13:41
After getting .NET to run, the installer from Steam installed XNA fine for me. After that I got the game to run after copying mscorlib.dll into the same directory as Terraria.exe.

Updated some stuff in the original Blog post about this and I'll try to install it from a clean setup to get a Howto together.

My best guess right now is that it's the setups doing weird stuff. :-/

by Evilandi666 on Monday May 23rd 2011, 11:27
Why do you open a new Version?

See Update 17-5-2011, Steam should also have this Version.

See also here for a HowTo:
www.terrariaonline.com/threads/terraria-macos-and-linux.1397/page-2#post-85844
(Works for some people, but for most it won't work.)

It's disappointing that people can't read before they post...

by Evilandi666 on Friday May 20th 2011, 17:54
Follow this Guide www.terrariaonline.com/threads/terraria-macos-and-linux.1397/page-2#post-85844

Seems to be working for some people, for me it does not.
RE:
by Cless on Saturday May 21st 2011, 4:03
Tried it on debian squeeze but doesn't work.
Didn't work for me
by paulguy on Saturday May 21st 2011, 4:09
Doesn't work for me. The person's report is rather crap and hard to work from. He didn't specify his Wine version and he didn't get it working from a clean prefix, so it's pretty useless. Someone needs to work on getting this working from an empty prefix and develop a proper howto from an empty prefix to a properly running game I'd do it but I honestly don't know much about Windows and Wine.
RE: Didn't work for me
by Someone on Monday May 23rd 2011, 18:08
Here's what I did to get the game working. Starting from a clean prefix in wine v1.3.20

1. In regedit delete HKLM\Software\Microsoft\NET Framework Setup\NDP\v4
dotNetFX40_Full_x86_x64.exe wouldn't even attempt to install until I deleted that. It was telling me I already had it installed.

2. Install dotNetFX40_Full_x86_x64.exe
www.microsoft.com/downloads/en/details.aspx?familyid=0a391abd-25c1-4fc0-919f-b21f31ab88b7
The install will fail, but all the files you need will be put in.

3. Install xnafx40_redist.msi
www.microsoft.com/downloads/en/details.aspx?familyid=a88c6dec-aeae-42cd-a108-d35c013c3b97

4. Install Terraria

5. Copy all the files from .wine/drive_c/windows/Microsoft.NET/Framework/v4.0.30319 to your Terraria directory

6. Play the game
RE: Didn't work for me
by Evilandi666 on Tuesday May 24th 2011, 10:05
You forgot msxml3, dotNetFX40_Full_x86_x64.exe does not even start without it.

But for me it does not work, Terraria always says
[...]
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Xna.Framework.Game"
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Xna.Framework"
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Xna.Framework.Graphics"
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Xna.Framework.Xact"
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Xna.Framework.Input.Touch"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"

Unhandled Exception: fixme:advapi:RegisterTraceGuidsW
[...]
It worked for me!
by Joshua on Wednesday May 25th 2011, 10:06
That did it for me, I did however swap a few steps around:

1. wine msiexec /i xnafx40_redist.msi
2. wine reg delete "HKLM\Software\Microsoft\NET Framework Setup\NDP\v4" /f
3. wine dotNetFx40_Client_setup.exe
4. winetricks corefonts
5. wine msiexec /i SteamInstall.msi
6. Installed Terraria via Steam, steam will try to install dot net and it fails..
7. Copy over Accessibility.dll, System.configuration.dll, System.dll, System.Drawing.dll, System.Windows.Forms.dll, and System.XML.dll from C:\windows\Microsoft.NET\Framework\v4.0.30319 into the c:\Program Files\Steam\steamapps\common\terraria folder
8. Play!
RE:
by Ferg on Saturday May 21st 2011, 7:03
RE:
by paulguy on Saturday May 21st 2011, 7:05
Try getting it working in a clean prefix, and noting the steps you took, and what version of Wine. If you don't want to risk breaking your current install, just create a different WINEPREFIX outside of ~/.wine.
Mono
by paulguy on Friday May 20th 2011, 4:51
Tried Mono 2.10, and it gets a bit further, in that it actually throws an exception, which I guess is about not being able to load XNA 4. Installing XNA 4 on Mono 2.10 seems to work, but it doesn't load at runtime due to native assemblies.
Back