User avatar
Raspberry-3.14
Posts: 2
Joined: Sun Jan 07, 2018 9:54 pm

Re: Q3lite - Quake III Arena for the Raspberry Pi

Mon Nov 19, 2018 6:21 am

cdev-tux wrote:
Fri Nov 09, 2018 2:25 am
A new version of Q3lite, v1.1 has been released. This major release contains more than 130 bug/security fixes, plugs multiple game exploits, and adds new features. The source code has been updated with the latest SDL2 2.0.9 version, so the console text bug is fixed now. The upstream ioquake3 project fixed VoIP compatibility, so VoIP should work on the Pi. Clients can now silence excessive taunts by opponents, and servers can limit the number of player connections per IP address. See the README.md file to learn how to enable the new feature Cvars. The master code branch is stable now, so you can compile that if you don’t need the bleeding-edge version. In addition, the source code is up to date with the latest ioquake3 code, and the Compiling and Installation Guide has been updated too. Please try out the new release and let me know if you have any issues.

https://github.com/cdev-tux/q3lite

I tested the new version and it runs nice. The new cg_notaunts feature is awesome. :D
Raspberry-3.14

User avatar
cdev-tux
Posts: 51
Joined: Tue Sep 26, 2017 5:12 am
Contact: Website

Re: Q3lite - Quake III Arena for the Raspberry Pi

Thu Nov 22, 2018 8:02 am

Good to know that it’s working well. Now that the code is up to date I hope to get back to adding new features.
cdev-tux
Q3lite source code: https://github.com/cdev-tux/q3lite
Documentation, game FAQ and Compiling/Installation Guide: https://github.com/cdev-tux/q3lite/wiki

hommar
Posts: 159
Joined: Sat Mar 25, 2017 1:55 pm
Location: Russia, Yekaterinburg

Re: Q3lite - Quake III Arena for the Raspberry Pi

Thu Dec 06, 2018 4:42 pm

I have problem with prev version (v1.0.2)

Code: Select all

execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
Couldn't read q3history.
----- Initializing Renderer ----
-------------------------------
QKEY found.
----- Client Initialization Complete -----
----- R_Init -----
SDL using driver "x11"
Initializing OpenGL display
Display aspect: 1.600
...setting mode -2: 1920 1200
Using 24 color bits, 24 depth, 8 stencil display.
Available modes: '1920x1200'
GL_RENDERER: (null)
----- Client Shutdown (Client fatal crashed: Q_strncpyz: NULL src) -----
RE_Shutdown( 1 )
Hunk_Clear: reset the hunk ok
-----------------------
Q_strncpyz: NULL src
Any Ideas?

User avatar
cdev-tux
Posts: 51
Joined: Tue Sep 26, 2017 5:12 am
Contact: Website

Re: Q3lite - Quake III Arena for the Raspberry Pi

Thu Dec 06, 2018 8:01 pm

hommar wrote:
Thu Dec 06, 2018 4:42 pm
I have problem with prev version (v1.0.2)

Code: Select all

execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
Couldn't read q3history.
----- Initializing Renderer ----
-------------------------------
QKEY found.
----- Client Initialization Complete -----
----- R_Init -----
SDL using driver "x11"
Initializing OpenGL display
Display aspect: 1.600
...setting mode -2: 1920 1200
Using 24 color bits, 24 depth, 8 stencil display.
Available modes: '1920x1200'
GL_RENDERER: (null)
----- Client Shutdown (Client fatal crashed: Q_strncpyz: NULL src) -----
RE_Shutdown( 1 )
Hunk_Clear: reset the hunk ok
-----------------------
Q_strncpyz: NULL src
Any Ideas?

Hello,

You edited your post while I was writing a reply, and removed some of the log information. I really need to see the full log in order to help you troubleshoot the problem. Here’s what I had written in response to the original log information:

The first error is due to using the pak0.pk3 file from the demo version of Quake3 instead of the file from the full version. You'll need to make some modifications to get the pak0.pk3 from the demo version to work with ioquake3. The ioquake3 guys have instructions on how to get it to work here:

http://wiki.ioquake3.org/Players_Guide# ... Data_Files

Updated instructions here:

https://discourse.ioquake.org/t/what-do ... ain/1097/4

I haven't tried the demo version files, so I don't know of anything else to try if it doesn't work. The pak0.pk3 file from the full version of Quake3 works fine with Q3lite.

The second error is caused by using a different version of the SDL libraries than what is installed by default with Q3lite. The SDL2 libraries installed by Q3lite don’t have an x11 driver installed, since the game runs on OpenGL ES using the Broadcom driver with SDL’s RPI driver.

