Hacker News new | ask | show | jobs
by ultrablack 1121 days ago
This looks remarkably like the dosbox conf format. Im sure you have reinvented something from the 90s?

  [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,ddraw.
  # 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.
  # usescancodes -- Avoid usage of symkeys, might not work on all operating systems.

  fullscreen=false
  fulldouble=false
  fullresolution=
  windowresolution=2048x1536
  output=ddraw
  autolock=false
  sensitivity=100
  waitonerror=true
  priority=higher,normal
  mapperfile=mapper.txt
  usescancodes=true
2 comments

Thanks for your comment, but I'm still not convinced, at least until I see how you nest collections with this format.
(Mod here - I added two spaces to the beginning of most of those lines so HN's software would format it like code. I hope that's ok!)