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
1.97k stars 606 forks source link

Please tell me how to install Jedi Outcast (Ubuntu arm64) #1197

Open ArtemS2 opened 6 months ago

ArtemS2 commented 6 months ago

Please tell me if anything needs to be compiled additionally, and where should the game files be placed?

foreignmeloman commented 5 months ago

Just go to the latest release page and download OpenJO-linux-x86_64.tar.gz archive, extract it in GameData directory and run openjo_sp.x86_64 executable.

ArtemS2 commented 5 months ago

@foreignmeloman x86_64 applications cannot run on linux arm64. That's why I'm asking how to rebuild from source code

ArtemS2 commented 5 months ago

I finally found it :)

Compiling OpenJO Some users wish to compile OpenJO (Jedi Outcast) instead of just Jedi Academy. Due to possible bugs and lack of support, OpenJO compilation is disabled by default. Additionally, there is no multiplayer OpenJO build support at this time. To enable OpenJO compilation, follow these steps:

Edit CMakeLists.txt in the repository directory. Change the BuildJK2SPEngine, BuildJK2SPGame, and BuildJK2SPRdVanilla options to ON. Follow the 'Getting the Dependencies', 'Generating Project Files', 'Compiling', and 'Installing' sections above. In your Jedi Outcast GameData folder, delete/move all existing files except for the base folder and version.inf. Copy the following files from the Jedi Academy GameData to the Jedi Outcast GameData: cgamex86.dll/so, uix86.dll/so, SDL2.dll/so, OpenAL32.dll/so, jospgamex86.dll/so, rdjosp-vanilla_x86.dll/so Copy openjo_sp(.exe) from the Jedi Academy GameData to the Jedi Outcast GameData and rename it to jk2sp(.exe).

ensiform commented 5 months ago

The compilation guide listed on the main readme should be mostly the same process but you need all the libraries in the correct architecture.