• Stars
    star
    152
  • Rank 243,794 (Top 5 %)
  • Language
    C++
  • License
    GNU General Publi...
  • Created over 6 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

RALibretro is a multi-emulator used to develop RetroAchievements.

RALibretro

RALibretro is a multi-emulator that can be used to develop RetroAchievements and, of course, earn them.

The "multi-emulation" feature is only possible because it uses libretro cores to do the actual emulation. What RALibretro does is to connect the emulation to the tools used to create RetroAchievements.

The integration with RetroAchievements.org site is done by the RAIntegration.

Building RALibretro with MSYS2/Makefile

Install MSYS2

  1. Go to http://www.msys2.org/ and download the 32 bit version.
  2. Follow the installation instructions on the site http://www.msys2.org/.
  3. When on the prompt for the first time, run pacman -Syu (NOTE: at the end of this command it will ask you to close the terminal window without going back to the prompt.)
  4. Launch the MSYS2 terminal again and run pacman -Su

Install the toolchain

$ pacman -S make git zip mingw-w64-i686-gcc mingw-w64-i686-SDL2 mingw-w64-i686-gcc-libs

Clone the repo

$ git clone --recursive --depth 1 https://github.com/RetroAchievements/RALibretro.git

Build

$ cd RALibretro
$ make

NOTE: use make for a release build or make DEBUG=1 for a debug build. Don't forget to run make clean first if switching between a release build and a debug build.

Building RALibretro with Visual Studio

Clone the repo

> git clone --recursive --depth 1 https://github.com/RetroAchievements/RALibretro.git

Build

Load RALibretro.sln in Visual Studio and build it.

Command Line Arguments

Argument Description
-c [--core] the core's name, e.g. --core picodrive_libretro
-s [--system] the system id, see ConsoleID in RAInterface/RA_Consoles.h, e.g. --system 1
-g [--game] full path to the game's file, e.g. --game "C:\ROMS\GEN\Demons Of Asteborg Demo.gen"

In order to run a game on startup, provide the core, system and game, e.g.:

RALibretro.exe --core picodrive_libretro --system 1 --game "C:\ROMS\GEN\Demons Of Asteborg Demo.gen"

More Repositories

1

RAWeb

RetroAchievements.org Platform
PHP
152
star
2

RAIntegration

The DLL responsible to integrate emulators with RetroAchievements.org
C++
80
star
3

rcheevos

Library to parse and evaluate achievements and leaderboards for RetroAchievements
C
65
star
4

RAEmus

RetroAchievements.org standalone emulators
C++
64
star
5

RAPatches

Patch repo for RetroAchievements.
JavaScript
63
star
6

docs

RADocs
Shell
50
star
7

RASuite

[DEPRECATED] See README
C++
41
star
8

guides

A repo/wiki to achievement developers put guides for their achievement sets
39
star
9

api-js

The official JavaScript library for getting achievement, user, and game data from RetroAchievements.
TypeScript
29
star
10

RANews

The RetroAchievements webzine
Shell
12
star
11

RABot

RetroAchievements.org's Discord Bot
JavaScript
9
star
12

RetroAchievements.github.io

SCSS
7
star
13

RAHashes

RetroAchievement ROM hashes
5
star
14

RAInterface

Enables RetroAchievements enabled emulators to interact with the server via the RA_Integration.dll
C++
4
star
15

RAVBA

GB/GBC/GBA emulator with RetroAchievements support (modified version of VisualBoyAdvance-M)
C++
4
star
16

RAProject64

N64 emulator with RetroAchievements support (modified version of Project64)
C++
4
star
17

userscripts

Officially maintained userscripts
3
star
18

RANes

NES emulator with RetroAchievements support (modified version of fceux)
C++
3
star
19

api-docs

RetroAchievements API Documentation
JavaScript
3
star
20

RAMeka

master system/gamegear/sg-1000/colecovision emulator with RetroAchievements support (modified version of meka)
C++
2
star
21

RASnes9x

SNES emulator with RetroAchievements support (modified version of snes9x)
C++
2
star
22

api-java

1
star