Closed coreybruce closed 2 years ago
It looks you imported it correctly. It only warns you that you can unlock more features if you import The Secret Files too.
But missing tilesets are a bit strange.. check if the tilesets are present in original directory.
I don't have any Raspberry, so it's not tested on it. libopenmpt failed to load
means that music will be disabled, but there is no error in the log, so I don't know. Maybe some OpenGL (or shader) incompatibility.
There is a folder inside the original game folder called tiles with files inside it, is this what you are looking for?
libopenmpt failed to load
I assume I need to install libopenmpt, might be something to document that is needed if you haven't already :)
No, tilemaps should be directly in original JJ2 folder - files with .j2t
extension, e.g. colon1.j2t
.
And yes, libopenmpt.so
for Linux is already included in ZIP, but it doesn't work for you. You probably have to delete it and install proper version.
Ahh yeah I see multiple j2t files in the root of the original game folder, there are 25 of them as you will see in this screenshot
Hmm it does? I have zip 3.0-9 installed , I will try installing libopenmpt and see if that works
Interesting, so you should see these tilesets also in Jazz² Resurrection /Content/Tilesets
.
But you still see only black screen? The game should run even without tilesets and libopenmpt. It seems to be graphics backend error and it's hard to debug, because I don't have Raspberry Pi 4.
Yes under /Jazz2/Content/Tilesets
I see 25 files
Yeah I understand, hard for you to debug when you don't have a pi 4 to do so.
It seems that it was already reported something similar in #29
Oh I see well I hope this can be properly tested on a pi and fixed :)
Ok so I copied my working imported Jazz2 folder to my pi to try and it launches but I get this error/warning and a black screen.
˙ Using 'DefaultAssemblyLoader' to load plugins.
˙ Environment Info:
Current Directory: /home/corey/Stuff/Jazz2
Command Line: /home/corey/Stuff/Jazz2/Jazz2.exe
Operating System: Unix 5.10.20.1
64 Bit OS: True
64 Bit Process: True
CLR Version: 4.0.30319.42000
Processor Count: 4
˙ Currently Loaded Assemblies:
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Jazz2, Version=0.6.6.0, Culture=neutral, PublicKeyToken=null
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
˙ Plugin Base Directories:
/home/corey/Stuff/Jazz2/Extensions
˙ Available Assembly Paths:
/home/corey/Stuff/Jazz2/Extensions/OpenALSoft.x64.dll
/home/corey/Stuff/Jazz2/Extensions/GL21Backend.core.dll
/home/corey/Stuff/Jazz2/Extensions/OpenALSoft.x86.dll
/home/corey/Stuff/Jazz2/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
˙ Assembly loaded: OpenTK, Version=1.2.2.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 : 1920x1080 at 60 Hz, 32 bpp, pos [ 0, 0] (Primary)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
˙ Available audio devices:
HDMI (Default)
Headphones
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
˙ Current device: OpenAL Soft
˙ OpenAL Version: 1.1 ALSOFT 1.21.1
Vendor: OpenAL Community
Renderer: OpenAL Soft
Effects: True
˙ Initializing core plugins...
˙ Detected new Gamepad Input: "Gamepad 0" (03000000-6d04-0000-1dc2-000014400000 | Logitech F310 Gamepad (XInput)) at index 0
˙ Detected new Joystick Input: "Joystick 0" (03000000-6d04-0000-1dc2-000014400000 | Joystick) at index 0
Capabilities: 6 axes, 11 buttons, 1 hats
˙ DualityApp initialized
Debug Mode: False
Command line arguments:
˙ Window Specification:
Buffers: 2
Samples: 0
ColorFormat: 24 (8880)
AccumFormat: 0 (0000)
Depth: 24
Stencil: 0
VSync: Adaptive
SwapInterval: -1
˙ Graphics backend capabilities:
OpenGL Version: '2.1 Mesa 20.3.4', i.e. 2.1
Vendor: Broadcom
Renderer: V3D 4.2
GLSL Version: '1.20', i.e. 1.20
API Version: 1.20
Max Texture Size: 4096
Max Texture Bindings: 16
Max RenderTarget Size: 4096
˙ Assembly loaded: System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
˙ Assembly loaded: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
˙ libopenmpt failed to load: System.DllNotFoundException: libopenmpt assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Jazz2.OpenMptStream.openmpt_module_create(Jazz2.OpenMptStream/openmpt_stream_callbacks,intptr,Jazz2.OpenMptStream/openmpt_log_func,intptr,intptr)
at Jazz2.OpenMptStream..ctor (System.String path, System.Boolean looping) [0x000aa] in <eeddf1dc08aa40fc99acdb50094cabf2>:0
Failed to register allocate at 2 threads with any strategy.
fragment shader failed to compile. Expect corruption.
˙ libopenmpt failed to load: System.DllNotFoundException: libopenmpt assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Jazz2.OpenMptStream.openmpt_module_create(Jazz2.OpenMptStream/openmpt_stream_callbacks,intptr,Jazz2.OpenMptStream/openmpt_log_func,intptr,intptr)
at Jazz2.OpenMptStream..ctor (System.String path, System.Boolean looping) [0x000aa] in <eeddf1dc08aa40fc99acdb50094cabf2>:0
˙ Assembly loaded: Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
Failed to register allocate at 2 threads with any strategy. fragment shader failed to compile. Expect corruption.
error is already reported in #29. Unfortunately, it doesn't say why it can't be compiled and which shader it is, so it's hard to fix.
Uh I see well this at least a step forward :)
˙ Active graphics backend: OpenGL 2.1
What does your glxinfo say? Shouldn't we be using GLES2 on the Pi? I'll compile and run Jazz2 as soon as my Gentoo finishes updating everything on my RPI4B.
Probably yes, see https://github.com/deathkiller/jazz2#opengl-es-20-experimental
I don't get a black screen on Gentoo, but different error altogether. I'll try with OpenGL now. For what it's worth, this is what I get on GLES:
˙ Using 'DefaultAssemblyLoader' to load plugins.
˙ Environment Info:
Current Directory: /usr/share/jazz2
Command Line: /usr/share/jazz2/Jazz2.exe
Operating System: Unix 5.10.11.64
64 Bit OS: True
64 Bit Process: True
CLR Version: 4.0.30319.42000
Processor Count: 4
˙ Currently Loaded Assemblies:
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Jazz2, Version=0.7.2.0, Culture=neutral, PublicKeyToken=null
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
˙ Plugin Base Directories:
/usr/share/jazz2/Extensions
˙ Available Assembly Paths:
/usr/share/jazz2/Extensions/Es20Backend.core.dll
/usr/share/jazz2/Extensions/OpenTKBackend.core.dll
˙ Assembly loaded: Es20Backend, Version=0.1.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
˙ Assembly loaded: OpenTK, Version=1.2.2.0, Culture=neutral, PublicKeyToken=null
˙ Active graphics backend: OpenGL ES 2.0
˙ Initializing OpenTK...
˙ Platform Backend: Default
EnableHighResolution: True
[ALSOFT] (EE) Failed to set real-time priority for thread: Operacja niedozwolona (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operacja niedozwolona (1)
˙ Available audio devices:
Wbudowany dźwiÄk Stereo
[ALSOFT] (EE) Failed to set real-time priority for thread: Operacja niedozwolona (1)
˙ Current device: OpenAL Soft
˙ OpenAL Version: 1.1 ALSOFT 1.21.1
Vendor: OpenAL Community
Renderer: OpenAL Soft
Effects: True
˙ Initializing core plugins...
˙ DualityApp initialized
Debug Mode: False
Command line arguments:
˙ Assembly loaded: System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
˙ OpenGL Version: OpenGL ES 3.1 Mesa 21.2.6
Vendor: Broadcom
Renderer: V3D 4.2
Shader Version: OpenGL ES GLSL ES 3.10
˙ Window Specification:
Buffers: 1
Samples: 0
ColorFormat: 32 (8888)
AccumFormat: 0 (0000)
Depth: 24
Stencil: 0
VSync: Adaptive
SwapInterval: -1
˙ Assembly loaded: System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
˙ Assembly loaded: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
˙ Unhandled exception: System.IO.FileNotFoundException: File "Animations\Main.palette" was not found in CompressedContent
at Jazz2.Storage.Content.CompressedContent.Duality.IO.IFileSystem.OpenFile (System.String path, Duality.IO.FileAccessMode mode) [0x0002b] in <d11270986cf64ad2bf8b008c71099904>:0
at Duality.IO.FileOp.Open (System.String path, Duality.IO.FileAccessMode mode) [0x00020] in <d11270986cf64ad2bf8b008c71099904>:0
at Jazz2.Game.UI.Menu.MainMenu..ctor (Jazz2.Game.App root, System.Boolean isInstallationComplete, System.Boolean afterIntro) [0x000d5] in <d11270986cf64ad2bf8b008c71099904>:0
at Jazz2.Game.App.ShowMainMenu (System.Boolean afterIntro) [0x0005f] in <d11270986cf64ad2bf8b008c71099904>:0
at Jazz2.Game.App+<>c.<Main>b__9_0 (System.Boolean endOfStream) [0x00000] in <d11270986cf64ad2bf8b008c71099904>:0
at Jazz2.Game.UI.Cinematics.OnCinematicsEnd (System.Boolean endOfStream) [0x00008] in <d11270986cf64ad2bf8b008c71099904>:0
at Jazz2.Game.UI.Cinematics.OnUpdate () [0x00017] in <d11270986cf64ad2bf8b008c71099904>:0
at Jazz2.Game.UI.Cinematics+LocalController.Duality.ICmpUpdatable.OnUpdate () [0x00000] in <d11270986cf64ad2bf8b008c71099904>:0
at Duality.Resources.Scene+<>c.<Update>b__69_0 (Duality.ICmpUpdatable cmp) [0x00000] in <d11270986cf64ad2bf8b008c71099904>:0
at Duality.Resources.Scene.UpdateComponents[T] (System.Action`1[T] updateAction) [0x001e1] in <d11270986cf64ad2bf8b008c71099904>:0
at Duality.Resources.Scene.Update () [0x0001f] in <d11270986cf64ad2bf8b008c71099904>:0
at Duality.DualityApp.Update () [0x00026] in <d11270986cf64ad2bf8b008c71099904>:0
at Duality.Backend.Es20.NativeWindow.OnUpdateFrame (OpenTK.FrameEventArgs e) [0x00062] in <60506753d7544b76963ef1c470e59463>:0
at Duality.Backend.Es20.NativeWindow+InternalWindow.OnUpdateFrame (OpenTK.FrameEventArgs e) [0x00007] in <60506753d7544b76963ef1c470e59463>:0
at OpenTK.GameWindow.OnUpdateFrameInternal (OpenTK.FrameEventArgs e) [0x00010] in <eb7bb69e26054a4bbe56f23896321f45>:0
at OpenTK.GameWindow.RaiseUpdateFrame (System.Double elapsed, System.Double& timestamp) [0x0000c] in <eb7bb69e26054a4bbe56f23896321f45>:0
at OpenTK.GameWindow.DispatchUpdateAndRenderFrame (System.Object sender, System.EventArgs e) [0x00031] in <eb7bb69e26054a4bbe56f23896321f45>:0
at OpenTK.GameWindow.Run (System.Double updates_per_second, System.Double frames_per_second) [0x000c6] in <eb7bb69e26054a4bbe56f23896321f45>:0
at OpenTK.GameWindow.Run () [0x00000] in <eb7bb69e26054a4bbe56f23896321f45>:0
at Duality.Backend.Es20.NativeWindow.Duality.Backend.INativeWindow.Run () [0x00000] in <60506753d7544b76963ef1c470e59463>:0
at Jazz2.Game.App.Main (System.String[] args) [0x001f9] in <d11270986cf64ad2bf8b008c71099904>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: File "Animations\Main.palette" was not found in CompressedContent
at Jazz2.Storage.Content.CompressedContent.Duality.IO.IFileSystem.OpenFile (System.String path, Duality.IO.FileAccessMode mode) [0x0002b] in <d11270986cf64ad2bf8b008c71099904>:0
at Duality.IO.FileOp.Open (System.String path, Duality.IO.FileAccessMode mode) [0x00020] in <d11270986cf64ad2bf8b008c71099904>:0
at Jazz2.Game.UI.Menu.MainMenu..ctor (Jazz2.Game.App root, System.Boolean isInstallationComplete, System.Boolean afterIntro) [0x000d5] in <d11270986cf64ad2bf8b008c71099904>:0
at Jazz2.Game.App.ShowMainMenu (System.Boolean afterIntro) [0x0005f] in <d11270986cf64ad2bf8b008c71099904>:0
at Jazz2.Game.App+<>c.<Main>b__9_0 (System.Boolean endOfStream) [0x00000] in <d11270986cf64ad2bf8b008c71099904>:0
at Jazz2.Game.UI.Cinematics.OnCinematicsEnd (System.Boolean endOfStream) [0x00008] in <d11270986cf64ad2bf8b008c71099904>:0
at Jazz2.Game.UI.Cinematics.OnUpdate () [0x00017] in <d11270986cf64ad2bf8b008c71099904>:0
at Jazz2.Game.UI.Cinematics+LocalController.Duality.ICmpUpdatable.OnUpdate () [0x00000] in <d11270986cf64ad2bf8b008c71099904>:0
at Duality.Resources.Scene+<>c.<Update>b__69_0 (Duality.ICmpUpdatable cmp) [0x00000] in <d11270986cf64ad2bf8b008c71099904>:0
at Duality.Resources.Scene.UpdateComponents[T] (System.Action`1[T] updateAction) [0x001e1] in <d11270986cf64ad2bf8b008c71099904>:0
at Duality.Resources.Scene.Update () [0x0001f] in <d11270986cf64ad2bf8b008c71099904>:0
at Duality.DualityApp.Update () [0x00026] in <d11270986cf64ad2bf8b008c71099904>:0
at Duality.Backend.Es20.NativeWindow.OnUpdateFrame (OpenTK.FrameEventArgs e) [0x00062] in <60506753d7544b76963ef1c470e59463>:0
at Duality.Backend.Es20.NativeWindow+InternalWindow.OnUpdateFrame (OpenTK.FrameEventArgs e) [0x00007] in <60506753d7544b76963ef1c470e59463>:0
at OpenTK.GameWindow.OnUpdateFrameInternal (OpenTK.FrameEventArgs e) [0x00010] in <eb7bb69e26054a4bbe56f23896321f45>:0
at OpenTK.GameWindow.RaiseUpdateFrame (System.Double elapsed, System.Double& timestamp) [0x0000c] in <eb7bb69e26054a4bbe56f23896321f45>:0
at OpenTK.GameWindow.DispatchUpdateAndRenderFrame (System.Object sender, System.EventArgs e) [0x00031] in <eb7bb69e26054a4bbe56f23896321f45>:0
at OpenTK.GameWindow.Run (System.Double updates_per_second, System.Double frames_per_second) [0x000c6] in <eb7bb69e26054a4bbe56f23896321f45>:0
at OpenTK.GameWindow.Run () [0x00000] in <eb7bb69e26054a4bbe56f23896321f45>:0
at Duality.Backend.Es20.NativeWindow.Duality.Backend.INativeWindow.Run () [0x00000] in <60506753d7544b76963ef1c470e59463>:0
at Jazz2.Game.App.Main (System.String[] args) [0x001f9] in <d11270986cf64ad2bf8b008c71099904>:0
It seems JJ2 was not imported correctly, or you didn't use included minimal Main.dz
for import.
New C++ version of the game should be easier to run on Raspberry devices, so this will not be resolved in this C# version.
Hi there I am having a issue with it importing and running, I am running it on a Raspberry pi 4 running Manjaro Arm64 and downloaded the game off a abandonware website and it says I am missing stuff when it imports
When I launch the game it's just a black screen and this error when I launch it