Su-27 Flanker part 2: Flanking in DOSBox

A guide to running the DOS version of Su-27 Flanker in DOSBox Staging. The guide will be covering the Su-27 Flanker 1996, 1997 releases and Su-27 Flanker: Squadron Commander's Edition. The guide will also cover accessing the Flanker digital manual in Windows 3.x and the DOS based Random Mission Generator (RMG).
Contents
Strategy
The article, Su-27 Flanker part 1: A primer, established there was only a single DOS v1.1 version of the game. The DOS version was present on the following releases:
1996 CD-ROM re-release (Win95 and DOS v1.1).
1997 CD-ROM re-release (Win95 v1.2a and DOS v1.1).
Squadron Commander's Edition (Win95 v1.5 and DOS v1.1).
Each of these releases features a digital version of the manual, accessible in Win 3.x. The Squadron Commander's Edition (SCE) is the only DOS release to feature the Random Mission Generator (RMG) utility. The game installation from the SCE release also requires some specific steps.
The strategy will be to either:
Install the game onto an empty hdd folder. A single DOSBox config will be used to install and run the DOS v1.1 version of the game and/or the RMG utility. The Win 3.x manual won't be used.
Install the game onto a hard disk folder which already has a 'clean' Win 3.x installed. One DOSBox config handles the DOS game and RMG utility, as before. The other DOSBox config runs Win 3.x to access the digital version of the manual.
Flanker refers to Su-27 Flanker, SCE refers to Su-27 Flanker: Squadron Commander's Edition and RMG refers to the Random Mission Generator utility.
Preparation
This section covers the required preparation before installing or configuring the games under DOSBox. It is a necessary first step given the DOS and Win 3.x requirements.
Releases
The first step is to identify the release available and the installation options it provides. The releases for both games fall into two categories. By consulting the earlier Primer, a release should be identified and the installation requirements determined. The categories are:
1996/1997 CD-ROM re-release.
A CD-ROM image can be mounted in DOSBox allowing the game to be installed and run. In-game videos can be accessed on the CD-ROM image.
Squadron Commander's Edition.
The SCE stores a copy of DOS CD-ROM in a previous version folder. In order to install properly this previous version folder is mounted as the CD-ROM causing it to behave exactly like a 1996/1997 CD-ROM re-release.
Retail media
Due to the age of the media and the drives required to read them, it is recommended to rip CD-ROMs to image files, to save wear and tear on media and the mechanical drives.
It is recommended to rip CD-ROMs to a data only iso image format as there is no CD audio on the disc. DOSBox Staging also supports CD-ROM images in a bin/cue image pair.
Game management
It is recommended to use a game management strategy or similar strategy you may have adopted. The recommended game management folders are:
cd - for any cd images.
hdd - the folder used as the emulated DOSBox hard disk (see hdd folder).
conf - to store DOSBox and HOTAS configuration files.
docs - for documents.
patch - for any unofficial patches.
These management folders are placed in the following game folder (as an example), and used in the rest of the guide:
D:\Games\DOS\Su-27 Flankerhdd folder
When only installing the DOS game and RMG utility, the hdd folder can be a new empty folder. If a Win 3.x manual is to be used, the hdd folder will need a 'clean' Win 3.x install. The earlier article, DOSBox Staging and Windows covered creating a 'clean' Win 3.x install. It is assumed a suitable hdd folder with a Win 3.x install is available.
DOSBox
This guide assumes the latest version of DOSBox Staging v0.83.0 has been installed, is fully working and has been run at least once to create a default configuration file. It is also assumed only a single copy of DOSBox Staging is installed. Each game runs in DOSBox with its own configuration file (with settings differing from the default configuration file).
Game config
The following is the DOSBox Staging config for Flanker and the RMG utility.
# This is the configuration file for SU-27 Flanker.
[sdl]
fullscreen = on
[cpu]
cpu_cycles = 60000
cpu_cycles_protected = auto
cycleup = 1000
cycledown = 1000
[voodoo]
voodoo = off
[mixer]
reverb = small
chorus = light
[joystick]
joysticktype = ch
timed = off
swap34 = on
deadzone = 0
[autoexec]
@echo off
# Example hdd mount
mount c "D:\Games\Dos\SU-27 Flanker\hdd"
# Example 1996/1997 CD-ROM mount
# mount d "D:\Games\DOS\SU-27 Flanker\cd\Flanker.iso" -t cdrom
# Example SCE folder mount
# mount d "D:\Games\DOS\SU-27 Flanker\cd\v1.1" -t cdrom -label FLANKER
c:
# Running the game
# cd su27
# su27dos
# exit
# Running the launcher menu
# call su27menu.batA Flanker example based on this config can be found in the following GitHub repository: DarkenedRoom/dosbox-staging-configs/SU-27 Flanker/Flanker-staging.conf.
In the [cpu] section cpu_cycles is set to 60000 and cpu_cycles_protected is set to auto to take its value from cpu_cycles. This ensures both real mode and protected mode software will both run at the same rate. This prevents a sudden drop or increase in cycles which can cause issues with the emulated sound card in the game.
The cycleup and cycledown settings are changed from a percentage to a specific value to make cycle changes more consistent in DOSBox.
Voodoo emulation is not required and is disabled.
The [mixer] settings are an example and can be changed to a personal preference. However these settings may be appropriate due to the constant engine sounds.
Only the default Sound Blaster settings are required and are not specified.
The [joystick] section will be dependent on the available controllers and personal preference. These options are covered in HOTAS config. The timed and swap34 options are examples for the controllers in use. The deadzone is a personal preference.
There are example mount commands (covered later) to run the game or invoke a Flanker menu, covered in Tools.
Tools

