JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.03k stars 615 forks source link

Failed to load renderer #1208

Closed Ligutrino closed 8 months ago

Ligutrino commented 8 months ago

Hi, first of all thank you for this project.

I tried OpenJK on LMDE 6, and has this issue, this is the log:

tty console mode disabled OpenJK: v1.0.1.1 linux-x86_64 Feb 9 2024 Initialising zone memory ..... ----- FS_Startup ----- Current search path: /home/javier/.local/share/openjk/base /home/javier/Games/star-wars-jedi-knight-ii-jedi-outcast/drive_c/GOG Games/Star Wars Jedi Knight II - Jedi Outcast/GameData/base/assets5.pk3 (4 files) /home/javier/Games/star-wars-jedi-knight-ii-jedi-outcast/drive_c/GOG Games/Star Wars Jedi Knight II - Jedi Outcast/GameData/base/assets3.pk3 (2181 files) /home/javier/Games/star-wars-jedi-knight-ii-jedi-outcast/drive_c/GOG Games/Star Wars Jedi Knight II - Jedi Outcast/GameData/base/assets2.pk3 (289 files) /home/javier/Games/star-wars-jedi-knight-ii-jedi-outcast/drive_c/GOG Games/Star Wars Jedi Knight II - Jedi Outcast/GameData/base/assets1.pk3 (8011 files) /home/javier/Games/star-wars-jedi-knight-ii-jedi-outcast/drive_c/GOG Games/Star Wars Jedi Knight II - Jedi Outcast/GameData/base/assets0.pk3 (6674 files) /home/javier/Games/star-wars-jedi-knight-ii-jedi-outcast/drive_c/GOG Games/Star Wars Jedi Knight II - Jedi Outcast/GameData/base


17159 files in pk3 files execing default.cfg couldn't exec openjk_sp.cfg couldn't exec autoexec_sp.cfg 2024-02-13 18:42:49 Running Jedi Academy Mode 2024-02-13 18:42:49 ----- Client Initialization ----- 2024-02-13 18:42:49 ----- Initializing Renderer ---- 2024-02-13 18:42:49 Trying to load "rdsp-vanilla_x86_64.so" from "/home/javier/Games/star-wars-jedi-knight-ii-jedi-outcast/drive_c/GOG Games/Star Wars Jedi Knight II - Jedi Outcast/GameData"... 2024-02-13 18:42:49 Sys_LoadDll(/home/javier/Games/star-wars-jedi-knight-ii-jedi-outcast/drive_c/GOG Games/Star Wars Jedi Knight II - Jedi Outcast/GameData/rdsp-vanilla_x86_64.so) failed: "Failed loading /home/javier/Games/star-wars-jedi-knight-ii-jedi-outcast/drive_c/GOG Games/Star Wars Jedi Knight II - Jedi Outcast/GameData/rdsp-vanilla_x86_64.so: libjpeg.so.8: cannot open shared object file: No such file or directory" 2024-02-13 18:42:49 Trying to load "rdsp-vanilla_x86_64.so" from "/home/javier/Games/star-wars-jedi-knight-ii-jedi-outcast/drive_c/GOG Games/Star Wars Jedi Knight II - Jedi Outcast/GameData"... 2024-02-13 18:42:49 Sys_LoadDll(/home/javier/Games/star-wars-jedi-knight-ii-jedi-outcast/drive_c/GOG Games/Star Wars Jedi Knight II - Jedi Outcast/GameData/rdsp-vanilla_x86_64.so) failed: "Failed loading /home/javier/Games/star-wars-jedi-knight-ii-jedi-outcast/drive_c/GOG Games/Star Wars Jedi Knight II - Jedi Outcast/GameData/rdsp-vanilla_x86_64.so: libjpeg.so.8: cannot open shared object file: No such file or directory" Failed to load renderer

I looked for a solution because libjpeg.so.8 is not available for newest Debian distributions, so I installed this package https://archive.debian.org/debian/pool/main/libj/libjpeg8/libjpeg8_8b-1_amd64.deb and now it works.

More of this missing library in this link https://unix.stackexchange.com/questions/687633/why-is-libjpeg-so-8-missing-from-debian

So the question is if you can provide the library in the release or update the renderer to use libjpeg62-turbo available in newest Debian distributions.

I'm new to Linux by the way.

Best regards.

ensiform commented 8 months ago

First thing I notice here is, you cannot use openjk with Jedi outcast. You have to use openjo for that.

Ligutrino commented 8 months ago

First thing I notice here is, you cannot use openjk with Jedi outcast. You have to use openjo for that.

Yeah, you are right, but I posted the wrong log. I tried with both, and the issue was the same. Is fixed now with the package libjpeg8.