Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Terraria downloaded from gog.com doesn't work at all.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Sun Apr 19, 2020 7:14 am    Post subject: Terraria downloaded from gog.com doesn't work at all. Reply with quote

I bought terraria on gog.com and downloaded it. I executed terraria_en_1_3_5_3_14602.sh and installed it in a folder.

Executing start.sh in the folder didn't do anything. This one seems to involve mono framework.

How can I make it work?

Here's the crash log.

Code:
4/19/2020 4:21:45 PM
System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
  at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0002b] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.TermInfoReader..ctor (System.String term, System.String filename) [0x00065] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.TermInfoDriver..ctor (System.String term) [0x00058] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.ConsoleDriver..cctor () [0x00062] in <1170fb08300b4d0db71c1d1db8555768>:0
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x0000a] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Console..cctor () [0x000a8] in <1170fb08300b4d0db71c1d1db8555768>:0
   --- End of inner exception stack trace ---
  at Microsoft.Xna.Framework.Graphics.OpenGLDevice..ctor (Microsoft.Xna.Framework.Graphics.PresentationParameters presentationParameters, Microsoft.Xna.Framework.Graphics.GraphicsAdapter adapter) [0x00201] in <7ff45bf12adb4fa788baf2c3b3fc2840>:0
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.CreateGLDevice (Microsoft.Xna.Framework.Graphics.PresentationParameters presentationParameters, Microsoft.Xna.Framework.Graphics.GraphicsAdapter adapter) [0x0001e] in <7ff45bf12adb4fa788baf2c3b3fc2840>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice..ctor (Microsoft.Xna.Framework.Graphics.GraphicsAdapter adapter, Microsoft.Xna.Framework.Graphics.GraphicsProfile graphicsProfile, Microsoft.Xna.Framework.Graphics.PresentationParameters presentationParameters) [0x000a1] in <7ff45bf12adb4fa788baf2c3b3fc2840>:0
  at Microsoft.Xna.Framework.GraphicsDeviceManager.Microsoft.Xna.Framework.IGraphicsDeviceManager.CreateDevice () [0x000a9] in <7ff45bf12adb4fa788baf2c3b3fc2840>:0
  at Microsoft.Xna.Framework.GraphicsDeviceManager.get_GraphicsDevice () [0x00008] in <7ff45bf12adb4fa788baf2c3b3fc2840>:0
  at Microsoft.Xna.Framework.Game.InitializeGraphicsService () [0x00033] in <7ff45bf12adb4fa788baf2c3b3fc2840>:0
  at Microsoft.Xna.Framework.Game.DoInitialize () [0x00006] in <7ff45bf12adb4fa788baf2c3b3fc2840>:0
  at Microsoft.Xna.Framework.Game.Run () [0x0000e] in <7ff45bf12adb4fa788baf2c3b3fc2840>:0
  at Terraria.Program.LaunchGame (System.String[] args, System.Boolean monoArgs) [0x00092] in <656615216c7c4289b27347cde9255acc>:0
Back to top
View user's profile Send private message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Sun Apr 19, 2020 7:25 am    Post subject: Reply with quote

I found a weird workaround for the issue.

`Magic number is wrong: 542` is caused by absence of proper $TERM.

`env TERM=xterm ./start.sh` executes the game well. I definitely want to turn this into an ebuild.

I also found out that AMD Radeon HD6450 GPU was not powerful enough to run a 2D game like Terraria. What the hell? The game is slow unless I set every graphics option to low.

Recommended GPU : Video Card: 256mb Video Memory, capable of OpenGL 3.0+ support (2.1 with ARB extensions acceptable)
Back to top
View user's profile Send private message
danwills
n00b
n00b


Joined: 11 Nov 2012
Posts: 4
Location: Adelaide, South Australia

PostPosted: Tue Aug 23, 2022 1:31 pm    Post subject: Reply with quote

It was great to hear that you found a workaround for this!

I was thinking of buying it on GoG but I'd rather know that there's a chance it'll work first! (can always get a refund too though)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum