diff --git a/build_data.sh b/build_data.sh index 4218fb47a..11452e6e7 100755 --- a/build_data.sh +++ b/build_data.sh @@ -16,9 +16,10 @@ # unrar: sudo apt-get install unrar # Data files needed: -# data1.cab and data1.hdr from the original CDROM +# data1.cab and data1.hdr from the original 1st CDROM +# Heroes3.snd from the original 2nd CDROM # the WoG release v3.58f: allinone_358f.zip -# the VCMI distribution: vcmi_085.zip +# the VCMI distribution: vcmi_085b.rar # Usage: put this script and the 4 data files into the same directory # and run the script. @@ -60,6 +61,8 @@ find . -name "*.ASI" | xargs rm -f mv Program_Files/* $DESTDIR cd .. +# Copy Heroes3.snd from 2nd CDROM and rename it to avoid a name conflict. +cp Heroes3.snd $DESTDIR/Data/Heroes3-cd2.snd # Extract Data from WoG # 39753248 allinone_358f.zip @@ -106,7 +109,8 @@ rm -rf temp mkdir temp cd temp -unzip ../vcmi_085.zip +#unzip ../vcmi_085.zip +unrar ../vcmi_085b.rar find . -name "*.dll" | xargs rm -f find . -name "*.DLL" | xargs rm -f diff --git a/client/CMusicHandler.cpp b/client/CMusicHandler.cpp index 1902dff97..08779e603 100644 --- a/client/CMusicHandler.cpp +++ b/client/CMusicHandler.cpp @@ -75,7 +75,7 @@ CSoundHandler::CSoundHandler() // Vectors for helper(s) pickupSounds += soundBase::pickup01, soundBase::pickup02, soundBase::pickup03, soundBase::pickup04, soundBase::pickup05, soundBase::pickup06, soundBase::pickup07; - horseSounds += // must be the same order as terrains (see EtrrainType); + horseSounds += // must be the same order as terrains (see EterrainType); soundBase::horseDirt, soundBase::horseSand, soundBase::horseGrass, soundBase::horseSnow, soundBase::horseSwamp, soundBase::horseRough, soundBase::horseSubterranean, soundBase::horseLava, @@ -89,6 +89,7 @@ void CSoundHandler::init() if (initialized) { // Load sounds sndh.add_file(std::string(DATA_DIR "/Data/Heroes3.snd")); + sndh.add_file(std::string(DATA_DIR "/Data/Heroes3-cd2.snd")); sndh.add_file(std::string(DATA_DIR "/Data/H3ab_ahd.snd")); } }