Call for Testing: LambdaRogue: The Book of Stars


#28

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).


#29

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


#30

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


#31

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?


#32

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:


#33

Why use SDL 1.2 instead of SDL 2.0?


#34

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


#35

“perhaps you should rewrite it in rust?”

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


#36

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/


#37

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?


#38

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.