Posted March 24, 2020
So I'd been having issues getting Epic Pinball to run with the Gravis Ultrasound in DOSBox. Epic games was well known for making their games for the Ultrasound which generally means it'll sound best with that music/sound option. The table Enigma in particular likes to freeze when playing with the Ultrasound enabled in DOSBox. Looking at the setup program, I noticed that the game wanted seperate IRQs designated for Music and Sound which most DOSBox SVN's don't seem to have an option for.
Enter DOSBox -X.
While this version still doesn't seem to use 2 separate Ultrasound IRQ's, it does have lots of options to try and get hardware comaptibilty as accurate as possible. It can be overwhelming to look through the .conf file on this beast!
I was pleasantly surpised that after configuring DOSBox -X that not only does it seem to fix the Ultrasound freezing issue, but it also fixed my screen tearing issues as well. Which may be of interest to people suffering still with that issue!
So Without Further Ado, here's my install guide (Including the unique shareware demo table). BTW, this will work with GOG galaxy after being configured too.
1. Download and install Epic Pinball
2. In Your Epic Pinball install folder create copies/backups of the following: "DOSBOX" folder, "dosbox_epin.conf" and "dosbox_epin_single.conf"
3. Download DOSBox -X. https://github.com/joncampbell123/dosbox-x/releases At this time I used 0.83.0 release and the Windows binary file "dosbox-x-windows-20200301-030930-windows.zip"
EDIT: With newer builds should download the option in this: "dosbox-x-vsbuild-win xxxxx" format
4. Open the downloaded DOSBOX -X file. For Windows 10 64-bit I used the files in bin\x64\Release SDL2\. Copy all said files (and the Shaders Folder) in bin\x64\Release SDL2 into the Epic Pinball\DOSBOX Folder.
5.IMPORTANT! in the Epic Pinball\DOSBOX folder delete the original "DOSBox.exe". Now rename "dosbox-x.exe" to "dosbox.exe"
6.In the Epic Pinball\DOSBOX folder copy "dosbox.reference.conf" into the main Epic Pinball Folder. Delete the original "dosbox_epin.conf". Now rename "dosbox.reference.conf" to "dosbox_epin.conf"
EDIT: With newer builds, should use "dosbox-x.reference.full.conf"
7.Now let's edit the "dosbox_epin.conf". Notepad is probably the easiest way with "word wrap" disabled.
In the [sdl] section find "fullscreen" and set to "true" ie. the line should look like this after editing "fullscreen = true"
Now continue with the following edits:
"output" to "openglhq" /or/ "opengl" for the original pixel goodness
[render]
"aspect" to "true"
"scaler" to "none"
"autofit" to "false"
[vsync]
"vsyncmode" to "host"
[gus]
"gus" to "true"
"gus panning table" to "accurate"
"irq hack" to "cs_equ_ds" (make sure it's the "irq hack" under [gus] not [sblaster]!)
8.Find and download the Gravis ultrasound dosbox preinstalled files. Open the zip file and copy the "ultrasnd" folder into your Epic Pinball folder.
9. Create a folder called "DEMO" in the Epic Pinball folder. Download the Epic Pinball shareware demo 1.1 (Not 2.1, only 1.1 and earlier have the unique table!) https://www.classicdosgames.com/game/Epic_Pinball.html and unzip it into the "DEMO" folder
10. Edit the "dosbox_epin_single.conf" and replace the contents with the following.
[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
@echo off
mount c ".."
c:
:menu
cls
ECHO [1;33m[42mÉÍÍÍÍÍÍÍÍÍÍÍ&I acute;ÍÍÍÍÍÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍÍ&Iacut e;ÍÍÍÍÍ»
ECHO º ------------------------------------------ º
ECHO º Epic Pinball Collection º
ECHO º ------------------------------------------ º
ECHO º 1) Epic Pinball (Full CD Collection) º
ECHO º ------------------------------------------ º
ECHO º 2) Sound Settings (Full CD Collection) º
ECHO º ------------------------------------------ º
ECHO º ------------------------------------------ º
ECHO º 3) Epic Pinball (Shareware Demo) º
ECHO º ------------------------------------------ º
ECHO º 4) Sound Settings (Shareware Demo) º
ECHO º ------------------------------------------ º
ECHO º ------------------------------------------ º
ECHO º 5) Exit program º
ECHO º ------------------------------------------ º
ECHO ÈÍÍÍÍÍÍÍÍÍÍÍÍ&Iacut e;ÍÍÍÍÍÍÍÍÍÍÍÍÍ&Iac ute;ÍÍÍÍÍÍÍÍÍÍÍÍÍ&I acute;ÍÍͼ[0m
choice /c12345 /s Which game do you want to run? [1-5]: /n
if errorlevel 5 goto exit
if errorlevel 4 goto setupdem
if errorlevel 3 goto pinbdem
if errorlevel 2 goto setup
if errorlevel 1 goto pinb
:pinb
@echo off
c:\ultrasnd\ultramid.exe
pinball.exe
exit
:setup
@echo off
setup.exe
goto menu
:pinbdem
@echo off
c:\ultrasnd\ultramid.exe
cd DEMO
pinball.exe
exit
:setupdem
@echo off
cd DEMO
setup.exe
cd\
goto menu
:exit
exit
11. Run the game. Make sure you run the sound settings for both the CD Collection and the Shareware Demo in the menu. For the CD Collection set the sound to the "Gravis Ultrasound". For the Shareware Demo I actually recomend "sound blaster pro" with the selected defaults. If you want to use the ultrsound for the demo, I've found you have to set the IRQ so that it doesn't match the internal setup to get music. But even then the sound effects will overpower the music. so what's the point? Still if you want to try it out, I've found the following settings work.
IRQ 11
DMA 3
Port 240H
12. Enjoy the game!
UPDATE: The newest version of DOSBox X allows use of OpenGL shaders. Which means you can get the pixel perfect shader up and running. (Gives Integer correct Aspect ratio correction like "output=texturepp" in DOSBox staging)
To get it working, download the shader pack from here: https://github.com/tyrells/dosbox-svn-shaders (Code -> Download ZIP). From the ZIP "\dosbox-svn-shaders-master\interpolation" folder, grab "pixel_perfect.glsl" and drop it into the root DOSBox folder (NOT shaders).
Make the following changes in your "dosbox_epin.conf"
output = opengl
aspect = false
scaler = none
glshader = pixel_perfect
Enter DOSBox -X.
While this version still doesn't seem to use 2 separate Ultrasound IRQ's, it does have lots of options to try and get hardware comaptibilty as accurate as possible. It can be overwhelming to look through the .conf file on this beast!
I was pleasantly surpised that after configuring DOSBox -X that not only does it seem to fix the Ultrasound freezing issue, but it also fixed my screen tearing issues as well. Which may be of interest to people suffering still with that issue!
So Without Further Ado, here's my install guide (Including the unique shareware demo table). BTW, this will work with GOG galaxy after being configured too.
1. Download and install Epic Pinball
2. In Your Epic Pinball install folder create copies/backups of the following: "DOSBOX" folder, "dosbox_epin.conf" and "dosbox_epin_single.conf"
3. Download DOSBox -X. https://github.com/joncampbell123/dosbox-x/releases At this time I used 0.83.0 release and the Windows binary file "dosbox-x-windows-20200301-030930-windows.zip"
EDIT: With newer builds should download the option in this: "dosbox-x-vsbuild-win xxxxx" format
4. Open the downloaded DOSBOX -X file. For Windows 10 64-bit I used the files in bin\x64\Release SDL2\. Copy all said files (and the Shaders Folder) in bin\x64\Release SDL2 into the Epic Pinball\DOSBOX Folder.
5.IMPORTANT! in the Epic Pinball\DOSBOX folder delete the original "DOSBox.exe". Now rename "dosbox-x.exe" to "dosbox.exe"
6.In the Epic Pinball\DOSBOX folder copy "dosbox.reference.conf" into the main Epic Pinball Folder. Delete the original "dosbox_epin.conf". Now rename "dosbox.reference.conf" to "dosbox_epin.conf"
EDIT: With newer builds, should use "dosbox-x.reference.full.conf"
7.Now let's edit the "dosbox_epin.conf". Notepad is probably the easiest way with "word wrap" disabled.
In the [sdl] section find "fullscreen" and set to "true" ie. the line should look like this after editing "fullscreen = true"
Now continue with the following edits:
"output" to "openglhq" /or/ "opengl" for the original pixel goodness
[render]
"aspect" to "true"
"scaler" to "none"
"autofit" to "false"
[vsync]
"vsyncmode" to "host"
[gus]
"gus" to "true"
"gus panning table" to "accurate"
"irq hack" to "cs_equ_ds" (make sure it's the "irq hack" under [gus] not [sblaster]!)
8.Find and download the Gravis ultrasound dosbox preinstalled files. Open the zip file and copy the "ultrasnd" folder into your Epic Pinball folder.
9. Create a folder called "DEMO" in the Epic Pinball folder. Download the Epic Pinball shareware demo 1.1 (Not 2.1, only 1.1 and earlier have the unique table!) https://www.classicdosgames.com/game/Epic_Pinball.html and unzip it into the "DEMO" folder
10. Edit the "dosbox_epin_single.conf" and replace the contents with the following.
[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
@echo off
mount c ".."
c:
:menu
cls
ECHO [1;33m[42mÉÍÍÍÍÍÍÍÍÍÍÍ&I acute;ÍÍÍÍÍÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍÍ&Iacut e;ÍÍÍÍÍ»
ECHO º ------------------------------------------ º
ECHO º Epic Pinball Collection º
ECHO º ------------------------------------------ º
ECHO º 1) Epic Pinball (Full CD Collection) º
ECHO º ------------------------------------------ º
ECHO º 2) Sound Settings (Full CD Collection) º
ECHO º ------------------------------------------ º
ECHO º ------------------------------------------ º
ECHO º 3) Epic Pinball (Shareware Demo) º
ECHO º ------------------------------------------ º
ECHO º 4) Sound Settings (Shareware Demo) º
ECHO º ------------------------------------------ º
ECHO º ------------------------------------------ º
ECHO º 5) Exit program º
ECHO º ------------------------------------------ º
ECHO ÈÍÍÍÍÍÍÍÍÍÍÍÍ&Iacut e;ÍÍÍÍÍÍÍÍÍÍÍÍÍ&Iac ute;ÍÍÍÍÍÍÍÍÍÍÍÍÍ&I acute;ÍÍͼ[0m
choice /c12345 /s Which game do you want to run? [1-5]: /n
if errorlevel 5 goto exit
if errorlevel 4 goto setupdem
if errorlevel 3 goto pinbdem
if errorlevel 2 goto setup
if errorlevel 1 goto pinb
:pinb
@echo off
c:\ultrasnd\ultramid.exe
pinball.exe
exit
:setup
@echo off
setup.exe
goto menu
:pinbdem
@echo off
c:\ultrasnd\ultramid.exe
cd DEMO
pinball.exe
exit
:setupdem
@echo off
cd DEMO
setup.exe
cd\
goto menu
:exit
exit
IRQ 11
DMA 3
Port 240H
12. Enjoy the game!
UPDATE: The newest version of DOSBox X allows use of OpenGL shaders. Which means you can get the pixel perfect shader up and running. (Gives Integer correct Aspect ratio correction like "output=texturepp" in DOSBox staging)
To get it working, download the shader pack from here: https://github.com/tyrells/dosbox-svn-shaders (Code -> Download ZIP). From the ZIP "\dosbox-svn-shaders-master\interpolation" folder, grab "pixel_perfect.glsl" and drop it into the root DOSBox folder (NOT shaders).
Make the following changes in your "dosbox_epin.conf"
output = opengl
aspect = false
scaler = none
glshader = pixel_perfect
Post edited November 29, 2020 by Crimson_T