VOGONS

Common searches


Reply 42 of 100, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

You will need to apply the patch to the source and compile dosbox

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 44 of 100, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Look at the dosbox wiki on how to compile Dosbox. Follow that and once you get that working ask again - in a new thread please.
When you encounter problems concerning compilation, please use the search and then start a new thread about this.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 47 of 100, by Ringding

User metadata
Rank Member
Rank
Member

It is only a configuration issue, but this lets me continue to use the suggested setting pinhackexpandwidth=0.

--- a/src/dosbox.cpp
+++ b/src/dosbox.cpp
@@ -403,7 +403,7 @@ void DOSBOX_Init(void) {
Pstring->Set_help("The Y resolution (height) the pinball hack should trigger at. Default is 350 (good for Pinball Fantasies). Can be a range.");

Pint = secprop->Add_int("pinhackexpandwidth",Property::Changeable::Always,0);
- Pint->SetMinMax(1,4000);
+ Pint->SetMinMax(0,4000);
Pint->Set_help("The X resolution (width) DOSBox will expand to if pinball hack is enabled and triggers.\n"
"Not very useful probably, but provided here in case someone finds a game where it is useful!");

Reply 48 of 100, by sirlee

User metadata
Rank Newbie
Rank
Newbie

Finally! I managed to patch my own version, compile it and it works now! (Version 7.4)

Although I am IT professional, being a Windows guy I am really not used to compile stuff my on my own and this proved to be really difficult for me.

As I would have liked to find this exe somewhere but could not, I think I can at least provide my version now.

Use at your own risk 😀

Here is my config file

[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullresolution -- What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
# windowresolution -- Scale the window to this size IF the output device supports hardware scaling.
# output -- What to use for output: surface,overlay,opengl,openglnb,openglhq,ddraw,direct3d.
# autolock -- Mouse will automatically lock, if you click on the screen.
# sensitiviy -- Mouse sensitivity.
# waitonerror -- Wait before closing the console if dosbox has an error.
# priority -- Priority levels for dosbox: lowest,lower,normal,higher,highest,pause (when not focussed).
# Second entry behind the comma is for when dosbox is not focused/minimized.
# mapperfile -- File used to load/save the key/event mappings from.
# pixelshader -- Pixelshader program to use for resizing: none,point.fx,bilinear.fx,scale2x.fx,2xsai.fx,
# 2xSaI_sRGB.fx,Cartoon.fx,GS2x.fx,GS4x.fx,GS4xColor.fx,GS4xColorFilter.fx,GS4xColorScale.fx,
# GS4xFilter.fx,GS4xScale.fx,Matrix.fx,MCGreen.fx,MCOrange.fx,scale2x_ps14.fx,Sketch.fx.
# usescancodes -- Avoid usage of symkeys, might not work on all operating systems.
# overscan -- Width of overscan border.


[pinhack]
# pinhack: Boolean: Enable pinball hacks to display whole table at once. Not enabled per default.
# pinhacktriggerwidth: The X resolution (width) the pinball hack should trigger at. It is not checked by default or if set to 0. Can be a range.
# pinhacktriggerheight: The Y resolution (height) the pinball hack should trigger at. Default is 350 (good for Pinball Fantasies). Can be a range.
# pinhackexpandwidth: The X resolution (width) DOSBox will expand to if pinball hack is enabled and triggers.
# Not very useful probably, but provided here in case someone finds a game where it is useful!
# pinhackexpandheight: The Y resolution (height) DOSBox will expand to if pinball hack is enabled and triggers.
# pinhackpd: Boolean: Enable pinball dreams to work correctly during intros. Default:false
#
# pinhackpsycho: Boolean: Psycho Pinball tilt craphics are messed up if hack enabled. TODO, this is a placeholder and has no function currently.
# pinhackdoublewidth: Used to enable forcing (or disabling) doublewidth with pinhack. The original patch disabled it,
# but you may find it better enabled, or left to decide by dosbox and use aspect ratio correction insread.
# normal=do not touch the setting, let DOSBox decide. yes=doublewidth. no=no doublewidth

pinhack=true
pinhacktriggerwidth=0
pinhacktriggerheight=350
pinhackexpandwidth=0
pinhackexpandheight=608
pinhackpd=false
pinhackpsycho=false
pinhackdoublewidth=normal


fullscreen=true
fulldouble=false
fullresolution=1920x1080
windowresolution=original
output=direct3d
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
pixelshader=crt.d3d.fx
usescancodes=true
overscan=0

[dosbox]
# language -- Select another language file.
# memsize -- Amount of memory dosbox has in megabytes.
Show last 226 lines
# machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
# captures -- Directory where things like wave,midi,screenshot get captured.

language=
machine=vga
captures=capture
memsize=16

[render]
# frameskip -- How many frames dosbox skips before drawing one.
# aspect -- Do aspect correction, if your output method doesn't support scaling this can slow things down!.
# scaler -- Scaler used to enlarge/enhance low resolution modes.
# Supported are none,normal2x,normal3x,advmame2x,advmame3x,hq2x,hq3x,
# 2xsai,super2xsai,supereagle,advinterp2x,advinterp3x,
# tv2x,tv3x,rgb2x,rgb3x,scan2x,scan3x.

frameskip=0
aspect=true
scaler=normal

[vsync]
# vsyncmode -- Synchronize vsync timing to the host display. Requires calibration within dosbox.
# Supported are off,on,force.
# vsyncrate -- Vsync rate used if vsync is enabled.

vsyncmode=off
vsyncrate=120

[cpu]
# core -- CPU Core used in emulation: simple,normal,full,dynamic,auto.
# auto switches from normal to dynamic if appropriate.
# cycles -- Amount of instructions dosbox tries to emulate each millisecond.
# Setting this higher than your machine can handle is bad! (unless timesynched is set)
# You can also let DOSBox guess the correct value by setting it to max.
# The default setting (auto) switches to max if appropriate.
# cycleup -- Amount of cycles to increase/decrease with keycombo.
# cycledown Setting it lower than 100 will be a percentage.
# timesynched -- Do not emulate more cycles than possible.

core=dynamic
cycles=max
cycleup=500
cycledown=20
timesynched=true

[vga]
# svgachipset -- Select one of the following supported SVGA chipsets:
# s3 (default), et4000, et4000new, et3000, pvga1a, or none.
# Full chipset name (like 'Tseng ET4000') will also work
# as long as it contains one of the strings above.
# videoram -- Amount of video memory on emulated SVGA. Not all emulated
# chipsets support this setting.

#svgachipset=s3
svgachipset=none
videoram=2048

[mixer]
# nosound -- Enable silent mode, sound is still emulated though.
# rate -- Mixer sample rate, setting any devices higher than this will
# probably lower their sound quality.
# blocksize -- Mixer block size, larger blocks might help sound stuttering
# but sound will also be more lagged.
# prebuffer -- How many milliseconds of data to keep on top of the blocksize.

nosound=false
rate=22050
blocksize=2048
prebuffer=10

[printer]
# printer -- Enable printer emulation. (turn off disney)
# dpi -- Resolution of printer (default 360).
# width -- Width of paper in 1/10 inch (default 85 = 8.5'').
# height -- Height of paper in 1/10 inch (default 110 = 11.0'').
# printoutput -- Output method for finished pages:
# png : Creates PNG images in the DOSBOX directory
# ps : Creates Postscript documents in the DOSBOX directory (default)
# bmp : Creates BMP images (very huge files, not recommend)
# printer : Send to an actual printer (Print dialog will appear)
# multipage -- Adds all pages to one Postscript file or printer job until CTRL-F2 is pressed.

printer=true
dpi=360
width=85
height=110
printoutput=ps
multipage=false

[midi]
# mpu401 -- Type of MPU-401 to emulate: none, uart or intelligent.
# device -- Device that will receive the MIDI data from MPU-401.
# This can be default,alsa,oss,win32,coreaudio,mt32,none.
# mt32rate -- Sample rate of MT32 emulation
# config -- Special configuration options for the device. In Windows put
# the id of the device you want to use. See README for details.

mpu401=intelligent
device=default
mt32rate=22050
config=

[sblaster]
# sbtype -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# sbbase,irq,dma,hdma -- The IO/IRQ/DMA/High DMA address of the soundblaster.
# mixer -- Allow the soundblaster mixer to modify the dosbox mixer.
# oplmode -- Type of OPL emulation: auto,cms,opl2,dualopl2,opl3.
# On auto the mode is determined by sblaster type.
# All OPL modes are 'Adlib', except for CMS.
# oplrate -- Sample rate of OPL music emulation.

sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# gusbase,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the
# Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# gusrate -- Sample rate of Ultrasound emulation.
# ultradir -- Path to Ultrasound directory. In this directory
# there should be a MIDI directory that contains
# the patch files for GUS playback. Patch sets used
# with Timidity should work fine.

gus=false
gusrate=22050
gusbase=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND

[speaker]
# pcspeaker -- Enable PC-Speaker emulation.
# pcrate -- Sample rate of the PC-Speaker sound generation.
# tandy -- Enable Tandy Sound System emulation (off,on,auto).
# For auto Tandysound emulation is present only if machine is set to tandy.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# disney -- Enable Disney Sound Source emulation.

pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

[joystick]
# joysticktype -- Type of joystick to emulate: none, 2axis, 4axis,
# fcs (Thrustmaster) ,ch (CH Flightstick).
# none disables joystick emulation.
# 2axis is the default and supports two joysticks.
joysticktype=none
#timed=false

[serial]
# serial1-4 -- set type of device connected to com port.
# Can be disabled, dummy, modem, directserial.
# Additional parameters must be in the same line in the form of
# parameter:value. Parameters for all types are irq, startbps, bytesize,
# stopbits, parity (all optional).
# for directserial: realport (required).
# for modem: listenport (optional).
# Example: serial1=modem listenport:5000
# phone1-10 the IP address to be connected to. Dial 1 to connect to the entry
# in phone1, 2 for phone2, ...

serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled
phone1=empty
phone2=empty
phone3=empty
phone4=empty
phone5=empty
phone6=empty
phone7=empty
phone8=empty
phone9=empty
phone10=empty

[sdl]
# output=overlay or opengl, or openglnb seem to work well, but opengl is slow on my computer
output=overlay
# but for those games with exactly square pixels, you may want to tray output=surface - especially PD games look great this way on a 1080p monitor with 2x scaling!
# output=surface
# test what will work for you. original / any 4:3 resoltuon that will fit / any resolution with the height you are scaling to may work well
windowresolution=original
fullresolution=1920x1080
[render]
aspect=true
# Or, if you set aspect=false, you may test the results of pinhackdouble option above, and see which one of the distorted options look better for you
ATTACHMENTS0

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support (false,true,max).
# automount -- Enable automount.

xms=true
ems=true
umb=true
automount=true

[ipx]
# ipx -- Enable ipx over UDP/IP emulation.

ipx=false

[autoexec]
# Lines in this section will be run at startup.

mount d .\pbfantasies

d:
pinball.exe

Attachments

  • Filename
    dosbox.exe
    File size
    4.62 MiB
    Downloads
    156 downloads
    File license
    Fair use/fair dealing exception

Reply 49 of 100, by zoldalma

User metadata
Rank Newbie
Rank
Newbie

Hello,
thank you all for this patch, after some adjustment I have managed to apply it to current SVN build and get it working (under Linux).

For Epic Pinball, use a trigger height of 240 and the expanded height as 420.
For Absolute Pinball, values are 400 and 720 (note: this also makes the DOS prompt look weird)
For Extreme Pinball, this patch is unfortunately not good, game will still try to scroll.

Reply 50 of 100, by bregolin

User metadata
Rank Member
Rank
Member

Just wanted to say this patch is awesome! Thank you felipe.sanches and sirlee for the patch and the compiled Windows binary 😀

IBM Aptiva 2162 - P55 166 MMX, 32MB, CS4237B + Wavetable, ATI Mach64 2MB / Win98SE
Custom PIII 750, 64MB, SB AWE64, Voodoo 3 3000 AGP / Win98SE
Sony Vaio z505 SuperSlim - PIII 550, 192MB, YMF744, NeoMagic 256AV+ / Win98SE

Reply 51 of 100, by zoldalma

User metadata
Rank Newbie
Rank
Newbie

I changed the patch a bit, using the earlier suggestion to check the executable name. All games mentioned in this thread are now included, seems to work so far, luckily "pinball.exe" is only used by Pinball Fantasy. (Epic Pinball also uses this .exe name, but when the actual table loads, the executable name is already different). If there is interest, I will clean it up a bit and post.

Some other random observations:
- Pinball Dreams 2 needs a trigger height of 240, I haven'f found a higher resolution version
- if you have a monitor that can be rotated to portrait position, the display will be really neat - Psycho will use most of the screen in, say,1080x1920
- ...but the fullscreen portrait mode is a bit weird in my vanilla SVN build, right part of the screen is not visible (this is not patch related, visible already in DOS prompt)
- so I did a build based on duganchen's fork, which solves this problem, and enables to use pixel shaders, but breaks some games (like Pinball Dreams)

Reply 52 of 100, by sirlee

User metadata
Rank Newbie
Rank
Newbie
zoldalma wrote:
I changed the patch a bit, using the earlier suggestion to check the executable name. All games mentioned in this thread are now […]
Show full quote

I changed the patch a bit, using the earlier suggestion to check the executable name. All games mentioned in this thread are now included, seems to work so far, luckily "pinball.exe" is only used by Pinball Fantasy. (Epic Pinball also uses this .exe name, but when the actual table loads, the executable name is already different). If there is interest, I will clean it up a bit and post.

Some other random observations:
- Pinball Dreams 2 needs a trigger height of 240, I haven'f found a higher resolution version
- if you have a monitor that can be rotated to portrait position, the display will be really neat - Psycho will use most of the screen in, say,1080x1920
- ...but the fullscreen portrait mode is a bit weird in my vanilla SVN build, right part of the screen is not visible (this is not patch related, visible already in DOS prompt)
- so I did a build based on duganchen's fork, which solves this problem, and enables to use pixel shaders, but breaks some games (like Pinball Dreams)

Yes I would be very interested! Care to share the compiled version as well? 😁

Reply 53 of 100, by DeXteRrBDN

User metadata
Rank Newbie
Rank
Newbie
sirlee wrote:
Finally! I managed to patch my own version, compile it and it works now! (Version 7.4) […]
Show full quote

Finally! I managed to patch my own version, compile it and it works now! (Version 7.4)

Although I am IT professional, being a Windows guy I am really not used to compile stuff my on my own and this proved to be really difficult for me.

As I would have liked to find this exe somewhere but could not, I think I can at least provide my version now.

Use at your own risk 😀

Here is my config file

[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullresolution -- What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
# windowresolution -- Scale the window to this size IF the output device supports hardware scaling.
# output -- What to use for output: surface,overlay,opengl,openglnb,openglhq,ddraw,direct3d.
# autolock -- Mouse will automatically lock, if you click on the screen.
# sensitiviy -- Mouse sensitivity.
# waitonerror -- Wait before closing the console if dosbox has an error.
# priority -- Priority levels for dosbox: lowest,lower,normal,higher,highest,pause (when not focussed).
# Second entry behind the comma is for when dosbox is not focused/minimized.
# mapperfile -- File used to load/save the key/event mappings from.
# pixelshader -- Pixelshader program to use for resizing: none,point.fx,bilinear.fx,scale2x.fx,2xsai.fx,
# 2xSaI_sRGB.fx,Cartoon.fx,GS2x.fx,GS4x.fx,GS4xColor.fx,GS4xColorFilter.fx,GS4xColorScale.fx,
# GS4xFilter.fx,GS4xScale.fx,Matrix.fx,MCGreen.fx,MCOrange.fx,scale2x_ps14.fx,Sketch.fx.
# usescancodes -- Avoid usage of symkeys, might not work on all operating systems.
# overscan -- Width of overscan border.


[pinhack]
# pinhack: Boolean: Enable pinball hacks to display whole table at once. Not enabled per default.
# pinhacktriggerwidth: The X resolution (width) the pinball hack should trigger at. It is not checked by default or if set to 0. Can be a range.
# pinhacktriggerheight: The Y resolution (height) the pinball hack should trigger at. Default is 350 (good for Pinball Fantasies). Can be a range.
# pinhackexpandwidth: The X resolution (width) DOSBox will expand to if pinball hack is enabled and triggers.
# Not very useful probably, but provided here in case someone finds a game where it is useful!
# pinhackexpandheight: The Y resolution (height) DOSBox will expand to if pinball hack is enabled and triggers.
# pinhackpd: Boolean: Enable pinball dreams to work correctly during intros. Default:false
#
# pinhackpsycho: Boolean: Psycho Pinball tilt craphics are messed up if hack enabled. TODO, this is a placeholder and has no function currently.
# pinhackdoublewidth: Used to enable forcing (or disabling) doublewidth with pinhack. The original patch disabled it,
# but you may find it better enabled, or left to decide by dosbox and use aspect ratio correction insread.
# normal=do not touch the setting, let DOSBox decide. yes=doublewidth. no=no doublewidth

pinhack=true
pinhacktriggerwidth=0
pinhacktriggerheight=350
pinhackexpandwidth=0
pinhackexpandheight=608
pinhackpd=false
pinhackpsycho=false
pinhackdoublewidth=normal


fullscreen=true
fulldouble=false
fullresolution=1920x1080
windowresolution=original
output=direct3d
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
pixelshader=crt.d3d.fx
usescancodes=true
overscan=0

[dosbox]
# language -- Select another language file.
# memsize -- Amount of memory dosbox has in megabytes.
Show last 226 lines
# machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
# captures -- Directory where things like wave,midi,screenshot get captured.

language=
machine=vga
captures=capture
memsize=16

[render]
# frameskip -- How many frames dosbox skips before drawing one.
# aspect -- Do aspect correction, if your output method doesn't support scaling this can slow things down!.
# scaler -- Scaler used to enlarge/enhance low resolution modes.
# Supported are none,normal2x,normal3x,advmame2x,advmame3x,hq2x,hq3x,
# 2xsai,super2xsai,supereagle,advinterp2x,advinterp3x,
# tv2x,tv3x,rgb2x,rgb3x,scan2x,scan3x.

frameskip=0
aspect=true
scaler=normal

[vsync]
# vsyncmode -- Synchronize vsync timing to the host display. Requires calibration within dosbox.
# Supported are off,on,force.
# vsyncrate -- Vsync rate used if vsync is enabled.

vsyncmode=off
vsyncrate=120

[cpu]
# core -- CPU Core used in emulation: simple,normal,full,dynamic,auto.
# auto switches from normal to dynamic if appropriate.
# cycles -- Amount of instructions dosbox tries to emulate each millisecond.
# Setting this higher than your machine can handle is bad! (unless timesynched is set)
# You can also let DOSBox guess the correct value by setting it to max.
# The default setting (auto) switches to max if appropriate.
# cycleup -- Amount of cycles to increase/decrease with keycombo.
# cycledown Setting it lower than 100 will be a percentage.
# timesynched -- Do not emulate more cycles than possible.

core=dynamic
cycles=max
cycleup=500
cycledown=20
timesynched=true

[vga]
# svgachipset -- Select one of the following supported SVGA chipsets:
# s3 (default), et4000, et4000new, et3000, pvga1a, or none.
# Full chipset name (like 'Tseng ET4000') will also work
# as long as it contains one of the strings above.
# videoram -- Amount of video memory on emulated SVGA. Not all emulated
# chipsets support this setting.

#svgachipset=s3
svgachipset=none
videoram=2048

[mixer]
# nosound -- Enable silent mode, sound is still emulated though.
# rate -- Mixer sample rate, setting any devices higher than this will
# probably lower their sound quality.
# blocksize -- Mixer block size, larger blocks might help sound stuttering
# but sound will also be more lagged.
# prebuffer -- How many milliseconds of data to keep on top of the blocksize.

nosound=false
rate=22050
blocksize=2048
prebuffer=10

[printer]
# printer -- Enable printer emulation. (turn off disney)
# dpi -- Resolution of printer (default 360).
# width -- Width of paper in 1/10 inch (default 85 = 8.5'').
# height -- Height of paper in 1/10 inch (default 110 = 11.0'').
# printoutput -- Output method for finished pages:
# png : Creates PNG images in the DOSBOX directory
# ps : Creates Postscript documents in the DOSBOX directory (default)
# bmp : Creates BMP images (very huge files, not recommend)
# printer : Send to an actual printer (Print dialog will appear)
# multipage -- Adds all pages to one Postscript file or printer job until CTRL-F2 is pressed.

printer=true
dpi=360
width=85
height=110
printoutput=ps
multipage=false

[midi]
# mpu401 -- Type of MPU-401 to emulate: none, uart or intelligent.
# device -- Device that will receive the MIDI data from MPU-401.
# This can be default,alsa,oss,win32,coreaudio,mt32,none.
# mt32rate -- Sample rate of MT32 emulation
# config -- Special configuration options for the device. In Windows put
# the id of the device you want to use. See README for details.

mpu401=intelligent
device=default
mt32rate=22050
config=

[sblaster]
# sbtype -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# sbbase,irq,dma,hdma -- The IO/IRQ/DMA/High DMA address of the soundblaster.
# mixer -- Allow the soundblaster mixer to modify the dosbox mixer.
# oplmode -- Type of OPL emulation: auto,cms,opl2,dualopl2,opl3.
# On auto the mode is determined by sblaster type.
# All OPL modes are 'Adlib', except for CMS.
# oplrate -- Sample rate of OPL music emulation.

sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# gusbase,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the
# Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# gusrate -- Sample rate of Ultrasound emulation.
# ultradir -- Path to Ultrasound directory. In this directory
# there should be a MIDI directory that contains
# the patch files for GUS playback. Patch sets used
# with Timidity should work fine.

gus=false
gusrate=22050
gusbase=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND

[speaker]
# pcspeaker -- Enable PC-Speaker emulation.
# pcrate -- Sample rate of the PC-Speaker sound generation.
# tandy -- Enable Tandy Sound System emulation (off,on,auto).
# For auto Tandysound emulation is present only if machine is set to tandy.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# disney -- Enable Disney Sound Source emulation.

pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

[joystick]
# joysticktype -- Type of joystick to emulate: none, 2axis, 4axis,
# fcs (Thrustmaster) ,ch (CH Flightstick).
# none disables joystick emulation.
# 2axis is the default and supports two joysticks.
joysticktype=none
#timed=false

[serial]
# serial1-4 -- set type of device connected to com port.
# Can be disabled, dummy, modem, directserial.
# Additional parameters must be in the same line in the form of
# parameter:value. Parameters for all types are irq, startbps, bytesize,
# stopbits, parity (all optional).
# for directserial: realport (required).
# for modem: listenport (optional).
# Example: serial1=modem listenport:5000
# phone1-10 the IP address to be connected to. Dial 1 to connect to the entry
# in phone1, 2 for phone2, ...

serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled
phone1=empty
phone2=empty
phone3=empty
phone4=empty
phone5=empty
phone6=empty
phone7=empty
phone8=empty
phone9=empty
phone10=empty

[sdl]
# output=overlay or opengl, or openglnb seem to work well, but opengl is slow on my computer
output=overlay
# but for those games with exactly square pixels, you may want to tray output=surface - especially PD games look great this way on a 1080p monitor with 2x scaling!
# output=surface
# test what will work for you. original / any 4:3 resoltuon that will fit / any resolution with the height you are scaling to may work well
windowresolution=original
fullresolution=1920x1080
[render]
aspect=true
# Or, if you set aspect=false, you may test the results of pinhackdouble option above, and see which one of the distorted options look better for you
ATTACHMENTS0

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support (false,true,max).
# automount -- Enable automount.

xms=true
ems=true
umb=true
automount=true

[ipx]
# ipx -- Enable ipx over UDP/IP emulation.

ipx=false

[autoexec]
# Lines in this section will be run at startup.

mount d .\pbfantasies

d:
pinball.exe

First of all, big thanks for sharing that compiled Windows version!! 😁

Which patch did you build/compile?

It seems that it only works with games using a height of 350 pixels, like Pinball Fantasies and Pinball Illusions (this one shows a black margin see screenshot), but any other pinball (Pinball Dreams, Absolute Pinball) with different height do not show full table, it does not matter if I set `pinhacktriggerheight` and `pinhackexpandheight` values. It seems to ignore it. It makes me think that EXE is using the first patch, where 350 pixels where hardcoded, doesn't it?

Thanks

EDIT: sirlee compiled version was using hack v1 or v2, so I compiled a new one using v3. It has been attached two responses below

Attachments

  • illusion_004.png
    Filename
    illusion_004.png
    File size
    67.84 KiB
    Views
    2552 views
    File license
    Fair use/fair dealing exception
Last edited by DeXteRrBDN on 2019-09-11, 21:46. Edited 1 time in total.

Reply 54 of 100, by DeXteRrBDN

User metadata
Rank Newbie
Rank
Newbie
zoldalma wrote:

- if you have a monitor that can be rotated to portrait position, the display will be really neat - Psycho will use most of the screen in, say,1080x1920

I've tried doing it, but it does not work. The image, on windowed mode works well, but in fullscreen, the image appears cutted more or less at the half of the screen

Reply 55 of 100, by DeXteRrBDN

User metadata
Rank Newbie
Rank
Newbie

I've been able to compile DOSBox for Windows using latest patch version and latest SVN version.

Filename
dosbox.exe
File size
4.19 MiB
Downloads
156 downloads
File comment
DOSBox - Pinball Hack v3
File license
Fair use/fair dealing exception

I hope somebody will enjoy! 😀

I managed to make it work with:

- Absolute Pinball
- Epic Pinball
- Pinball 2000
- Pinball Dreams I
- Pinball Dreams II
- Pinball Fantasies
- Pinball Illusions
- Pinball Mania
- Extreme Pinball (not playable, game still tries to scroll) I'm not sure if the scrolling effect could be prevented with a DOSBox hack...

Reply 56 of 100, by sonninnos

User metadata
Rank Newbie
Rank
Newbie
DeXteRrBDN wrote:

I've been able to compile DOSBox for Windows using latest patch version and latest SVN version.

Thanks for this! Would you mind sharing the modified patch also so I could try building it myself? This does not launch for some reason, it just spits error 0xc000007b.

Reply 58 of 100, by sonninnos

User metadata
Rank Newbie
Rank
Newbie

Thanks-a-bunch! Got it working nicely now using msys2.

Edit: Darnation, except I can't seem to change the settings anymore via "config -set" command. Very handy for the variable height on different games. Those work with the patch version that has "pinhackexpandheight" named as "pinhackscaleto". "config -get pinhackexpandheight" shows the new value though, but it does not go into effect.

Edit2: Cool, only needed to add true at the end of line 454 in dosbox.cpp, like so:

secprop=control->AddSection_prop("pinhack",&PINHACK_Init,true);

Reply 59 of 100, by DeXteRrBDN

User metadata
Rank Newbie
Rank
Newbie

Thanks for sharing the modification!

I've just created a GitHub repo to be able to share easily between us all modifications and updates:

https://github.com/DeXteRrBDN/dosbox-pinhack/ … h/pinhack.patch

I've added your modification at that patch file.

I tried to credit everyone, hope no body cares sharing it at GitHub.