Daa_Goddy
Posts: 3
Joined: Sun Jun 24, 2012 1:15 pm

Re: OpenArena package

Sun Jun 24, 2012 4:16 pm

When i try the

Code: Select all

/usr/games/openarena
command i get:

Code: Select all

/usr/games/openarena: error while loading shared libraries: libvchiq_arm.so: cannot open shared object file: No such file or directory
I've jsut started with linx and no idea what to do =/

Trukkle
Posts: 2
Joined: Sun Jun 24, 2012 2:01 am

Re: OpenArena package

Sun Jun 24, 2012 4:26 pm

dom wrote:@Trukkle
You're not using the 224M memory split are you?
I'd have sworn blind that I wasn't, but yep that was it. Thanks Dom!

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5145
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: OpenArena package

Sun Jun 24, 2012 5:15 pm

Daa_Goddy wrote:I've jsut started with linx and no idea what to do =/
I'm going to guess you are on Debian Squeeze and have original firmware. I think this has been built with more recent firmware, so you need to update:
http://elinux.org/R-Pi_Troubleshooting# ... g_firmware

Mikeyl
Posts: 23
Joined: Wed Jun 20, 2012 11:15 am

Re: OpenArena package

Sun Jun 24, 2012 6:34 pm

I am on Wheezy and have tried the above instructions - all seemed to download okay and install.

When I run it using sudo (or otherwise) , I get a very brief flash of text and then the screen goes white and I get a short burst of sound. The opening screen comes up and the graphics at the top are pulsating, but the keyboard and mouse don't work.

Is there anyway to redirect the output as it starts up so I can see what it says?

thanks

Mike

Max

Re: OpenArena package

Sun Jun 24, 2012 7:15 pm

Mikeyl wrote: Is there anyway to redirect the output as it starts up so I can see what it says?
Can redirect the stderr by appending to your command: 2> /root/mylogfile

Mikeyl
Posts: 23
Joined: Wed Jun 20, 2012 11:15 am

Re: OpenArena package

Tue Jun 26, 2012 5:01 pm

Just an update.

Went back to a clean Wheezy install and followed the instruactions above and now works fine.

I think I had tried to install Quake3 before and must have stopped it working.

thanks

Mike

dododude
Posts: 2
Joined: Mon Oct 10, 2011 8:40 pm

Re: OpenArena package

Sun Jul 01, 2012 7:22 pm

[quote="Max"]
In short there are three thingies necessary to have sound in Openarena, and I assume it to be the same in quake3:
  • Makefile needs to be changed so that it compiles sdl_snd.c instead of the dummy (empty methods) es_snd.c file.
  • You need to have libsdl/libogg/libvorbis available to link to, and have it enabled in Makefile.
  • That one liner, needs to be changed back to what it is in the original source: s_soundMuted = qfalse;
So I tried to change these three things in the quake3 source (from github), diffs are at http://pastebin.com/amwiwUv7. I installed libsdl1.2, libogg0 and libvorbis0a and made sure they are known to the linker. This compiles fine (takes 1 h), it even runs, but right after the first quake menu screen comes up, it dies. A version without this fix compiles and runs fine (without sound).

For my version, the last bit of the log in the console shows a signal 8 being sent:
"""
Opening IP6 socket: [::]:27960
Opening IP socket: 0.0.0.0:27960
Received signal 8, exiting...
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
"""

I ran strace on this and found nothing particularly exiting, although I see that it tries to open sound files which are not found in the pak3.pk3. With unzip -v, I can see the requested files are in the pak so I am not sure whether this is really an error. At one point, the server seems to send a signal 8 (floating point exception, via tgkill call) to the clients, but there is no explanation of why this happens. It happens shortly after the check for q3key, but the version from github passes that same point, with the same key. I am using a 196/64 split, but again, the version without sound works fine with that.

Is there anybody with in-depth knowledge of quake3 who could help out?
Ta,
D

Max

