Skip to content
Switchres: modeline generator engine
C Other
  1. C 98.8%
  2. Other 1.2%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
extra
.gitignore
COPYING
ChangeLog
LICENSE
Makefile
README.md
config.c
edid.c
modeline.c
monitor.c
switchres.c
switchres.h
util.c
version.sh
winreg.c
xml.c
xrandr.c

README.md

Switchres

Modeline generator engine and MAME resolution switcher.

See output of switchres -h for more info about command line options.

Basic config file example is in extra/switchres.conf.

Simple modeline generation

switchres --calc pacman
switchres 384 288 60.61 --monitor d9800

Running games in MAME

switchres pacman --monitor cga
switchres frogger --ff --redraw --nodoublescan --monitor d9200
ArcadeVGA in Windows

switchres tron --resfile extra/ArcadeVGA.txt --resfile ~/modes.txt

Soft15Khz in Windows (reading registry modelines)

switchres tron --soft15khz

Running games with other emulators

switchres a2600 --emulator mess --rom /path/to/ROM\ File.bin --args -verbose -sdlvideofps

The game rom becomes the game system and anything after --args is passed to the emulator (in this case "mess").

NOTE: even when using other emulators, MESS is still used to get the games correct resolution.

You can’t perform that action at this time.