From 541532fb0b6109628da9f3db17d2186eb6775b7e Mon Sep 17 00:00:00 2001 From: M-HT Date: Sun, 15 Dec 2024 20:15:04 +0100 Subject: [PATCH] Battle Isle 3 release version 1.0.5 --- games/Battle Isle 3/release/linux/BI3.cfg | 8 +++++--- games/Battle Isle 3/release/linux/BattleIsle3.sh | 8 +++++++- games/Battle Isle 3/release/linux/readme-Linux.txt | 9 ++++++++- games/Battle Isle 3/release/windows/BI3.cfg | 4 +++- games/Battle Isle 3/release/windows/BattleIsle3.cmd | 8 +++++++- games/Battle Isle 3/release/windows/readme-Windows.txt | 9 ++++++++- midi-plugins/README.md | 6 ++++-- midi-plugins/komp-x86-windows.cmd | 3 +-- 8 files changed, 43 insertions(+), 12 deletions(-) diff --git a/games/Battle Isle 3/release/linux/BI3.cfg b/games/Battle Isle 3/release/linux/BI3.cfg index 0569ef5..c10a6de 100644 --- a/games/Battle Isle 3/release/linux/BI3.cfg +++ b/games/Battle Isle 3/release/linux/BI3.cfg @@ -10,19 +10,21 @@ Outro_Play=yes # Audio settings # -------------- # -# Audio_MidiSubsystem=alsa/wildmidi/bassmidi/adlmidi - use ALSA sequencer, WildMIDI, BASSMIDI or ADLMIDI for MIDI playback (ALSA sequencer can use hardware or software synth (like Fluidsynth or TiMidity++). WildMIDI uses GUS patch files for playback. BASSMIDI uses soundfont for playback. ADLMIDI uses OPL3 emulator for playback.) +# Audio_MidiSubsystem=nativewindows/wildmidi/bassmidi/adlmidi/original/mt32-nativewindows - use NativeWindows, WildMIDI, BASSMIDI, ADLMIDI or the original (Windows 3.1 compatible) method for MIDI playback (WildMIDI uses GUS patch files for playback. BASSMIDI uses soundfont for playback. ADLMIDI uses OPL3 emulator for playback. Music can be played on MT-32 synth using NativeWindows.) # Audio_MidiVolume=0-127 - midi volume # Audio_SoundFont_Path=X - X = path to soundfont file (used by BASSMIDI) -# Audio_MidiDevice=X - X = client name or port (e.g. 128:0) (used by ALSA sequencer) +# Audio_MidiDevice=X - X = name of MIDI device (used by NativeWindows) # Audio_OPL3BankNumber=0-77 - OPL3 bank (used by ADLMIDI; list of banks: https://github.com/Wohlstand/libADLMIDI/blob/master/banks.ini) # Audio_OPL3Emulator=fast/precise - use fast (DOSBox) or precise (Nuked) OPL3 emulator (used by ADLMIDI) +# Audio_MT32_Delay_Sysex=yes/no - select whether to add delays when sending sysex messages on MT-32 (to prevent buffer overflow with Rev.0 MT-32) # Audio_MidiResamplingQuality=0/1 - midi resampling quality (higher = better) (used by WildMIDI, BASSMIDI and ADLMIDI) -Audio_MidiSubsystem=adlmidi +Audio_MidiSubsystem=nativewindows Audio_MidiVolume=100 Audio_SoundFont_Path= Audio_MidiDevice= Audio_OPL3BankNumber=59 Audio_OPL3Emulator=precise +Audio_MT32_Delay_Sysex=no Audio_MidiResamplingQuality=1 # Display settings diff --git a/games/Battle Isle 3/release/linux/BattleIsle3.sh b/games/Battle Isle 3/release/linux/BattleIsle3.sh index db423b9..4416d0d 100755 --- a/games/Battle Isle 3/release/linux/BattleIsle3.sh +++ b/games/Battle Isle 3/release/linux/BattleIsle3.sh @@ -15,5 +15,11 @@ fi # Uncomment and set SDI_CD_PATH to contain path to the directory where the game CDs are copied (in case it's not in the DATA subdirectory of the directory where the game is installed) # export SDI_CD_PATH="/path/to/game/cd/directory" -wine SR-BI3.exe.so +# Set SDI_LANG to change the language in game (text only) +# 0 = german (deutsch) +# 1 = english +# 2 = french (français) - use only when your CD contains french resources (i.e. FRA directory) +SDI_LANG=1 + +wine SR-BI3.exe.so -$SDI_LANG sync diff --git a/games/Battle Isle 3/release/linux/readme-Linux.txt b/games/Battle Isle 3/release/linux/readme-Linux.txt index 7f805e3..fdcbabf 100644 --- a/games/Battle Isle 3/release/linux/readme-Linux.txt +++ b/games/Battle Isle 3/release/linux/readme-Linux.txt @@ -1,5 +1,5 @@ Battle Isle 3 for Linux (x86) -Version 1.0.4 +Version 1.0.5 Original Battle Isle 3 is required for playing. (version from GOG.com can be used for playing) @@ -32,6 +32,7 @@ libADLMIDI requires no additional files for MIDI playback, WildMIDI requires GUS patches for MIDI playback, BASSMIDI requires a soundfont for MIDI playback, libADLMIDI uses OPL3 emulator for MIDI playback. +Music can be played on MT-32 synth using ALSA sequencer. ALSA sequencer can detect usable synth automatically or it can be selected in the configuration file. @@ -66,6 +67,12 @@ Source code is available on GitHub: https://github.com/M-HT/SR Changes ------- +v1.0.5 (2024-12-15) +* add option to play music on MT-32 synth +* add french resource texts +* bug fixes + + v1.0.4 (2024-09-15) * add option to use higher quality midi resampling in libADLMIDI, WildMIDI, BASSMIDI libraries * use latest versions of libADLMIDI, WildMIDI libraries diff --git a/games/Battle Isle 3/release/windows/BI3.cfg b/games/Battle Isle 3/release/windows/BI3.cfg index 72a6838..c10a6de 100644 --- a/games/Battle Isle 3/release/windows/BI3.cfg +++ b/games/Battle Isle 3/release/windows/BI3.cfg @@ -10,12 +10,13 @@ Outro_Play=yes # Audio settings # -------------- # -# Audio_MidiSubsystem=nativewindows/wildmidi/bassmidi/adlmidi/original - use NativeWindows, WildMIDI, BASSMIDI, ADLMIDI or the original (Windows 3.1 compatible) method for MIDI playback (WildMIDI uses GUS patch files for playback. BASSMIDI uses soundfont for playback. ADLMIDI uses OPL3 emulator for playback.) +# Audio_MidiSubsystem=nativewindows/wildmidi/bassmidi/adlmidi/original/mt32-nativewindows - use NativeWindows, WildMIDI, BASSMIDI, ADLMIDI or the original (Windows 3.1 compatible) method for MIDI playback (WildMIDI uses GUS patch files for playback. BASSMIDI uses soundfont for playback. ADLMIDI uses OPL3 emulator for playback. Music can be played on MT-32 synth using NativeWindows.) # Audio_MidiVolume=0-127 - midi volume # Audio_SoundFont_Path=X - X = path to soundfont file (used by BASSMIDI) # Audio_MidiDevice=X - X = name of MIDI device (used by NativeWindows) # Audio_OPL3BankNumber=0-77 - OPL3 bank (used by ADLMIDI; list of banks: https://github.com/Wohlstand/libADLMIDI/blob/master/banks.ini) # Audio_OPL3Emulator=fast/precise - use fast (DOSBox) or precise (Nuked) OPL3 emulator (used by ADLMIDI) +# Audio_MT32_Delay_Sysex=yes/no - select whether to add delays when sending sysex messages on MT-32 (to prevent buffer overflow with Rev.0 MT-32) # Audio_MidiResamplingQuality=0/1 - midi resampling quality (higher = better) (used by WildMIDI, BASSMIDI and ADLMIDI) Audio_MidiSubsystem=nativewindows Audio_MidiVolume=100 @@ -23,6 +24,7 @@ Audio_SoundFont_Path= Audio_MidiDevice= Audio_OPL3BankNumber=59 Audio_OPL3Emulator=precise +Audio_MT32_Delay_Sysex=no Audio_MidiResamplingQuality=1 # Display settings diff --git a/games/Battle Isle 3/release/windows/BattleIsle3.cmd b/games/Battle Isle 3/release/windows/BattleIsle3.cmd index d0bb885..9f17068 100644 --- a/games/Battle Isle 3/release/windows/BattleIsle3.cmd +++ b/games/Battle Isle 3/release/windows/BattleIsle3.cmd @@ -7,4 +7,10 @@ rem set SDI_INSTALL_PATH=?:\path\to\game\install\directory rem Uncomment and set SDI_CD_PATH to contain path to the directory where the game CDs are copied (in case it's not in the DATA subdirectory of the directory where the game is installed) rem set SDI_CD_PATH=?:\path\to\game\cd\directory -start SR-BI3.exe +rem Set SDI_LANG to change the language in game (text only) +rem 0 = german (deutsch) +rem 1 = english +rem 2 = french (français) - use only when your CD contains french resources (i.e. FRA directory) +set SDI_LANG=1 + +start SR-BI3.exe -%SDI_LANG% diff --git a/games/Battle Isle 3/release/windows/readme-Windows.txt b/games/Battle Isle 3/release/windows/readme-Windows.txt index 3568599..c9eb049 100644 --- a/games/Battle Isle 3/release/windows/readme-Windows.txt +++ b/games/Battle Isle 3/release/windows/readme-Windows.txt @@ -1,5 +1,5 @@ Battle Isle 3 for Windows (x86) -Version 1.0.4 +Version 1.0.5 Original Battle Isle 3 is required for playing. (version from GOG.com can be used for playing) @@ -28,6 +28,7 @@ WildMIDI requires GUS patches for MIDI playback, BASSMIDI requires a soundfont for MIDI playback, libADLMIDI uses OPL3 emulator for MIDI playback, original uses Windows 3.1 compatible method for MIDI playback. +Music can be played on MT-32 synth using NativeWindows. NativeWindows can use the default synth or it can be selected in the configuration file. @@ -64,6 +65,12 @@ Source code is available on GitHub: https://github.com/M-HT/SR Changes ------- +v1.0.5 (2024-12-15) +* add option to play music on MT-32 synth +* add french resource texts +* bug fixes + + v1.0.4 (2024-09-15) * add option to use higher quality midi resampling in libADLMIDI, WildMIDI, BASSMIDI libraries * use latest versions of libADLMIDI, WildMIDI libraries diff --git a/midi-plugins/README.md b/midi-plugins/README.md index 905179e..09948a5 100644 --- a/midi-plugins/README.md +++ b/midi-plugins/README.md @@ -16,9 +16,9 @@ To compile the plugins with SpeexDSP support either run the compilation script w **midi-adlmidi** plays General MIDI music using [libADLMIDI](https://github.com/Wohlstand/libADLMIDI/ "A Software MIDI Synthesizer library with OPL3 (YMF262) emulator") library. libADLMIDI uses an OPL3 emulator to play MIDI music. -**midi2-windows** plays General MIDI and MT-32 music using [Windows API](https://learn.microsoft.com/en-us/windows/win32/multimedia/midi-reference "MIDI Reference"). Windows API can use hardware or software synth. The default software synth doesn't require additional files to play MIDI music. +**midi2-windows** plays General MIDI and MT-32 music using [Windows API](https://learn.microsoft.com/en-us/windows/win32/multimedia/midi-reference "MIDI Reference"). Windows API can use hardware or software synth. The default software synth doesn't require additional files to play MIDI music. Plugin can also play General MIDI music on MT-32 synth. -**midi2-alsa** plays General MIDI and MT-32 music using [ALSA sequencer API](https://www.alsa-project.org/alsa-doc/alsa-lib/group___sequencer.html "MIDI Sequencer"). ALSA sequencer can use hardware or software synth (like [FluidSynth](https://www.fluidsynth.org/ "A SoundFont Synthesizer") or [TiMidity++](https://timidity.sourceforge.net/ "TiMidity++")). +**midi2-alsa** plays General MIDI and MT-32 music using [ALSA sequencer API](https://www.alsa-project.org/alsa-doc/alsa-lib/group___sequencer.html "MIDI Sequencer"). ALSA sequencer can use hardware or software synth (like [FluidSynth](https://www.fluidsynth.org/ "A SoundFont Synthesizer") or [TiMidity++](https://timidity.sourceforge.net/ "TiMidity++")). Plugin can also play General MIDI music on MT-32 synth. ## Game-specific plugins @@ -29,3 +29,5 @@ These plugins use small x86 emulator to run the music driver from the game. The **adlib-dosbox_opl** plays Adlib (OPL2) music using OPL2/OPL3 emulation library from [DOSBox](https://www.dosbox.com/ "DOS-emulator") or [Nuked OPL3 emulator](https://github.com/nukeykt/Nuked-OPL3 " Highly accurate Yamaha OPL3 (YMF262, CT1747) emulator") (sources are included). No additional files are required to play music. **mt32-munt** plays MT-32 music using [Munt](https://munt.sourceforge.net/ "multi-platform software synthesiser") library (source is included). It requires Control and PCM roms from MT-32 or CM-32L (LAPC-I) to play music. CM-32L (LAPC-I) roms are preferred. The CM-32L (LAPC-I) roms filenames must be CM32L_CONTROL.ROM and CM32L_PCM.ROM. The MT-32 roms filenames must be MT32_CONTROL.ROM and MT32_PCM.ROM. + +**awe32-emu8k** plays General MIDI music using AWE32 emulator from [PCem](https://pcem-emulator.co.uk/ "Personal Computer emulator") (source is included). It requires AWE32 rom file (awe32.raw) to play music. diff --git a/midi-plugins/komp-x86-windows.cmd b/midi-plugins/komp-x86-windows.cmd index ffdbd22..93fb80c 100644 --- a/midi-plugins/komp-x86-windows.cmd +++ b/midi-plugins/komp-x86-windows.cmd @@ -71,7 +71,6 @@ gcc -s -shared -static-libgcc -o awe32-emu8k.dll -m32 *.o src/*.o src/pcem_emu8k del *.o del src\*.o -del src\munt-2.7.0\mt32emu\*.o -del src\munt-2.7.0\mt32emu\sha1\*.o +del src\pcem_emu8k\*.o cd ..