Changes

Jump to navigation Jump to search

Building RetroArch

954 bytes added, 03:22, 31 January 2019
m
Protected "Building RetroArch" ([Move=Allow only administrators] (indefinite))
pacman --noconfirm -Sy
pacman --needed --noconfirm -S bash pacman pacman-mirrors msys2-runtime
 
When the command is done working, close all MSYS2 shells you might have open and run these commands in the Run as dialog or in <code>cmd.exe</code>:
 
*In a 64bit install of MSYS2:
 
%systemdrive%\msys64\autorebase.bat
 
*In a 32bit install of MSYS2:
 
%systemdrive%\msys32\autorebase.bat
Once the window closes, open the MSYS2 Shell again and type <code>pacman --noconfirm -Su</code> then repeat the previous operation to finish the process.
The following need only <code>make</code>:
* 4do-libretro
* blastem-libretro
* any 'beetle' source
* cannonball
* daphne
* Dinothawr
* dolphin FreeIntv* freej2me (inside <code>/src/libretro</code>)* Gearboy (inside <code>/platforms/ibretro</code>)* libretro-atari800
* libretro-cap32
* libretro-chailove
* libretro-crocods
* libretro-lutro
* libretro-o2em
* libretro-ppsspp (inside <code>/libretro</code>)
* libretro-uae
* mednfenmelonDS* Mesen (inside <code>/Libretro</code>)* mrboom-psxlibretro* mupen64plus-libretro
* nestopia (inside <code>/libretro</code>)
* nxengine-libretro
* parallel-n64
* ppsspp (inside <code>/libretro</code>)
* prosystem-libretro
* reicast-emulator* REminiscence* SameBoy (inside <code>/libretro</code>)* scummvm (inside <code>/backends/platform/libretro/build</code>)* snes9x (inside <code>/libretro</code>)* stella-libretro* tgbdual-libretro* theodore* virtualjaguar-libretro
* yabause (inside <code>/libretro</code>)
The following need <code>make -f Makefile.libretro</code>:
* 81-liberetro
* blueMSX-libretro
* Craft
* desmume (inside <code>/desmume</code>)
* dosbox-libretro
* easyrpg-libretro (inside <code>/builds/libretro</code>)
* fbalpha (NOTE: makefile.libretro is **all-lowercase**.)
* fuse-libretro
* gambatte-libretro (inside <code>/libgambatte</code>)
* Genesis-Plus-GX
* gw-libretro
* Hatari * libretro-JamVM* libretro-meowPC98 (You may need to run inside <code>./configurelibretro</code>)* libretro-vecx
* mgba
* NP2kai (inside <code>/sdl2</code>)
* picodrive
* px68k-libretro
* PokeMini
* snes9x-next
* vba-next
===bsnes===
cd libretro-bsnes_%PROFILE%
make profile='%PROFILE%' clean
make profile='%PROFILE%' -j4
Replace %PROFILE% with accuracy, balanced, or performance.
 
===Dolphin===
 
Dolphin requires Cmake now. Its information on the Libretro core is inside <code>/Source/Core/DolphinLibretro</code>.
 
===emux===
 
cd libretro
make -f Makefile.%TARGET% MACHINE=%MACH%
 
Replace %TARGET% with the device to which you plan on building the core (e.g. linux-portable_x86_64, mingw_x86...)
Replace %MACH% with any one of the following devices: chip8, gc, nes, sms.
===MAME===
This core will take a while to build, depending on how fast your CPU is, how many jobs you specify, and how many cores your CPU has. You can save some time updating the core by adding PARTIAL=1 when doing a clean. You can specify a subtarget by adding e.g. <code>SUBTARGET=arcade</code> or <code>SUBTARGET=tiny</code> in the current version of MAME.
 
===Redream===
Redream requires Cmake.
 
===Rustation-libretro===
Rustation is written in Rust, not C or C++; neither make nor Cmake would work.
=Building on Linux=

Navigation menu