GithubHelp home page GithubHelp logo

cps2emu-rpi's Introduction

CPS2Emu port for Raspberry PI

This is a port of CPS2Emu for the Raspberry PI.

How to compile

On the Raspbery Pi

You need sdl development packages. For Raspbian:

sudo apt-get install libsdl-dev

Then

make

Cross compile

To cross compile you have to set the environment variables CROSS_COMPILE to the prefix of the toolchain and SYS_ROOT to the root of a Raspbian image. I recommend using this toolchain and to follow this to get a Raspbian image as SYS_ROOT. After that simply run

make

How to run

After compiling you'll get two executables: cps2emu and cps2romcnv. The first one is the emulator and the latter is a tool to cache gfx from roms (I don't know what it does in full detail). Create a cps2emu directory with the following structure:

  • config/ -- This is the config directory from this repository, copy it.
  • roms/ -- This will hold the roms.
  • cps2emu
  • cps2romcnv

Place the roms zip in the roms/ directory and from the csp2emu directory run

./cps2romcnv <rom>

where is the rom name you want to run (without the extension). This will create the cache file for the rom, which is mandatory. It can take a while to run, so be patient. After that you can run

./cps2emu <rom> #without the extension

And that's it.

Keys

Arrows: stick

ASDZCX: buttons

T: insert coin

U: start

L: menu

Issues

  • The sound is not working
  • It doesn't erase the whole screen when going from a menu to the game.

cps2emu-rpi's People

Stargazers

 avatar Wazza avatar

Watchers

Felipe Otamendi avatar James Cloos avatar Antonio Rodriguez avatar  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.