A Windows launcher that starts DOSBox Staging, places its window in a centered 4:3 area, and draws a CRT bezel overlay around it.
Source-available for noncommercial use.
- Current recommended/tested environment: Windows with DOSBox Staging 0.82.2 and a 1920x1080 display.
- Built with C# / .NET 8 / Windows Forms.
- The launcher is intended for DOSBox Staging on Windows.
- DOSBox Staging is not included with this project.
- DOS games and applications are not included.
- By default, the launcher starts DOSBox Staging at its standard command prompt.
- Optional auto-run settings can be configured in
config.ini. - The public example configuration keeps auto-run disabled.
CRT_DOSBox_Portable/
|-- Launcher/
|-- DosboxStaging/
|-- Config/
| `-- dosbox-staging.conf
`-- DOSGames/
- Download DOSBox Staging separately.
- Extract its files into the
DosboxStagingfolder. - The launcher expects
DosboxStaging\dosbox.exe. DOSGamesis optional.- The default configuration does not use the
DOSGamesfolder.
- Download a DOSBox Staging Windows release separately.
- Extract the DOSBox Staging files into
CRT_DOSBox_Portable\DosboxStaging. - Copy
Launcher\config.example.initoLauncher\config.ini. - Run
Launcher\CrtDosboxStagingLauncher.exe.
The public default keeps auto-run disabled. With this configuration, DOSBox Staging starts at its normal Z:\> command prompt:
[Paths]
DosBoxPath=..\DosboxStaging\dosbox.exe
BezelPngPath=crt_fullscreen4x3_pillarbox.png
BaseDosboxConfPath=..\Config\dosbox-staging.conf
DOSGamesPath=
[AutoRun]
GenerateAutoexecConf=false
MountDrive=
StartDirectory=
Command=Setting DOSGamesPath by itself does not mount that folder and does not start a program. It is only used when auto-run generation is enabled.
To enable auto-run for a personal portable setup, set GenerateAutoexecConf=true and configure the mount/start values:
[Paths]
DOSGamesPath=..\DOSGames
[AutoRun]
GenerateAutoexecConf=true
MountDrive=C
StartDirectory=GAME
Command=GAME.EXEWhen auto-run is enabled, the launcher regenerates launcher.autoexec.conf on each launch and passes it to DOSBox Staging with --conf.
The default bezel is crt_fullscreen4x3_pillarbox.png, referenced by BezelPngPath in config.ini.
To use a custom bezel, replace that PNG or point BezelPngPath to another PNG file. In the current version, custom images should keep the same canvas size and the same centered 4:3 transparent opening as the sample image. The launcher scales the image to the selected monitor, but it expects that layout when fitting DOSBox into the transparent area.
These files are runtime output and should not be committed:
launcher.loglauncher.autoexec.conflauncher.viewport.confconfig.ini
Use config.example.ini as the committed public template.
This project is licensed under the PolyForm Noncommercial License 1.0.0.
You may use, study, modify, and redistribute this software for noncommercial purposes, subject to the license terms.
Commercial use is not permitted without separate permission from the copyright holder.
See LICENSE for the full license terms.