Git Product home page Git Product logo

game_emulator's Introduction

Game Emulator

This project is aimed at running different game emulators on CE 96Boards.

Table of Contents


1) Hardware

1.1 Hardware requirements

1.2 Hardware setup

  • DragonBoard 410 is powered off
  • Connect I/O devices (Monitor, Keyboard, etc...)
  • Power on your DragonBoard 410c with 96Boards compliant power supply

2) Software

2.1 Operating System

2.2 Package Dependencies

$ sudo apt-get update
$ sudo apt-get dist-upgrade

> Note: HiKey: Some packages might get corrupted by this, so run the following commmand to resolve.
$ sudo apt-get -f install

$ sudo apt-get install -y libsdl1.2-dev libsdl2-dev libboost-system-dev libboost-filesystem-dev \
libboost-date-time-dev libfreeimage-dev libfreetype6-dev libeigen3-dev libcurl4-openssl-dev libasound2-dev \
libgl1-mesa-dev cmake build-essential git pkg-config ffmpeg libavdevice-dev

3) RetroArch

Turn ON SWAP partition:

Use swapfile to prevent DragonBoard from running out of RAM. Follow the instructions here for allocating swap space in SD card.

3.1 Emulator Installation

Clone the Emulator source

$ git clone git://github.com/libretro/RetroArch.git

Building and Installing the Emulator

$ cd RetroArch
$ ./configure
$ make -j 2
$ sudo make install

3.2 Core Installation

Clone the core source

All of the supported cores for RetroArch is available here. You can use any of them. For instance, follow the below instructions to clone and build snes core.

$ git clone https://github.com/libretro/snes9x2010.git

Building the core

$ cd snes9x2010 
$ make -f Makefile.libretro

After building, the core snes9x2010_libretro.so will get generated

3.3 Game Execution

Run the Emulator with compiled core and ROM.

retroarch -L snes9x2010_libretro.so <path_to_rom>

Note: Replace <path_to_rom> with the path of appropriate ROM. Instructions for downloading ROM is not provided here.

4) RetroPie

4.1 Installation

Clone the source

$ git clone -b 96Boards https://github.com/Mani-Sadhasivam/RetroPie-Setup.git

Building the source

$ cd RetroPie-Setup

This script will install emulation station, RetroArch and few cores.

$ sudo ./retropie_setup.sh

Select yes to Copyright agreement and select Basic install from the opened dialog. After the installation has finished successfully, exit the dialog.

4.2 Game Execution

Place the downloaded ROMs into the appropriate core directory under /home/linaro/RetroPie/roms/

Execute the following command and configure the keypad then select games by choosing the emulator in main window.

$ emulationstation

For more info please visit the official RetroPie Wiki here

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.