Kaptain Brawe: A Brawe New World

Kaptain Brawe: A Brawe New World

View Stats:
 This topic has been pinned, so it's probably important
kspes  [developer] 13 Oct, 2023 @ 8:41am
Linux support
Hi Fellow Linux users,

We have made a native Linux version of this game available and would love to hear your feedback.

* Does the game run on your machine?
* Does it run well, are you experiencing any performance problems?
* Which Linux distribution are you using?
* Which CPU and GPU does your machine have?

All Linux versions of our games are built in accordance to Steam's guidelines for Linux, so (in theory) if you can run the Steam client on your machine, you should be able to run all our games.

Use this thread to discuss the Linux version in general.

----
FAQ:

Q: Steam can't launch the game, says "compatibility failed"
A: Steam downloaded windows version or is trying to launch linux binary with proton. This happens on some computers for unknown reasons, while others are able to launch native linux versions without problems.
The solution is to go to game settings -> compatibility -> select "Linux runtime (scout)" and update the game.

Q: Steam downloaded windows version (you can see an .exe file in game files)
A: See previous question, need to set compatibility settings to "LInux runtime (scout)"
Last edited by kspes; 4 Nov, 2023 @ 3:15pm
< >
Showing 1-13 of 13 comments
MASTAN 13 Oct, 2023 @ 11:43am 
Game runs fine except there's no sound at all.
Cloud saves work, I see all saves from my previous Windows gameplay and able to load and play them. So except for the sound everything else seems to work.

Soundcard works in other games and apps. Sound volume in settings is of high values. Neither music nor sounds or voice is heard.
There is brawe_steam_linux_x64 in the list of apps in sound panel of cinnamon-settings, its volume is 100% there.

Linux Mint 21.2 x64 Cinnamon fully updated.
Kernel: 6.2.0-34-generic
CPU: Intel Core i5-12600K
GPU: Nvidia GeForce 4070 Ti
Audio: Integrated sound card, headphones.
Last edited by MASTAN; 13 Oct, 2023 @ 11:57am
kspes  [developer] 13 Oct, 2023 @ 12:17pm 
Well that's weird, the game uses libSDL, same as steam, in theory there should be no problem?

Can you do the following please:

run the executable directly by supplying the log path:
/path/to/brawe_steam_linux_x64 --log="/path/to/write/log.txt"
and send that file to support@cateia.com so we can investigate.

Next, try to set the compatibility setting in steam to "Linux Runtime (scout)", let me know if that fixes sound?

Probably a simple thing to deal with, what's more important is that the game works on your machine! It's notoriously difficult to distribute binaries for linux that work on other distros. Steam dev team really made some awesome strides in this department.
Last edited by kspes; 13 Oct, 2023 @ 12:17pm
MASTAN 13 Oct, 2023 @ 1:17pm 
Can't run that executable directly, it says shared library libsteam_api.so not found.
But I used launch option in Steam and the log was created.
I think I found the cause:
[xal] Initializing XAL: 4.0.0
[xal] Initializing SDL-Audio.
[xal] Requesting SDL audio device: CA0108/CA10300 [Sound Blaster Audigy Series] (SB1550 Audigy 5/Rx) Analog Stereo
[xal] Audio system created: SDL-Audio
[xal] Starting audio update thread.
I have several sound cards in my system - integrated one, Sound Blaster Audigy, and HDMI for the TV. And several outpus of them.
Here's the list of them: https://paste.pics/9f39f5e719c79f0ac945c9664486490b
The game tries to use Audigy while currently selected sound device is headphones connected to the front panel output of integrated sound card("Headphones Built-in Audio" in this list).
kspes  [developer] 13 Oct, 2023 @ 1:35pm 
Thanks, that helps (and explains the problem)! I'll see if I can adjust code to use system default.
kspes  [developer] 13 Oct, 2023 @ 2:54pm 
Ok I think I found the problem. So my code was selecting the FIRST audio device, not the default one. And since most systems have 1 audio device, the first usually is the default.

I've now adjusted the code to try and select the default audio device. I've also added functionailty that you can override this selection by passing --sdl-audio-device-index=X in launch options on Steam, with X being the index of the audio devices as listed in the game logs (which can be obtained with --log launch option as described above).

The new version should be available shortly, please let me know if the new version solves the problem, and if not, were you able to solve it with the --sdl-audio-device-index launch option.

Fingers crossed!
kspes  [developer] 13 Oct, 2023 @ 3:24pm 
the new Linux build is live, version 2.11.3.3
MASTAN 13 Oct, 2023 @ 3:48pm 
Now it works:
[xal] Initializing XAL: 4.0.0
[xal] Initializing SDL-Audio.
[xal] Initialising SDL audio system (SDL_mixer)
[xal] SDL reports 3 audio devices present in the system:
[xal] * 0: CA0108/CA10300 [Sound Blaster Audigy Series] (SB1550 Audigy 5/Rx) Analog Stereo
[xal] * 1: Built-in Audio Analog Stereo
[xal] * 2: HDA NVidia Digital Stereo (HDMI)
[xal] SDL reports default audio devices as: Built-in Audio Analog Stereo
[xal] SDL will attempt to use the default audio device. If you wish to override this, execute this program with argument --sdl-audio-device-index=<index> with <index> matching the number of the device as listed above
[april] Uploading async texture: 'brawe_data/loading_screen/loading_screen_hd.png' (Immutable)
[xal] SDL audio driver: pulseaudio
[xal] Audio system created: SDL-Audio
[xal] Starting audio update thread.

I tried overriding and it also works:
[xal] SDL reports default audio devices as: Built-in Audio Analog Stereo
[xal] Overriding SDL default audio device with device number 2: HDA NVidia Digital Stereo (HDMI)

Problem solved! :ss13ok:
kspes  [developer] 13 Oct, 2023 @ 3:50pm 
Awesome! Thanks for the feedback. Enjoy the game :)
Vizavoris 17 Oct, 2023 @ 7:04am 
Originally posted by kspes:
Awesome! Thanks for the feedback. Enjoy the game :)

My saves gone after this update
kspes  [developer] 17 Oct, 2023 @ 7:54am 
Not gone, just relocated, need to manually put into new directory, instructions are here: https://gtm.steamproxy.vip/app/65080/discussions/0/3805029361155699430/
Darth ŠČ! 4 Jan, 2024 @ 7:49am 
I ran the Linux version on Debian 12 + Steam downloaded from Valve.
Everything works perfectly

Then I tried on Ubuntu 23.10 + Steam downloaded from Valve.
At first the game would not start at all, but I learned in install folder that Windows binaries are still present. So I manually forced Linux compatibility to tell Steam to get me Linux binaries. Then everything worked. After everything worked I have once again disabled forced compatibility and everything continued working flawlessly.
kspes  [developer] 4 Jan, 2024 @ 10:48am 
Originally posted by DarthChillash:
At first the game would not start at all, but I learned in install folder that Windows binaries are still present. So I manually forced Linux compatibility to tell Steam to get me Linux binaries. Then everything worked. After everything worked I have once again disabled forced compatibility and everything continued working flawlessly.

Yeah this thing is driving me nuts, I can't get hold of a computer that reproduces this problem consistently :/ If anyone get this problem again, please contact me before changing anything, so we can try changing some settings online, maybe it un-confuses the steam client...
kspes  [developer] 6 May, 2024 @ 10:01am 
An update on this, it seems steam has silently fixed this, or at least I haven't experienced it myself anymore. Can anyone else confirm?
< >
Showing 1-13 of 13 comments
Per page: 1530 50