Giter Club home page Giter Club logo

switchres's Introduction

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.

switchres's People

Contributors

ansa89 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

switchres's Issues

Can't compile on Ubuntu 16.10 (seems related to libxml-2 dependency)

Hi,
i tried to compile this version of switchres since "official" 1.52 cores dump on Ubuntu 16.10 (works well up to 16.04).

But i can't compile it. Here's the output error during compilation:

ben@pc-fixe-ubuntu:~/src/15khz-arcade-pkg/vendor/switchres-1.53$ make
  GEN   version.h
  CC    config.o
  CC    xml.o
  CC    winreg.o
  CC    edid.o
  CC    util.o
  CC    monitor.o
  CC    switchres.o
  CC    xrandr.o
  CC    modeline.o
  LD    switchres
xml.o : Dans la fonction « ParseXML » :
xml.c:(.text+0x25) : référence indéfinie vers « xmlDocGetRootElement »
xml.c:(.text+0x5f) : référence indéfinie vers « xmlStrcmp »
xml.c:(.text+0x9b) : référence indéfinie vers « xmlStrcmp »
xml.c:(.text+0xae) : référence indéfinie vers « xmlGetProp »
xml.c:(.text+0xc2) : référence indéfinie vers « xmlGetProp »
xml.c:(.text+0xd4) : référence indéfinie vers « xmlGetProp »
xml.c:(.text+0xe8) : référence indéfinie vers « xmlGetProp »
xml.c:(.text+0xfa) : référence indéfinie vers « xmlGetProp »
xml.c:(.text+0x37c) : référence indéfinie vers « xmlStrcmp »
xml.o : Dans la fonction « GetGameXML » :
xml.c:(.text+0x618) : référence indéfinie vers « xmlCharStrdup »
xml.c:(.text+0x620) : référence indéfinie vers « xmlParseDoc »
xml.c:(.text+0x642) : référence indéfinie vers « xmlFreeDoc »
modeline.o : Dans la fonction « ModelineCreate » :
modeline.c:(.text+0x609) : référence indéfinie vers « round »
modeline.c:(.text+0x622) : référence indéfinie vers « round »
modeline.c:(.text+0x94a) : référence indéfinie vers « round »
modeline.c:(.text+0xb74) : référence indéfinie vers « round »
modeline.c:(.text+0xf75) : référence indéfinie vers « round »
modeline.o:modeline.c:(.text+0xfa6) : encore plus de références indéfinies suivent vers « round »
modeline.o : Dans la fonction « modeline_vesa_gtf » :
modeline.c:(.text+0x203e) : référence indéfinie vers « floor »
modeline.c:(.text+0x2137) : référence indéfinie vers « floor »
modeline.c:(.text+0x21b1) : référence indéfinie vers « floor »
modeline.c:(.text+0x228b) : référence indéfinie vers « ceil »
modeline.c:(.text+0x22c7) : référence indéfinie vers « ceil »
modeline.c:(.text+0x22e7) : référence indéfinie vers « ceil »
modeline.o : Dans la fonction « round_near » :
modeline.c:(.text+0x2317) : référence indéfinie vers « floor »
modeline.c:(.text+0x2331) : référence indéfinie vers « ceil »
collect2: error: ld returned 1 exit status
Makefile:39 : la recette pour la cible « switchres » a échouée
make: *** [switchres] Erreur 1

libxml2 and libxml2-dev` are correctly installed on the system

Compiling on Windows

Hi is there any prerequisite to compile this? I can't seem to find a guide anywhere. I would like to compile for Windows.

Please could you point me in the right direction.

Thanks in advance.

Ben

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.