Call for Testing: LambdaRogue: The Book of Stars

I rebooted, and now it works, so ignore my error report! Thanks for snapping the game! :smiley:

(I have a habit of updating my system and not rebooting for days or weeks at a time. I clearly didnā€™t reboot over Christmas, sorry about the bum-steer).

1 Like

No idea. It is Ubuntu 18.10 here with snap/snapd 2.36.3

For abitrolly (and others who might have ALSA errors with my snap), Iā€™m going to try the suggestion from the following thread:

Iā€™d be surprised if that is needed or helps. If this is using SDL, it will use pulseaudio by default (or that can be forced by passing an environment variable). The alsa errors in the terminal can usually be ignored. Is there an actual problem with audio playback or is it just error messages in the terminal?

1 Like

Donā€™t know. According to abitrollyā€™s error output:

Error: SDL Mixer could not be initialized.

Maybe the binary stops then?

Note I use SDL 1.2, not 2.0, so I donā€™t know if it really uses pulseaudio by default. However, your hint about forcing it via an environment variable might do the trick. In my next update to the snap, Iā€™ll set ā€œSDL_AUDIODRIVERā€ to ā€œpulseā€ (which is the valid value for SDL 1.2), and then weā€™ll see what happens. :slight_smile:

Why use SDL 1.2 instead of SDL 2.0?

Because this game is 12 years old and I donā€™t see a need for rewriting large parts which work fine.

ā€œperhaps you should rewrite it in rust?ā€

ref: https://transitiontech.ca/random/RIIR

For C it might make sense, but for FreePascal I doubt it. SDL2 itself is not easy.

https://twitter.com/realbisqwit/status/869459175927148544?lang=en

ref: https://www.freepascal-meets-sdl.net/sdl-tutorials/

Running SDL_AUDIODRIVER=pulse lamdarodue removes ALSA error message, but Error: SDL Mixer could not be initialized. is still there. Does it work on your system?

as a data point: on my Ubuntu 18.10 system Iā€™m able to run the application fine, with no errors about alsa or the mixerā€¦ Audio works without issue.