You are not logged in.

#1 2016-10-16 21:31:04

HisDudeness
Member
From: Melzo, Milan (Italy)
Registered: 2014-09-29
Posts: 107

mono problem in Always Sometimes Monsters

I've purchased the game Always Sometimes Monster on GOG, because it is shown to have a GNU/Linux port. Really, it's just a lazy one done badly by someone that promised the dev, which admits having zero knowledge on the system, to make it work. The starting script it's just a command to make mono execute the Windows .exe file, without even inspecting if it's installed, nor pulling it as a dependency. This would be ok to me, if only it worked. I seem to be the only GNU/Linux user to ever have tried, as I can't find anything about it anywhere, so I'm asking you for help.

This is the original script:

LD_LIBRARY_PATH=Linux/Bin/lib mono "Always Sometimes Monsters.exe";

Running it gives this problem:

Always Sometimes Monsters/game/run.sh: line 1: $'\r': command not found

According to sigtran on stackoverflow, \r is what comes just before \n in a DOS line end. This script was written in Windows as well! I just remove the final empty line (and the semicolon as well, I can't understand its utility) and this mono error pops out:

connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at GenericsPlus.IOExtensions.ReadValueArray[T] (System.IO.BinaryReader br, T[]& out_array) [0x00092] in <5772fa7ae4bc448a8e9c1e1f41f840a8>:0
at GenericsPlus.IOExtensions.Read[T] (System.IO.BinaryReader br, T[]& array) [0x00051] in <5772fa7ae4bc448a8e9c1e1f41f840a8>:0
at RGSS_XNA.RPG.System+Terms.binary_read (System.IO.BinaryReader br) [0x00024] in <80d97fdf6be94a07833838e3d8cb3b10>:0
at GenericsPlus.IOExtensions.Read[T] (System.IO.BinaryReader br, T& element) [0x0005a] in <5772fa7ae4bc448a8e9c1e1f41f840a8>:0
at RGSS_XNA.RPG.System.binary_read (System.IO.BinaryReader br) [0x001a3] in <80d97fdf6be94a07833838e3d8cb3b10>:0
at GenericsPlus.IOExtensions.Read[T] (System.IO.BinaryReader br, T& element) [0x0005a] in <5772fa7ae4bc448a8e9c1e1f41f840a8>:0
at RGSS_XNA.Cache.load_data[T1] (System.String p) [0x00023] in <80d97fdf6be94a07833838e3d8cb3b10>:0
at RGSS_XNA.DataManager.load_data[T] (System.String filename) [0x00000] in <80d97fdf6be94a07833838e3d8cb3b10>:0
at RGSS_XNA.DataManager.load_normal_database () [0x000b4] in <80d97fdf6be94a07833838e3d8cb3b10>:0
at RGSS_XNA.DataManager.load_database_al () [0x00014] in <80d97fdf6be94a07833838e3d8cb3b10>:0
at RGSS_XNA.DataManager.load_database () [0x00000] in <80d97fdf6be94a07833838e3d8cb3b10>:0
at RGSS_XNA.DataManager.init () [0x00020] in <80d97fdf6be94a07833838e3d8cb3b10>:0
at RGSS_XNA.SceneManager.run () [0x00000] in <80d97fdf6be94a07833838e3d8cb3b10>:0
at GenericsPlus.Fiber.start_task (System.Object action) [0x000b5] in <5772fa7ae4bc448a8e9c1e1f41f840a8>:0
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) [0x0000e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x0002a] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
AL lib: (EE) alc_cleanup: 1 device not closed

The game window flashes: it opens up for an instant and immediately closes itself. Please note that this is the same error I get if I try to run the .exe myself with mono, manually. I do it without the LD_LIBRARY_PATH, for there's no Linux directory anywhere in the game, let alone Bin/lib subdirectories.

Can anyone get a grasp at this?

Last edited by HisDudeness (2016-10-16 21:44:38)


The Dude minds.

Offline

Board footer

Powered by FluxBB