Pinball Fantasies no-scroll patch for dosbox 0.65

Here you can discuss the development of patches.

Re: Pinball Fantasies no-scroll patch for dosbox 0.65

Postby monik » 2015-6-29 @ 23:23

what i have to do with the dosbox-0.74-pinhackv3.patch that i can play my "Epic Pinball" without the scrolling effect in the D-Fend Reloaded 1.4.3 programm (uses DoSBOX 0.74) thanks.
monik
Newbie
 
Posts: 1
Joined: 2015-6-29 @ 23:09

Re: Pinball Fantasies no-scroll patch for dosbox 0.65

Postby stamba » 2016-4-06 @ 17:54

Hi there :)

Anyone can lead me to a n00b guide to use these patch with dosbox ?
Is it possible to add this kind of patch via a dosbox frontend ?

Thanks !

Stamba
stamba
Newbie
 
Posts: 3
Joined: 2016-4-06 @ 17:48

Re: Pinball Fantasies no-scroll patch for dosbox 0.65

Postby Dominus » 2016-4-06 @ 18:02

You will need to apply the patch to the source and compile dosbox
User avatar
Dominus
DOSBox Moderator
 
Posts: 7644
Joined: 2002-10-03 @ 09:54
Location: Ludwigsburg

Re: Pinball Fantasies no-scroll patch for dosbox 0.65

Postby stamba » 2016-4-10 @ 16:18

Ok !

Any advice for a complete beginner ?
Where should i start ?
stamba
Newbie
 
Posts: 3
Joined: 2016-4-06 @ 17:48

Re: Pinball Fantasies no-scroll patch for dosbox 0.65

Postby Dominus » 2016-4-10 @ 18:51

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.
User avatar
Dominus
DOSBox Moderator
 
Posts: 7644
Joined: 2002-10-03 @ 09:54
Location: Ludwigsburg

Re: Pinball Fantasies no-scroll patch for dosbox 0.65

Postby stamba » 2016-4-11 @ 09:23

Thanks !
stamba
Newbie
 
Posts: 3
Joined: 2016-4-06 @ 17:48

Re: Pinball Fantasies no-scroll patch for dosbox 0.65

Postby Ringding » 2017-12-17 @ 15:27

The pinhack patch breaks with (exactly) svn rev 3996 (1 pixel wide screen in Pinball Fantasies). I'll see if I can fix it.
Ringding
Newbie
 
Posts: 20
Joined: 2016-1-05 @ 21:02

Re: Pinball Fantasies no-scroll patch for dosbox 0.65

Postby Ringding » 2017-12-17 @ 16:05

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

Code: Select all
--- 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!");
Ringding
Newbie
 
Posts: 20
Joined: 2016-1-05 @ 21:02

Re: Pinball Fantasies no-scroll patch for dosbox 0.65

Postby sirlee » 2018-8-05 @ 13:23

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

Code: Select all
[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.
# 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

You do not have the required permissions to view the files attached to this post.
sirlee
Newbie
 
Posts: 4
Joined: 2006-9-01 @ 14:08

Previous

Return to DOSBox Patches

Who is online

Users browsing this forum: No registered users and 1 guest