From 06c7c2e9987ae0e20a4713f504174154ed3993b6 Mon Sep 17 00:00:00 2001 From: egornovivan Date: Mon, 15 Feb 2021 04:28:45 +0500 Subject: [PATCH] Added README.md and travis script. --- .travis.yml | 17 +++++++++++++++++ README.md | 28 ++++++++++++++++++++++++++++ extra/publish.sh | 19 +++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 .travis.yml create mode 100644 README.md create mode 100755 extra/publish.sh diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..34a4abf --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: minimal +dist: bionic +sudo: false + +script: + - ./extra/publish.sh + +deploy: + provider: releases + api_key: $GITHUB_TOKEN + file_glob: true + file: + - fallout_sonora*.zip + skip_cleanup: true + on: + tags: true + branch: master diff --git a/README.md b/README.md new file mode 100644 index 0000000..bce1c10 --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# Fallout-Sonora-HQ-music + +High quality music for Fallout Sonora. + +## Installation + +### Low quality +1. Download LQ version from the [latest release page](https://github.com/egornovivan/Fallout-Sonora-HQ-music/releases/latest). +1. Extract into `data\sound\music`. +1. In `fallout2.cfg` find `[sound]` section and set `music_path1=data\sound\music\`. + +### High quality +1. Make sure you have [sfall](https://github.com/phobos2077/sfall/) (`ddraw.dll`) version no less than 4.2.9. +1. Download HQ version from the [latest release page](https://github.com/egornovivan/Fallout-Sonora-HQ-music/releases/latest). +1. Extract into `data\sound\music`. +1. In `fallout2.cfg` find `[sound]` section and set `music_path1=data\sound\music\`. + +### Ultra high quality +1. Make sure you have [sfall](https://github.com/phobos2077/sfall/) (`ddraw.dll`) version no less than 4.1.1. +1. Download UHQ version from the [latest release page](https://github.com/egornovivan/Fallout-Sonora-HQ-music/releases/latest). +1. Extract into `data\sound\music`. +1. In `fallout2.cfg` find `[sound]` section and set `music_path1=data\sound\music\`. +1. In `ddraw.ini`, find `[Sound]` section and set `AllowDShowSound=2`. + +## Composer +[Nobody's Nail Machine](https://nobodysnailmachine.bandcamp.com/) +[Mark Morgan](https://vgmdb.net/artist/1446) + diff --git a/extra/publish.sh b/extra/publish.sh new file mode 100755 index 0000000..6b98d17 --- /dev/null +++ b/extra/publish.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +set -xeu -o pipefail + +# release? +if [ -n "$TRAVIS_TAG" ]; then # tag found: releasing + export version="$TRAVIS_TAG" +else + export version="git$TRAVIS_COMMIT" +fi + +for q in lq_ebur128 hq_ebur128 uhq_ebur128; do + fname="fallout_sonora_${q}_music_${version}.zip" + cp "LICENSE.md" "$q" + cd "$q" + zip "$fname" * + mv "$fname" .. + cd .. +done