VOGONS


DosBox Tweak (tool)

Topic actions

First post, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie

Just in case anyone might find this useful, I've been doing a fair bit of
tweaking/testing various stuff using different video setups lately, so to
make it easier:

I've updated my DBT.COM (DosBoxTweak) to include a monochrome option, better
resolution tweaks and added a few other things (it was basically a complete
rewrite). I've also added the ability to make it work in other editions of
DosBox besides my own.

I thought I had published this before, but could find no reference to it in
my site files, so I've added it to: DOWNLOADS/DBUTILS.ZIP

DosBoxTweak  -  Dave Dunfield  -  https://dunfield.themindfactory.com

use: DBT [options]

opts: -C Clean temp DOSBOX.INI (use after -View)
-D Discard mounts/current-dirs
-M Monochrome
-O "Overlay" screen output
-S "Surface" "" (640x480)
-R force Restart
-V View generated temp DOSBOX.INI
CY=... set CYcles ... Auto, Max or <value>
WR=[x][-y] WindowResolution; x,y defaults: y*(4/3),x*(3/4)
C1=... set COM1 / Disabled, dUummy
C2=... COM2 ... | Modem{options}, Nullmodem{options}
C2=... COM3 ... | {""} see -?S {""}
C4=... COM4 \ {number} = "real" COM{number}:
IF=file set Ini file \
TF= "" Temp ini "" > see -?F
BF= "" Boot ini "" /

Restarts DosBox with specified config "tweaks". These override settings
in DOSBOX.INI (which should have your preferred setup) for one session only!


-?F: The default DBT filenames are set up for my edition of DosBox which uses
the 8.3 friendly name "DOSBOX.INI" instead of "dosbox.conf"

I also mount Y: as the DosBox home directory, and assume that DosBox is
launched from within that directory.

IF=Y:\DOSBOX.INI
TF=Y:\$DBT$.TMP If BF= is NOT set, it assumes name only
BF=$DBT$.TMP <- from TF= (after last '\')

If your setup does not match this, use these options to set the correct names.

Note: DBT reads Z:\AUTOEXEC.BAT looking for lines with: rem -DBT- ...
to preset options! eg: rem -DBT- IF=dosbox~1.con TF=C:\$DBT$.TMP

for help on name entry, see: -?S


-?S: Command argument strincs have "escape" codes: ~c

~_=' ' ~(='<' ~)='>' ~!='|'
~{anything else} = '{anything else}' <- use for '~'

Feedback welcome, if you'd like to see something else added, let me know!

Dave ::: https://dunfield.themindfactory.com ::: "Daves Old Computers"->Personal