Giter Site home page Giter Site logo

rustation-libretro's Introduction

Libretro frontend Rustation

This is an implementation of the libretro API for the Rustation PlayStation emulator.

If you want to submit an issue please do so in the main Rustation repository. I'm going to try to gather everything there.

Build

You'll need Rust and its package manager Cargo. Cargo will take care of downloading the various dependencies used by this crate.

The Rustation source code is a git submodule of this repository so you'll want to clone it with:

git clone --recursive https://github.com/simias/rustation-libretro.git

Then you should be able to build the libretro core from the rustation-libretro directory using:

cargo build --release

The core will be in the target/release/ directory. It should be named librustation_retro.so on unix.

To run the core you'll need a libretro frontend, I'm mostly using RetroArch but please do submit an issue if there's a compatibility problem with an other frontend.

BIOS files

You'll need to put a PlayStation BIOS in the "system directory" of the frontend you're using.

Rustation-libretro will search for files in this directory until it finds a valid BIOS for the game's region. Consult your frontend's documentation to figure out where it puts the system directory. Alternatively check the logs after loading a game to see where Rustation-libretro is looking for the BIOS, you should see a message similar to:

Looking for a BIOS for region <Region> in "/some/directory"

You'll need different BIOSes for the japanese, north-american, and european regions since PlayStation games are region-locked. You can just put all the BIOS files in the system directory and let Rustation-libretro figure out which one to use for the game you're using.

If for some reason Rustation-libretro doesn't seem to pick up on your BIOS file check the logs to see why. The BIOS must match one of the entries in Rustation's internal database (see src/bios/db.rs in Rustation's source code) otherwise it'll be ignored. If the BIOS you're using is not part of the database chances are it's a bad dump.

rustation-libretro's People

Contributors

simias avatar

Watchers

 avatar  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.