Posted February 18, 2018
I've been playing the Might & Magic games for - wait, when did we enter 2018?! - decades. I started with the M&M3 port on SNES and have run and configured M&M3/4/5 on everything from a native DOS 5 installation through to DOSBox today. I understand GOG sets DOSBox configs unnecessarily low to ensure near-universal operability at the moment of sale, but the settings shipped with the 6-pack are a joke, and the configuration tool doesn't give access to the really important settings. So let's do some manual fine-tuning, shall we?
Accessing the Configuration
The file we are looking for is dosboxMM4-5.conf. If you have GOG Galaxy installed and handling your game library, you can simply right-click Might and Magic 4-5 - World of Xeen, Manage Installation - Show Folder. If you're not using Galaxy (heathen), you'll have to locate wherever you instructed the installer to install the game.
Once you have located the aforementioned file, open it in your favorite flavor of text editor. This user highly recommends Notepad++, though default Notepad is sufficient (double heathen).
Important Settings
GOG has left the DOSBox defaults generally intact. Due to this, WoX often suffers from sound crackling and some anomalies when moving. Unlike many games from the same era, WoX is surprisingly accepting of modern hardware, so uncapping some of these settings does wonders for performance. Below, I will list some specific settings, their default values, their optimal values, and notes where relevant.
fulldouble=
Default = false
Optimal = true
Fulldouble controls double buffering when DOSBox is set to fullscreen. Enabling double buffering smooths some movement stuttering, but only when running in fullscreen.
memsize=
Default = 16
Optimal = 64 (or more)
At the default 16MB setting, WoX regularly pops and crackles moreso than the engine is known for. While many DOS games are prone to freaking out over RAM values higher than 63MB, WoX is not one of them. WoX will run comfortably with a setting of 64, though my personal installation is set to 1024 (1GB) because reasons.
scalar=
Default = normal2x
Optimal = normal3x
Scalar is an image filter used to "improve" dated visuals on modern displays. To be quite frank, using any scalar setting other than normal2x/normal3x on WoX is akin to tie-dying The Last Supper, but to each their own. Be warned, using hq2x/hq3x will round the edges of the game font, reducing text quality drastically. Bumping to normal3x will stretch the game to better fit modern resolutions without sacrificing image quality.
cycles=
Default = fixed 20000
Optimal = max
Unlike MM3, which was prone to running like a squirrel on crack if given modern CPU cycle limits, WoX is actually self-limiting. Setting to max eliminates emulation slowdowns which tend to happen under fixed cycles when multiple or especially detailed (Lord Xeen) enemies are present.
Sound Considerations
I, like many from the era, grew up with a SoundBlaster 16 PnP. I can still remember the old autoexec.bat command for its configuration: SET BLASTER=A220 I5 D1 H5 P330 T6
Due to this, I'm especially partial to the shipped audio settings. However, the music rendered through a Roland SC-55 is godly. If you are interested in switching to MIDI synthesis, it will take a little more than just DOSBox config hacking, but we'll start there. Warning: Sound effects are tied to MIDI. Notably, walking through shop doors will sound like a classic telephone chime with these setttings. It's up to you if you want to improve music quality by sacrificing SFX quality.
First, find config= under the "midi" header - it will be blank. Add "Roland.SC-55.sf2" to the end, so it appears as so: config=Roland.SC-55.sf2
Next, download a Roland SC-55 soundfont. I keep a mirror of one on my Google Drive, but am forbidden from posting links on GOG forums for some reason - if you need the soundfont, let me know and we'll figure out a way to get it to you. It is already named Roland.SC-55.sf2. If you use a different soundfont, rename the file as Roland.SC-55.sf2 or adjust config= accordingly. Drop the soundfont file directly into the base game installation folder.
Finally, you'll have to set up WoX to directly support it. If using GOG Galaxy, right-click Might and Magic 4-5 - World of Xeen Other - Settings (Full Speech) and follow these inputs through the prompts (if you've changed your SB16 settings, follow the "detected" prompts after setting the cards):
Install with this Sound Configuration? N
Enter number of speech card: 9
Enter number of music card: 7
Enter port for card: 2
Enter IRQ for card: 4
Enter DMA for card: 2
Install with this Sound Configuration? Y
Automatically adjust Sound Blaster volumes? Y
Enter Number to toggle, or ENTER when done: ENTER
You're all set. You'll know you did everything right when the fly and spraycan in the NWC intro sound completely different. To revert the change, simply re-enter the game settings and select SoundBlaster when prompted for the music card.
Reources
(Links removed as I am for some reason forbidden from posting links)
Accessing the Configuration
The file we are looking for is dosboxMM4-5.conf. If you have GOG Galaxy installed and handling your game library, you can simply right-click Might and Magic 4-5 - World of Xeen, Manage Installation - Show Folder. If you're not using Galaxy (heathen), you'll have to locate wherever you instructed the installer to install the game.
Once you have located the aforementioned file, open it in your favorite flavor of text editor. This user highly recommends Notepad++, though default Notepad is sufficient (double heathen).
Important Settings
GOG has left the DOSBox defaults generally intact. Due to this, WoX often suffers from sound crackling and some anomalies when moving. Unlike many games from the same era, WoX is surprisingly accepting of modern hardware, so uncapping some of these settings does wonders for performance. Below, I will list some specific settings, their default values, their optimal values, and notes where relevant.
fulldouble=
Default = false
Optimal = true
Fulldouble controls double buffering when DOSBox is set to fullscreen. Enabling double buffering smooths some movement stuttering, but only when running in fullscreen.
memsize=
Default = 16
Optimal = 64 (or more)
At the default 16MB setting, WoX regularly pops and crackles moreso than the engine is known for. While many DOS games are prone to freaking out over RAM values higher than 63MB, WoX is not one of them. WoX will run comfortably with a setting of 64, though my personal installation is set to 1024 (1GB) because reasons.
scalar=
Default = normal2x
Optimal = normal3x
Scalar is an image filter used to "improve" dated visuals on modern displays. To be quite frank, using any scalar setting other than normal2x/normal3x on WoX is akin to tie-dying The Last Supper, but to each their own. Be warned, using hq2x/hq3x will round the edges of the game font, reducing text quality drastically. Bumping to normal3x will stretch the game to better fit modern resolutions without sacrificing image quality.
cycles=
Default = fixed 20000
Optimal = max
Unlike MM3, which was prone to running like a squirrel on crack if given modern CPU cycle limits, WoX is actually self-limiting. Setting to max eliminates emulation slowdowns which tend to happen under fixed cycles when multiple or especially detailed (Lord Xeen) enemies are present.
Sound Considerations
I, like many from the era, grew up with a SoundBlaster 16 PnP. I can still remember the old autoexec.bat command for its configuration: SET BLASTER=A220 I5 D1 H5 P330 T6
Due to this, I'm especially partial to the shipped audio settings. However, the music rendered through a Roland SC-55 is godly. If you are interested in switching to MIDI synthesis, it will take a little more than just DOSBox config hacking, but we'll start there. Warning: Sound effects are tied to MIDI. Notably, walking through shop doors will sound like a classic telephone chime with these setttings. It's up to you if you want to improve music quality by sacrificing SFX quality.
First, find config= under the "midi" header - it will be blank. Add "Roland.SC-55.sf2" to the end, so it appears as so: config=Roland.SC-55.sf2
Next, download a Roland SC-55 soundfont. I keep a mirror of one on my Google Drive, but am forbidden from posting links on GOG forums for some reason - if you need the soundfont, let me know and we'll figure out a way to get it to you. It is already named Roland.SC-55.sf2. If you use a different soundfont, rename the file as Roland.SC-55.sf2 or adjust config= accordingly. Drop the soundfont file directly into the base game installation folder.
Finally, you'll have to set up WoX to directly support it. If using GOG Galaxy, right-click Might and Magic 4-5 - World of Xeen Other - Settings (Full Speech) and follow these inputs through the prompts (if you've changed your SB16 settings, follow the "detected" prompts after setting the cards):
Install with this Sound Configuration? N
Enter number of speech card: 9
Enter number of music card: 7
Enter port for card: 2
Enter IRQ for card: 4
Enter DMA for card: 2
Install with this Sound Configuration? Y
Automatically adjust Sound Blaster volumes? Y
Enter Number to toggle, or ENTER when done: ENTER
You're all set. You'll know you did everything right when the fly and spraycan in the NWC intro sound completely different. To revert the change, simply re-enter the game settings and select SoundBlaster when prompted for the music card.
Reources
(Links removed as I am for some reason forbidden from posting links)
Post edited February 18, 2018 by Azure_Fang