Jump to content

Openjk on Raspberry Pi


aramil248

Recommended Posts

Posted

Compile it from source and see if it works?  I think there is basic arm support but I don't know if there will be issues or not.  You may only be able to get a server running.

Posted

@@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

Posted

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.

Posted

Ah ok. Good to see it's finally supported! :) in that case as long as the client code can be compiled, then it should just run. Provided OP has an rpi2.

Posted

I don't have exact steps for cross-compiling, but the gist of it is: You need a CMake toolchain file for Raspberry Pi. There should be some good examples around the interwebs.

Posted

I don't have exact steps for cross-compiling, but the gist of it is: You need a CMake toolchain file for Raspberry Pi. There should be some good examples around the interwebs.

i dont get what you said but ok I will Google about it
  • 2 weeks later...
Posted

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.

Posted

ok so far i got it all to compile by just using the steps for compiling it on pc right now im ftping the pk3s from the disk to the pi will post what happens

Posted
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 $ 

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