[Released WIP] Linaria -- Terraria 1.1.2 for Linux

Discussion in 'Released Mods' started by jesyspa, Apr 20, 2012.

  1. jesyspa Bunny

    DeathCradle and I have developed another port of Terraria to Linux/Mono, this one with 1.1.2 support. This is basically the same thing as what can be found here, but updated to be for Terraria 1.1.2, and with support for hosting games.

    Installation instructions:
    1. Get the game via Steam (in wine)..
    2. Make a new directory. I'll assume it's ~/Terraria.
    3. Copy the directory Steam/steamapps/common/terraria/Content and copy it to ~/Terraria. You can usually find Steam in "~/.wine/drive_c/Program Files", but you may have installed it elsewhere. (
    4. Download linaria.zip and extract it into ~/Terraria.
    5. Make sure you have a recent-ish version of Mono installed. The game is built on 2.10 -- if you get it to run on anything older, tell us and we'll add it here.
    6. Change directory into ~/Terraria and run mono Terraria.exe.
    If you want music to work, follow the instructions in the old thread; there have been no complaints about sound. There have been issues with the music, and it's being looked into.
    Questions, bug reports, suggestions, etc. are very welcome.

    Attached Files:

  2. ocmsRzr Green Slime

    Hi,
    I've posted the same issues in the other thread, but following these instructions:
    Code:
    $ history
     1019  mkdir Terraria
     1020  cd Terraria
     1021  cp -r ~/.wine/drive_c/Program\ Files/Steam/steamapps/common/terraria/Content ./
     1022  cp ../linaria.zip ./
     1023  unzip linaria.zip
     1024  mono --version
     1025  mono Terraria.exe
    
    
    Gives:
    Code:
    dave@calypso:~/Terraria$ mono Terraria.exe
    Missing method Show in assembly /home/dave/Terraria/Terraria.exe, type System.Windows.Forms.MessageBox
    
    Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
    File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
      at Terraria.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
    [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
    File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
      at Terraria.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
    
    Again, if I make the required symlinks, it works without sound.
  3. jesyspa Bunny

    Could you please list the contents of /usr/lib/mono/4.0 ? This is very strange, as you have the same Mono version as this was built on. I'll add this to a list of workarounds, it'll be included in the next release.
  4. ocmsRzr Green Slime

    Code:
     ll /usr/lib/mono/4.0 
    total 2896
    drwxr-xr-x 2 root root    4096 Apr 18 11:06 .
    drwxr-xr-x 6 root root    4096 Apr 18 10:22 ..
    -rwxr-xr-x 1 root root   27648 Feb  5 14:15 gacutil.exe
    lrwxrwxrwx 1 root root      46 Feb  5 14:27 I18N.dll -> ../gac/I18N/4.0.0.0__0738eb9f132ed756/I18N.dll
    lrwxrwxrwx 1 root root      56 Feb  5 14:27 I18N.West.dll -> ../gac/I18N.West/4.0.0.0__0738eb9f132ed756/I18N.West.dll
    lrwxrwxrwx 1 root root      85 Feb  5 14:27 ICSharpCode.SharpZipLib.dll -> ../gac/ICSharpCode.SharpZipLib/4.84.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll
    lrwxrwxrwx 1 root root      58 Feb  5 14:27 Mono.Cairo.dll -> ../gac/Mono.Cairo/4.0.0.0__0738eb9f132ed756/Mono.Cairo.dll
    lrwxrwxrwx 1 root root      70 Feb  5 14:27 Mono.Data.Sqlite.dll -> ../gac/Mono.Data.Sqlite/4.0.0.0__0738eb9f132ed756/Mono.Data.Sqlite.dll
    lrwxrwxrwx 1 root root      64 Feb  5 14:27 Mono.Data.Tds.dll -> ../gac/Mono.Data.Tds/4.0.0.0__0738eb9f132ed756/Mono.Data.Tds.dll
    lrwxrwxrwx 1 root root      58 Feb  5 14:27 Mono.Posix.dll -> ../gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll
    lrwxrwxrwx 1 root root      64 Feb  5 14:27 Mono.Security.dll -> ../gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll
    lrwxrwxrwx 1 root root      54 Feb  5 14:27 Mono.Web.dll -> ../gac/Mono.Web/4.0.0.0__0738eb9f132ed756/Mono.Web.dll
    -rw-r--r-- 1 root root 2865664 Feb  5 14:14 mscorlib.dll
    lrwxrwxrwx 1 root root      78 Feb  5 14:27 System.Configuration.dll -> ../gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    lrwxrwxrwx 1 root root      94 Feb  5 14:27 System.Configuration.Install.dll -> ../gac/System.Configuration.Install/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll
    lrwxrwxrwx 1 root root      60 Feb  5 14:27 System.Core.dll -> ../gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll
    lrwxrwxrwx 1 root root      60 Feb  5 14:27 System.Data.dll -> ../gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll
    lrwxrwxrwx 1 root root      50 Feb  5 14:27 System.dll -> ../gac/System/4.0.0.0__b77a5c561934e089/System.dll
    lrwxrwxrwx 1 root root      66 Feb  5 14:27 System.Drawing.dll -> ../gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    lrwxrwxrwx 1 root root      88 Feb  5 14:27 System.EnterpriseServices.dll -> ../gac/System.EnterpriseServices/4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    lrwxrwxrwx 1 root root      68 Feb  5 14:27 System.Security.dll -> ../gac/System.Security/4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
    lrwxrwxrwx 1 root root      76 Feb  5 14:27 System.Transactions.dll -> ../gac/System.Transactions/4.0.0.0__b77a5c561934e089/System.Transactions.dll
    lrwxrwxrwx 1 root root      98 Feb  5 14:27 System.Web.ApplicationServices.dll -> ../gac/System.Web.ApplicationServices/4.0.0.0__31bf3856ad364e35/System.Web.ApplicationServices.dll
    lrwxrwxrwx 1 root root      58 Feb  5 14:27 System.Web.dll -> ../gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    lrwxrwxrwx 1 root root      76 Feb  5 14:27 System.Web.Services.dll -> ../gac/System.Web.Services/4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
    lrwxrwxrwx 1 root root      58 Feb  5 14:27 System.Xml.dll -> ../gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll
    lrwxrwxrwx 1 root root      68 Feb  5 14:27 System.Xml.Linq.dll -> ../gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
    
    
  5. jesyspa Bunny

    What Linux distribution is this? You've got far fewer than me.
  6. ocmsRzr Green Slime

    Debian Wheezy
    uname -a
    Linux calypso 3.1.0-1-amd64 #1 SMP Tue Jan 10 05:01:58 UTC 2012 x86_64 GNU/Linux
  7. jesyspa Bunny

  8. ocmsRzr Green Slime

    I installed mono-complete, and it works without symlinks! Thanks for the help. Although, it is arguably a little lighter to go my route (less dependencies).

    Does sound work is is that still WIP? I have no sound still.
  9. jesyspa Bunny

    Great to hear!

    Sounds work for me if I follow the instructions by DeathMax, see the original thread. Music does not work for me in that case, but it seems to work for some.
  10. ocmsRzr Green Slime

    Are there any unofficial dependencies I'm missing? I installed ffmpeg in order to run the scripts mentioned in the other thread, and everything seems to have worked script-wise, sound still doesn't work but now it gives:
    Code:
    mono Terraria.exe                    
    ALSA lib conf.c:1220:(parse_def) show is not a compound
    ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:24:26:Unexpected char
    ALSA lib conf.c:3406:(config_file_open) /usr/share/alsa/pulse-alsa.conf may be old or corrupted: consider to remove or fix it
    Warning: SoundBank format not supported
    
    at least this is a little more than before...
  11. jesyspa Bunny

  12. ocmsRzr Green Slime

    That got rid of the error, however there is still no sound. It says "SoundBank format not supported"
  13. jesyspa Bunny

    That should be benign for the sound, as far as I've seen so far.

    Are you sure it isn't simply muted?
  14. SorryGoFish Green Slime

    Sound is working for me. Music sounds weird, so I mute it manually.
  15. SorryGoFish Green Slime

    I managed to get my music working. I made 2 changes to the music scripts:
    1. In convertmusic.sh I changed "pcm_u8" to "pcm_s16le" (note that's le as in "little endian")
    2. In makeXwb.py I changed "rate = 44100" to "rate = 88200"
    Of course, after making these changes, you must re-run the scripts. (optionally deleting the old files just to be sure) You'll also have to go into Volume settings and re-enable music.
    rachel1 likes this.
  16. jesyspa Bunny

    Just tried, and it improves things significantly, but now it sounds like there's two tracks playing at the same time. I'll see what can be done about that.
  17. SorryGoFish Green Slime

    Are you sure? A few of the songs are actually like that.
  18. Alpha Maven Green Slime

    I cannot seem to get this to execute.

    Code:
    Dell:~/Terreria$ mono Terraria.exe
    
    Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Terraria.Main ---> System.TypeLoadException: A type load exception has occurred.
      at Terraria.Main..cctor () [0x00000] in <filename unknown>:0
      --- End of inner exception stack trace ---
      at Terraria.Program.StartClient (System.String[] args) [0x00000] in <filename unknown>:0
      at Terraria.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
    [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for Terraria.Main ---> System.TypeLoadException: A type load exception has occurred.
      at Terraria.Main..cctor () [0x00000] in <filename unknown>:0
      --- End of inner exception stack trace ---
      at Terraria.Program.StartClient (System.String[] args) [0x00000] in <filename unknown>:0
      at Terraria.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
    
    Code:
    Dell:~/Terreria$ ls -l /usr/lib/mono/4.0
    total 10968
    lrwxrwxrwx 1 root root      64 Apr  4 05:47 Accessibility.dll -> ../gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    -rwxr-xr-x 1 root root  30720 Apr  4 05:37 al.exe
    -rwxr-xr-x 1 root root    7168 Apr  4 05:37 browsercaps-updater.exe
    -rwxr-xr-x 1 root root  29184 Apr  4 05:37 caspol.exe
    -rwxr-xr-x 1 root root  35840 Apr  4 05:37 ccrewrite.exe
    -rwxr-xr-x 1 root root  12800 Apr  4 05:37 cert2spc.exe
    -rwxr-xr-x 1 root root  26624 Apr  4 05:37 certmgr.exe
    -rwxr-xr-x 1 root root  13824 Apr  4 05:37 chktrust.exe
    lrwxrwxrwx 1 root root      76 Apr  4 05:47 Commons.Xml.Relaxng.dll -> ../gac/Commons.Xml.Relaxng/4.0.0.0__0738eb9f132ed756/Commons.Xml.Relaxng.dll
    -rwxr-xr-x 1 root root  37376 Apr  4 05:37 csharp.exe
    -rwxr-xr-x 1 root root  19968 Apr  4 05:37 culevel.exe
    lrwxrwxrwx 1 root root      70 Apr  4 05:47 CustomMarshalers.dll -> ../gac/CustomMarshalers/4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
    -rwxr-xr-x 1 root root  14848 Apr  4 05:37 disco.exe
    -rwxr-xr-x 1 root root 1121792 Apr  4 05:37 dmcs.exe
    -rw-r--r-- 1 root root    122 Apr  4 05:37 dmcs.exe.config
    -rwxr-xr-x 1 root root    9728 Apr  4 05:37 dtd2rng.exe
    -rwxr-xr-x 1 root root    4608 Apr  4 05:37 dtd2xsd.exe
    -rwxr-xr-x 1 root root  27648 Apr  4 05:37 gacutil.exe
    -rwxr-xr-x 1 root root    4096 Apr  4 05:37 genxs.exe
    -rwxr-xr-x 1 root root  15360 Apr  4 05:37 httpcfg.exe
    lrwxrwxrwx 1 root root      54 Apr  4 05:47 I18N.CJK.dll -> ../gac/I18N.CJK/4.0.0.0__0738eb9f132ed756/I18N.CJK.dll
    lrwxrwxrwx 1 root root      46 Apr  4 05:47 I18N.dll -> ../gac/I18N/4.0.0.0__0738eb9f132ed756/I18N.dll
    lrwxrwxrwx 1 root root      62 Apr  4 05:47 I18N.MidEast.dll -> ../gac/I18N.MidEast/4.0.0.0__0738eb9f132ed756/I18N.MidEast.dll
    lrwxrwxrwx 1 root root      58 Apr  4 05:47 I18N.Other.dll -> ../gac/I18N.Other/4.0.0.0__0738eb9f132ed756/I18N.Other.dll
    lrwxrwxrwx 1 root root      56 Apr  4 05:47 I18N.Rare.dll -> ../gac/I18N.Rare/4.0.0.0__0738eb9f132ed756/I18N.Rare.dll
    lrwxrwxrwx 1 root root      56 Apr  4 05:47 I18N.West.dll -> ../gac/I18N.West/4.0.0.0__0738eb9f132ed756/I18N.West.dll
    lrwxrwxrwx 1 root root      62 Apr  4 05:47 IBM.Data.DB2.dll -> ../gac/IBM.Data.DB2/1.0.0.0__7c307b91aa13d208/IBM.Data.DB2.dll
    lrwxrwxrwx 1 root root      85 Apr  4 05:47 ICSharpCode.SharpZipLib.dll -> ../gac/ICSharpCode.SharpZipLib/4.84.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll
    -rwxr-xr-x 1 root root  15872 Apr  4 05:37 ictool.exe
    -rwxr-xr-x 1 root root  288256 Apr  4 05:37 ilasm.exe
    -rwxr-xr-x 1 root root    7680 Apr  4 05:37 installutil.exe
    -rwxr-xr-x 1 root root    7168 Apr  4 05:37 installvst.exe
    -rwxr-xr-x 1 root root  29184 Apr  4 05:37 lc.exe
    -rwxr-xr-x 1 root root  17920 Apr  4 05:37 macpack.exe
    -rwxr-xr-x 1 root root  22528 Apr  4 05:37 makecert.exe
    -rwxr-xr-x 1 root root  37888 Apr  4 05:37 mconfig.exe
    lrwxrwxrwx 1 root root      82 Apr  4 05:47 Microsoft.Build.Engine.dll -> ../gac/Microsoft.Build.Engine/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Engine.dll
    lrwxrwxrwx 1 root root      88 Apr  4 05:47 Microsoft.Build.Framework.dll -> ../gac/Microsoft.Build.Framework/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll
    lrwxrwxrwx 1 root root      90 Apr  4 05:47 Microsoft.Build.Tasks.v4.0.dll -> ../gac/Microsoft.Build.Tasks.v4.0/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Tasks.v4.0.dll
    lrwxrwxrwx 1 root root      98 Apr  4 05:47 Microsoft.Build.Utilities.v4.0.dll -> ../gac/Microsoft.Build.Utilities.v4.0/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Utilities.v4.0.dll
    -rw-r--r-- 1 root root    2305 Apr  4 05:37 Microsoft.Build.xsd
    -rw-r--r-- 1 root root  36130 Apr  4 05:37 Microsoft.Common.targets
    -rw-r--r-- 1 root root    5520 Apr  4 05:37 Microsoft.Common.tasks
    lrwxrwxrwx 1 root root      70 Apr  4 05:47 Microsoft.CSharp.dll -> ../gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
    -rw-r--r-- 1 root root    4750 Apr  4 05:37 Microsoft.CSharp.targets
    -rw-r--r-- 1 root root    5202 Apr  4 05:37 Microsoft.VisualBasic.targets
    lrwxrwxrwx 1 root root      72 Apr  4 05:47 Microsoft.VisualC.dll -> ../gac/Microsoft.VisualC/0.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
    lrwxrwxrwx 1 root root      94 Apr  4 05:47 Microsoft.Web.Infrastructure.dll -> ../gac/Microsoft.Web.Infrastructure/1.0.0.0__31bf3856ad364e35/Microsoft.Web.Infrastructure.dll
    -rwxr-xr-x 1 root root  23040 Apr  4 05:37 mkbundle.exe
    -rwxr-xr-x 1 root root    3072 Apr  4 05:37 mod.exe
    -rwxr-xr-x 1 root root  33280 Apr  4 05:47 mono-api-diff.exe
    -rwxr-xr-x 1 root root  32768 Apr  4 05:37 mono-api-info.exe
    lrwxrwxrwx 1 root root      52 Apr  4 05:47 Mono.C5.dll -> ../gac/Mono.C5/1.1.0.0__ba07f434b1c35cbd/Mono.C5.dll
    lrwxrwxrwx 1 root root      58 Apr  4 05:47 Mono.Cairo.dll -> ../gac/Mono.Cairo/4.0.0.0__0738eb9f132ed756/Mono.Cairo.dll
    -rwxr-xr-x 1 root root  378880 Apr  4 05:37 mono-cil-strip.exe
    lrwxrwxrwx 1 root root      74 Apr  4 05:47 Mono.CodeContracts.dll -> ../gac/Mono.CodeContracts/4.0.0.0__0738eb9f132ed756/Mono.CodeContracts.dll
    lrwxrwxrwx 1 root root    106 Apr  4 05:47 Mono.CompilerServices.SymbolWriter.dll -> ../gac/Mono.CompilerServices.SymbolWriter/4.0.0.0__0738eb9f132ed756/Mono.CompilerServices.SymbolWriter.dll
    lrwxrwxrwx 1 root root      60 Apr  4 05:47 Mono.CSharp.dll -> ../gac/Mono.CSharp/4.0.0.0__0738eb9f132ed756/Mono.CSharp.dll
    lrwxrwxrwx 1 root root      70 Apr  4 05:47 Mono.Data.Sqlite.dll -> ../gac/Mono.Data.Sqlite/4.0.0.0__0738eb9f132ed756/Mono.Data.Sqlite.dll
    lrwxrwxrwx 1 root root      64 Apr  4 05:47 Mono.Data.Tds.dll -> ../gac/Mono.Data.Tds/4.0.0.0__0738eb9f132ed756/Mono.Data.Tds.dll
    lrwxrwxrwx 1 root root      74 Apr  4 05:47 Mono.Debugger.Soft.dll -> ../gac/Mono.Debugger.Soft/4.0.0.0__0738eb9f132ed756/Mono.Debugger.Soft.dll
    lrwxrwxrwx 1 root root      56 Apr  4 05:47 Mono.Http.dll -> ../gac/Mono.Http/4.0.0.0__0738eb9f132ed756/Mono.Http.dll
    -rwxr-xr-x 1 root root  76288 Apr  4 05:37 monolinker.exe
    lrwxrwxrwx 1 root root      68 Apr  4 05:47 Mono.Management.dll -> ../gac/Mono.Management/4.0.0.0__0738eb9f132ed756/Mono.Management.dll
    lrwxrwxrwx 1 root root      66 Apr  4 05:47 Mono.Messaging.dll -> ../gac/Mono.Messaging/4.0.0.0__0738eb9f132ed756/Mono.Messaging.dll
    lrwxrwxrwx 1 root root      84 Apr  4 05:47 Mono.Messaging.RabbitMQ.dll -> ../gac/Mono.Messaging.RabbitMQ/4.0.0.0__0738eb9f132ed756/Mono.Messaging.RabbitMQ.dll
    -rwxr-xr-x 1 root root  28160 Apr  4 05:37 monop.exe
    lrwxrwxrwx 1 root root      58 Apr  4 05:47 Mono.Posix.dll -> ../gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll
    lrwxrwxrwx 1 root root      64 Apr  4 05:47 Mono.Security.dll -> ../gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll
    -rwxr-xr-x 1 root root  16896 Apr  4 05:37 mono-service.exe
    -rwxr-xr-x 1 root root  35840 Apr  4 05:37 mono-shlib-cop.exe
    -rw-r--r-- 1 root root    155 Apr  4 05:37 mono-shlib-cop.exe.config
    lrwxrwxrwx 1 root root      56 Apr  4 05:47 Mono.Simd.dll -> ../gac/Mono.Simd/4.0.0.0__0738eb9f132ed756/Mono.Simd.dll
    lrwxrwxrwx 1 root root      64 Apr  4 05:47 Mono.Tasklets.dll -> ../gac/Mono.Tasklets/4.0.0.0__0738eb9f132ed756/Mono.Tasklets.dll
    lrwxrwxrwx 1 root root      68 Apr  4 05:47 Mono.WebBrowser.dll -> ../gac/Mono.WebBrowser/4.0.0.0__0738eb9f132ed756/Mono.WebBrowser.dll
    lrwxrwxrwx 1 root root      54 Apr  4 05:47 Mono.Web.dll -> ../gac/Mono.Web/4.0.0.0__0738eb9f132ed756/Mono.Web.dll
    lrwxrwxrwx 1 root root      68 Feb 29 09:51 Mono.WebServer2.dll -> ../gac/Mono.WebServer2/0.4.0.0__0738eb9f132ed756/Mono.WebServer2.dll
    -rwxr-xr-x 1 root root    9216 Apr  4 05:37 mono-xmltool.exe
    -rwxr-xr-x 1 root root  19456 Apr  4 05:37 mozroots.exe
    drwxr-xr-x 2 root root    4096 Apr 23 21:04 MSBuild
    -rw-r--r-- 1 root root 2865664 Apr  4 05:36 mscorlib.dll
    lrwxrwxrwx 1 root root      80 Apr  4 05:47 Novell.Directory.Ldap.dll -> ../gac/Novell.Directory.Ldap/4.0.0.0__0738eb9f132ed756/Novell.Directory.Ldap.dll
    lrwxrwxrwx 1 root root      50 Apr  4 05:47 Npgsql.dll -> ../gac/Npgsql/4.0.0.0__5d8b90d52f46fda7/Npgsql.dll
    lrwxrwxrwx 1 root root      62 Apr  4 05:47 OpenSystem.C.dll -> ../gac/OpenSystem.C/4.0.0.0__b77a5c561934e089/OpenSystem.C.dll
    -rwxr-xr-x 1 root root  60928 Apr  4 05:37 pdb2mdb.exe
    lrwxrwxrwx 1 root root      48 Apr  4 05:47 PEAPI.dll -> ../gac/PEAPI/4.0.0.0__0738eb9f132ed756/PEAPI.dll
    -rwxr-xr-x 1 root root  19968 Apr  4 05:37 permview.exe
    -rwxr-xr-x 1 root root  55808 Apr  4 05:36 RabbitMQ.Client.Apigen.exe
    lrwxrwxrwx 1 root root      68 Apr  4 05:47 RabbitMQ.Client.dll -> ../gac/RabbitMQ.Client/4.0.0.0__b03f5f7f11d50a3a/RabbitMQ.Client.dll
    -rwxr-xr-x 1 root root  23040 Apr  4 05:37 resgen.exe
    -rwxr-xr-x 1 root root  14336 Apr  4 05:37 secutil.exe
    -rwxr-xr-x 1 root root  15360 Apr  4 05:37 setreg.exe
    -rwxr-xr-x 1 root root    8192 Apr  4 05:37 sgen.exe
    -rwxr-xr-x 1 root root  16384 Apr  4 05:37 signcode.exe
    -rwxr-xr-x 1 root root  27136 Apr  4 05:37 sn.exe
    -rwxr-xr-x 1 root root  12288 Apr  4 05:37 soapsuds.exe
    -rwxr-xr-x 1 root root 4930560 Apr  4 05:37 sqlmetal.exe
    -rw-r--r-- 1 root root    3425 Apr  4 05:37 sqlmetal.exe.config
    -rwxr-xr-x 1 root root  38400 Apr  4 05:37 sqlsharp.exe
    -rwxr-xr-x 1 root root  49152 Apr  4 05:37 svcutil.exe
    lrwxrwxrwx 1 root root    104 Apr  4 05:47 System.ComponentModel.Composition.dll -> ../gac/System.ComponentModel.Composition/4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll
    lrwxrwxrwx 1 root root    112 Apr  4 05:47 System.ComponentModel.DataAnnotations.dll -> ../gac/System.ComponentModel.DataAnnotations/4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
    lrwxrwxrwx 1 root root      78 Apr  4 05:47 System.Configuration.dll -> ../gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    lrwxrwxrwx 1 root root      94 Apr  4 05:47 System.Configuration.Install.dll -> ../gac/System.Configuration.Install/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll
    lrwxrwxrwx 1 root root      60 Apr  4 05:47 System.Core.dll -> ../gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll
    lrwxrwxrwx 1 root root      96 Apr  4 05:47 System.Data.DataSetExtensions.dll -> ../gac/System.Data.DataSetExtensions/4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
    lrwxrwxrwx 1 root root      60 Apr  4 05:47 System.Data.dll -> ../gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll
    lrwxrwxrwx 1 root root      70 Apr  4 05:47 System.Data.Linq.dll -> ../gac/System.Data.Linq/4.0.0.0__b77a5c561934e089/System.Data.Linq.dll
    lrwxrwxrwx 1 root root      86 Apr  4 05:47 System.Data.OracleClient.dll -> ../gac/System.Data.OracleClient/4.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll
    lrwxrwxrwx 1 root root      92 Apr  4 05:47 System.Data.Services.Client.dll -> ../gac/System.Data.Services.Client/4.0.0.0__b77a5c561934e089/System.Data.Services.Client.dll
    lrwxrwxrwx 1 root root      78 Apr  4 05:47 System.Data.Services.dll -> ../gac/System.Data.Services/4.0.0.0__b77a5c561934e089/System.Data.Services.dll
    lrwxrwxrwx 1 root root      64 Apr  4 05:47 System.Design.dll -> ../gac/System.Design/4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
    lrwxrwxrwx 1 root root      86 Apr  4 05:47 System.DirectoryServices.dll -> ../gac/System.DirectoryServices/4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
    lrwxrwxrwx 1 root root      50 Apr  4 05:47 System.dll -> ../gac/System/4.0.0.0__b77a5c561934e089/System.dll
    lrwxrwxrwx 1 root root      80 Apr  4 05:47 System.Drawing.Design.dll -> ../gac/System.Drawing.Design/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
    lrwxrwxrwx 1 root root      66 Apr  4 05:47 System.Drawing.dll -> ../gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    lrwxrwxrwx 1 root root      66 Apr  4 05:47 System.Dynamic.dll -> ../gac/System.Dynamic/4.0.0.0__b77a5c561934e089/System.Dynamic.dll
    lrwxrwxrwx 1 root root      88 Apr  4 05:47 System.EnterpriseServices.dll -> ../gac/System.EnterpriseServices/4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    lrwxrwxrwx 1 root root      78 Apr  4 05:47 System.IdentityModel.dll -> ../gac/System.IdentityModel/4.0.0.0__b77a5c561934e089/System.IdentityModel.dll
    lrwxrwxrwx 1 root root      98 Apr  4 05:47 System.IdentityModel.Selectors.dll -> ../gac/System.IdentityModel.Selectors/4.0.0.0__b77a5c561934e089/System.IdentityModel.Selectors.dll
    lrwxrwxrwx 1 root root      72 Apr  4 05:47 System.Management.dll -> ../gac/System.Management/4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    lrwxrwxrwx 1 root root      70 Apr  4 05:47 System.Messaging.dll -> ../gac/System.Messaging/4.0.0.0__b03f5f7f11d50a3a/System.Messaging.dll
    lrwxrwxrwx 1 root root      58 Apr  4 05:47 System.Net.dll -> ../gac/System.Net/4.0.0.0__7cec85d7bea7798e/System.Net.dll
    lrwxrwxrwx 1 root root      68 Apr  4 05:47 System.Numerics.dll -> ../gac/System.Numerics/4.0.0.0__b77a5c561934e089/System.Numerics.dll
    lrwxrwxrwx 1 root root      82 Apr  4 05:47 System.Runtime.Caching.dll -> ../gac/System.Runtime.Caching/4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll
    lrwxrwxrwx 1 root root    102 Apr  4 05:47 System.Runtime.DurableInstancing.dll -> ../gac/System.Runtime.DurableInstancing/4.0.0.0__31bf3856ad364e35/System.Runtime.DurableInstancing.dll
    lrwxrwxrwx 1 root root      84 Apr  4 05:47 System.Runtime.Remoting.dll -> ../gac/System.Runtime.Remoting/4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    lrwxrwxrwx 1 root root      94 Apr  4 05:47 System.Runtime.Serialization.dll -> ../gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
    lrwxrwxrwx 1 root root    126 Apr  4 05:47 System.Runtime.Serialization.Formatters.Soap.dll -> ../gac/System.Runtime.Serialization.Formatters.Soap/4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
    lrwxrwxrwx 1 root root      68 Apr  4 05:47 System.Security.dll -> ../gac/System.Security/4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
    lrwxrwxrwx 1 root root      96 Apr  4 05:47 System.ServiceModel.Discovery.dll -> ../gac/System.ServiceModel.Discovery/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Discovery.dll
    lrwxrwxrwx 1 root root      76 Apr  4 05:47 System.ServiceModel.dll -> ../gac/System.ServiceModel/4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
    lrwxrwxrwx 1 root root      92 Apr  4 05:47 System.ServiceModel.Routing.dll -> ../gac/System.ServiceModel.Routing/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Routing.dll
    lrwxrwxrwx 1 root root      84 Apr  4 05:47 System.ServiceModel.Web.dll -> ../gac/System.ServiceModel.Web/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll
    lrwxrwxrwx 1 root root      80 Apr  4 05:47 System.ServiceProcess.dll -> ../gac/System.ServiceProcess/4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
    lrwxrwxrwx 1 root root      76 Apr  4 05:47 System.Transactions.dll -> ../gac/System.Transactions/4.0.0.0__b77a5c561934e089/System.Transactions.dll
    lrwxrwxrwx 1 root root      84 Apr  4 05:47 System.Web.Abstractions.dll -> ../gac/System.Web.Abstractions/4.0.0.0__31bf3856ad364e35/System.Web.Abstractions.dll
    lrwxrwxrwx 1 root root      98 Apr  4 05:47 System.Web.ApplicationServices.dll -> ../gac/System.Web.ApplicationServices/4.0.0.0__31bf3856ad364e35/System.Web.ApplicationServices.dll
    lrwxrwxrwx 1 root root      58 Apr  4 05:47 System.Web.dll -> ../gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    lrwxrwxrwx 1 root root      82 Apr  4 05:47 System.Web.DynamicData.dll -> ../gac/System.Web.DynamicData/4.0.0.0__31bf3856ad364e35/System.Web.DynamicData.dll
    lrwxrwxrwx 1 root root      94 Apr  4 05:47 System.Web.Extensions.Design.dll -> ../gac/System.Web.Extensions.Design/4.0.0.0__31bf3856ad364e35/System.Web.Extensions.Design.dll
    lrwxrwxrwx 1 root root      80 Apr  4 05:47 System.Web.Extensions.dll -> ../gac/System.Web.Extensions/4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll
    lrwxrwxrwx 1 root root      74 Apr  4 05:47 System.Web.Routing.dll -> ../gac/System.Web.Routing/4.0.0.0__31bf3856ad364e35/System.Web.Routing.dll
    lrwxrwxrwx 1 root root      76 Apr  4 05:47 System.Web.Services.dll -> ../gac/System.Web.Services/4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
    lrwxrwxrwx 1 root root    114 Apr  4 05:47 System.Windows.Forms.DataVisualization.dll -> ../gac/System.Windows.Forms.DataVisualization/4.0.0.0__b77a5c561934e089/System.Windows.Forms.DataVisualization.dll
    lrwxrwxrwx 1 root root      78 Apr  4 05:47 System.Windows.Forms.dll -> ../gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    lrwxrwxrwx 1 root root      60 Apr  4 05:47 System.Xaml.dll -> ../gac/System.Xaml/4.0.0.0__b77a5c561934e089/System.Xaml.dll
    lrwxrwxrwx 1 root root      58 Apr  4 05:47 System.Xml.dll -> ../gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll
    lrwxrwxrwx 1 root root      68 Apr  4 05:47 System.Xml.Linq.dll -> ../gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
    lrwxrwxrwx 1 root root      66 Apr  4 05:47 WebMatrix.Data.dll -> ../gac/WebMatrix.Data/4.0.0.0__0738eb9f132ed756/WebMatrix.Data.dll
    lrwxrwxrwx 1 root root      60 Apr  4 05:47 WindowsBase.dll -> ../gac/WindowsBase/4.0.0.0__31bf3856ad364e35/WindowsBase.dll
    -rwxr-xr-x 1 root root  38400 Apr  4 05:37 wsdl.exe
    -rwxr-xr-x 1 root root  62464 Apr  4 05:37 xbuild.exe
    -rw-r--r-- 1 root root    142 Apr  4 05:37 xbuild.rsp
    -rwxr-xr-x 1 root root  16384 Apr  4 05:37 xsd.exe
    lrwxrwxrwx 1 root root      47 Feb 29 09:51 xsp4.exe -> ../gac/xsp4/2.10.0.0__0738eb9f132ed756/xsp4.exe
    
    Code:
    Dell:~/Terreria$ uname -a
    Linux Dell 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    
    I can boot into Windows 7 64 bit and play without issue. I am stumped.
  19. jesyspa Bunny

    AlphaMaven, could you please run with --debug and paste what line number the issue happened at? I'm not sure if 64-bit requires a separate build, I'll provide one if necessary. In Windows 7, are you running a separately installed instance of Terraria?
  20. Alpha Maven Green Slime

    I don't see a line number in the debug output, unless I am missing something.
    I am playing it from a Steam install. In Linux, I copied my Content directory from my NTFS partition.
    Code:
    Dell:~/Terreria$ cp -R /media/OSDisk/Program\ Files\ \(x86\)/Steam/steamapps/common/terraria/Content/ .
    
    Code:
    Dell:~/Terreria$ mono --debug Terraria.exe
    
    Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Terraria.Main ---> System.TypeLoadException: A type load exception has occurred.
      at Terraria.Main..cctor () [0x00000] in <filename unknown>:0
      --- End of inner exception stack trace ---
      at Terraria.Program.StartClient (System.String[] args) [0x00000] in <filename unknown>:0
      at Terraria.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
    [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for Terraria.Main ---> System.TypeLoadException: A type load exception has occurred.
      at Terraria.Main..cctor () [0x00000] in <filename unknown>:0
      --- End of inner exception stack trace ---
      at Terraria.Program.StartClient (System.String[] args) [0x00000] in <filename unknown>:0
      at Terraria.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
    

Share This Page