deathkiller / jazz2

🎮 · Jazz² Resurrection: Open-source reimplementation of Jazz Jackrabbit 2
https://deat.tk/jazz2/
GNU General Public License v3.0
495 stars 18 forks source link

Black screen on Raspberry PI 4 #41

Closed coreybruce closed 2 years ago

coreybruce commented 3 years ago

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

[corey@manjaro-pi Jazz2]$ mono Import.exe  "/home/corey/Downloads/Jazz2/Jazz2.exe"
                                                        ░░   
                                                      ░▒░▒░  
                                                      ░▒▒▒▒░ 
                    ░░▒░░░░░░░                        ░▒▒▒░  
                    ░▒▒▒▒▒▒▒░░░░▒▒▒▒░░               ░▒▒░░   
                    ░░░▒░▒▒░░░░▒▒▒▒▒▒░░▒▒▒░░        ░▒▒░▒▒▒░ 
                        ▒▒▒▒░░░▒░░░▒░▒▒▒▒▒▒░  ░░░░░░░▒░░░░░░ 
                        ░▒▒░░ ░░▒░░▒░░░░▒▒░  ▒▒▒▒▒▒▒░        
                    ░░▒ ░▒▒▒░ ░▒▒▒▒▒░░▒▒▒░  ░▒▒▒░▒▒▒         
                   ░▒▒░░░▒▒▒░░▒▒░▒▒▒░░▒▒░     ░▒▒▒░          
                   ░▒▒▒░▒▒▒▒░░▒▒▒▒░░▒▒░░░░░▒ ░▒▒░░           
                    ░▒░▒▒░░░  ░░░░ ░▒░░▒░░░░░░▒▒▒▒▒░         
                                            ░▒▒▒▒▒▒░         
                                            ░░░░░            
 · Importing path "/home/corey/Downloads/Jazz2"...           
   · Importing assets...
     · Reading compressed stream...
     · Detected Jazz Jackrabbit 2 (v1.20/1.23).
     · Importing animations...
       · Applying "Toaster PowerUp" palette fix.
       · Applying "Vine" palette fix.
     · Importing audio samples...
     · Downloading JJ2+ extension (150 kB)...
       · Extracting files...
       · Reading compressed stream...
       · Detected Jazz Jackrabbit 2 Plus extension.
       · Importing animations...
     · Recreating default palette...
   · Importing episodes...
     · Episode "prince" (#Formerly@a@Prince) converted.
     · Episode "flash" (#Flashback) converted.
     · Episode "monk" (#Funky@Monkeys) converted.
     · Episode "share" (#Shareware@Levels) converted.
     · Episode "rescue" (#Jazz@in@Time) converted.
   · Importing levels...
     · Level "diam1" converted.
     · Level "race3" converted.
     · Level "diam3" converted.
     · Level "psych2" converted.
     · Level "beach" converted.
     · Level "capture2" converted.
     · Level "beach2" converted.
     · Level "hell" converted.
     · Level "race1" converted.
     · Level "colon1" converted.
     · Level "psych3" converted.
     · Level "labrat3" converted.
     · Level "damn" converted.
     · Level "race2" converted.
     · Level "battle2" converted.
     · Level "labrat1" converted.
     · Level "share1" converted.
     · Level "diamsecr" converted with 1 warnings.
     · Level "hell2" converted.
     · Level "treasur3" converted.
     · Level "carrot1" converted.
     · Level "capture1" converted.
     · Level "colon2" converted.
     · Level "treasur1" converted.
     · Level "sharectf" converted.
     · Level "battle1" converted.
     · Level "battle3" converted.
     · Level "jung2" converted.
     · Level "labrat2" converted.
     · Level "garglair" converted.
     · Level "sharetrs" converted.
     · Level "treasur2" converted.
     · Level "carrot1n" converted.
     · Level "trainer" converted.
     · Level "damn2" converted.
     · Level "capture3" converted.
     · Level "medivo2" converted.
     · Level "tube1" converted.
     · Level "psych1" converted with 1 warnings.
     · Level "share2" converted with 2 warnings.
     · Level "battlea" converted.
     · Level "share3" converted.
     · Level "jung1" converted.
     · Level "medivo1" converted.
     · Level "castle1n" converted.
     · Level "tube2" converted.
     · Level "castle1" converted.
     · Level "tube3" converted.
     · Summary of unsupported events:
       ·  CHESHIRE_2                         2
       ·  EMPTY_82                           1
       ·  CHESHIRE_HOOK                      1
   · Importing cinematics...
   · Importing music...
   · Importing tilesets...
 · Cleaning "Music" and "Tileset" directories...
   · Removed 0 files.
 · Cleaning "Animations" directory...
   · Removed 945 files.
 · Compressing content into ".\Content\Main.dz" file...
   · Adding new content...
   · Saving changes...
   · Removing unnecessary files...
 · Checking "Music" and "Tileset" directories for missing files...
   · "Tilesets/colon1" is missing!
   · "Tilesets/diam2" is missing!
   · "Tilesets/castle1" is missing!
   · "Tilesets/labrat3" is missing!
   · "Tilesets/labrat1" is missing!
   · "Tilesets/castle1" is missing!
   · "Tilesets/diam2" is missing!
   · "Tilesets/tube" is missing!
   · "Tilesets/tubenite" is missing!
   · "Tilesets/castle1" is missing!
   · "Tilesets/psych1" is missing!
   · "Tilesets/labrat1n" is missing!
   · "Tilesets/tube" is missing!
   · "Tilesets/tube" is missing!
   · "Tilesets/castle1n" is missing!
   · "Tilesets/diam2" is missing!
   · "Tilesets/castle1" is missing!
   · "Tilesets/medivo2" is missing!
   · "Tilesets/tube" is missing!
   · "Tilesets/medivo" is missing!
   · "Tilesets/tube" is missing!
   · "Tilesets/tubenite" is missing!
   · "Tilesets/medivo" is missing!
   · "Tilesets/diam1" is missing!
   · "Tilesets/diam2" is missing!
   · "Tilesets/carrot1n" is missing!
   · "Tilesets/labrat1n" is missing!
   · "Tilesets/castle1" is missing!
   · "Tilesets/labrat1" is missing!
   · "Tilesets/labrat3" is missing!
   · "Tilesets/carrot1" is missing!
   · "Tilesets/castle1n" is missing!
   · "Tilesets/beach2" is missing!
   · "Tilesets/psych2" is missing!
   · "Tilesets/colon1" is missing!
   · "Tilesets/psych2" is missing!
   · "Tilesets/psych1" is missing!
   · "Tilesets/beach" is missing!
   · "Tilesets/colon2" is missing!
   · "Tilesets/infernon" is missing!
   · "Tilesets/damn2" is missing!
   · "Tilesets/jungle1" is missing!
   · "Tilesets/inferno1" is missing!
   · "Tilesets/jungle2" is missing!
   · "Tilesets/damn1" is missing!
   · "Tilesets/diam2" is missing!
   · "Tilesets/labrat1n" is missing!
   · "Tilesets/psych2" is missing!
 · Checking "Animations" directory for missing files...
   · "Animations/Bilsy/xmas_idle.png" is missing!
   · "Animations/Bilsy/xmas_idle.png.res" is missing!
   · "Animations/Bilsy/xmas_appear.png" is missing!
   · "Animations/Bilsy/xmas_appear.png.res" is missing!
   · "Animations/Bilsy/xmas_vanish.png" is missing!
   · "Animations/Bilsy/xmas_vanish.png.res" is missing!
   · "Animations/Bilsy/xmas_throw_fireball.png" is missing!
   · "Animations/Bilsy/xmas_throw_fireball.png.res" is missing!
   · "Animations/Bilsy/xmas_throw_fireball.png" is missing!
   · "Animations/Bilsy/xmas_throw_fireball.png.res" is missing!
   · "Animations/Bilsy/xmas_bullet_fireball.png" is missing!
   · "Animations/Bilsy/xmas_bullet_fireball.png.res" is missing!
   · "Animations/Bilsy/xmas_throw_fireball.wav" is missing!
   · "Animations/Bilsy/xmas_fire_start.wav" is missing!
   · "Animations/Bilsy/xmas_appear_2.wav" is missing!
   · "Animations/Bilsy/xmas_appear_1.wav" is missing!
   · "Animations/Doggy/xmas_walk.png" is missing!
   · "Animations/Doggy/xmas_walk.png.res" is missing!
   · "Animations/Doggy/xmas_attack.png" is missing!
   · "Animations/Doggy/xmas_attack.png.res" is missing!
   · "Animations/Doggy/xmas_attack.wav" is missing!
   · "Animations/Doggy/xmas_noise.wav" is missing!
   · "Animations/Doggy/xmas_woof_1.wav" is missing!
   · "Animations/Doggy/xmas_woof_2.wav" is missing!
   · "Animations/Doggy/xmas_woof_3.wav" is missing!
   · "Animations/Lizard/xmas_copter_idle.png" is missing!
   · "Animations/Lizard/xmas_copter_idle.png.res" is missing!
   · "Animations/Lizard/xmas_copter_attack.png" is missing!
   · "Animations/Lizard/xmas_copter_attack.png.res" is missing!
   · "Animations/Lizard/xmas_copter_attack.png" is missing!
   · "Animations/Lizard/xmas_copter_attack.png.res" is missing!
   · "Animations/Lizard/xmas_copter.png" is missing!
   · "Animations/Lizard/xmas_copter.png.res" is missing!
   · "Animations/Lizard/xmas_bomb.png" is missing!
   · "Animations/Lizard/xmas_bomb.png.res" is missing!
   · "Animations/Lizard/xmas_walk.png" is missing!
   · "Animations/Lizard/xmas_walk.png.res" is missing!
   · "Animations/Lizard/xmas_noise_4.wav" is missing!
   · "Animations/Turtle/xmas_shell_reverse.png" is missing!
   · "Animations/Turtle/xmas_shell_reverse.png.res" is missing!
   · "Animations/Turtle/xmas_shell_collide.wav" is missing!
   · "Animations/Turtle/xmas_walk.png" is missing!
   · "Animations/Turtle/xmas_walk.png.res" is missing!
   · "Animations/Turtle/xmas_turn_start.png" is missing!
   · "Animations/Turtle/xmas_turn_start.png.res" is missing!
   · "Animations/Turtle/xmas_turn_end.png" is missing!
   · "Animations/Turtle/xmas_turn_end.png.res" is missing!
   · "Animations/Turtle/xmas_attack.png" is missing!
   · "Animations/Turtle/xmas_attack.png.res" is missing!
   · "Animations/Turtle/xmas_turn_start.wav" is missing!
   · "Animations/Turtle/xmas_turn_end.wav" is missing!
   · "Animations/Turtle/xmas_attack_neck.wav" is missing!
   · "Animations/Turtle/xmas_attack_bite.wav" is missing!
   · "Animations/Lori/transform_frog.png" is missing!
   · "Animations/Lori/transform_frog.png.res" is missing!
   · "Animations/Lori/idle.png" is missing!
   · "Animations/Lori/idle.png.res" is missing!
   · "Animations/Lori/run.png" is missing!
   · "Animations/Lori/run.png.res" is missing!
   · "Animations/Lori/dash_start.png" is missing!
   · "Animations/Lori/dash_start.png.res" is missing!
   · "Animations/Lori/jump.png" is missing!
   · "Animations/Lori/jump.png.res" is missing!
   · "Animations/Lori/jump_diag.png" is missing!
   · "Animations/Lori/jump_diag.png.res" is missing!
   · "Animations/Lori/fall.png" is missing!
   · "Animations/Lori/fall.png.res" is missing!
   · "Animations/Lori/fall_diag.png" is missing!
   · "Animations/Lori/fall_diag.png.res" is missing!
   · "Animations/Lori/freefall.png" is missing!
   · "Animations/Lori/freefall.png.res" is missing!
   · "Animations/Lori/dash.png" is missing!
   · "Animations/Lori/dash.png.res" is missing!
   · "Animations/Lori/ball.png" is missing!
   · "Animations/Lori/ball.png.res" is missing!
   · "Animations/Lori/lookup_start.png" is missing!
   · "Animations/Lori/lookup_start.png.res" is missing!
   · "Animations/Lori/crouch_start.png" is missing!
   · "Animations/Lori/crouch_start.png.res" is missing!
   · "Animations/Lori/dizzy.png" is missing!
   · "Animations/Lori/dizzy.png.res" is missing!
   · "Animations/Lori/dizzy_walk.png" is missing!
   · "Animations/Lori/dizzy_walk.png.res" is missing!
   · "Animations/Lori/shoot.png" is missing!
   · "Animations/Lori/shoot.png.res" is missing!
   · "Animations/Lori/crouch_shoot.png" is missing!
   · "Animations/Lori/crouch_shoot.png.res" is missing!
   · "Animations/Lori/shoot_ver.png" is missing!
   · "Animations/Lori/shoot_ver.png.res" is missing!
   · "Animations/Lori/hurt.png" is missing!
   · "Animations/Lori/hurt.png.res" is missing!
   · "Animations/Lori/sidekick.png" is missing!
   · "Animations/Lori/sidekick.png.res" is missing!
   · "Animations/Lori/buttstomp.png" is missing!
   · "Animations/Lori/buttstomp.png.res" is missing!
   · "Animations/Lori/vine_idle.png" is missing!
   · "Animations/Lori/vine_idle.png.res" is missing!
   · "Animations/Lori/vine_shoot_up_end.png" is missing!
   · "Animations/Lori/vine_shoot_up_end.png.res" is missing!
   · "Animations/Lori/vine_walk.png" is missing!
   · "Animations/Lori/vine_walk.png.res" is missing!
   · "Animations/Lori/copter.png" is missing!
   · "Animations/Lori/copter.png.res" is missing!
   · "Animations/Lori/copter_shoot.png" is missing!
   · "Animations/Lori/copter_shoot.png.res" is missing!
   · "Animations/Lori/fall_shoot.png" is missing!
   · "Animations/Lori/fall_shoot.png.res" is missing!
   · "Animations/Lori/vine_shoot.png" is missing!
   · "Animations/Lori/vine_shoot.png.res" is missing!
   · "Animations/Lori/vine_shoot_up.png" is missing!
   · "Animations/Lori/vine_shoot_up.png.res" is missing!
   · "Animations/Lori/run_stop.png" is missing!
   · "Animations/Lori/run_stop.png.res" is missing!
   · "Animations/Lori/dash_start.png" is missing!
   · "Animations/Lori/dash_start.png.res" is missing!
   · "Animations/Lori/dash_stop.png" is missing!
   · "Animations/Lori/dash_stop.png.res" is missing!
   · "Animations/Lori/fall_end.png" is missing!
   · "Animations/Lori/fall_end.png.res" is missing!
   · "Animations/Lori/shoot_start.png" is missing!
   · "Animations/Lori/shoot_start.png.res" is missing!
   · "Animations/Lori/vine_shoot_end.png" is missing!
   · "Animations/Lori/vine_shoot_end.png.res" is missing!
   · "Animations/Lori/copter_shoot_start.png" is missing!
   · "Animations/Lori/copter_shoot_start.png.res" is missing!
   · "Animations/Lori/sidekick.png" is missing!
   · "Animations/Lori/sidekick.png.res" is missing!
   · "Animations/Lori/sidekick.png" is missing!
   · "Animations/Lori/sidekick.png.res" is missing!
   · "Animations/Lori/Spring.png" is missing!
   · "Animations/Lori/Spring.png.res" is missing!
   · "Animations/Lori/buttstomp_end.png" is missing!
   · "Animations/Lori/buttstomp_end.png.res" is missing!
   · "Animations/Lori/pole_h.png" is missing!
   · "Animations/Lori/pole_h.png.res" is missing!
   · "Animations/Lori/pole_h.png" is missing!
   · "Animations/Lori/pole_h.png.res" is missing!
   · "Animations/Lori/pole_v.png" is missing!
   · "Animations/Lori/pole_v.png.res" is missing!
   · "Animations/Lori/pole_v.png" is missing!
   · "Animations/Lori/pole_v.png.res" is missing!
   · "Animations/Lori/die.png" is missing!
   · "Animations/Lori/die.png.res" is missing!
   · "Animations/Lori/warp_in.png" is missing!
   · "Animations/Lori/warp_in.png.res" is missing!
   · "Animations/Lori/warp_out.png" is missing!
   · "Animations/Lori/warp_out.png.res" is missing!
   · "Animations/Lori/warp_in_freefall.png" is missing!
   · "Animations/Lori/warp_in_freefall.png.res" is missing!
   · "Animations/Lori/warp_out_freefall.png" is missing!
   · "Animations/Lori/warp_out_freefall.png.res" is missing!
   · "Animations/Lori/Spring.png" is missing!
   · "Animations/Lori/Spring.png.res" is missing!
   · "Animations/Lori/push.png" is missing!
   · "Animations/Lori/push.png.res" is missing!
   · "Animations/Lori/eol.png" is missing!
   · "Animations/Lori/eol.png.res" is missing!
   · "Animations/Lori/swim_right.png" is missing!
   · "Animations/Lori/swim_right.png.res" is missing!
   · "Animations/Lori/lift.png" is missing!
   · "Animations/Lori/lift.png.res" is missing!
   · "Animations/Lori/lift_jump_heavy.png" is missing!
   · "Animations/Lori/lift_jump_heavy.png.res" is missing!
   · "Animations/Lori/lift_jump_light.png" is missing!
   · "Animations/Lori/lift_jump_light.png.res" is missing!
   · "Animations/Lori/ledge.png" is missing!
   · "Animations/Lori/ledge.png.res" is missing!
   · "Animations/Lori/airboard.png" is missing!
   · "Animations/Lori/airboard.png.res" is missing!
   · "Animations/Lori/swing.png" is missing!
   · "Animations/Lori/swing.png.res" is missing!
   · "Animations/Lori/idle_flavor_2.png" is missing!
   · "Animations/Lori/idle_flavor_2.png.res" is missing!
   · "Animations/Lori/idle_flavor_3.png" is missing!
   · "Animations/Lori/idle_flavor_3.png.res" is missing!
   · "Animations/Lori/idle_flavor_4.png" is missing!
   · "Animations/Lori/idle_flavor_4.png.res" is missing!
   · "Animations/Lori/transform_frog_end.png" is missing!
   · "Animations/Lori/transform_frog_end.png.res" is missing!
   · "Animations/Lori/corpse.png" is missing!
   · "Animations/Lori/corpse.png.res" is missing!
   · "Animations/Lori/level_complete.wav" is missing!
   · "Animations/Lori/jump_2.wav" is missing!
   · "Animations/Lori/jump_3.wav" is missing!
   · "Animations/Lori/jump_4.wav" is missing!
   · "Animations/Lori/hurt_2.wav" is missing!
   · "Animations/Lori/hurt_3.wav" is missing!
   · "Animations/Lori/hurt_5.wav" is missing!
   · "Animations/Lori/hurt_6.wav" is missing!
   · "Animations/Lori/hurt_7.wav" is missing!
   · "Animations/Lori/hurt_8.wav" is missing!
   · "Animations/Lori/die.wav" is missing!
   · "Animations/Lori/fall.wav" is missing!
   · "Animations/UI/icon_lori.png" is missing!
   · "Animations/UI/icon_lori.png.res" is missing!
   · "Animations/UI/character_art_difficulty_lori.png" is missing!
   · "Animations/UI/character_art_difficulty_lori.png.res" is missing!

When I launch the game it's just a black screen and this error when I launch it

[corey@manjaro-pi Jazz2]$ mono Jazz2.exe
 ˙ Using 'DefaultAssemblyLoader' to load plugins.
 ˙ Environment Info: 
  Current Directory: /home/corey/Downloads/Jazz2-old
  Command Line: /home/corey/Downloads/Jazz2-old/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/Downloads/Jazz2-old/Extensions
 ˙ Available Assembly Paths:
  /home/corey/Downloads/Jazz2-old/Extensions/OpenALSoft.x64.dll
  /home/corey/Downloads/Jazz2-old/Extensions/GL21Backend.core.dll
  /home/corey/Downloads/Jazz2-old/Extensions/OpenALSoft.x86.dll
  /home/corey/Downloads/Jazz2-old/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:
  Headphones (Default)
  HDMI
[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...
 ˙ 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.
 ˙ Can't load animation "MenuDifficultyLori" from metadata "UI/MainMenu": File "Animations\UI\character_art_difficulty_lori.png.res" was not found in CompressedContent
 ˙ 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
 ˙ Loading level "Dungeon Dilemma"...
 ˙ 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 
 ˙ Can't load animation "CharacterLori" from metadata "UI/HUD": File "Animations\UI\icon_lori.png.res" was not found in CompressedContent
deathkiller commented 3 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.

coreybruce commented 3 years ago

There is a folder inside the original game folder called tiles with files inside it, is this what you are looking for?

alt text

libopenmpt failed to load I assume I need to install libopenmpt, might be something to document that is needed if you haven't already :)

deathkiller commented 3 years ago

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.

coreybruce commented 3 years ago

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

alt text

Hmm it does? I have zip 3.0-9 installed , I will try installing libopenmpt and see if that works

deathkiller commented 3 years ago

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.

coreybruce commented 3 years ago

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.

deathkiller commented 3 years ago

It seems that it was already reported something similar in #29

coreybruce commented 3 years ago

Oh I see well I hope this can be properly tested on a pi and fixed :)

coreybruce commented 3 years ago

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
deathkiller commented 3 years ago

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.

coreybruce commented 3 years ago

Uh I see well this at least a step forward :)

grepwood commented 2 years ago

˙ 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.

deathkiller commented 2 years ago

Probably yes, see https://github.com/deathkiller/jazz2#opengl-es-20-experimental

grepwood commented 2 years ago

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
deathkiller commented 2 years ago

It seems JJ2 was not imported correctly, or you didn't use included minimal Main.dz for import.

deathkiller commented 2 years ago

New C++ version of the game should be easier to run on Raspberry devices, so this will not be resolved in this C# version.