app does not find resources in linux-specific directories
I followed the instructions for building manually and sucessfully built the app. I moved the resources to the correct destination.
ls /usr/share/abaddon
css res
However, the app does not work.
Log from running the app (note the first warning)
debian% ./abaddon
[2025-05-22 21:41:28.650] [discord] [warning] cant find a resources folder, will try to load from cwd
[2025-05-22 21:41:28.651] [miniaudio] [info] Failed to load library: libpulse.so
[2025-05-22 21:41:28.657] [audio] [info] Audio backend: PulseAudio
[2025-05-22 21:41:28.658] [miniaudio] [info] [PulseAudio] Playback attr: maxlength=14400, tlength=4800, prebuf=-1, minreq=-1, fragsize=4800; periodSizeInFrames=1200
[2025-05-22 21:41:28.658] [miniaudio] [info] [PulseAudio] Playback sample spec: format=16-bit Signed Integer, channels=2, rate=48000
[2025-05-22 21:41:28.658] [miniaudio] [info] [PulseAudio] Playback actual attr: maxlength=14400, tlength=3600, prebuf=2404, minreq=1200, fragsize=4800; internalPeriodSizeInFrames=900
[2025-05-22 21:41:28.659] [miniaudio] [info] [PulseAudio]
[2025-05-22 21:41:28.659] [miniaudio] [info] Built-in Audio Analog Stereo (Playback)
[2025-05-22 21:41:28.659] [miniaudio] [info] Format: 32-bit IEEE Floating Point -> 16-bit Signed Integer
[2025-05-22 21:41:28.659] [miniaudio] [info] Channels: 2 -> 2
[2025-05-22 21:41:28.659] [miniaudio] [info] Sample Rate: 48000 -> 48000
[2025-05-22 21:41:28.659] [miniaudio] [info] Buffer Size: 900*4 (3600)
[2025-05-22 21:41:28.659] [miniaudio] [info] Conversion:
[2025-05-22 21:41:28.659] [miniaudio] [info] Pre Format Conversion: NO
[2025-05-22 21:41:28.659] [miniaudio] [info] Post Format Conversion: YES
[2025-05-22 21:41:28.659] [miniaudio] [info] Channel Routing: NO
[2025-05-22 21:41:28.659] [miniaudio] [info] Resampling: NO
[2025-05-22 21:41:28.659] [miniaudio] [info] Passthrough: NO
[2025-05-22 21:41:28.659] [miniaudio] [info] Channel Map In: {CHANNEL_FRONT_LEFT CHANNEL_FRONT_RIGHT}
[2025-05-22 21:41:28.659] [miniaudio] [info] Channel Map Out: {CHANNEL_FRONT_LEFT CHANNEL_FRONT_RIGHT}
[2025-05-22 21:41:28.660] [audio] [info] using Built-in Audio Analog Stereo as playback device
[2025-05-22 21:41:28.661] [miniaudio] [info] [PulseAudio] Capture attr: maxlength=5760, tlength=1920, prebuf=-1, minreq=-1, fragsize=1920; periodSizeInFrames=480
[2025-05-22 21:41:28.662] [miniaudio] [info] [PulseAudio] Capture sample spec: format=16-bit Signed Integer, channels=2, rate=48000
[2025-05-22 21:41:28.662] [miniaudio] [info] [PulseAudio] Capture actual attr: maxlength=5760, tlength=1920, prebuf=-1, minreq=-1, fragsize=1920; periodSizeInFrames=480
[2025-05-22 21:41:28.663] [miniaudio] [info] [PulseAudio]
[2025-05-22 21:41:28.664] [miniaudio] [info] Built-in Audio Analog Stereo (Capture)
[2025-05-22 21:41:28.664] [miniaudio] [info] Format: 16-bit Signed Integer -> 16-bit Signed Integer
[2025-05-22 21:41:28.664] [miniaudio] [info] Channels: 2 -> 2
[2025-05-22 21:41:28.664] [miniaudio] [info] Sample Rate: 48000 -> 48000
[2025-05-22 21:41:28.664] [miniaudio] [info] Buffer Size: 480*3 (1440)
[2025-05-22 21:41:28.664] [miniaudio] [info] Conversion:
[2025-05-22 21:41:28.664] [miniaudio] [info] Pre Format Conversion: NO
[2025-05-22 21:41:28.664] [miniaudio] [info] Post Format Conversion: NO
[2025-05-22 21:41:28.664] [miniaudio] [info] Channel Routing: NO
[2025-05-22 21:41:28.664] [miniaudio] [info] Resampling: NO
[2025-05-22 21:41:28.664] [miniaudio] [info] Passthrough: YES
[2025-05-22 21:41:28.664] [miniaudio] [info] Channel Map In: {CHANNEL_FRONT_LEFT CHANNEL_FRONT_RIGHT}
[2025-05-22 21:41:28.664] [miniaudio] [info] Channel Map Out: {CHANNEL_FRONT_LEFT CHANNEL_FRONT_RIGHT}
[2025-05-22 21:41:28.665] [audio] [info] using Built-in Audio Analog Stereo as capture device
The app launches with three errors, in order:
Then it looks like this.
I looked more into it and it seems the application is looking for the resources at the same path as the path of the binary even on Linux.
I moved the binary to its standard GNU/Linux location, and got the same error with a different path.
In the documentation, it says:
You can put them directly next to the executable. On Linux, CSS and res can also be loaded from ~/.local/share/abaddon or /usr/share/abaddon (emphasis mine)
Which based on my errors appears not to be the case.
So I tried to launch abaddon with resources and executable contained in one folder which was the current working directory and it was successful with no errors. It did not run succesfully if it was not cwd.
debian% inxi -S
System:
Host: debian Kernel: 6.1.0-35-amd64 arch: x86_64 bits: 64 Desktop: Xfce
v: 4.18.1 Distro: Debian GNU/Linux 12 (bookworm)


