Package Details: thedarkmod-bin 2.09-1

Git Clone URL: https://aur.archlinux.org/thedarkmod-bin.git (read-only, click to copy)
Package Base: thedarkmod-bin
Description: First person stealth game
Upstream URL: https://www.thedarkmod.com/main/
Licenses: GPL, GPL3, BSD, CCPL, boost, custom:curl
Conflicts: thedarkmod
Provides: thedarkmod
Submitter: diabonas
Maintainer: diabonas
Last Packager: diabonas
Votes: 23
Popularity: 0.30
First Submitted: 2019-11-24 17:04
Last Updated: 2021-02-13 20:43

Required by (0)

Sources (67)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Neko-san commented on 2021-02-02 22:21

I just did and my settings persist now, thanks!

I suppose I will go over to the forum for the audio issue now though

diabonas commented on 2021-02-02 21:32

Neko-san, have you added yourself to the games group and restarted as described in the post installation message? Regarding the sound, I'm afraid I can't help you, it works fine for me, so I suppose this is an upstream problem. I'd advise seeking for help in the official The Dark Mod forum.

Neko-san commented on 2021-02-02 21:27

Every time I close the game and re-open it, it forgets all of my settings; can someone help me figure out why?

Also, the game has no sound for me, for some reason :/

diabonas commented on 2020-05-26 08:29

@malathion You need to log out and log in again after adding yourself to the games group for the group membership to take effect: if you use groups instead of groups $(whoami), you will see the effective group memberships, which will not contain the newly added group until you log in again.

malathion commented on 2020-05-25 18:05

Thanks. I am in the 'games' group but according to console output Darkmod.cfg cannot be written. Also, I cannot write to the directory from a shell either:

$ pwd
/opt/thedarkmod
$ groups $(whoami)
games audio snapper ryan sudoers
$ touch hi
touch: cannot touch 'hi': Permission denied
$

diabonas commented on 2020-05-25 07:57

@malathion This is not an issue with the PKGBUILD, instead it indicates that your locally built package thedarkmod-bin-2.07-1-x86_64.pkg.tar.xz is corrupt, e.g. because the build process got interrupted. Please delete the faulty package and try building it again. You might also want to have a look at switching the compression algorithm from xz to zstd since compressing large packages like this one can take quite a long time with xz.

malathion commented on 2020-05-25 00:17

error: could not extract /opt/thedarkmod/tdm_models02.pk4 (Lzma library error:  No progress is possible)
error: problem occurred while upgrading thedarkmod-bin
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.

diabonas commented on 2020-05-03 10:37

@mjr4077au Like loathingkernel said, it is entirely possible to build the main executable from the source tarball thedarkmod.2.07.src.7z. Note that you will have to patch the build scripts to be compatible with Python 3. 2to3 can help with that, though some manual work is still required:

2to3 --write --no-diffs SConstruct sys/scons/scons_utils.py sys/scons/SConscript.gl
sed --in-place "s/popen2, //; \
                s/open(conf_filename, 'w')/open(conf_filename, 'wb')/; \
                s/string.split/str.split/" \
                SConstruct sys/scons/scons_utils.py sys/gllog/logfunc.py sys/gllog/read.py

After these modifications you can use SCons to build the binary:

scons BUILD='release' TARGET_ARCH='x64'

The build process should get easier with the upcoming version 2.08 of The Dark Mod, which will switch to the more widely used CMake build system.

I do see value in having an additional package building from source, but I am not going to create it myself: I don't really play this game, I took over the package maintenance for reasons of moderation.

loathingkernel commented on 2020-04-30 13:29

@mjr4077au, because noone has submitted such a package. This is a -bin package, and as such it is fine to repackage binaries, consult the wiki about package naming conventions and suffixes. You are more than welcome to submit a thedarkmod package where it builds from source.

mjr4077au commented on 2020-04-30 11:45

Is there any reason why this is using the binary release and not compiling using the source?