Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • play.it - Core library and scripts play.it - Core library and scripts
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Antoine Le Gonidec
  • play.it - Core library and scriptsplay.it - Core library and scripts
  • Merge requests
  • !305

WIP: Library update: Allow per-game DOSBox configuration

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Antoine Le Gonidec requested to merge dev-2.11/library/update/per-game-dosbox-config into staging-2.x Feb 03, 2019
  • Overview 1
  • Commits 1
  • Changes 2

Original merge request: !201 (closed)


Fix #120 (closed)


Default config with possibility of overwriting per-game in play-*.sh installation scripts and by user after the installation.

See here for Overwriting default DOSBox config instructions.

The default config placed in $HOME/.dosbox/play.it.conf if there is no such file yet.
Thus, user can override the default persistently by editing that file.
Configs are read in this order:

  • global user config from ~/.dosbox
  • play.it defaults in ~/.dosbox/play.it.conf
  • per-game dosbox.conf

All the files are user-writable.

The reason why we give "user config" less priority is because, despite the name, this file is auto-generated by dosbox with options not very well suited for us.
The whole purpose of play.it defaults is to override these unwanted options.
If, for some reason, this overriding is inappropriate for the user - he can comment out undesirable options in play.it.conf, or just make the file zero-sized.

Edited Jun 19, 2019 by Antoine Le Gonidec
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dev-2.11/library/update/per-game-dosbox-config