diff options
author | B. Watson | 2021-10-30 10:28:54 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2021-12-04 04:08:51 +0100 |
commit | 407df0de814eef259f98b14b0f0799a60ef837f6 (patch) | |
tree | 74a666c0d4db0967e974fe2defe3cb7caeb0e851 /games/jfsw/README_music.txt | |
parent | 39010c3f65647e8fa2c0afc2ebb733b77bd46e6b (diff) | |
download | slackbuilds-407df0de814eef259f98b14b0f0799a60ef837f6.tar.gz |
games/jfsw: Updated for version 20210725_716e1e3.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/jfsw/README_music.txt')
-rw-r--r-- | games/jfsw/README_music.txt | 94 |
1 files changed, 14 insertions, 80 deletions
diff --git a/games/jfsw/README_music.txt b/games/jfsw/README_music.txt index f6c44ca5ab..e3292c50ea 100644 --- a/games/jfsw/README_music.txt +++ b/games/jfsw/README_music.txt @@ -1,84 +1,18 @@ -The most important things to understand about the music in Shadow Warrior: +The shareware (demo) version of the game is the only version that uses +MIDI. -The demo/shareware version of the game uses MIDI. There are actually -.MID files stored within sw.grp. +The registered version of the game was distributed on CD, and played +the music from audio tracks on the disc. This isn't supported in jfsw. +There is no MIDI data inside the .grp files for the registered version +or the expansions. -The full/registered version and/or expansion pack uses CD audio -tracks. They *can't* use MIDI: there's no MIDI data inside its .grp -files at all. +There are two choices to get music working in jfsw: -So there are 2 completely separate procedures for getting the music -to work, depending on whether you're playing the full/expansion or -demo version. +- OGG files, created by ripping the audio from the game CD. This + works with all versions of the game. To get them, install + jfsw_registered_data. The other games (Shareware, Twin Dragon, + Wanton Destruction) will use the same audio tracks. -Full (Registered) Version, Wanton Destruction expansion -------------------------------------------------------- - -For these versions, jfsw doesn't actually support CD audio from a -physical CD [*]. It does, however, support .ogg files made from the CD. - -As of April 2020, the jfsw_registered_data build includes the .ogg files, -so there's no need to rip them from CD or download them separately. If -you're playing Wanton Destruction, install both jfsw_registered_data -and jfsw_wanton_destruction. - -Run the game, and the music should play. If not, use the in-game menus -(Options, Sound Menu) to enable the music and turn up the volume. - -If you followed the steps below to get the demo music to play, you'll -have to re-edit ~/.jfsw/sw.cfg and change the MusicDevice back to 0. - -If you're never going to play the demo version, there's no need to build -jfsw with fluidsynth support (although, it won't hurt anything if you do). - -Note: When using the .ogg soundtrack, under some conditions, it seems -the background music stops playing after loading a saved game. If this -happens to you, toggle the music off & back on (under Options, Sound -Menu), which should start it playing again. - -[*] There is some code in jfaudiolib that's supposed to play CD audio - but it's (a) SDL-1.2 only, and (b) broken. - -Demo (Shareware) Version ------------------------- - -For the shareware version, the MIDI data is already present inside the -sw.grp file. To actually hear it, you'll have to: - -1. Build and install fluidsynth. Doesn't matter whether or not - optional jack and/or lash are included (jfsw doesn't use them though). - -2. Build and install fluid-soundfont. - -3. Build and install jfsw. When installing, the description should say - the package was built with fluidsynth. - -4. Run the game once, and exit it normally, to get it to create a config - file. You should now have a ~/.jfsw/sw.cfg file. - -5. Edit ~/.jfsw/sw.cfg, find the line that says "MusicDevice = 0", and - change the 0 to a 6. This enables fluidsynth. - -6. Run the game again. Make sure the music is enabled and the music - volume is turned up (under Options, Sound Menu). - -Unfortunately, the edited config file won't work with the full version. -You'll have to change MusicDevice back to 0 (meaning 'autodetect') to get -the .ogg tracks to play. Other possible values are 1 (SDL) and 7 (ALSA). - -There's no direct way to change which soundfont jfsw uses. What it does is -look in /usr/share/sounds/sf2/ and pick the first soundfont it finds, in -sorted order. Basically it does the C++ equivalent of: - -$ ls /usr/share/sounds/sf2/*.sf2 | head -1 - -If the only sound fonts in that directory are the ones installed by -the fluid-soundfont package, it will choose "FluidR3_GM.sf2", which is -reasonable and sounds good. - -If you want to use a different soundfont, try something like this: - -# cd /usr/share/sounds/sf2/ -# ln -s MySoundFont.sf2 000-jfsw.sf2 - -Check with the ls command above, to make sure 000-jfsw.sf2 sorts first. +- MIDI. This only works for the shareware/demo version (jfsw_demo_data), + and is only necessary if you don't want to install jfsw_registered_data. + To use MIDI, install fluidsynth-soundfont. |