Jump to content

Openjk on Raspberry Pi


aramil248

Recommended Posts

@@jakub742 just did this a while ago, he could probably help you out and I know @@capturesteve has as well.

 

You'll want to cross compile it (the official raspberry pi website recommends following this tutorial to install a vm ubuntu and compile there), Raspberian is a Debian based linux so it should be basically the same as compiling on a debian based distribution of linux.

BruceJohnJenner likes this

JKG Developer

Link to comment
  • 2 weeks later...

I've compiled the whole MP codebase on an RPi before, but only successfully ran the dedicated server with jampgame and confirmed it working online.

So you were able to get around the issue that @@capturesteve ran into with the server not being visible on the network?

 

https://jkhub.org/topic/5549-running-dedicated-server-on-raspberry-pi/

 

OP, if you change your mind on cross compiling, the instructions to build OpenJK on the pi are in the link above.

Link to comment
pi@raspberrypi:~ $ cd jediacademy/

pi@raspberrypi:~/jediacademy $ ./openjk.arm 

OpenJK-MP: v1.0.1.0 linux-arm Mar  1 2016

----- FS_Startup -----

Current search path:

/home/pi/.local/share/openjk/base

./base/assets3.pk3 (16 files)

./base/assets2.pk3 (62 files)

./base/assets1.pk3 (8320 files)

./base/assets0.pk3 (15346 files)

./base

    

----------------------

23744 files in pk3 files

execing mpdefault.cfg

couldn't exec openjk.cfg

couldn't exec autoexec.cfg

----- Initializing Renderer ----

Trying to load "rd-vanilla_arm.so" from "."...

QKEY found.

SDL using driver "x11"

Initializing display

Display aspect: 1.771

...setting mode 4: 800 600

^3WARNING: Couldn't get window display index, no resolutions detected: Invalid window

...ERROR: no display modes could be found.

GL_RENDERER: (null)

tty]Segmentation fault

pi@raspberrypi:~/jediacademy $ 
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...