PPA description

Daily build of dosbox trunk

It contains the following patches:
1. sergm mt32 patch. It will ask for the rom location on install.
2. kjliew version of the > 2 gb image patch (for windows 95 games).
3. the last iteration of kekko glide emulation (not wrapper) patch.
4. All the gl shaders from

To prevent glitches using glshaders, turn off the scaler with 'none'.

Glide emulation is extremely resource intensive, and is only really usable with the hardware output. I also recommend getting familiar with the voodoo env variables - at least to remove the splash screen.

The Glide patch is also in maintenance mode and some features were never completed. For instance, if you use it, you can't toggle fullscreen at will, only before the dll/ovl is started, or from a conf file.

The ppa also contains additional scripts 'dosboxmount' and 'copy-on-write-drive' that mount a writeable overlay for read-only directories and show a list of ready to play dosbox conf files from scanning that overlay filesystem for those files.

copy-on-write-drive is suitable for playing games from read-only filesystems, such as a squashfs mount or a blueray or dvd disc. It prevents the original install directory from being modified if used on a writable game dir. It does not have to be used with dosbox, or even for games (I also use it for retroarch cores that use writable game files).

To create in bash a unformatted DOSBox compatible HDD image with block size in bytes 512, cylinders (C, replace by what you want, max 1023), 255 heads and 63 sectors:

dd if=/dev/zero of=dsk.img bs=512 count=`echo $[(( (C+1) *255)+1)*63]`

Different C will get you various sizes, for instance, C=1023 (the max)
will get you 8.4 gb and C=255 will get you 2 gb. You can search for 'CHS calculator' on google and fill in every value but the cylinders to see other sizes as cylinders varies. Notice that the available size in the emulated windows is not equal to the size of the image outside, because of the block size. In short, if your image is going to be filled with many small files, and as each file has at least 1 block used, a large block size may waste a lot of space, and making a 'very large' image to hold both windows (lots of small files) and a game (some large files) may be a waste of space (i use 2 drives, one for windows in FAT16 and another for the game in FAT32).

To mount the 8.4 gb image for a secondary windows drive (notice '-fs none' has no relation to if the HDD is already formatted, just that DOSBox won't attempt to access it as FAT16), with the first number being HDDs equivalent to 'd' (2 being 'c'):
imgmount 3 dsk.img -size 512,63,255,1023 -fs none

To mount a (smaller) bootable HDD after formatting it as FAT16 with windows fdisk (the kjliew patch dosbox DOS shell doesn't support reading more than 255 cylinders as FAT16, and FAT32 is unsupported in the shell):
imgmount c dsk.img -size 512,63,255,255

Both kind of mounts can be managed by windows after the boot but FAT16 formatted images can be accessed from the Dosbox shell after mounted (without -fs none), and this trick can be used to place files on the windows drive, which is useful to autostart a game by copying a bat to c:\WINDOWS\STARTM~1\PROGRAMS\STARTUP\ before unmounting, remounting with '-fs none' and booting windows 95.

You can use other geometries with the -size parameter, but the default for dosbox with the kjliew patch is 512 bytes per sector, 63 sectors, 255 heads and a variable number of cylinders but not more than 1023 for '-fs none' and not more than 255 for FAT16; so omitting the -size will try to mount assuming '-size 512,63,255,[1-1023]' geometry and deduce the cylinders, which might break a existing image formatted or created differently.

So it's better to always specify the -size on the conf files when using imgmount for a HDD, as a question of forward compatibility if another patch or upstream decides to change the default again.

Don't ask for support on the dosbox forums; you won't get it.

Adding this PPA to your system

You can update your system with unsupported packages from this untrusted PPA by adding ppa:i30817/dosbox-patched to your system's Software Sources. (Read about installing)

sudo add-apt-repository ppa:i30817/dosbox-patched
sudo apt update
Technical details about this PPA

This PPA can be added to your system manually by copying the lines below and adding them to your system's software sources.

Display sources.list entries for:
Signing key:
1024R/D5AFE1E2BC97220DE721A348BEB65FF027AFC026 (What is this?)

For questions and bugs with software in this PPA please contact i30817.

PPA statistics

4 updates added during the past month.
View package details

Overview of published packages

131 of 31 results
Package Version Uploaded by
dosbox 0.74-5-4+lp20231108~ubuntu23.04.1 i30817 ()
dosbox 0.74-5-4+lp20231108~ubuntu22.04.1 i30817 ()
dosbox 0.74-5-4+lp20231108~ubuntu20.04.1 i30817 ()
dosbox 0.74-5-4+lp20231108~ubuntu18.04.1 i30817 ()
dosbox 0.74-5-4+lp20230527~ubuntu22.10.1 i30817 ()
dosbox 0.74-5-3+lp20220716~ubuntu21.10.1 i30817 ()
dosbox 0.74-5-3+lp20220114~ubuntu21.04.1 i30817 ()
dosbox 0.74-5-3+lp20210724~ubuntu20.10.1 i30817 ()
dosbox 0.74-5-3+lp20200806~ubuntu19.10.1 i30817 ()
dosbox 0.74-5-2+lp20200329~ubuntu19.04.1 i30817 ()
dosbox 0.74-5-1+lp20190630~ubuntu18.10.1 i30817 ()
munt 2.5.1+git2004+date202310142031~ubuntu23.04.1 i30817 ()
munt 2.5.1+git2004+date202310142031~ubuntu22.04.1 i30817 ()
munt 2.5.1+git2004+date202310142031~ubuntu20.04.1 i30817 ()
munt 2.5.1+git2004+date202310142031~ubuntu18.04.1 i30817 ()
munt 2.5.1+git2001+date202305271116~ubuntu22.10.1 i30817 ()
munt 2.5.1+git1986+date202207161331~ubuntu21.10.1 i30817 ()
munt 2.5.1+git1947+date202201140117~ubuntu21.04.1 i30817 ()
munt 2.5.1+git1929+date202107241747~ubuntu20.10.1 i30817 ()
munt 2.4.0+git1922+date202106130821~ubuntu16.04.1 i30817 ()
munt 2.4.0+git1922+date202106130821~ubuntu14.04.1 i30817 ()
munt 2.4.0+git1800+date202008061103~ubuntu19.10.1 i30817 ()
munt 2.3.1+git1788+date202003291349~ubuntu19.04.1 i30817 ()
munt 2.3.0+git1768+date201906081102~ubuntu18.10.1 i30817 ()
munt 2.3.0+git1753+date201801271549~ubuntu17.10.1 i30817 ()
munt 2.0.4+git1753+date201801020048~ubuntu17.04.1 i30817 ()
munt 2.0.4+git1729+date201710071331~ubuntu15.04.1 i30817 ()
munt 2.0.4+git1680+date201707181533~ubuntu16.10.1 i30817 ()
munt 2.0.0+git1572+date201612111234~ubuntu15.10.1 i30817 ()
munt 1.5.0+git1540+date201610042043~ubuntu12.04.1 i30817 ()
munt 1.5.0+git1323+date201507201501~ubuntu14.10.1 i30817 ()
131 of 31 results

Latest updates

  • dosbox 4 weeks ago
    Successfully built
  • dosbox 4 weeks ago
    Successfully built
  • dosbox 4 weeks ago
    Successfully built
  • dosbox 4 weeks ago
    Successfully built
  • munt 7 weeks ago
    Successfully built