Re: OpenArena package

Sun Jul 01, 2012 8:40 pm

dododude wrote: So I tried to change these three things in the quake3 source (from github), diffs are at http://pastebin.com/amwiwUv7.

Code: Select all

<              $(B)/client/es_gamma.o $(B)/client/es_snd.o, \
---
>              $(B)/client/sdl_gamma.o $(B)/client/sdl_snd.o, \
Gamma has to do with graphics, not with sound.
So leave that to es_gamma.o and only change es_snd.o to sdl_snd.o

Options I fed to make in build.sh: USE_SVN=0 USE_CURL=0 USE_OPENAL=0 USE_INTERNAL_SPEEX=0 USE_VOIP=0 USE_CODEC_VORBIS=1

BenWiley4000
Posts: 100
Joined: Sun Jun 24, 2012 1:36 am

Re: OpenArena package

Mon Jul 02, 2012 7:08 am

I installed this but decided to get rid of it. After install I lost like 700mb of space or something insane. I removed the packages and regained about half-- any idea what rogue files are floating around and where I can go to delete them? thanks

Max

Re: OpenArena package

Mon Jul 02, 2012 12:03 pm

BenWiley4000 wrote:I removed the packages and regained about half-- any idea what rogue files are floating around and where I can go to delete them? thanks
There aren't any mystery files floating around. All files are registered with the Debian package management stuff.
You say you uninstalled the packages, but what commands did you use for that? dpkg? apt-get? synaptic?
And are you using Squeeze or Wheezy?

Max

Re: OpenArena package

Mon Jul 02, 2012 12:41 pm

Also make sure you did "sudo apt-get clean" to have the downloaded .deb files removed.
It tends to keep a copy in /var/cache/apt/archives otherwise.

BenWiley4000
Posts: 100
Joined: Sun Jun 24, 2012 1:36 am

Re: OpenArena package

Mon Jul 02, 2012 5:34 pm

I used apt-get. I tried using apt-get and dpkg later because it threw an error the first time, but then it said the files were gone. I'm fairly confused. I'll try what you just said when I get a chance.

BenWiley4000
Posts: 100
Joined: Sun Jun 24, 2012 1:36 am

Re: OpenArena package

Mon Jul 02, 2012 9:40 pm

BINGO! that was it. thanks Max!

User avatar
hojnikb
Posts: 121
Joined: Mon Jun 04, 2012 3:59 pm
Location: @Home

Re: OpenArena package

Tue Jul 17, 2012 8:45 pm

Can anyone get this working on raspbian ?
When i try to install ioquake3_99.1.36-rpi01_armel.deb package it gives me error that this package is not compatabile with hardfp..
+°´°+,¸¸,+°´°~ Everyone should have a taste of UK Raspberry Pie =D ~°´°+,¸¸,+°´°+
Rasberry Pi, SoC @ 1225Mhz :o, 256MB Ram @ 550Mhz, 16GB SD-Card, Raspbian

Max

Re: OpenArena package

Sat Jan 26, 2013 3:30 am

For folks that don't like signing up to a commercial store in order to download free (both as in free beer, and as in free speech) software, I created a new package for Raspbian.
Also might or might not run better with multiplayer games involving a server running a different version, because the Debian source it was merged with has a slightly different logic for dealing with that, than the upstream project.

To install:

Code: Select all

wget http://www.berryterminal.com/dl/ioquake3_99.1.36-rpi01_armhf.deb
sudo dpkg -i ./ioquake3_99.1.36-rpi01_armhf.deb
sudo apt-get install openarena
sudo apt-get clean
Make sure you have sufficient disk space, you need about 700 MB during installation.
Debian by defaults keeps a copy of all the package files it downloads, with "apt-get clean" it deletes those to free up some space.

To play (enter in a text console, not under X):

Code: Select all

sudo /usr/games/openarena

symbios25
Posts: 35
Joined: Sat Jan 10, 2015 1:42 pm