I would recommend compiling the latest version of Q3lite using instructions in the Compiling and Installation Guide. Also, make sure that you’re using the G3 Legacy driver rather than the VC4 driver, which you can choose with raspi-config.
cdev-tux
Q3lite source code: https://github.com/cdev-tux/q3lite
Documentation, game FAQ and Compiling/Installation Guide: https://github.com/cdev-tux/q3lite/wiki

hommar
Posts: 159
Joined: Sat Mar 25, 2017 1:55 pm
Location: Russia, Yekaterinburg

Re: Q3lite - Quake III Arena for the Raspberry Pi

Fri Dec 07, 2018 8:37 pm

cdev-tux wrote:
Thu Dec 06, 2018 8:01 pm
The second error is caused by using a different version of the SDL libraries than what is installed by default with Q3lite. The SDL2 libraries installed by Q3lite don’t have an x11 driver installed, since the game runs on OpenGL ES using the Broadcom driver with SDL’s RPI driver.

I would recommend compiling the latest version of Q3lite using instructions in the Compiling and Installation Guide. Also, make sure that you’re using the G3 Legacy driver rather than the VC4 driver, which you can choose with raspi-config.
Thx for help.

First I use good pak0.pk3 now (md5sum is 1197ca3df1e65f3c380f8abc10ca43bf)

Code: Select all

Q3lite 1.36 linux-armv7l Dec  7 2018
----- FS_Startup -----
We are looking in the current search path:
/home/pi/.q3a/baseq3
/home/pi/.q3a/baseq3/pak8.pk3 (9 files)
/home/pi/.q3a/baseq3/pak7.pk3 (4 files)
/home/pi/.q3a/baseq3/pak6.pk3 (64 files)
/home/pi/.q3a/baseq3/pak5.pk3 (7 files)
/home/pi/.q3a/baseq3/pak4.pk3 (272 files)
/home/pi/.q3a/baseq3/pak3.pk3 (4 files)
/home/pi/.q3a/baseq3/pak2.pk3 (148 files)
/home/pi/.q3a/baseq3/pak1.pk3 (26 files)
/home/pi/.q3a/baseq3/pak0.pk3 (3539 files)
./baseq3

----------------------
4073 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
Couldn't read q3history.
----- Initializing Renderer ----
-------------------------------
QKEY building random string
QKEY generated
----- Client Initialization Complete -----
----- R_Init -----
SDL using driver "x11"
Initializing OpenGL display
Display aspect: 1.600
...setting mode -2: 1920 1200
Using 24 color bits, 24 depth, 8 stencil display.
Available modes: '1920x1200'
GL_RENDERER: (null)
----- Client Shutdown (Client fatal crashed: Q_strncpyz: NULL src) -----
RE_Shutdown( 1 )
Hunk_Clear: reset the hunk ok
-----------------------
Q_strncpyz: NULL src
Second

I want use original SDL2 (bilding on raspbian)
because I use previous ver q3lite

PS I use the G3 Legacy driver
( I do not run raspi-config, and I use fresh raspbian. than I have this problem I reinstall it)

User avatar
cdev-tux
Posts: 51
Joined: Tue Sep 26, 2017 5:12 am
Contact: Website

Re: Q3lite - Quake III Arena for the Raspberry Pi

Fri Dec 07, 2018 9:45 pm

hommar wrote:
Fri Dec 07, 2018 8:37 pm


Second

I want use original SDL2 (bilding on raspbian)
because I use previous ver q3lite

PS I use the G3 Legacy driver
( I do not run raspi-config, and I use fresh raspbian. than I have this problem I reinstall it)

The original version of SDL2 (the one in the Raspbian repository) won’t work with any version of Q3lite. SDL2 has to be compiled without x11 support or it will also fail on any version of Q3lite. The Q3lite installer will install its own compatible version of SDL2 in a unique directory so that you can have a different version installed in the standard location for other games to use.

The log information shows Q3lite version 1.36, which has never been used, so that indicates that the make-raspberrypi.sh compile script is not being run properly. The game also can’t find the autoexec.cfg file even though it’s looking in the correct file path.

To fix the issues I would recommend doing a fresh install of Raspbian and leaving the language set to English for the compile/install. Then follow the instructions in the Compiling and Installation Guide. You can then launch the game from the applications menu or from a terminal with ‘sudo q3lite’.

If you still have issues after trying the above then I would recommend compiling the latest version of Q3lite.
cdev-tux
Q3lite source code: https://github.com/cdev-tux/q3lite
Documentation, game FAQ and Compiling/Installation Guide: https://github.com/cdev-tux/q3lite/wiki

Return to “Gaming”