Posted: Mon Dec 20, 2021 8:55 pm
Ok, I tried to patch that crash, pushed some additional code to Git. Will work on a better fix tomorrow, but hopefully this will make it work already 
- Agetian
- Agetian
The place to discuss the best game ever!
http://www.boulder-dash.nl/forum/
Code: Select all
def update_game(self) -> None:
if self.popup_frame < self.graphics_frame:
cProfile.runctx("self.gamestate.update(self.graphics_frame)", globals(), locals(), None, "ncalls")
#self.gamestate.update(self.graphics_frame)

Hmm, this seems to be an issue with the upstream Miniaudio library or the way it interacts with Synthplayer (another external library BoulderCaves(+) currently uses for the audio playback), and it could be one of the Windows-specific issues mentioned by Irmen de Jong in the original Bounder Caves documentation (it says there that on Windows there could be some audio issues). Not sure if I can easily resolve that somehow, will need to take a look thoughDarkStoorM wrote:Something is wrong with Synthesized sounds, the game crashes upon finishing the cave.
When I remove the repeat assertion in line 186 (synthsamples.py), it works, but the last 10 seconds will sound weirdlike the game tries to play the next 10 samples without interrupting the previous one
Thank you for the kind words, zsom! Much appreciated!zsom wrote:Agetian.
Thank you for the effort you made.
And there are a few Rockfords, Boulderdashplus are also working.

