Package Details: soundsense 2016_1_196-2

Git Clone URL: https://aur.archlinux.org/soundsense.git (read-only, click to copy)
Package Base: soundsense
Description: A sound-engine tool for Dwarf Fortress
Upstream URL: http://df.zweistein.cz/soundsense
Keywords: dwarf fortress zweistein
Submitter: winlu
Maintainer: txtsd
Last Packager: txtsd
Votes: 11
Popularity: 0.000000
First Submitted: 2014-08-16 11:57 (UTC)
Last Updated: 2024-11-08 17:24 (UTC)

Dependencies (5)

Required by (0)

Sources (3)

Latest Comments

Riebeck commented on 2024-07-09 13:42 (UTC) (edited on 2024-07-09 13:45 (UTC) by Riebeck)

For those encountering this type of error:

09/07/2024 03:36:51.690: SoundSense for Dwarf Fortress is starting...
09/07/2024 03:36:51.709: release #2016-1 build #197 date 13.03.2016 14:53:36
Exception in thread "main" java.lang.IllegalAccessError: class cz.zweistein.df.soundsense.config.XMLConfig (in unnamed module @0x551036f1) cannot access class com.sun.org.apache.xerces.internal.parsers.DOMParser (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.parsers to unnamed module @0x551036f1
at cz.zweistein.df.soundsense.config.XMLConfig.parseDoc(Unknown Source)
at cz.zweistein.df.soundsense.config.ConfigurationXML.<init>(Unknown Source)
at cz.zweistein.df.soundsense.SoundSense.main(Unknown Source)

It indicates that your Java version is not compatible with SoundSense. To resolve this, I downloaded Java 8 (the jre8-openjdk package) and to run SoundSense with this version, I created a small script containing these commands:

#!/bin/zsh

export PATH="/usr/lib/jvm/java-8-openjdk/jre/bin:$PATH"
exec soundsense "$@"

Now it is functioning correctly.

0118999881999119 commented on 2018-05-13 15:58 (UTC)

PKGBUILD still needs work but at least it should install the latest release.

For now, you still need to add your user to the "games" group after installation. Don't forget to install a sound pack like this one: http://df.zweistein.cz/soundsense/soundpack.zip (unzip and place contents in /opt/soundsense/packs) or use the built in soundpack updater.

kabads commented on 2016-10-09 08:09 (UTC)

Getting error on running: [code] [adam@hark soundsense]$ soundsense 09/10/2016 09:07:50.676: SoundSense for Dwarf Fortress is starting... 09/10/2016 09:07:50.718: release #2015-1 build #195 date 07.02.2015 09:17:28 Exception in thread "main" java.lang.IllegalAccessError: class cz.zweistein.df.soundsense.config.XMLConfig (in unnamed module @0x43ee72e6) cannot access class com.sun.org.apache.xerces.internal.parsers.DOMParser (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.parsers to unnamed module @0x43ee72e6 at cz.zweistein.df.soundsense.config.XMLConfig.parseDoc(Unknown Source) at cz.zweistein.df.soundsense.config.ConfigurationXML.<init>(Unknown Source) at cz.zweistein.df.soundsense.SoundSense.main(Unknown Source) [/code]

winlu commented on 2015-08-15 15:48 (UTC)

todo: rewrite to follow https://wiki.archlinux.org/index.php/Java_package_guidelines

winlu commented on 2015-08-15 15:41 (UTC)

https://aur.archlinux.org/cgit/aur.git/commit/?h=soundsense&id=204a8dddb28080e4d57d31de861b64acff718dcf

winlu commented on 2015-08-15 14:27 (UTC)

hey, update is in progress, but since the PKGBUILD was quite poor and did not implement multi user very nicely it will take a while to bring it up to my own standards. br

winlu commented on 2014-12-08 09:27 (UTC)

if you have problems with missing permissions, make sure your user is in the games group

Ketsuban commented on 2014-12-08 06:16 (UTC)

Would it be possible to do the trick the dwarffortress package does with symbolic links so that soundsense executes from the home directory? Currently it can't download anything because it lacks write permissions for /opt/soundsense.

winlu commented on 2014-11-16 16:21 (UTC)

>Do you think this maybe should live in /opt/dwarffortress/soundsense? definitely not, but prefixing df might make sense

mkaito commented on 2014-11-16 15:47 (UTC)

Do you think this maybe should live in /opt/dwarffortress/soundsense?