Re: OpenArena package

Sun Mar 29, 2015 7:33 am

Hello i was wondering what are the commands to start OpenArena on boot Automatically
thanks

symbios25
Posts: 35
Joined: Sat Jan 10, 2015 1:42 pm

Re: OpenArena package

Sat Jul 11, 2015 8:09 am

Any Help to make open arena start on Boot??

Bumsfallera
Posts: 16
Joined: Mon Aug 22, 2011 1:15 am

Re: OpenArena package

Sun Apr 17, 2016 7:48 pm

Code: Select all

crontab -e
select nano
at the bottom write:

Code: Select all

@reboot cd whereeveryourquake3folderis ; ./quake3/build/release-linux-arm/ioquake3.arm
ctrl + X, Y

symbios25
Posts: 35
Joined: Sat Jan 10, 2015 1:42 pm

Re: OpenArena package

Tue Sep 05, 2017 12:57 pm

Openarena is not working anymore with raspbian stretch by following the known method under:

sudo apt-get install openarena

wget http://www.berryterminal.com/dl/ioquake ... _armhf.deb

sudo dpkg -i ./ioquake3_99.1.36-rpi01_armhf.deb

its not running at all is there a fix for this?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5145
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: OpenArena package

Tue Sep 05, 2017 1:28 pm

symbios25 wrote:
Tue Sep 05, 2017 12:57 pm
its not running at all is there a fix for this?
It probably uses the firmware gl drivers (e.g. /opt/vc/lib/libEGL.so) which have now been renamed to /opt/vc/lib/libbrcmEGL.so).
Ideally the openarena package should be rebuild with new libs names.

For now:

Code: Select all

cp /opt/vc/lib/libbrcmEGL.so /opt/vc/lib/libEGL.so
cp /opt/vc/lib/libbrcmGLESv2.so /opt/vc/lib/libGLESv2.so
may getting it running again.

runboy93
Posts: 337
Joined: Tue Feb 28, 2017 1:17 pm
Location: Finland
Contact: Website

Re: OpenArena package

Tue Sep 05, 2017 1:39 pm

Applies to pretty many other games and apps.

symbios25
Posts: 35
Joined: Sat Jan 10, 2015 1:42 pm

Re: OpenArena package

Tue Sep 05, 2017 2:10 pm

Thanks but its not working with the copy you suggested, it says error while loading shared libraries: libEGL.so cannot open shared object file: no such file or directory
anything else in mind?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5145
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: OpenArena package

Tue Sep 05, 2017 4:52 pm

symbios25 wrote:
Tue Sep 05, 2017 2:10 pm
Thanks but its not working with the copy you suggested, it says error while loading shared libraries: libEGL.so cannot open shared object file: no such file or directory
What does "ls -l /opt/vc/lib" report?
Can you run ldd on the openarena executable? ("ldd /usr/games/openarena" if that is where it is installed).

User avatar
rpiMike
Posts: 487
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: OpenArena package

Thu Sep 07, 2017 9:17 am

I've got OpenArena working (OpenGL Full enabled) :

https://youtu.be/TYiwzp5LEwQ

Code: Select all

openarena +set cl_renderer opengl1

Edit 1 : doesn't seem to like fullscreen mode

Code: Select all

openarena +set cl_renderer opengl1 +set r_mode 6 +set r_fullscreen 0
Edit 2 : With OpenGL Full enabled, if you set the screen to 1280x720 with

Code: Select all

xrandr --output HDMI-1 --mode 1280x720
Then within the game setup menus select the same resolution full screen - it works

Edit 3 : Straight into 1280x720 full screen with fps display :

Code: Select all

openarena +set cl_renderer opengl1 +set r_mode -1 +set r_customwidth 1280 +set r_customheight 720 +set r_fullscreen 1 +set cg_drawFPS 1

Return to “Media centres”

Who is online

Users browsing this forum: No registered users and 8 guests