A launcher menu has been created for Flanker/SCE. The following options are available:
Run the game.
Run the sound card setup.
View release notes.
Run the Random Mission Generator (if installed).
View the RMG release notes (if RMG installed).
Returning to the DOSBox DOS prompt.
Quitting DOSBox.
The Flanker/SCE launcher menu can be found in the following GitHub repository: DarkenedRoom/dosbox-staging-configs/SU-27 Flanker/SU27MENU.BAT.
The launcher menu should be placed in the hdd folder after the game has been installed.
Win 10/11:
D:\Games\DOS\SU-27 Flanker\hddDOSBox:
C:\Windows 3.x config
The following is based on a DOSBox Staging config which can be used to run Win3.x with settings to optimise viewing the manual and running the RMG utility.
# Configuration file for Windows 3.x.
[sdl]
fullscreen = on
[render]
integer_scaling = off
shader = sharp
...
[autoexec]
...
# Example hdd mount
mount c "D:\Games\DOS\SU-27 Flanker\hdd"
# Example CD-ROM mount
mount d "D:\Games\DOS\SU-27 Flanker\cd\Flanker.iso" -t cdrom
set path=%path%;c:\windows;
c:
...This example can be found in the following GitHub repository:
DarkenedRoom/dosbox-staging-configs/SU-27 Flanker/Win311-staging.conf.
The [sdl] and [render] settings make the digital manual as accessible as possible under Win 3.x. Each CD-ROM release is mounted normally to allow access to the manual.
Sound
Flanker/SCE supports Sound Blaster digital sound; there is no music in the game.
Sound Blaster
The default Sound Blaster settings set in the default DOSBox config are appropriate for Sound Blaster digital sound, however the following settings may be useful to refer to when configuring the game manually:
I/O Address: 220 (default)
Configuration is covered below.
Controls
Joystick, throttle and rudder pedals are supported. Configuring axes may not be required if your HOTAS has 4 axes or less. When using a combination of devices totaling more than 4 axes, a virtual controller can be configured (with vendor software or Joystick Gremlin), limited to 4 axes.
For those using controllers from multiple vendors, the vJoy/Joystick Gremlin combination may be required instead of vendor specific HOTAS profile software. You may also have to use HidHide as a device firewall, to hide your real controllers, so only the vJoy virtual controllers are detected by Flanker/SCE. [6][7][8].
The physical axes to Windows axes were configured as follows:
Physical axis | Windows axis |
Joystick x-axis | DX_X_AXIS |
Joystick y-axis | DX_Y_AXIS |
Throttle | DX_Z_AXIS |
Rudder | DX_XROT_AXIS |
The following DOSBox config settings are suggested, depending on controller hardware:
[joystick]
joysticktype = ch
timed = offFlanker supports the CH Flightstick Pro so the ch joysticktype is used. In this configuration the POV hat is used to control the internal cockpit views. Some may prefer to use the POV hat to control trim with a 4axis joystick type.
The appropriate in-game joystick setting is covered in Joystick configuration.
Installation
Installation will cover both the 1996/1997 releases of Flanker and SCE.
Flanker (1996/1997 release)
The 1996/1997 release was distributed on a single CD-ROM with the v1.1 version of the game accessible from the CD-ROM root folder. This means the CD-ROM can be mounted normally, as the following example shows:
[autoexec]
...
# Example 1996/1997 CD-ROM mount
mount d "D:\Games\DOS\SU-27 Flanker\cd\Flanker.iso" -t cdrom
...This completes the Flanker (1996/1997 release) specific steps.
Squadron Commander's Edition
The SCE release was distributed on a single CD-ROM with the v1.1 version of the game accessible from the CD-ROM sub-folder:
D:\Previous Su-27 Flanker versions\v1.1In order for the game to install correctly and allow the in-game videos to be played, this sub-folder is mounted so it appears as the CD-ROM root folder (just like the 1996/1997) releases. The steps to follow are:
In Win10/11, mount the CD-ROM image. Win10/11 supports the iso image format. Those using a bin/cue image format will need to use a third party tool like Daemon Tools Lite or WinCDEmu.
In Win10/11, copy the v1.1 folder from the CD-ROM into the game management cd folder, e.g.
D:\Games\DOS\Su-27 Flanker\cdMount the v1.1 folder with the following lines in the DOSBox game config:
# Example SCE folder mount
mount d "D:\Games\DOS\Su-27 Flanker\cd\v1.1" -t cdrom -label FLANKERThe -label option gives this mounted folder a CD-ROM label identical to 1996/1997 releases, making it look exactly like a 1996/1997 release to DOSBox.
This completes the SCE specific steps.
To install, run the following command from the CD-ROM root folder in DOSBox:
D:\> install.exe The following gallery shows the installation steps:
Checking the hardware/software requirements. Selecting a drive and folder, both defaults are fine. Beginning installation. Installation complete.
The configuration will automatically begin once installation is complete (see below).
Configuration
Configuration runs immediately after installation and can be run at any time from within DOSBox with:
C:\SU27> setsound.exe The following gallery shows the configuration steps:
Choose 'Select and configure digital audio driver' to begin. Select the 'Creative Labs Sound Blaster 16 or AWE32'. Select 'Attempt to configure sound driver automatically'. The Sound Blaster 16 should be detected.
After configuration it is important to ensure a dig.ini file exists in the Flanker/SCE installation folder. A missing file may indicate a sound card configuration issue caused by a sudden change of cycles if the recommended game config is not used. The file to check for is:
In Win 10/11:
D:\Games\DOS\Su-27 Flanker\hdd\SU27\dig.iniIn DOSBox:
C:\SU27\dig.iniIf you wish to configure the sound card manually you will require the I/O Address found in the Sound Blaster section.
Running
The game is run within DOSBox, from the Flanker/SCE installation folder, with:
C:\SU27> su27dos.exe When running you should see the splash screen. And then the Mission Editor.
In-game configuration
The following gallery shows the in-game configuration steps:
Accessing in-game Preferences. Measurements/Units preferences. Sound preferences. Details preferences, all/highest can be enabled.
The Sound setup... option simply runs the setsound.exe utility from within the game (described in Configuration).
Joystick configuration
The following gallery shows the joystick configuration:
Selecting the Joystick type and Use. Ensuring axes move smoothly and accurately.
If using the ch joysticktype in DOSBox, select the Flightstick Pro joystick type in-game. If using the 4axis joysticktype in DOSBox, select the Standard joystick type in-game.
When moving a joystick/HOTAS axis, the green bar indicator should move smoothly without any flashing.
Documents
This section covers making any digital documentation, requiring a non-trivial setup, accessible in DOSBox Staging.
Digital manual
The digital manual is stored as a Windows help file (flanker.hlp) on the CD-ROM in the following folder (where X: is the drive letter assigned to the CD-ROM image in Win10/11):
X:\SU27\CD\HELPWindows 3.x configuration
The earlier Win 3.x DOSBox config will allow Win 3.x to fill a screen in an aspect-correct manner, without CRT lines, making the manual as clear as possible. It is also recommended to:
In DOSBox, change the Win 3.x resolution to 1024 x 768 (screenshot 1). This allows large manual screenshots to fill the help window without horizontal scrollbars (screenshot 2). You should be able to use the existing Win 3.x display driver.
In Win10/11, copy the digital manual (flanker.hlp) into the Flanker/SCE installation folder (where X: is the drive letter assigned to the CD-ROM image):
From:
X:\SU27\CD\HELPTo:
D:\Games\DOS\Su-27 Flanker\hdd\SU27Create a new Flanker program group and drag the digital manual (flanker.hlp) into it from the File Manager (screenshot 3).
Make sure a Working Directory is set in the program item for the manual (screenshot 4). Change the manual description as preferred.
Change the screen resolution in Windows Setup. Digital manual at 1024 x 768, no horizontal scrollbars. Creating a new Program Group, SU-27 Flanker and adding the manual (and release notes). Ensure the manual Program Item has a Working Directory.
These steps should allow you to access the digital manual from Win 3.x running in DOSBox. You may also wish to add the Flanker release notes to the program group for reference (screenshot 3).
Mods
This section covers official Flanker mods and utilities to enhance the Flanker gameplay experience. These mods may not have been created by an official source but may have later been distributed on an official release.
Random Mission Generator
The earlier Su-27 Flanker part 1: A primer guide briefly covered the Random Mission Generator (RMG).
Installation
This installation uses the recommended location specified in the release notes. The steps in Win10/11 are:
Create an rmg folder in the Flanker/SCE installation folder, e.g.
D:\Games\DOS\Su-27 Flanker\hdd\SU27\rmgMount the SCE CD-ROM image.
Find the RMG zip archive in the following CD-ROM folder (where X: is the drive used to mount the image):
X:\Utilities\rmgv150.zipFinally, extract the contents of the RMG zip archive (rmgv150.zip) into the rmg folder in the Flanker/SCE installation folder, created in the first step.
Running
The RMG can be run in DOSBox by going to the RMG installation folder and running:
C:\SU27\RMG> rmg.exeOr selecting the RMG option in the Flanker launcher menu (see Tools). The gallery below shows RMG running in a DOSBox DOS session (screenshot 1).
Windows 3.x configuration
Although RMG is a DOS application, it can also be run from within Win 3.x (and includes its own icon). It may be more convenient when copying or moving generated missions elsewhere using File Manager. The steps to configure RMG are:
Add rmg.exe to the existing SU-27 Flanker program group by dragging it from File Manager (C:\SU27\RMG\rmg.exe). See screenshot 2.
Open the Program Item Properties and ensure the Working Directory is set to C:\SU27\RMG. See screenshot 3.
If desired, click Change Icon... to assign the included RMG icon (rmg.ico). See screenshot 3.
RMG looks identical in DOS and Win3.x (screenshot 1 and 4).
RMG in a DOSBox DOS session. Adding RMG to the Program Group. Ensuring RMG properties are correct. RMG running in Win 3.x (in DOSBox).
You may also wish to add the RMG release notes to the Program Group for reference.
Patches
The following are unofficial fan made patches for DOS Flanker v1.1. Use of these patches is left to personal preference. These patches are available from:
Internet Archive, Su-27 Flanker patch collection.
Old-Games.RU, Games, Su-27 Flanker, Su-27 Flanker - files.
MiG-23 patch (April 1999)
This patch created by Vladimir Kazakov in April 1999 swapped the Su-27 Flanker for the MiG-23 Flogger. There were also some limited ordnance tweaks. A word of warning, the patch installer is loud, so turn down your volume before installing. The release notes are shown below:
No CD patch (September 2020)
This patch removes the need for the CD-ROM image to be present. The file timestamps seem to indicate this patch was created in September 2020, but was probably much earlier. The creator is unknown and it was distributed without release notes. It is a file replacement patch and is not compatible with the MiG-23 patch.
Video
Finally...
Credit and thanks go to:
Hermonat Software for the Random Mission Generator.
Vladimir Kazakov for the MiG-23 patch.
Old-Games.RU for hosting the patches.
Dedicated to Kimbo.
Good hunting!
Comments