neviem jak u vas ale mne to na wine hodilo nejake exceptiony ohladom Access Violation.
a potom ked som pustal tu novu verziu cez mono tak to Import zbehol tak ze zanechal rozbite farby v terminaly. ale samotna hra spadla s :
Can't load animation "MenuDifficultyLori" from metadata "UI/MainMenu": File "Animations\UI\character_art_difficulty_lori.png.res" was not found in CompressedContent
* Assertion at local-propagation.c:330, condition `ins->opcode > MONO_CEE_LAST' not met
Asi som bol zasa haknuty... :P
Není úplně v mých silách vyzkoušet všechny terminály, co existují. Zkoušel jsem 2 a tam se barvy nerozbíjí, takže moc nevím, kde je problém.
Jinak hláška "Can't load animation..." je jen warning (v tomhle případě jen o tom, že kdyby byl navíc importován The Secret Files, bylo by možné hrát i za Lori), takže hra kvůli tomu určitě nespadla. Vypadá to spíš na starou/zabugovanou verzi Mono, když hra nevypsala ani výjimku. Já hru testoval na Mono 5.20.1 a fungovalo to.
teraz som to googlil a vyzera ze binarka je stara a ma bug. tak som sa to snazil zbuildovat cez dotnet msbuild ale neni to spokojne z verziu dot net frameworku:
/usr/share/dotnet/sdk/2.2.300/Microsoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.5.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
dotnet --version
2.2.300
asi to skusim zbuildovat cez wine???
Binárka hry v sobě určitě bug nemá, to už by vyšla dávno nová verze. Mělo by stačit stáhnout novou verzi Mona (https://www.mono-project.com/download/stable/#download-lin). A příkaz "dotnet" je pro .NET Core, což je úplně něco jiného. Na .NET Core hra zatím neběží, na Linuxu je potřeba Mono.
dotnet som pouzival na pustenie msbuild.
mono mam:
$ mono --version
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
teraz som to skusim importovat z hry stiahnutej z abandonia.com ale tiez mu chybaju nejake subory. tu je komplet hlaska:
$ mono Jazz2.exe
Using 'DefaultAssemblyLoader' to load plugins.
Environment Info:
Current Directory: /home/kago/games/jazzz
Command Line: /home/kago/games/jazzz/Jazz2.exe
Operating System: Unix 4.9.0.9
64 Bit OS: True
64 Bit Process: True
CLR Version: 4.0.30319.42000
Processor Count: 8
Currently Loaded Assemblies:
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Jazz2, Version=0.5.9.0, Culture=neutral, PublicKeyToken=null
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Plugin Base Directories:
Extensions
Available Assembly Paths:
Extensions/GL21Backend.core.dll
Extensions/OpenALSoft.x64.dll
Extensions/OpenALSoft.x86.dll
Extensions/OpenTKBackend.core.dll
Assembly loaded: GL21Backend, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Assembly loaded: Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Assembly loaded: OpenTKBackend, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Loading auxiliary libraries...
Assembly loaded: OpenTK, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null
Initializing OpenTK...
Platform Backend: Default
EnableHighResolution: True
Active graphics backend: OpenGL 2.1
Assembly loaded: System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Available display devices:
First : 1280x1024 at 60 Hz, 32 bpp, pos [ 0, 0] (Primary)
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
Available audio devices:
ICE1712 [Envy24] PCI Multi-Channel I/O Controller (M-Audio Delta Audiophile 2496) Analog Stereo (Default)
Current device: OpenAL Soft
OpenAL Version: 1.1 ALSOFT 1.17.2
Vendor: OpenAL Community
Renderer: OpenAL Soft
Effects: True
Initializing core plugins...
DualityApp initialized
Debug Mode: False
Command line arguments:
Window Specification:
Buffers: 2
Samples: 0
ColorFormat: 24 (8880)
AccumFormat: 64 (16161616)
Depth: 24
Stencil: 0
VSync: On
SwapInterval: 1
OpenGL Version: 3.3.0 NVIDIA 340.106
Vendor: NVIDIA Corporation
Renderer: GeForce 9600 GT/PCIe/SSE2
Shader Version: 3.30 NVIDIA via Cg compiler
Can't load animation "MenuDifficultyLori" from metadata "UI/MainMenu": File "Animations\UI\character_art_difficulty_lori.png.res" was not found in CompressedContent
* Assertion at local-propagation.c:330, condition `ins->opcode > MONO_CEE_LAST' not met
Stacktrace:
at <unknown> <0xffffffff>
at OpenTK.BindingsBase.MarshalStringArrayToPtr (string[]) <0x0009f>
at OpenTK.Graphics.OpenGL.GL.ShaderSource (uint,int,string[],int*) <0x00023>
at OpenTK.Graphics.OpenGL.GL.ShaderSource (int,string) <0x0006f>
at Duality.Backend.GL21.NativeShaderPart.Duality.Backend.INativeShaderPart.LoadSource (string,Duality.Resources.ShaderType) <0x0009b>
at Duality.Resources.Shader.Compile () <0x00107>
at Duality.Resources.DrawTechnique.CompileIfRequired (Duality.Resources.Shader) <0x0002b>
at Duality.Resources.DrawTechnique.Compile () <0x000af>
at Duality.Resources.DrawTechnique.get_NativeShader () <0x0001b>
at Duality.Backend.GL21.GraphicsBackend.RetrieveActiveShaders (System.Collections.Generic.IReadOnlyList`1<Duality.Drawing.DrawBatch>) <0x000b7>
at Duality.Backend.GL21.GraphicsBackend.Duality.Backend.IGraphicsBackend.Render (System.Collections.Generic.IReadOnlyList`1<Duality.Drawing.DrawBatch>) <0x0004f>
at Duality.Drawing.DrawDevice.Render () <0x00449>
at Jazz2.Game.UI.Menu.MainMenu.RecreateTexturedBackground (Jazz2.Game.Tiles.TileSet,Jazz2.Game.Structs.TileMapLayer&) <0x019b3>
at Jazz2.Game.UI.Menu.MainMenu.PrerenderTexturedBackground () <0x010ef>
at Jazz2.Game.UI.Menu.MainMenu..ctor (Jazz2.Game.App) <0x00623>
at Jazz2.Game.App.ShowMainMenu () <0x00123>
at Jazz2.Game.App.Main (string[]) <0x00383>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x000d1>
Native stacktrace:
mono(+0xc8d94) [0x561c77d37d94]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0) [0x7f8e56f940e0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcf) [0x7f8e569fdfff]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f8e569ff42a]
mono(+0x289fe9) [0x561c77ef8fe9]
mono(+0x28a27c) [0x561c77ef927c]
mono(+0x28a413) [0x561c77ef9413]
mono(+0x96b2b) [0x561c77d05b2b]
mono(+0x12de5a) [0x561c77d9ce5a]
mono(+0x12e7b9) [0x561c77d9d7b9]
mono(+0x3c9f0) [0x561c77cab9f0]
mono(+0xca776) [0x561c77d39776]
mono(+0xcb0bc) [0x561c77d3a0bc]
[0x41a5a298]
Debug info from gdb:
AL lib: (EE) alc_cleanup: 1 device not closed
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted
5. 7. 2019, 16:29 editováno autorem komentáře