Coder Social home page Coder Social logo

pemu's Introduction

linux-release linux-dev

windows-release windows-dev

switch-release switch-dev

ps4-release ps4-dev

vita-release vita-dev

pEMU: Portable Emulator

Building on ubuntu for ubuntu

  • Install build dependencies:
    sudo apt -yq update
    sudo apt -yq install \
        git zip build-essential cmake xxd \
        liblzma-dev libsdl2-dev libconfig-dev libcurl4-openssl-dev libtinyxml2-dev \
        libconfig-dev libglm-dev libfreetype6-dev libpng-dev libminizip-dev zlib1g-dev \
        libvdpau-dev libva-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev \
        libpostproc-dev libswresample-dev libswscale-dev libmpv-dev libass-dev libbz2-dev \
        libfribidi-dev libzip-dev libarchive-dev libfuse-dev
    
  • clone pemu repository:
    git clone --recursive https://github.com/Cpasjuste/pemu.git`
    
  • build (replace pfbneo with emulator target: pfbneo, psnes, pnes, pgen or remove this option for all emulators):
     mkdir cmake-build && cd cmake-build
     cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_BUILTIN_LIBCONFIG=ON \
         -DOPTION_EMU=pfbneo -DCMAKE_BUILD_TYPE=Release ..
     make pfbneo.deps
     make -j $(getconf _NPROCESSORS_ONLN) pfbneo_linux_release
    

Building on ubuntu for nintendo switch

  • Install build dependencies:
    sudo apt -yq update
    sudo apt -yq install zip git autoconf libtool automake build-essential cmake
    
  • Install switch toolchain:
    wget https://github.com/devkitPro/pacman/releases/download/v1.0.2/devkitpro-pacman.amd64.deb
    sudo dpkg -i devkitpro-pacman.amd64.deb
    sudo dkp-pacman -Syu
    sudo dkp-pacman --noconfirm -S switch-dev switch-portlibs
    
  • clone pemu repository:
    git clone --recursive https://github.com/Cpasjuste/pemu.git`
    
  • build (replace pfbneo with emulator target: pfbneo, psnes, pnes, pgen or remove this option for all emulators):
    mkdir cmake-build && cd cmake-build
    source /etc/profile.d/devkit-env.sh
    cmake -G "Unix Makefiles" -DPLATFORM_SWITCH=ON -DOPTION_EMU=pfbneo \
        -DCMAKE_BUILD_TYPE=Release ..
    make pfbneo.deps
    make -j $(getconf _NPROCESSORS_ONLN) pfbneo_switch_release
    

Building on ubuntu for sony ps4

  • Install build dependencies:
    sudo apt -yq update
    sudo apt -yq install git build-essential cmake zip libgpgme11
    
  • Install ps4 toolchain:
    wget https://github.com/PacBrew/pacbrew-pacman/releases/download/pacbrew-release-1.0/pacbrew-pacman-1.0.deb
    sudo dpkg -i pacbrew-pacman-1.0.deb
    sudo pacbrew-pacman -Syu
    sudo pacbrew-pacman --noconfirm -S ps4-openorbis ps4-openorbis-portlibs
    
  • clone pemu repository:
    git clone --recursive https://github.com/Cpasjuste/pemu.git`
    
  • build (replace pfbneo with emulator target: pfbneo, psnes, pnes, pgen or remove this option for all emulators):
    mkdir cmake-build && cd cmake-build
    export OPENORBIS=/opt/pacbrew/ps4/openorbis
    cmake -G "Unix Makefiles" -DPLATFORM_PS4=ON -DOPTION_EMU=pfbneo -DCMAKE_BUILD_TYPE=Release ..
    make pfbneo.deps
    make -j $(getconf _NPROCESSORS_ONLN) pfbneo_ps4_release
    

Building on windows for windows

  • download, install and update MYSYS2
    • install build dependencies:
        pacman -S --noconfirm --needed git zip perl make \
          mingw-w64-x86_64-binutils mingw-w64-x86_64-gcc mingw-w64-x86_64-make mingw-w64-x86_64-cmake mingw-w64-x86_64-pkgconf \
          mingw-w64-x86_64-SDL2 mingw-w64-x86_64-freetype mingw-w64-x86_64-glm \
          mingw-w64-x86_64-glew mingw-w64-x86_64-libconfig mingw-w64-x86_64-tinyxml2 \
          mingw-w64-x86_64-mpv mingw-w64-x86_64-zlib mingw-w64-x86_64-minizip mingw-w64-x86_64-libarchive
      
  • clone pemu repository:
    git clone --recursive https://github.com/Cpasjuste/pemu.git`
    
  • build (replace pfbneo with emulator target: pfbneo, psnes, pnes, pgen or remove this option for all emulators):
    mkdir cmake-build && cd cmake-build
    cmake -G "MSYS Makefiles" -DPLATFORM_WINDOWS=ON -DOPTION_EMU=pfbneo -DCMAKE_BUILD_TYPE=Release ..
    make pfbneo.deps
    make pfbneo
    

pemu's People

Contributors

cpasjuste avatar r-yatian 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.