The Chronicles of Riddick - Assault on Dark Athena

No Screenshot

Submit Screenshot
GOG Edition of the Game, DRM free.

Application Details:

Version: GOG-Edition
License: Retail
Votes: 0
Latest Rating: Silver
Latest Wine Version Tested: 3.16-staging

Maintainers: About Maintainership

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

Both Butcher Bay and Dark Athen.  Both games played to completion. 

What does not

Game does not launch without patch to mesa; game launches fine in Windows.


A patch must be applied to mesa otherwise the game does not launch. 

My setup is an AMD Raven Ridge 2400g running 4.18.10 Mesa 18.2.1, llvm 7.0.0 running on Mageia 6.

This is the patch:

----- cut here ------

--- src/compiler/glsl/builtin_functions.cpp
+++ src/compiler/glsl/builtin_functions.cpp
@@ -2045,7 +2045,7 @@ builtin_builder::create_builtins()
                 _texture(ir_tex, always_available, glsl_type::vec4_type,  glsl_type::sampler2D_type, glsl_type::vec2_type),
-                _texture(ir_txb, fs_only,          glsl_type::vec4_type,  glsl_type::sampler2D_type, glsl_type::vec2_type),
+                _texture(ir_txb, always_available,          glsl_type::vec4_type,  glsl_type::sampler2D_type, glsl_type::vec2_type),
                 _texture(ir_tex, texture_external, glsl_type::vec4_type,  glsl_type::samplerExternalOES_type, glsl_type::vec2_type),
@@ -2096,7 +2096,7 @@ builtin_builder::create_builtins()
                 _texture(ir_tex, always_available, glsl_type::vec4_type,  glsl_type::samplerCube_type, glsl_type::vec3_type),
-                _texture(ir_txb, fs_only,          glsl_type::vec4_type,  glsl_type::samplerCube_type, glsl_type::vec3_type),
+                _texture(ir_txb, always_available,          glsl_type::vec4_type,  glsl_type::samplerCube_type, glsl_type::vec3_type),
--- src/compiler/glsl/glsl_parser_extras.cpp
+++ src/compiler/glsl/glsl_parser_extras.cpp
@@ -655,6 +655,8 @@ void _mesa_glsl_extension::set_flags(_mesa_glsl_parse_state *state,
 static const _mesa_glsl_extension *find_extension(const char *name)
+   if (strcmp(name, "GL_ATI_shader_texture_lod") == 0)
+      name = "GL_ARB_shader_texture_lod";
    for (unsigned i = 0; i < ARRAY_SIZE(_mesa_glsl_supported_extensions); ++i) {
       if (strcmp(name, _mesa_glsl_supported_extensions[i].name) == 0) {
          return &_mesa_glsl_supported_extensions[i];

------ cut here ------

Since this patch seems only to be necessary for Riddick I didn't add it to my usual build for Mesa.  Here's what I did to apply the patch and build mesa for Mageia 6.

rpm -ivh mesa-18.2.1-2.mga6.src.rpm (you may need to get a more up to date mesa RPM from cauldron.  You'll also need to change python2-mako to python3-mako in the SPEC file.) 

cd ~/rpmbuild/SOURCES

tar fxvJ mesa-18.2.1.tar.xz

cd mesa-18.2.1

patch -p0 < [the patch above]

tar fcvJ mesa-18.2.1.tar.xz mesa-18.2.1 

cd ../SPECS 

rpm -bs mesa.spec

cd ../SRPMS

(you might want to edit the mesa.spec file to differentiate this one from the previous source rpm)

rpmbuild --rebuild mesa-18.2.1-3.mga6.src.rpm (revved it by 1 to differentiate)

also rebuild for i586 using the src.rpm with the patched code.

What was not tested


Hardware tested


  • GPU: AMD
  • Driver: open source

Additional Comments

It's a pity the game is no longer available via commercial sites and going to the trouble above is a bit of a hassle just to get to assume one's alter identity of Vin Diesel.  Still the game plays well on my 2400g and seems to play better on standard wine than Gallium 9. 

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
CurrentMageia 6Sep 29 20183.16-stagingYes Yes YesSilverAlan Richter 
ShowDebian GNU/Linux Unstable "Sid" x86_64Dec 16 20173.0-rc1Yes No NoGarbagePsycho_zs 
ShowLinux Mint 17.1 "Rebecca" x86-64Nov 15 20151.7.50Yes Yes GoldBenoît Smith 
ShowUbuntu 12.04 "Precise" amd64 (+ variants like Kubuntu)Oct 26 20131.7.4Yes Yes BronzeMatt 
ShowArch LinuxDec 09 20121.5.19Yes Yes Platinumfetter_oml 

Known Bugs

Bug # Description Status Resolution Other apps affected
32451 Multiple installer bundles show a broken/unresponsive dialog window during installation (installer process running out of wndproc slots) CLOSED FIXED View

Show open bugs


The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

by axet on Wednesday June 10th 2020, 4:00
can you patch the game instead patching mesa?
by axet on Wednesday June 10th 2020, 7:01
Here is a file 'System/GL/HLInclude_GLSL.xrg wchich' contains:

//Might need to fix this in case pxlfmt says it's unsupported
#extension GL_ARB_draw_buffers : enable
#extension GL_ATI_shader_texture_lod : enable


And a lot of texture2D and textureCube calls.
by Alan Richter on Wednesday June 10th 2020, 8:47
Sadly, no, the game as been abandoned, . But I've discovered it plays "out of the box" on nVidia and since the hardware requirements are low, it will play on an inexpensive or older nVidia card with their binary blob driver.
by axet on Wednesday June 10th 2020, 9:20
Here is a file 'System/GL/HLInclude_GLSL.xrg wchich' contains:

//Might need to fix this in case pxlfmt says it's unsupported
#extension GL_ARB_draw_buffers : enable
#extension GL_ATI_shader_texture_lod : enable


And a lot of texture2D and textureCube calls.