Wargus / war1gus

Importer and scripts for Warcraft: Orcs and Humans
GNU General Public License v2.0
100 stars 14 forks source link

[macOS] Music not working #462

Open shinra-electric opened 1 month ago

shinra-electric commented 1 month ago

This is a kind of follow-up to this issue.

Music is not working in War1gus. However I don't think this is due to a recent change, as previous builds I made also don't have music (I just didn't notice until now).

The logs show that it is referencing the source code folder, which doesn't exist anymore. Similar behaviour to this wartool issue

Terminal Saved Output.txt

Jarod42 commented 1 month ago

Supported sound decoders: WAVE AIFF VOC MOD OGG OPUS MP3 FLAC WAVPACK Supported music decoders: CMD WAVE FLAC WAVPACK OGG OPUS MPG123 XMP MOD MP3 [..] LoadMusic: Can't load the music 'music/27.mid'

MID decoders is missing :-/ (SDL_Mixer has option for midi file (disabled by default))

I personally have (on Windows)

Supported sound decoders: WAVE AIFF VOC MID OGG MP3 FLAC
Supported music decoders: WAVE DRFLAC OGG MINIMP3 NATIVEMIDI MIDI MP3 FLAC

Alternatively, as you have ogg support, you might convert music to ogg:

war1tool [-m] [-v] [-V] [-h] archive-directory [destination-directory]
-m    Extract and convert midi sound files (may take some time)

It is the -m flag.