luxtorpeda-dev / packages

Package build scripts and support for luxtorpeda client
https://luxtorpeda.org
zlib License
35 stars 28 forks source link

The Elder Scrolls Arena: No music with DOSBox-Staging #1222

Open gnollhide opened 1 month ago

gnollhide commented 1 month ago

Game

The Elder Scrolls Arena

Engine

DOSBox-Staging

Linux Distribution

Linux Mint 21.3

Luxtorpeda Version

v70.0.0

Bug description

When starting a game in Arena, either loaded or new, no MIDI music is played. Sound effects such as footsteps and sword slashes play, and the voice over for the opening with Ria Silmane play, but there is no music at any point during gameplay.

Steps To Reproduce

Launch game via DOSBox-Staging, default settings.

Expected Behavior

All audio, including MIDI music, should be emulated.

Additional Context

No response

Relevant log output

No response

d10sfan commented 1 month ago

Can you provide a log? The easiest way for this is to run steam in a terminal window and copy the output to a file or pastebin.

gnollhide commented 1 month ago

Of course, one moment. I'll start a fresh steam, log it to a txt file, start the game, load my test save, then quit it all.

gnollhide commented 1 month ago

steamlog.txt

Attached is the simple terminal log output, if you want something more in-depth I'll have to get that to you tomorrow after I get some sleep.

gnollhide commented 1 month ago

I had a little extra time and realized that log only gets stdout and not the error stream, here's the full terminal output with both steamerror.txt

d10sfan commented 1 month ago

Looks like it's probably related to:

2024-05-24 23:49:59.522 | MIDI:ALSA: No available MIDI devices found
2024-05-24 23:49:59.522 | MIDI: Can't find device: 'auto', MIDI is not available

I'll see what I can find out.

gnollhide commented 1 month ago

For an update, it turned out that I didn't have timidity or fluid-soundfont-gm installed so i tried installing those but it doesn't appear to have had any change in the music, if you'd like I can try capturing the errors again for a freshly installed MIDI emulator to see if it makes a difference.

d10sfan commented 2 weeks ago

dosbox-staging and the other engines run inside the sniper runtime of steam, so your local packages don't make a difference. So it sounds like there's some package missing that dosbox-staging needs to play the music.

It's possible that the issue may be related to a soundfont not being found by dosbox-staging.

Can you try updating your dosbox config to have a path to a soundfont? like

[fluidsynth] soundfont = ""

gnollhide commented 2 weeks ago

Tried adding

[fluidsynth] soundfont = "/usr/share/sounds/sf2/FluidR3_GM.sf2"

to arena.conf with no change. Is there perhaps a different config I should've put it in?

d10sfan commented 2 weeks ago

Can you try copying it to the game directory and using an relative path to it? And I think that should work but not completely sure

gnollhide commented 2 weeks ago

Dropping it in the same directory as arena.conf and changing the link to "./FluidR3_GM.sf2" doesn't seem to make any change either. Is there a different directory I should be checking? This is in the steam/steamapps/common/The Elder Scrolls Arena/DOSBox-0.74 folder if it matters, I can't find any .conf files in the ARENA folder.

Edit: Got the path slightly wrong, fixed now