ryandavidmercado / emu-hub

A games-first hub for emulation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[MacOSX Feature request with solution] Download all the necessary emulators

CHJ85 opened this issue · comments

Hi. On Linux, this has already been solved. But for the Mac version, what you can do is add the option to download all the emulators if Homebrew is installed. And if Homebrew is not installed, the option for installing them is grayed out or replaced with a button to launch the terminal and execute the command for installing homebrew.
You can achieve this with the following command:

osascript -e 'tell app "Terminal"
    do script "/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\""
end tell'

This command will open the terminal app and run the homebrew installation script.

And to save you time, here are the homebrew commands for installing the emulators

NES: brew install retroarch libretro-mesen
SNES: brew install retroarch libretro-bsnes
N64:
    brew install retroarch libretro-mupen64plus-next
    brew install retroarch libretro-parallel
GameCube/Wii: brew install dolphin
Wii U: brew install cemu
Switch:
    brew install yuzu
    brew install ryujinx
Game Boy/Color/Advance:
    brew install retroarch libretro-sameboy
    brew install retroarch libretro-gambatte
    brew install retroarch libretro-mgba
DS: brew install retroarch libretro-melonds
Genesis: brew install retroarch libretro-genesis-plus-gx
Saturn: brew install retroarch libretro-beetle-saturn
Dreamcast: brew install retroarch libretro-flycast
PlayStation: brew install duckstation
PlayStation 2: brew install pcsx2
PlayStation 3: brew install rpcs3
PlayStation Portable: brew install ppsspp
PlayStation Vita: brew install vita3k

@CHJ85 fantastic issue, thanks for the reference script and install commands!

No problem. Glad I could help.