Author Topic: PSX soundtrack issues  (Read 1891 times)

Offline Fraktal

  • Squaddie
  • *
  • Posts: 4
    • View Profile
PSX soundtrack issues
« on: October 30, 2021, 06:39:15 pm »
Just got OpenXcom two days ago and already ran into an issue; posting here because I'm not sure whether it's a bug or if I'm doing something wrong.

  • Completely fresh install of the most recent nightly
  • Steam version of UFO, fresh install without cloud save
  • Windows 10
  • No mods whatsoever

Back when I used to play with UFO Extender, I used the PSX soundtrack as BGM in MP3 format. When I installed OpenXcom two days ago, I added the same files to the game. Now, I know that it's stated to be buggy but two days ago, I played for several hours with no issues. Yesterday however, the game suddenly went uncooperative: upon entering a tactical battle, the game freezes after a second and crashes out to desktop with no error message and no error in the logfile either. Windows event log says it's an access violation in the OpenXcom executable, but the offset is always different.

If I set the game music to Auto or MP3, there's an about 90% chance that upon launching the game, I get no menu music. options.cfg contains my choice and the Options screen says the same, however the screen also says the game is currently using Adlib. When I enter the Geoscape, the MP3 soundtrack starts instead of the Adlib one but when I enter a tactical battle, the game crashes when it tries to load the Battlescape music. Said file plays just fine outside the game, so it's probably not corrupted. The actual Adlib music works just fine.

It's not a bugged savefile either: loading an earlier one produced the same crash, but switching to Adlib music allowed me to clear the mission without a crash. So something's definitely wrong with MP3 music in particular and when I tried to convert the soundtrack to OGG with the same bitrate (128 kbps) as the original MP3 files, the game didn't even load the files but fell back to using the MP3 tracks instead, with the log stating that the OGG files are not Ogg Vorbis streams (and Winamp didn't play them either, but Media Player Classic did).

So. Is the game bugging out on me, or is it me doing something wrong? Again, these crashes leave no errors in the logfile. Logfile simply ends after noting that I'm using software scaling.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9094
    • View Profile
Re: PSX soundtrack issues
« Reply #1 on: October 30, 2021, 10:17:36 pm »
Hi.

MP3 files are explicitly unsupported by OpenXcom.
(they randomly crash the game, and cause unpredictable behavior)

Convert into OGG, then remove the MP3 files completely and try again.