Code Monkey home page Code Monkey logo

pinch's Introduction

Pinch

Pinch is an arcade emulator launcher, written for the Pijamma project.

It's incomplete, but usable.

Setting up

Run pinch by executing run.sh. Most of the configuration can be edited here by tweaking the various shell variables:

EMU_DIR Directory where the emulator is located

EMU_EXE Name of the executable

EMU_ARGS Additional arguments to the emulator. Selected archive will be included in addition to these arguments.

Titles

Titles are specified in a file named config.json. Example:

{
"sets": [
	{ "archive": "mslugx" },
	{ "archive": "samsho4" }
]}

Each title should have an accompanying screenshot in a subdirectory called images, in PNG format, with the same name as the archive (e.g. mslugx.png, samsho4.png).

Usage

To move between titles, press left or right arrow on the keyboard, or use joystick 1 left/right. To select a title, press SPACE; to exit press F12.

Joystick buttons can also be used to launch/exit - to specify, edit launch_button and exit_button constants in pimenu.c.

Command-line arguments

-k <seconds> Enables kiosk mode - after specified number of seconds, pinch launches a title at random.

--launch-next When set, launches the title following the last one launched and exits.

Compiling

To compile on a Raspberry Pi, install SDL:

sudo apt-get install libsdl-dev

Run make to build.

License

Pinch is licensed under the Apache license, although parts of it may be licensed differently. See NOTICE for additional information.

pinch's People

Contributors

0xe1f avatar

Watchers

James Cloos avatar SinoEmbedded avatar

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.