diff --git a/utils/README b/utils/README index 1e9f2ad..949412d 100644 --- a/utils/README +++ b/utils/README @@ -35,8 +35,9 @@ installing it. 6.The Hidden Dagger II - Dragon's Legacy https://www.trle.net/sc/levelfeatures.php?lid=3621 Starts the game and first map, backgrund audio is missing -Note: I got it partly fixed here https://github.com/noisecode3/ogg-winmm -but you need to replace winmm.dll remove ffplay.dll and convert the files -in the music map to ogg and then rename the tracks to Track02.ogg, Track03.ogg. -I gott something playing in the background at the start of the map. I could work on it -a bit more maybe I could figure it out. Or you can. + + Note: I got the build fix here https://github.com/noisecode3/ogg-winmm + but you need to replace winmm.dll remove ffplay.dll and convert the files + I left a script called convert.sh you have to it copy to + ~/.local/share/TombRaiderLinuxLauncher/6.TRLE/music + and run it from there diff --git a/utils/convert.sh b/utils/convert.sh new file mode 100644 index 0000000..808e47f --- /dev/null +++ b/utils/convert.sh @@ -0,0 +1,7 @@ +#!/bin/bash +for file in *.wma; do ffmpeg -i "$file" -c:a libvorbis -q:a 4 "${file%.*}.ogg"; done +i=12 +for file in *.ogg; do + mv "$file" "Track$(printf %02d $i).ogg" + ((i++)) +done