Skip to content

Ansa89/switchres

Repository files navigation

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.