├── .gitattributes ├── .github └── ISSUE_TEMPLATE │ └── bug_report.md ├── LICENSE ├── README.md ├── TODO.md ├── install-extras.sh ├── remove-extras.sh ├── scriptmodules ├── emulators │ ├── aethersx2.sh │ ├── box64.sh │ ├── box86.sh │ ├── dolphin-rpi.sh │ ├── dolphin-rpi │ │ └── 01_font_alerts.diff │ ├── duckstation.sh │ ├── flycast.sh │ ├── gearboy.sh │ ├── gsplus.sh │ ├── kat5200.sh │ ├── openbor-v5.sh │ ├── openbor.sh │ ├── pico8.sh │ ├── pokemini.sh │ ├── ppsspp-dev.sh │ ├── ppsspp-dev │ │ └── tinker.armv7.cmake │ ├── supermodel-mechafatnick.sh │ ├── supermodel-svn.sh │ └── supermodel │ │ └── NVRAM │ │ ├── _reamde.txt │ │ ├── dayto2pe.nv │ │ ├── daytona2.nv │ │ ├── dirtdvls.nv │ │ ├── dirtdvlsau.nv │ │ ├── eca.nv │ │ ├── fvipers2.nv │ │ ├── getbass.nv │ │ ├── getbassdx.nv │ │ ├── harleya.nv │ │ ├── lamachin.nv │ │ ├── lemans24.nv │ │ ├── lostwsga.nv │ │ ├── magtruck.nv │ │ ├── oceanhun.nv │ │ ├── scudau.nv │ │ ├── skichamp.nv │ │ ├── spikeofe.nv │ │ ├── spikeout.nv │ │ ├── srally2.nv │ │ ├── srally2dx.nv │ │ ├── swtrilgy.nv │ │ ├── swtrilgya.nv │ │ ├── vf3a.nv │ │ ├── vf3c.nv │ │ ├── vf3tb.nv │ │ ├── von2.nv │ │ ├── von254g.nv │ │ ├── vs2.nv │ │ ├── vs215.nv │ │ ├── vs298.nv │ │ ├── vs29815.nv │ │ ├── vs299.nv │ │ ├── vs299a.nv │ │ ├── vs299b.nv │ │ └── vs2v991.nv ├── libretrocores │ ├── lr-2048.sh │ ├── lr-applewin.sh │ ├── lr-arduous_lcd.sh │ ├── lr-bk.sh │ ├── lr-blastem.sh │ ├── lr-boom3.sh │ ├── lr-bsnes-hd.sh │ ├── lr-bsnes-jg.sh │ ├── lr-cannonball.sh │ ├── lr-chailove.sh │ ├── lr-citra.sh │ ├── lr-craft.sh │ ├── lr-crocods.sh │ ├── lr-daphne.sh │ ├── lr-dice.sh │ ├── lr-duckstation.sh │ ├── lr-easyrpg.sh │ ├── lr-freej2me.sh │ ├── lr-gearboy.sh │ ├── lr-gearcoleco.sh │ ├── lr-lutro.sh │ ├── lr-mame2003_midway.sh │ ├── lr-melonds.sh │ ├── lr-melondsds.sh │ ├── lr-mesen-s.sh │ ├── lr-mess-jaguar.sh │ ├── lr-minivmac.sh │ ├── lr-mu.sh │ ├── lr-oberon.sh │ ├── lr-openlara.sh │ ├── lr-play.sh │ ├── lr-pocketcdg.sh │ ├── lr-potator.sh │ ├── lr-ppsspp-dev.sh │ ├── lr-prboom-system.sh │ ├── lr-race.sh │ ├── lr-reminiscence.sh │ ├── lr-same_cdi.sh │ ├── lr-sameboy.sh │ ├── lr-simcoupe.sh │ ├── lr-swanstation.sh │ ├── lr-thepowdertoy.sh │ ├── lr-uzem.sh │ ├── lr-vemulator.sh │ ├── lr-vircon32.sh │ ├── lr-vircon32 │ │ └── cmake_pre3.17.patch │ ├── lr-wasm4.sh │ ├── lr-yabasanshiro.sh │ └── lr-yabasanshiro │ │ └── 01_shader_hack_rpi4.diff ├── ports │ ├── 0ad.sh │ ├── 2s2h.sh │ ├── abuse.sh │ ├── adom.sh │ ├── augustus.sh │ ├── avp.sh │ ├── barrage.sh │ ├── bermudasyndrome.sh │ ├── berusky.sh │ ├── bloboats.sh │ ├── bombermaaan.sh │ ├── bombermaaan │ │ └── 01-cmake-sdl-mixer.diff │ ├── boswars.sh │ ├── breaker.sh │ ├── bstone.sh │ ├── burgerspace.sh │ ├── captain.sh │ ├── chocolate-doom-system.sh │ ├── chocolate-doom.sh │ ├── chopper258.sh │ ├── corsixth.sh │ ├── crack-attack.sh │ ├── crispy-doom-system.sh │ ├── crispy-doom.sh │ ├── cytadela.sh │ ├── devilutionx.sh │ ├── dhewm3.sh │ ├── diablo2.sh │ ├── dink.sh │ ├── dosbox-x.sh │ ├── dunelegacy.sh │ ├── easyrpg-player.sh │ ├── ecwolf-mod │ │ └── 01_keyboard_patch.diff │ ├── ecwolf-mods.sh │ ├── ecwolf.sh │ ├── ecwolf │ │ └── 01_keyboard_patch.diff │ ├── eternity-system.sh │ ├── eternity.sh │ ├── extremetuxracer.sh │ ├── fallout1.sh │ ├── fallout2.sh │ ├── fheroes2.sh │ ├── freeciv.sh │ ├── freedink.sh │ ├── freesynd.sh │ ├── fruity.sh │ ├── fs2open.sh │ ├── galius.sh │ ├── gmloader.sh │ ├── gmloader │ │ ├── 01_sdl_retropie_exit_emu.patch │ │ ├── 02_sdl_disable_mouse_cursor.patch │ │ └── toolchain_armhf_multiarch.tpl │ ├── gnukem.sh │ ├── gta3.sh │ ├── gtavc.sh │ ├── gtkboard.sh │ ├── gzdoom-system.sh │ ├── hcl.sh │ ├── heboris.sh │ ├── hexen2.sh │ ├── hexen2gl.sh │ ├── hheretic.sh │ ├── hhexen.sh │ ├── hurrican.sh │ ├── ikemen-go.sh │ ├── ja2-stracciatella.sh │ ├── jfsw.sh │ ├── julius.sh │ ├── kraptor.sh │ ├── lbreakout2.sh │ ├── lgeneral.sh │ ├── lmarbles.sh │ ├── ltris.sh │ ├── manaplus.sh │ ├── meritous.sh │ ├── nblood.sh │ ├── nkaruga.sh │ ├── nxengine-evo.sh │ ├── openclaw.sh │ ├── opendune.sh │ ├── openjazz.sh │ ├── openjk_ja.sh │ ├── openjk_jo.sh │ ├── openjkdf2.sh │ ├── openlara.sh │ ├── openmw-vpi5.sh │ ├── openmw.sh │ ├── openra-vpi5.sh │ ├── openra.sh │ ├── openrct2.sh │ ├── openxcom │ │ └── 01-yaml-pcc.diff │ ├── pcexhumed.sh │ ├── perfect_dark.sh │ ├── piegalaxy.sh │ ├── pingus.sh │ ├── pokerth.sh │ ├── prboom-plus-system.sh │ ├── prboom-plus.sh │ ├── prototype-vpi5.sh │ ├── prototype.sh │ ├── pydance.sh │ ├── quakespasm.sh │ ├── rawgl.sh │ ├── rednukem.sh │ ├── relive.sh │ ├── reminiscence.sh │ ├── revolt.sh │ ├── rickyd.sh │ ├── rigelengine.sh │ ├── rocksndiamonds.sh │ ├── rott-darkwar.sh │ ├── rott-huntbgin.sh │ ├── rtcw.sh │ ├── rtcw │ │ ├── wolfconfig.cfg │ │ └── wolfconfig_mp.cfg │ ├── samtfe.sh │ ├── samtse.sh │ ├── sdl-bomber.sh │ ├── seahorse.sh │ ├── septerra.sh │ ├── shiromino.sh │ ├── shockolate.sh │ ├── simutrans.sh │ ├── sm64ex.sh │ ├── soh.sh │ ├── sorr.sh │ ├── sorrv2.sh │ ├── sqrxz2.sh │ ├── sqrxz3.sh │ ├── sqrxz4.sh │ ├── srb2kart.sh │ ├── starcraft.sh │ ├── supaplex.sh │ ├── supertuxkart.sh │ ├── temptations.sh │ ├── ut.sh │ ├── ut │ │ └── UnrealTournament.ini │ ├── vanillacc.sh │ ├── vcmi.sh │ ├── warmux.sh │ ├── wesnoth.sh │ ├── wine.sh │ ├── xash3d-fwgs.sh │ ├── xump.sh │ └── zeldansq.sh └── supplementary │ ├── audacity.sh │ ├── bezelproject.sh │ ├── bgm123.sh │ ├── bgm123 │ ├── bgm_fade.sh │ ├── bgm_start.sh │ ├── bgm_stop.sh │ └── icon.png │ ├── chromium.sh │ ├── epiphany.sh │ ├── filezilla.sh │ ├── firefox-esr.sh │ ├── fun-facts-splashscreens.sh │ ├── golang-1.17.sh │ ├── gparted.sh │ ├── joystick-selection.sh │ ├── kodi-extra.sh │ ├── kweb.sh │ ├── librecad.sh │ ├── libreoffice.sh │ ├── mesa.sh │ ├── mixxx.sh │ ├── mpv.sh │ ├── mypaint.sh │ ├── omxplayer.sh │ ├── putty.sh │ ├── retroscraper.sh │ ├── screenshot.sh │ ├── thunderbird.sh │ ├── vlc.sh │ └── weechat.sh └── update-extras.sh /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # don't convert .diff or .patch files 5 | *.diff binary 6 | *.patch binary 7 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **IF THIS IS NOT FILLED OUT, THE TICKET WILL BE CLOESED** 11 | 12 | **Describe the bug** 13 | A clear and concise description of what the bug is. 14 | 15 | **To Reproduce** 16 | Steps to reproduce the behavior: 17 | 1. Go to '...' 18 | 2. Click on '....' 19 | 3. Scroll down to '....' 20 | 4. See error 21 | 22 | **Expected behavior** 23 | A clear and concise description of what you expected to happen. 24 | 25 | **Screenshots** 26 | If applicable, add screenshots to help explain your problem. 27 | 28 | **Device (please complete the following information):** 29 | - What model[Pi4, Pi5, PC...] 30 | - OS: [e.g. iOS] 31 | - Version [e.g. 22] 32 | 33 | **Additional context** 34 | Add any other context about the problem here. 35 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2021 Exarkuniv 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /remove-extras.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ./install-extras.sh --remove "$@" 4 | -------------------------------------------------------------------------------- /scriptmodules/emulators/dolphin-rpi/01_font_alerts.diff: -------------------------------------------------------------------------------- 1 | diff -ur a/Source/Core/Core/HW/EXI/EXI_DeviceIPL.cpp b/Source/Core/Core/HW/EXI/EXI_DeviceIPL.cpp 2 | --- a/Source/Core/Core/HW/EXI/EXI_DeviceIPL.cpp SOURCE 3 | +++ b/Source/Core/Core/HW/EXI/EXI_DeviceIPL.cpp MODIFIED 4 | @@ -387,16 +387,6 @@ 5 | 6 | if ((position >= 0x001AFF00) && (position <= 0x001FF474) && !m_FontsLoaded) 7 | { 8 | - if (position >= 0x001FCF00) 9 | - { 10 | - PanicAlertT("Error: Trying to access Windows-1252 fonts but they are not loaded. " 11 | - "Games may not show fonts correctly, or crash."); 12 | - } 13 | - else 14 | - { 15 | - PanicAlertT("Error: Trying to access Shift JIS fonts but they are not loaded. " 16 | - "Games may not show fonts correctly, or crash."); 17 | - } 18 | m_FontsLoaded = true; // Don't be a nag :p 19 | } 20 | } -------------------------------------------------------------------------------- /scriptmodules/emulators/gearboy.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="gearboy" 14 | rp_module_desc="Gearboy - Gameboy & Gameboy Color Emulator" 15 | rp_module_licence="GPL3 https://raw.githubusercontent.com/drhelius/Gearboy/master/LICENSE" 16 | rp_module_section="exp" 17 | rp_module_repo="git https://github.com/DrHelius/GearBoy.git master" 18 | rp_module_flags="!x86" 19 | 20 | function depends_gearboy() { 21 | getDepends build-essential libsdl2-dev libglew-dev libgtk-3-dev 22 | 23 | } 24 | 25 | function sources_gearboy() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_gearboy() { 30 | cd "$md_build/platforms/linux" 31 | make clean 32 | make 33 | strip "gearboy" 34 | 35 | md_ret_require="$md_build/platforms/linux/gearboy" 36 | } 37 | 38 | function install_gearboy() { 39 | cp "$md_build/platforms/linux/gearboy" "$md_inst/gearboy" 40 | 41 | } 42 | 43 | function configure_gearboy() { 44 | mkRomDir "gbc" 45 | mkRomDir "gb" 46 | defaultRAConfig "gb" 47 | defaultRAConfig "gbc" 48 | addEmulator 1 "$md_id" "gb" "$md_inst/gearboy %ROM%" 49 | addEmulator 1 "$md_id" "gbc" "$md_inst/gearboy %ROM%" 50 | addSystem "gb" 51 | addSystem "gbc" 52 | moveConfigFile "$home/gearboy.cfg" "$md_conf_root/gearboy/gearboy.cfg" 53 | } -------------------------------------------------------------------------------- /scriptmodules/emulators/pokemini.sh: -------------------------------------------------------------------------------- 1 | 2 | #!/usr/bin/env bash 3 | 4 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 5 | # For more information, please visit: 6 | # 7 | # https://github.com/RetroPie/RetroPie-Setup 8 | # https://github.com/Exarkuniv/RetroPie-Extra 9 | # 10 | # See the LICENSE file distributed with this source and at 11 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 12 | # 13 | 14 | rp_module_id="pokemini" 15 | rp_module_desc="Pokemini - Pokemon Mini emulator" 16 | rp_module_help="ROM Extensions: .min .MIN\n\nYou will need to add the ROM extensions above to your /etc/emulationstation/es_systems.cfg file manually." 17 | rp_module_licence="GPL https://sourceforge.net/p/pokemini/code/ci/master/tree/LICENSE" 18 | rp_module_repo="git https://git.code.sf.net/p/pokemini/code master" 19 | rp_module_section="exp" 20 | rp_module_flags="!mali !kms" 21 | 22 | function depends_pokemini() { 23 | getDepends zlib1g zlib1g-dev libsdl2-dev 24 | } 25 | 26 | function sources_pokemini() { 27 | gitPullOrClone 28 | } 29 | 30 | function build_pokemini() { 31 | cd platform/sdl2 32 | make 33 | md_ret_require="$md_build/platform/sdl2/PokeMini" 34 | } 35 | 36 | function install_pokemini() { 37 | md_ret_files=( 38 | 'platform/sdl2/PokeMini' 39 | ) 40 | 41 | } 42 | 43 | function configure_pokemini() { 44 | mkRomDir "pokemini" 45 | 46 | addEmulator 1 "pokemini" "pokemini" "$md_inst/PokeMini -fullscreen %ROM%" 47 | addSystem "pokemini" 48 | } -------------------------------------------------------------------------------- /scriptmodules/emulators/ppsspp-dev/tinker.armv7.cmake: -------------------------------------------------------------------------------- 1 | include_directories(SYSTEM 2 | /usr/local/include 3 | /usr/include 4 | ) 5 | 6 | set(ARCH_FLAGS "-O2 -marm -march=armv7-a -mfpu=neon-vfpv4 -mtune=cortex-a17 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations -pipe") 7 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ARCH_FLAGS}" CACHE STRING "" FORCE) 8 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ARCH_FLAGS}" CACHE STRING "" FORCE) 9 | set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} ${ARCH_FLAGS}" CACHE STRING "" FORCE) 10 | 11 | set(OPENGL_LIBRARIES GLESv2) 12 | set(ARMV7 ON) 13 | set(USING_GLES2 ON) 14 | -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/_reamde.txt: -------------------------------------------------------------------------------- 1 | NVRAM files store arcade machine hardware configuration etc. 2 | We have provided generic NVRAM files to enable access to poluar games without additional configuration in the emulator. 3 | 4 | If you are having problems with a games starting - i.e. Network error then: 5 | 6 | 1. Ensure you have a keyboard plugged into your emulation machine. 7 | 2. Hit key 6 to bring up the service menu. 8 | 3. Hit key 5 to navigate to 'Game Assignments'. 9 | 4. Use key 6 to enter sub menu. 10 | 5. Typically changing Link ID to Single will fix the problem. 11 | 6. Exit & then Exit again to play the game. 12 | 13 | 14 | -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/dayto2pe.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/dayto2pe.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/daytona2.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/daytona2.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/dirtdvls.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/dirtdvls.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/dirtdvlsau.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/dirtdvlsau.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/eca.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/eca.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/fvipers2.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/fvipers2.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/getbass.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/getbass.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/getbassdx.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/getbassdx.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/harleya.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/harleya.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/lamachin.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/lamachin.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/lemans24.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/lemans24.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/lostwsga.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/lostwsga.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/magtruck.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/magtruck.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/oceanhun.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/oceanhun.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/scudau.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/scudau.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/skichamp.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/skichamp.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/spikeofe.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/spikeofe.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/spikeout.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/spikeout.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/srally2.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/srally2.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/srally2dx.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/srally2dx.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/swtrilgy.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/swtrilgy.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/swtrilgya.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/swtrilgya.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/vf3a.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/vf3a.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/vf3c.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/vf3c.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/vf3tb.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/vf3tb.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/von2.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/von2.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/von254g.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/von254g.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/vs2.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/vs2.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/vs215.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/vs215.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/vs298.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/vs298.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/vs29815.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/vs29815.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/vs299.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/vs299.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/vs299a.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/vs299a.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/vs299b.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/vs299b.nv -------------------------------------------------------------------------------- /scriptmodules/emulators/supermodel/NVRAM/vs2v991.nv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/emulators/supermodel/NVRAM/vs2v991.nv -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-2048.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-2048" 14 | rp_module_desc="2048 engine - 2048 port for libretro" 15 | rp_module_licence="Unl https://raw.githubusercontent.com/libretro/libretro-2048/master/COPYING" 16 | rp_module_repo="git https://github.com/libretro/libretro-2048.git master" 17 | rp_module_section="exp" 18 | rp_module_flags="" 19 | 20 | function sources_lr-2048() { 21 | gitPullOrClone 22 | } 23 | 24 | function build_lr-2048() { 25 | make -f Makefile.libretro clean 26 | make -f Makefile.libretro 27 | md_ret_require="$md_build/2048_libretro.so" 28 | } 29 | 30 | function install_lr-2048() { 31 | md_ret_files=( 32 | '2048_libretro.so' 33 | ) 34 | } 35 | 36 | function configure_lr-2048() { 37 | setConfigRoot "ports" 38 | 39 | addPort "$md_id" "2048" "2048" "$md_inst/2048_libretro.so" 40 | 41 | ensureSystemretroconfig "ports/2048" 42 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-bk.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-bk" 14 | rp_module_desc="Elektronika БК-0010/0011/Terak 8510a emulator - BK port for libretro" 15 | rp_module_help="ROM Extension: .bin .zip .7z\n\nCopy your roms to $romdir/bk\n\nCopy the following BIOS files to $biosdir/bk:\nMONIT10.ROM (BK-0010/0010.01);\nFOCAL10.ROM (BK-0010);\nBASIC10.ROM (BK-0010.01);\nDISK_327.ROM (BK-0010.01/0011M + FDD);\nB11M_BOS.ROM, BAS11M_0.ROM, BAS11M_1.ROM and B11M_EXT.ROM (BK-0011M + FDD);\nTERAK.ROM (Terak 8510/a)." 16 | rp_module_licence="NONCOM https://raw.githubusercontent.com/libretro/bk-emulator/master/COPYING" 17 | rp_module_section="exp" 18 | rp_module_repo="git https://github.com/libretro/bk-emulator.git master" 19 | rp_module_flags="" 20 | 21 | function sources_lr-bk() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-bk() { 26 | make -f Makefile.libretro clean 27 | make -f Makefile.libretro 28 | md_ret_require="$md_build/bk_libretro.so" 29 | } 30 | 31 | function install_lr-bk() { 32 | md_ret_files=( 33 | 'bk_libretro.so' 34 | 'COPYING' 35 | ) 36 | } 37 | 38 | function configure_lr-bk() { 39 | mkRomDir "bk" 40 | ensureSystemretroconfig "bk" 41 | 42 | addEmulator 1 "$md_id" "bk" "$md_inst/bk_libretro.so" 43 | addSystem "bk" "BK" ".bin" ".zip" ".ZIP" 44 | 45 | mkdir -p "$biosdir/bk" 46 | chown $user:$user -R "$biosdir/bk" 47 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-blastem.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-blastem" 14 | rp_module_desc="Sega Genesis emu - BlastEm port for libretro" 15 | rp_module_help="ROM Extensions: .md .bin .smd .zip .7z\n\nCopy the required BIOS file rom.db to $biosdir" 16 | rp_module_licence="GPL3 https://raw.githubusercontent.com/libretro/blastem/master/COPYING" 17 | rp_module_repo="git https://github.com/libretro/blastem libretro" 18 | rp_module_section="exp" 19 | rp_module_flags="!all 64bit !rpi5" 20 | 21 | function sources_lr-blastem() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-blastem() { 26 | make -f Makefile.libretro clean 27 | make -f Makefile.libretro 28 | md_ret_require="$md_build/blastem_libretro.so" 29 | } 30 | 31 | function install_lr-blastem() { 32 | md_ret_files=( 33 | 'COPYING' 34 | 'blastem_libretro.so' 35 | ) 36 | } 37 | 38 | function configure_lr-blastem() { 39 | mkRomDir "megadrive" 40 | ensureSystemretroconfig "megadrive" 41 | 42 | addEmulator 1 "$md_id" "megadrive" "$md_inst/blastem_libretro.so" 43 | addSystem "megadrive" 44 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-bsnes-hd.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="lr-bsnes-hd" 13 | rp_module_desc="Super Nintendo Emulator - bsnes-HD port for libretro (BETA)" 14 | rp_module_help="ROM Extensions: .bml .smc .sfc .zip\n\nCopy your SNES roms to $romdir/snes" 15 | rp_module_licence="GPL3 https://raw.githubusercontent.com/DerKoun/bsnes-hd/master/LICENSE" 16 | rp_module_repo="git https://github.com/DerKoun/bsnes-hd master" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali !x86" 19 | 20 | function depends_lr-bsnes-hd() { 21 | getDepends build-essential libgtk2.0-dev libpulse-dev mesa-common-dev libcairo2-dev libsdl2-dev libxv-dev libao-dev libopenal-dev libasound2-dev libudev-dev 22 | } 23 | 24 | function sources_lr-bsnes-hd() { 25 | gitPullOrClone 26 | } 27 | 28 | function build_lr-bsnes-hd() { 29 | local params=(target="libretro" build="release" binary="library" CXXFLAGS="$CXXFLAGS" platform="linux" local="false") 30 | make -C bsnes clean "${params[@]}" 31 | make -C bsnes "${params[@]}" 32 | md_ret_require="$md_build/bsnes/out/bsnes_hd_beta_libretro.so" 33 | } 34 | 35 | function install_lr-bsnes-hd() { 36 | md_ret_files=( 37 | 'bsnes/out/bsnes_hd_beta_libretro.so' 38 | 'pack/GPLv3.txt' 39 | 'LICENSE' 40 | 'README.md' 41 | ) 42 | } 43 | 44 | function configure_lr-bsnes-hd() { 45 | mkRomDir "snes" 46 | defaultRAConfig "snes" 47 | 48 | addEmulator 0 "$md_id" "snes" "$md_inst/bsnes_hd_beta_libretro.so" 49 | addSystem "snes" 50 | } 51 | -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-bsnes-jg.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="lr-bsnes-jg" 13 | rp_module_desc="Super Nintendo Emulator - bsnes-jg is a cycle accurate emulator libretro" 14 | rp_module_help="ROM Extensions: .bml .smc .sfc .zip\n\nCopy your SNES roms to $romdir/snes" 15 | rp_module_licence="GPL3 https://github.com/libretro/bsnes-jg?tab=GPL-3.0-1-ov-file#readme" 16 | rp_module_repo="git https://github.com/libretro/bsnes-jg libretro" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali !x86" 19 | 20 | function depends_lr-bsnes-jg() { 21 | getDepends build-essential libgtk2.0-dev libpulse-dev mesa-common-dev libcairo2-dev libsdl2-dev libxv-dev libao-dev libopenal-dev libasound2-dev libudev-dev 22 | } 23 | 24 | function sources_lr-bsnes-jg() { 25 | gitPullOrClone 26 | } 27 | 28 | function build_lr-bsnes-jg() { 29 | local params=(target="libretro" build="release" binary="library" CXXFLAGS="$CXXFLAGS" platform="linux" local="false") 30 | cd libretro 31 | make clean 32 | make 33 | md_ret_require="$md_build/libretro/bsnes-jg_libretro.so" 34 | } 35 | 36 | function install_lr-bsnes-jg() { 37 | md_ret_files=( 38 | 'libretro/bsnes-jg_libretro.so' 39 | 'README' 40 | ) 41 | } 42 | 43 | function configure_lr-bsnes-jg() { 44 | mkRomDir "snes" 45 | defaultRAConfig "snes" 46 | 47 | addEmulator 0 "$md_id" "snes" "$md_inst/bsnes-jg_libretro.so" 48 | addSystem "snes" 49 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-cannonball.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-cannonball" 14 | rp_module_desc="An Enhanced OutRun engine for libretro" 15 | rp_module_help="ROM Extensions: .game .88\n\nYou need to unzip your OutRun set B from latest MAME (outrun.zip) to $romdir/ports/cannonball. They should match the file names listed in the roms.txt file found in the roms folder. You will also need to rename the epr-10381a.132 file to epr-10381b.132 before it will work." 16 | rp_module_licence="NONCOM https://raw.githubusercontent.com/libretro/cannonball/master/docs/license.txt" 17 | rp_module_repo="git https://github.com/libretro/cannonball.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function depends_lr-cannonball() { 22 | depends_cannonball 23 | } 24 | 25 | function sources_lr-cannonball() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_lr-cannonball() { 30 | > CannonBall.game 31 | make clean 32 | make 33 | md_ret_require="$md_build/cannonball_libretro.so" 34 | } 35 | 36 | function install_lr-cannonball() { 37 | md_ret_files=( 38 | 'CannonBall.game' 39 | 'cannonball_libretro.so' 40 | ) 41 | } 42 | 43 | function configure_lr-cannonball() { 44 | local script 45 | setConfigRoot "ports" 46 | 47 | mkRomDir "ports/cannonball" 48 | 49 | mv "$md_inst/CannonBall.game" "$romdir/ports/cannonball" 50 | 51 | addPort "$md_id" "cannonball" "Cannonball - OutRun Engine" "$md_inst/cannonball_libretro.so" "$romdir/ports/cannonball/CannonBall.game" 52 | 53 | ensureSystemretroconfig "ports/cannonball" 54 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-chailove.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-chailove" 14 | rp_module_desc="2D Game Framework with ChaiScript roughly inspired by the LÖVE API to libretro" 15 | rp_module_help="ROM Extension: .chai .chailove\n\nCopy your ChaiLove games to $romdir/love" 16 | rp_module_licence="MIT https://raw.githubusercontent.com/libretro/libretro-chailove/master/COPYING" 17 | rp_module_repo="git https://github.com/libretro/libretro-chailove.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function sources_lr-chailove() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-chailove() { 26 | make clean 27 | make 28 | md_ret_require="$md_build/chailove_libretro.so" 29 | } 30 | 31 | function install_lr-chailove() { 32 | md_ret_files=( 33 | 'chailove_libretro.so' 34 | ) 35 | } 36 | 37 | function configure_lr-chailove() { 38 | mkRomDir "love" 39 | ensureSystemretroconfig "love" 40 | 41 | addEmulator 1 "$md_id" "love" "$md_inst/chailove_libretro.so" 42 | addSystem "love" ".chai .chailove" 43 | } 44 | -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-citra.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-citra" 14 | rp_module_desc="3DS emulator - Citra port for libretro" 15 | rp_module_help="OpenGL >= 3.3 is required.\n\nROM Extensions: .3ds .3dsx .elf .axf .cci .cxi .app\n\nCopy your Nintendo 3DS roms to $romdir/3ds" 16 | rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/citra/master/license.txt" 17 | rp_module_repo="git https://github.com/libretro/citra.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="!all x86 !rpi5" 20 | 21 | function depends_lr-citra() { 22 | getDepends cmake 23 | } 24 | 25 | function sources_lr-citra() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_lr-citra() { 30 | mkdir build && cd build 31 | cmake .. -DENABLE_LIBRETRO=1 -DLIBRETRO_STATIC=1 -DENABLE_SDL2=0 -DENABLE_QT=0 -DCMAKE_BUILD_TYPE="Release" -DENABLE_WEB_SERVICE=0 32 | make 33 | md_ret_require="$md_build/build/citra_libretro.so" 34 | } 35 | 36 | function install_lr-citra() { 37 | md_ret_files=( 38 | 'build/citra_libretro.so' 39 | ) 40 | } 41 | 42 | function configure_lr-citra() { 43 | mkRomDir "3ds" 44 | ensureSystemretroconfig "3ds" 45 | 46 | addEmulator 1 "$md_id" "3ds" "$md_inst/citra_libretro.so" 47 | addSystem "3ds" "3ds" ".3ds .zip" 48 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-craft.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-craft" 14 | rp_module_desc="Minecraft engine - Craft port for libretro" 15 | rp_module_licence="MIT https://raw.githubusercontent.com/libretro/Craft/master/LICENSE.md" 16 | rp_module_repo="git https://github.com/libretro/Craft master" 17 | rp_module_section="exp" 18 | rp_module_flags="rpi5" 19 | 20 | function sources_lr-craft() { 21 | gitPullOrClone 22 | } 23 | 24 | function build_lr-craft() { 25 | make -f Makefile.libretro clean 26 | make -f Makefile.libretro 27 | md_ret_require="$md_build/craft_libretro.so" 28 | } 29 | 30 | function install_lr-craft() { 31 | md_ret_files=( 32 | 'craft_libretro.so' 33 | ) 34 | } 35 | 36 | function configure_lr-craft() { 37 | setConfigRoot "ports" 38 | 39 | addPort "$md_id" "craft" "Craft" "$md_inst/craft_libretro.so" 40 | 41 | ensureSystemretroconfig "ports/craft" 42 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-crocods.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-crocods" 14 | rp_module_desc="Amstrad CPC emu - CrocoDS port for libretro" 15 | rp_module_help="ROM Extensions: .dsk .sna .kcr\n\nCopy your Amstrad CPC games to $romdir/amstradcpc" 16 | rp_module_licence="MIT https://raw.githubusercontent.com/libretro/libretro-crocods/master/LICENSE" 17 | rp_module_repo="git https://github.com/libretro/libretro-crocods.git master" 18 | rp_module_section="exp x86=opt" 19 | rp_module_flags="" 20 | 21 | #function depends_lr-crocods() { 22 | # local depends 23 | # isPlatform "arm" && depends+=(gcc-arm-linux-gnueabihf) 24 | # getDepends "${depends[@]}" 25 | #} 26 | 27 | function sources_lr-crocods() { 28 | gitPullOrClone 29 | } 30 | 31 | function build_lr-crocods() { 32 | make clean 33 | make 34 | md_ret_require="$md_build/crocods_libretro.so" 35 | } 36 | 37 | function install_lr-crocods() { 38 | md_ret_files=( 39 | 'crocods_libretro.so' 40 | ) 41 | } 42 | 43 | function configure_lr-crocods() { 44 | mkRomDir "amstradcpc" 45 | ensureSystemretroconfig "amstradcpc" 46 | 47 | addEmulator 1 "$md_id" "amstradcpc" "$md_inst/crocods_libretro.so" 48 | addSystem "amstradcpc" 49 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-daphne.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-daphne" 14 | rp_module_desc="lr-daphne - Daphne port for libretro - laserdisk games" 15 | rp_module_help="ROM Extension: .zip\n\nCopy your Daphne roms to $romdir/daphne. See readme file for directory structure." 16 | rp_module_licence="NONCOM https://raw.githubusercontent.com/libretro/daphne/master/docs/mame.txt" 17 | rp_module_repo="git https://github.com/libretro/daphne.git master" 18 | rp_module_section="exp" 19 | rp_module_flags=" !rpi5" 20 | 21 | function sources_lr-daphne() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-daphne() { 26 | rpSwap on 750 27 | make clean 28 | local params=() 29 | isPlatform "arm" && params+=("ARM=1") 30 | make ARCH="$CFLAGS" "${params[@]}" 31 | rpSwap off 32 | md_ret_require="$md_build/daphne_libretro.so" 33 | } 34 | 35 | function install_lr-daphne() { 36 | md_ret_files=( 37 | 'daphne_libretro.so' 38 | 'README.md' 39 | ) 40 | } 41 | 42 | function configure_lr-daphne() { 43 | mkRomDir "daphne" 44 | 45 | addEmulator 0 "$md_id" "daphne" "$md_inst/daphne_libretro.so" 46 | addSystem "daphne" "Daphne" ".zip" 47 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-dice.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="lr-dice" 13 | rp_module_desc="Discrete Integrated Circuit Emulator for machines without a CPU - DICE core for libretro" 14 | rp_module_help="ROM Extensions: .zip .dmy\n\nCopy your DICE TTL roms to either $romdir/arcade or $romdir/dice" 15 | rp_module_licence="GPL3 https://raw.githubusercontent.com/mittonk/dice-libretro/main/LICENSE.txt" 16 | rp_module_repo="git https://github.com/mittonk/dice-libretro.git main" 17 | rp_module_section="exp" 18 | 19 | function depends_lr-dice() { 20 | getDepends zlib1g-dev 21 | } 22 | 23 | function sources_lr-dice() { 24 | gitPullOrClone 25 | } 26 | 27 | function build_lr-dice() { 28 | make clean 29 | make 30 | md_ret_require="$md_build/dice_libretro.so" 31 | } 32 | 33 | function install_lr-dice() { 34 | md_ret_files=( 35 | 'README.md' 36 | 'dice_libretro.so' 37 | 'LICENSE.txt' 38 | ) 39 | } 40 | 41 | function configure_lr-dice() { 42 | local system 43 | for system in arcade dice; do 44 | mkRomDir "$system" 45 | defaultRAConfig "$system" 46 | addEmulator 0 "$md_id" "$system" "$md_inst/dice_libretro.so" 47 | done 48 | addSystem "arcade" 49 | # Supply fullname and extensions for platform DICE. Doesn't configure 50 | # scraper to use platform "arcade", but close enough. 51 | addSystem "dice" "DICE" ".zip .dmy" 52 | } 53 | -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-freej2me.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-freej2me" 14 | rp_module_desc="Java ME emulator - FreeJ2ME port for libretro." 15 | rp_module_help="ROM Extensions: .jar .zip .7z\n\nCopy your Java ME (J2ME) roms to $romdir/j2me\n\nThe BIOS files freej2me-sdl.jar, freej2me.jar and freej2me-lr.jar will automatically installed in $biosdir" 16 | rp_module_licence="GPL3 https://raw.githubusercontent.com/hex007/freej2me/master/LICENSE" 17 | rp_module_repo="git https://github.com/hex007/freej2me.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function depends_lr-freej2me() { 22 | getDepends ant 23 | sudo update-alternatives --config java 24 | } 25 | 26 | function sources_lr-freej2me() { 27 | gitPullOrClone 28 | } 29 | 30 | function build_lr-freej2me() { 31 | ant 32 | cd "src/libretro" 33 | make clean 34 | make 35 | md_ret_require="$md_build/src/libretro/freej2me_libretro.so" 36 | } 37 | 38 | function install_lr-freej2me() { 39 | md_ret_files=( 40 | 'build/freej2me.jar' 41 | 'build/freej2me-lr.jar' 42 | 'build/freej2me-sdl.jar' 43 | 'src/libretro/retropie.txt' 44 | 'src/libretro/freej2me_libretro.so' 45 | ) 46 | } 47 | 48 | function configure_lr-freej2me() { 49 | mkRomDir "j2me" 50 | ensureSystemretroconfig "j2me" 51 | 52 | addEmulator 1 "$md_id" "j2me" "$md_inst/freej2me_libretro.so" 53 | addSystem "j2me" "J2ME" ".jar .JAR" 54 | 55 | cp -Rv "$md_inst/freej2me-lr.jar" "$md_inst/freej2me-sdl.jar" "$md_inst/freej2me.jar" "$biosdir" 56 | chown $user:$user -R "$biosdir/freej2me.jar" "$biosdir/freej2me-sdl.jar" "$biosdir/freej2me-lr.jar" 57 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-gearboy.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-gearboy" 14 | rp_module_desc="Game Boy (Color) emulator - Gearboy port for libretro." 15 | rp_module_help="ROM Extensions: .gb .gbc .dmg .cgb .sgb .zip .7z\n\nCopy your GameBoy roms to $romdir/gb\nCopy your GameBoy Color roms to $romdir/gbc\n\nCopy the optional BIOS files\n\ndmg_boot.bin and\ncgb_boot.bin to\n\n$biosdir" 16 | rp_module_licence="GPL3 https://raw.githubusercontent.com/libretro/Gearboy/master/LICENSE" 17 | rp_module_repo="git https://github.com/DrHelius/GearBoy.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | 22 | function depends_gearboy() { 23 | getDepends build-essential libsdl2-dev libglew-dev libgtk-3-dev 24 | 25 | } 26 | 27 | function sources_lr-gearboy() { 28 | gitPullOrClone 29 | } 30 | 31 | function build_lr-gearboy() { 32 | cd "platforms/libretro" 33 | make clean 34 | make 35 | md_ret_require="$md_build/platforms/libretro/gearboy_libretro.so" 36 | } 37 | 38 | function install_lr-gearboy() { 39 | md_ret_files=( 40 | 'platforms/libretro/gearboy_libretro.so' 41 | ) 42 | } 43 | 44 | function configure_lr-gearboy() { 45 | for x in gb gbc; do 46 | mkRomDir "$x" 47 | ensureSystemretroconfig "$x" 48 | 49 | addEmulator 1 "$md_id" "$x" "$md_inst/gearboy_libretro.so" 50 | addSystem "$x" 51 | done 52 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-gearcoleco.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-gearcoleco" 14 | rp_module_desc="ColecoVision emulator - GearColeco port for libretro." 15 | rp_module_help="ROM Extensions: .col .cv .bin .rom .zip .7z\n\nCopy your ColecoVision roms to $romdir/coleco\n\nCopy the required BIOS files colecovision.rom md5 2c66f5911e5b42b8ebe113403548eee7 to $biosdir" 16 | rp_module_licence="GPL3 https://git.libretro.com/libretro/gearcoleco/blob/main/LICENSE" 17 | rp_module_repo="git https://github.com/drhelius/Gearcoleco.git main" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function depends_gearboy() { 22 | getDepends build-essential libsdl2-dev libglew-dev libgtk-3-dev 23 | 24 | } 25 | 26 | function sources_lr-gearcoleco() { 27 | gitPullOrClone 28 | } 29 | 30 | function build_lr-gearcoleco() { 31 | cd "platforms/libretro" 32 | make clean 33 | make 34 | md_ret_require="$md_build/platforms/libretro/gearcoleco_libretro.so" 35 | } 36 | 37 | function install_lr-gearcoleco() { 38 | md_ret_files=( 39 | 'platforms/libretro/gearcoleco_libretro.so' 40 | ) 41 | } 42 | 43 | function configure_lr-gearcoleco() { 44 | mkRomDir "coleco" 45 | ensureSystemretroconfig "coleco" 46 | 47 | addEmulator 1 "$md_id" "coleco" "$md_inst/gearcoleco_libretro.so" 48 | addSystem "coleco" 49 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-lutro.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-lutro" 14 | rp_module_desc="Lua engine - lua game framework (WIP) for libretro following the LÖVE API" 15 | rp_module_help="ROM Extensions: .lutro .lua\n\nCopy your Lua Lutro games to $romdir/lutro" 16 | rp_module_licence="GPL3 https://raw.githubusercontent.com/libretro/libretro-lutro/master/LICENSE" 17 | rp_module_repo="git https://github.com/libretro/libretro-lutro.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function sources_lr-lutro() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-lutro() { 26 | make clean 27 | make 28 | md_ret_require="$md_build/lutro_libretro.so" 29 | } 30 | 31 | function install_lr-lutro() { 32 | md_ret_files=( 33 | 'lutro_libretro.so' 34 | ) 35 | } 36 | 37 | function configure_lr-lutro() { 38 | mkRomDir "lutro" 39 | ensureSystemretroconfig "lutro" 40 | 41 | addEmulator 1 "$md_id" "lutro" "$md_inst/lutro_libretro.so" 42 | addSystem "lutro" "lutro" ".lutro .lua" 43 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-melonds.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-melonds" 14 | rp_module_desc="NDS emu - MelonDS port for libretro - Runs slow on Pi4 but does run" 15 | rp_module_help="ROM Extensions: .nds .zip .7z\n\nCopy your Nintendo DS roms to $romdir/nds\n\nCopy firmware.bin, bios7.bin and bios9.bin to $biosdir" 16 | rp_module_licence="GPL3 https://raw.githubusercontent.com/libretro/melonDS/master/LICENSE" 17 | rp_module_repo="git https://github.com/libretro/melonDS.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function sources_lr-melonds() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-melonds() { 26 | make clean 27 | make 28 | md_ret_require="$md_build/melonds_libretro.so" 29 | } 30 | 31 | function install_lr-melonds() { 32 | md_ret_files=( 33 | 'melonds_libretro.so' 34 | ) 35 | } 36 | 37 | function configure_lr-melonds() { 38 | mkRomDir "nds" 39 | ensureSystemretroconfig "nds" 40 | 41 | addEmulator 0 "$md_id" "nds" "$md_inst/melonds_libretro.so" 42 | addSystem "nds" 43 | } 44 | -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-melondsds.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-melondsds" 14 | rp_module_desc="NDS emu - MelonDS port for libretro with Mic Support & Rotation" 15 | rp_module_help="ROM Extensions: .nds .zip .7z\n\nCopy your Nintendo DS roms to $romdir/nds\n\nCopy firmware.bin, bios7.bin and bios9.bin to $biosdir" 16 | rp_module_licence="GPL3 https://raw.githubusercontent.com/libretro/melonDS/master/LICENSE" 17 | rp_module_repo="git https://github.com/JesseTG/melonds-ds.git main" 18 | rp_module_section="exp" 19 | rp_module_flags="!all !rpi4 rpi5" 20 | 21 | function sources_lr-melondsds() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-melondsds() { 26 | rm -fr build && mkdir build 27 | cd build 28 | cmake .. 29 | make 30 | md_ret_require="$md_build/build/src/libretro/melondsds_libretro.so" 31 | } 32 | 33 | function install_lr-melondsds() { 34 | md_ret_files=( 35 | 'build/src/libretro/melondsds_libretro.so' 36 | ) 37 | } 38 | 39 | function configure_lr-melondsds() { 40 | mkRomDir "nds" 41 | ensureSystemretroconfig "nds" 42 | 43 | local launch_prefix="XINIT-WM:" 44 | 45 | addEmulator 0 "$md_id" "nds" "$launch_prefix$emudir/retroarch/bin/retroarch -L $md_inst/melondsds_libretro.so --config $md_conf_root/nds/retroarch.cfg %ROM%" 46 | 47 | addSystem "nds" 48 | } 49 | -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-mesen-s.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-mesen-s" 14 | rp_module_desc="Super Nintendo emu - Mesen-S port for libretro" 15 | rp_module_help="ROM Extension: .sfc .smc .fig .swc .zip .7z\n\nCopy your SNES roms to $romdir/snes" 16 | rp_module_licence="GPL3 https://raw.githubusercontent.com/SourMesen/Mesen-S/master/LICENSE" 17 | rp_module_repo="git https://github.com/SourMesen/Mesen-S.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function sources_lr-mesen-s() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-mesen-s() { 26 | cd Libretro 27 | make clean 28 | make 29 | md_ret_require="$md_build/Libretro/mesen-s_libretro.so" 30 | } 31 | 32 | function install_lr-mesen-s() { 33 | md_ret_files=( 34 | 'Libretro/mesen-s_libretro.so' 35 | ) 36 | } 37 | 38 | function configure_lr-mesen-s() { 39 | mkRomDir "snes" 40 | ensureSystemretroconfig "snes" 41 | 42 | addEmulator 1 "$md_id" "snes" "$md_inst/mesen-s_libretro.so" 43 | addSystem "snes" 44 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-minivmac.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-minivmac" 14 | rp_module_desc="Macintosh Plus Emulator - Mini vMac port for libretro" 15 | rp_module_help="ROM Extensions: .dsk .zip\n\nCopy your Macintosh Plus games to $romdir/macintosh\n\nCopy the Macintosh bios file MacII.ROM into $biosdir" 16 | rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/libretro-minivmac/master/minivmac/COPYING.txt" 17 | rp_module_repo="git https://github.com/libretro/libretro-minivmac.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function sources_lr-minivmac() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-minivmac() { 26 | make clean 27 | make 28 | md_ret_require="$md_build/minivmac_libretro.so" 29 | } 30 | 31 | function install_lr-minivmac() { 32 | md_ret_files=( 33 | 'README' 34 | 'minivmac/COPYING.txt' 35 | 'minivmac_libretro.so' 36 | ) 37 | } 38 | 39 | function configure_lr-minivmac() { 40 | mkRomDir "macintosh" 41 | ensureSystemretroconfig "macintosh" 42 | 43 | addEmulator 1 "$md_id" "macintosh" "$md_inst/minivmac_libretro.so" 44 | addSystem "macintosh" 45 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-mu.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-mu" 14 | rp_module_desc="Palm OS emu - Mu port for libretro" 15 | rp_module_help="ROM Extensions: .prc .pqa .img .zip\n\nCopy your Palm OS roms to $romdir/palmos\n\nThe Palm OS requires the BIOS files palmos41-en-m515.rom (Palm OS 4.1) copied to $biosdir.\n\nOptional BIOS files:\npalmos40-en-m500.rom (Palm OS 4.0)\npalmos52-en-t3.rom (Palm OS 5.2.1)\npalmos60-en-t3.rom (Palm OS 6.0)\nbootloader-dbvz.rom (MC68VZ328 UART Bootloader)" 16 | rp_module_licence="NONCOM https://raw.githubusercontent.com/libretro/Mu/master/readme.md" 17 | rp_module_repo="git https://github.com/libretro/Mu master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function sources_lr-mu() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-mu() { 26 | cd libretroBuildSystem 27 | make clean 28 | make 29 | md_ret_require="$md_build/libretroBuildSystem/mu_libretro.so" 30 | } 31 | 32 | function install_lr-mu() { 33 | md_ret_files=( 34 | 'readme.md' 35 | 'libretroBuildSystem/mu_libretro.so' 36 | ) 37 | } 38 | 39 | function configure_lr-mu() { 40 | mkRomDir "palm" 41 | ensureSystemretroconfig "palm" 42 | 43 | addEmulator 1 "$md_id" "palm" "$md_inst/mu_libretro.so" 44 | addSystem "palm" "palm" ".prc .pqa .img .zip .rom" 45 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-oberon.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-oberon" 14 | rp_module_desc="Oberon RISC emulator for libretro" 15 | rp_module_help="ROM Extensions: .dsk\n\nOberon RISC disk images are copied to $romdir/ports/oberon" 16 | rp_module_licence="Unknown https://inf.ethz.ch/personal/wirth/ProjectOberon/license.txt" 17 | rp_module_repo="git https://github.com/libretro/oberon-risc-emu master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function depends_lr-oberon() { 22 | getDepends build-essential libsdl2-dev 23 | } 24 | 25 | function sources_lr-oberon() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_lr-oberon() { 30 | make -f Makefile.libretro clean 31 | make -f Makefile.libretro 32 | md_ret_require="$md_build/oberon_libretro.so" 33 | } 34 | 35 | function install_lr-oberon() { 36 | md_ret_files=( 37 | 'oberon_libretro.so' 38 | 'DiskImage/Oberon-2020-08-18.dsk' 39 | 'README.md' 40 | 'pcreceive.sh' 41 | 'pcsend.sh' 42 | ) 43 | } 44 | 45 | function configure_lr-oberon() { 46 | setConfigRoot "ports" 47 | 48 | mkRomDir "ports/oberon" 49 | 50 | cp -r "$md_inst/Oberon-2020-08-18.dsk" "$romdir/ports/oberon" 51 | chown -R $user:$user "$romdir/ports/oberon" 52 | 53 | addPort "$md_id" "oberon" "Oberon RISC" "$md_inst/oberon_libretro.so" 54 | local file="$romdir/ports/Oberon RISC.sh" 55 | cat >"$file" << _EOF_ 56 | #!/bin/bash 57 | "$rootdir/supplementary/runcommand/runcommand.sh" 0 _PORT_ "oberon" "$romdir/ports/oberon/Oberon-2020-08-18.dsk" 58 | _EOF_ 59 | chown $user:$user "$file" 60 | chmod +x "$file" 61 | 62 | ensureSystemretroconfig "ports/oberon" 63 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-play.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-play" 14 | rp_module_desc="PlayStation 2 emulator - Play port for libretro" 15 | rp_module_help="ROM Extensions: .chd .iso .isz .cso .bin .elf\n\nCopy your PlayStation 2 roms to $romdir/ps2" 16 | rp_module_licence="MIT https://raw.githubusercontent.com/libretro/Play-/master/License.txt" 17 | rp_module_repo="git https://github.com/libretro/Play-.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="!all 64bit !rpi5" 20 | 21 | function depends_lr-play() { 22 | local depends=(cmake libalut-dev) 23 | getDepends "${depends[@]}" 24 | } 25 | 26 | function sources_lr-play() { 27 | gitPullOrClone 28 | } 29 | 30 | function build_lr-play() { 31 | mkdir build && cd build 32 | cmake .. -G"Unix Makefiles" -DBUILD_LIBRETRO_CORE=yes -DBUILD_PLAY=off -DBUILD_TESTS=no -DENABLE_AMAZON_S3=no -DCMAKE_BUILD_TYPE="Release" 33 | cmake --build . 34 | md_ret_require="$md_build/build/Source/ui_libretro/play_libretro.so" 35 | } 36 | 37 | function install_lr-play() { 38 | md_ret_files=( 39 | 'build/Source/ui_libretro/play_libretro.so' 40 | 'License.txt' 41 | ) 42 | } 43 | 44 | function configure_lr-play() { 45 | mkRomDir "ps2" 46 | ensureSystemretroconfig "ps2" 47 | 48 | addEmulator 0 "$md_id" "ps2" "$md_inst/play_libretro.so" 49 | addSystem "ps2" 50 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-pocketcdg.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-pocketcdg" 14 | rp_module_desc="lr-pocketcdg - pocketcdg port for libretro - A MP3 karaoke music player." 15 | rp_module_help="ROM Extension: .cdg\n\nCopy your .cdg and .mp3 files into $romdir/pocketcdg." 16 | rp_module_licence="MIT https://raw.githubusercontent.com/libretro/libretro-pocketcdg/master/LICENSE" 17 | rp_module_repo="git https://github.com/libretro/libretro-pocketcdg.git master" 18 | rp_module_section="exp" 19 | 20 | function sources_lr-pocketcdg() { 21 | gitPullOrClone 22 | } 23 | 24 | function build_lr-pocketcdg() { 25 | rpSwap on 750 26 | make clean 27 | local params=() 28 | isPlatform "arm" && params+=("ARM=1") 29 | make ARCH="$CFLAGS" "${params[@]}" 30 | rpSwap off 31 | md_ret_require="$md_build/pocketcdg_libretro.so" 32 | } 33 | 34 | function install_lr-pocketcdg() { 35 | md_ret_files=( 36 | 'pocketcdg_libretro.so' 37 | 'README.md' 38 | ) 39 | } 40 | 41 | function configure_lr-pocketcdg() { 42 | mkRomDir "pocketcdg" 43 | 44 | addEmulator 0 "$md_id" "pocketcdg" "$md_inst/pocketcdg_libretro.so" 45 | addSystem "pocketcdg" "PocketCDG" ".cdg" 46 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-potator.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-potator" 14 | rp_module_desc="Watara Supervision emulator based on Normmatt version - Potator port for libretro" 15 | rp_module_help="ROM Extensions: .sv .zip .7z\n\nCopy your Watara Supervision roms to $romdir/svision" 16 | rp_module_licence="Unl https://raw.githubusercontent.com/libretro/potator/master/LICENSE" 17 | rp_module_section="exp" 18 | rp_module_repo="git https://github.com/libretro/potator.git master" 19 | rp_module_flags="" 20 | 21 | function sources_lr-potator() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-potator() { 26 | cd "platform/libretro" 27 | make clean 28 | make 29 | md_ret_require="$md_build/platform/libretro/potator_libretro.so" 30 | } 31 | 32 | function install_lr-potator() { 33 | md_ret_files=( 34 | 'LICENSE' 35 | 'platform/libretro/potator_libretro.so' 36 | ) 37 | } 38 | 39 | function configure_lr-potator() { 40 | mkRomDir "potator" 41 | ensureSystemretroconfig "potator" 42 | 43 | addEmulator 1 "$md_id" "potator" "$md_inst/potator_libretro.so" 44 | addSystem "potator" "Watara Supervision" ".sv .SV" 45 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-race.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-race" 14 | rp_module_desc="Neo Geo Pocket (Color) emulator - RACE! port for libretro." 15 | rp_module_help="ROM Extensions: .ngp .ngc .ngpc .npc .zip .7z\n\nCopy your Neo Geo Pocket roms to $romdir/ngp\nCopy your Neo Geo Pocket Color roms to $romdir/ngpc" 16 | rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/RACE/master/license.txt" 17 | rp_module_section="exp" 18 | rp_module_repo="git https://github.com/libretro/RACE.git master" 19 | rp_module_flags="" 20 | 21 | function sources_lr-race() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-race() { 26 | make clean 27 | make 28 | md_ret_require="$md_build/race_libretro.so" 29 | } 30 | 31 | function install_lr-race() { 32 | md_ret_files=( 33 | 'license.txt' 34 | 'race_libretro.so' 35 | ) 36 | } 37 | 38 | function configure_lr-race() { 39 | local system 40 | for system in ngp ngpc; do 41 | mkRomDir "$system" 42 | ensureSystemretroconfig "$system" 43 | 44 | addEmulator 1 "$md_id" "$system" "$md_inst/race_libretro.so" 45 | addSystem "$system" 46 | done 47 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-reminiscence.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-reminiscence" 14 | rp_module_desc="Flashback engine - Gregory Montoir’s Flashback emulator port for libretro" 15 | rp_module_help="ROM Extensions: .map .aba .seq .lev\nAudio Extensions: .mod\nGame dialog: VOICE.VCE\n\nCopy your Flashback game files to $romdir/reminiscence" 16 | rp_module_licence="GPL3" 17 | rp_module_repo="git https://github.com/libretro/REminiscence.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function depends_lr-reminiscence() { 22 | local depends=(modplug-tools zlib1g-dev libsdl2-dev) 23 | getDepends "${depends[@]}" 24 | } 25 | 26 | function sources_lr-reminiscence() { 27 | gitPullOrClone 28 | } 29 | 30 | function build_lr-reminiscence() { 31 | make clean 32 | make 33 | md_ret_require="$md_build/reminiscence_libretro.so" 34 | } 35 | 36 | function install_lr-reminiscence() { 37 | md_ret_files=( 38 | 'README.md' 39 | 'reminiscence_libretro.so' 40 | ) 41 | } 42 | 43 | function configure_lr-reminiscence() { 44 | local script 45 | setConfigRoot "ports" 46 | 47 | addPort "$md_id" "reminiscence" "REminiscence" "$md_inst/reminiscence_libretro.so" 48 | local file="$romdir/ports/REminiscence.sh" 49 | 50 | cat >"$file" << _EOF_ 51 | #!/bin/bash 52 | "$rootdir/supplementary/runcommand/runcommand.sh" 0 _PORT_ reminiscence "$romdir/ports/reminiscence/" 53 | _EOF_ 54 | chown $user:$user "$file" 55 | chmod +x "$file" 56 | 57 | mkRomDir "ports/reminiscence" 58 | ensureSystemretroconfig "ports/reminiscence" 59 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-same_cdi.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="lr-same_cdi" 13 | rp_module_desc="Philips CDI - same_cdi port for libretro" 14 | rp_module_help="ROM Extensions: ..chd .iso .zip\n\nCopy your roms to $romdir/cdimono1\n\nCopy your mame/mess bios (cdibios.zip, cdimono1.zip, cdimono2.zip) to $biosdir/same_cdi/bios\n\n" 15 | rp_module_repo="git https://github.com/libretro/same_cdi.git master" 16 | rp_module_section="exp" 17 | rp_module_flags="$([[ $(arch) == aarch64 ]] && echo !32bit)" 18 | 19 | function sources_lr-same_cdi() { 20 | gitPullOrClone 21 | } 22 | 23 | function build_lr-same_cdi() { 24 | if isPlatform "64bit"; then 25 | rpSwap on 2048 26 | else 27 | rpSwap on 1024 28 | fi 29 | make -f Makefile.libretro clean 30 | make -f Makefile.libretro 31 | rpSwap off 32 | md_ret_require="$md_build/same_cdi_libretro.so" 33 | } 34 | 35 | function install_lr-same_cdi() { 36 | md_ret_files=( 37 | 'COPYING' 38 | 'same_cdi_libretro.so' 39 | ) 40 | } 41 | 42 | function configure_lr-same_cdi() { 43 | mkRomDir "cdimono1" 44 | ensureSystemretroconfig "cdimono1" 45 | 46 | addEmulator 1 "$md_id" "cdimono1" "$md_inst/same_cdi_libretro.so" 47 | addSystem "cdimono1" "Philips CDI" ".chd .iso .7z .zip" 48 | } 49 | -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-sameboy.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-sameboy" 14 | rp_module_desc="Game Boy (Color) emulator - SameBoy Port for libretro" 15 | rp_module_help="ROM Extensions: .gb .gbc .zip .7z\n\nCopy your Gameboy roms to $romdir/gb.\nCopy your Gameboy Color roms to $romdir/gbc.\n\nCopy the required BIOS files dmg_boot.bin (gb BIOS) and cgb_boot.bin (gbc BIOS) to $biosdir" 16 | rp_module_licence="MIT https://raw.githubusercontent.com/libretro/SameBoy/buildbot/LICENSE" 17 | rp_module_repo="git https://github.com/libretro/SameBoy.git buildbot" 18 | rp_module_section="exp x86=opt" 19 | rp_module_flags="rpi5" 20 | 21 | function depends_lr-sameboy() { 22 | # For lr-Sameboy 23 | local depends=(clang libsdl2-dev) 24 | # For rgbds: 25 | #depends+=(byacc flex libpng-dev) 26 | getDepends "${depends[@]}" 27 | } 28 | 29 | function sources_lr-sameboy() { 30 | gitPullOrClone 31 | } 32 | 33 | function build_lr-sameboy() { 34 | make clean 35 | CC=clang make -f Makefile libretro 36 | md_ret_require="$md_build/libretro/sameboy_libretro.so" 37 | } 38 | 39 | function install_lr-sameboy() { 40 | md_ret_files=( 41 | 'libretro/sameboy_libretro.so' 42 | ) 43 | } 44 | 45 | function configure_lr-sameboy() { 46 | local system 47 | for system in gb gbc; do 48 | mkRomDir "$system" 49 | ensureSystemretroconfig "$system" 50 | 51 | local def=0 52 | isPlatform "armv6" && def=1 53 | 54 | addEmulator 1 "$md_id" "$system" "$md_inst/sameboy_libretro.so" 55 | addSystem "$system" 56 | done 57 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-simcoupe.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-simcoupe" 14 | rp_module_desc="SAM Coupe emulator - SimCoupe port for libretro" 15 | rp_module_help="ROM Extensions: .dsk .mgt .sbt .sad\n\nCopy your Sam Coupe games to $romdir/samcoupe" 16 | rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/libretro-simcoupe/master/SimCoupe/License.txt" 17 | rp_module_repo="git https://github.com/libretro/libretro-simcoupe.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function sources_lr-simcoupe() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-simcoupe() { 26 | make clean 27 | make 28 | mv "libretro-simcp.so" "simcp_libretro.so" 29 | md_ret_require="$md_build/simcp_libretro.so" 30 | } 31 | 32 | function install_lr-simcoupe() { 33 | md_ret_files=( 34 | 'SimCoupe/SimCoupe.txt' 35 | 'readme.txt' 36 | 'simcp_libretro.so' 37 | ) 38 | } 39 | 40 | function configure_lr-simcoupe() { 41 | mkRomDir "samcoupe" 42 | ensureSystemretroconfig "samcoupe" 43 | 44 | addEmulator 1 "$md_id" "samcoupe" "$md_inst/simcp_libretro.so" 45 | addSystem "samcoupe" "Samcoupe" ".dsk .mgt .sbt .sad .zip" 46 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-thepowdertoy.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-thepowdertoy" 14 | rp_module_desc="Sandbox physics game for libretro" 15 | rp_module_help="Have you ever wanted to blow something up? Or maybe you always dreamt of operating an atomic power plant? Do you have a will to develop your own CPU? The Powder Toy lets you to do all of these, and even more!" 16 | rp_module_licence="GPL3 https://raw.githubusercontent.com/libretro/ThePowderToy/master/LICENSE" 17 | rp_module_repo="git https://github.com/libretro/ThePowderToy.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function depends_lr-thepowdertoy() { 22 | local depends=(build-essential cmake) 23 | getDepends "${depends[@]}" 24 | } 25 | 26 | function sources_lr-thepowdertoy() { 27 | gitPullOrClone 28 | } 29 | 30 | function build_lr-thepowdertoy() { 31 | mkdir build && cd build 32 | make clean 33 | cmake .. -DCMAKE_BUILD_TYPE=Release 34 | make 35 | md_ret_require="$md_build/build/src/thepowdertoy_libretro.so" 36 | } 37 | 38 | function install_lr-thepowdertoy() { 39 | md_ret_files=( 40 | 'README.md' 41 | 'build/src/thepowdertoy_libretro.so' 42 | ) 43 | } 44 | 45 | function configure_lr-thepowdertoy() { 46 | setConfigRoot "ports" 47 | 48 | addPort "$md_id" "thepowdertoy" "The Powder Toy" "$md_inst/thepowdertoy_libretro.so" 49 | 50 | ensureSystemretroconfig "ports/thepowdertoy" 51 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-uzem.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-uzem" 14 | rp_module_desc="Uzebox engine - Uzem port for libretro" 15 | rp_module_help="ROM Extensions: .uze\n\nCopy your ROM files to $romdir/uzebox" 16 | rp_module_licence="GPL3 https://raw.githubusercontent.com/Uzebox/uzebox/master/gpl-3.0.txt" 17 | rp_module_repo="git https://github.com/libretro/libretro-uzem.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function sources_lr-uzem() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-uzem() { 26 | make -f Makefile.libretro clean 27 | make -f Makefile.libretro 28 | md_ret_require="$md_build/uzem_libretro.so" 29 | } 30 | 31 | function install_lr-uzem() { 32 | md_ret_files=( 33 | 'uzem_libretro.so' 34 | ) 35 | } 36 | 37 | function configure_lr-uzem() { 38 | mkRomDir "uzebox" 39 | ensureSystemretroconfig "uzebox" 40 | 41 | addEmulator 1 "$md_id" "uzebox" "$md_inst/uzem_libretro.so" 42 | addSystem "uzebox" "Uzem" ".uze .zip" 43 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-vemulator.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lr-vemulator" 14 | rp_module_desc="SEGA VMU emulator - VeMUlator port for libretro" 15 | rp_module_help="ROM Extensions: .vms .dci .bin\n\nCopy your Sega VMU games to $romdir/vmu" 16 | rp_module_licence="GPL3 https://raw.githubusercontent.com/libretro/vemulator-libretro/master/COPYING" 17 | rp_module_repo="git https://github.com/libretro/vemulator-libretro master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function sources_lr-vemulator() { 22 | gitPullOrClone 23 | } 24 | 25 | function build_lr-vemulator() { 26 | make clean 27 | make 28 | md_ret_require="$md_build/vemulator_libretro.so" 29 | } 30 | 31 | function install_lr-vemulator() { 32 | md_ret_files=( 33 | 'COPYING' 34 | 'vemulator_libretro.so' 35 | ) 36 | } 37 | 38 | function configure_lr-vemulator() { 39 | mkRomDir "vmu" 40 | ensureSystemretroconfig "vmu" 41 | 42 | addEmulator 1 "$md_id" "vmu" "$md_inst/vemulator_libretro.so" 43 | addSystem "vmu" "Visual Memory Unit" ".dci .vms .bin .zip" 44 | } -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-vircon32.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="lr-vircon32" 13 | rp_module_desc="Vircon32 game console - port of vircon32 for libretro" 14 | rp_module_help="ROM Extensions: .v32 .zip\n\nCopy your roms to $romdir/vircon32\n\nCopy the bios to $biosdir" 15 | rp_module_licence="3-Clause BSD https://raw.githubusercontent.com/vircon32/vircon32-libretro/main/LICENSE.md" 16 | rp_module_repo="git https://github.com/vircon32/vircon32-libretro.git main" 17 | rp_module_section="exp" 18 | rp_module_flags="!all rpi3 rpi4 rpi5 x86" 19 | 20 | function sources_lr-vircon32() { 21 | gitPullOrClone 22 | local cmake_ver 23 | cmake_ver=$(cmake --version | head -n 1 | cut -f 3 -d ' ') 24 | if dpkg --compare-versions "${cmake_ver}" lt 3.17 ; then 25 | # for OS with cmake less than 3.17 (missing: foreach(... IN ZIP_LISTS )) 26 | applyPatch "$md_data/cmake_pre3.17.patch" 27 | fi 28 | } 29 | 30 | function build_lr-vircon32() { 31 | local defines=() 32 | isPlatform "gles" && defines+=("-DENABLE_OPENGLES2=1") 33 | cmake "${defines[@]}" . 34 | make -j$(nproc) 35 | md_ret_require="$md_build/vircon32_libretro.so" 36 | } 37 | 38 | function install_lr-vircon32() { 39 | md_ret_files=( 40 | 'vircon32_libretro.so' 41 | 'README.md' 42 | 'LICENSE.md' 43 | ) 44 | } 45 | 46 | function configure_lr-vircon32() { 47 | mkRomDir "vircon32" 48 | 49 | addEmulator 1 "$md_id" "vircon32" "$md_inst/vircon32_libretro.so" 50 | addSystem "vircon32" "Vircon32 game console" ".v32 .zip .V32 .ZIP" 51 | 52 | [[ "$md_mode" == "remove" ]] && return 53 | } 54 | -------------------------------------------------------------------------------- /scriptmodules/libretrocores/lr-wasm4.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="lr-wasm4" 13 | rp_module_desc="WebAssembly (WASM-4)" 14 | rp_module_help="ROM Extensions: .wasm .WASM" 15 | rp_module_repo="git https://github.com/aduros/wasm4.git main" 16 | rp_module_section="exp" 17 | 18 | function sources_lr-wasm4() { 19 | gitPullOrClone 20 | } 21 | 22 | function build_lr-wasm4() { 23 | cd runtimes/native 24 | cmake -B build 25 | cmake --build build 26 | } 27 | 28 | function install_lr-wasm4() { 29 | md_ret_files=( 30 | 'runtimes/native/build/wasm4_libretro.so' 31 | ) 32 | } 33 | 34 | function configure_lr-wasm4() { 35 | mkRomDir "wasm4" 36 | 37 | mkUserDir "$md_conf_root/wasm4" 38 | 39 | addEmulator 1 "$md_id" "wasm4" "$md_inst/wasm4_libretro.so" 40 | addSystem "wasm4" "Wasm4" ".zip .ZIP .wasm .WASM" 41 | } 42 | -------------------------------------------------------------------------------- /scriptmodules/ports/0ad.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="0ad" 13 | rp_module_desc="0ad - Battle of Survival - is a futuristic real-time strategy game" 14 | rp_module_licence="GNU https://libregamewiki.org/GNU_General_Public_License" 15 | rp_module_section="exp" 16 | rp_module_flags="!mali rpi4 rpi5" 17 | 18 | function depends_0ad() { 19 | getDepends xorg matchbox 20 | } 21 | 22 | function install_bin_0ad() { 23 | aptInstall 0ad 24 | } 25 | 26 | function configure_0ad() { 27 | local script="$md_inst/$md_id.sh" 28 | moveConfigDir "$home/.0ad" "$md_conf_root/$md_id" 29 | 30 | cat > "$script" << _EOF_ 31 | #!/bin/bash 32 | xset -dpms s off s noblank 33 | matchbox-window-manager -use_titlebar no & 34 | /usr/games/0ad 35 | _EOF_ 36 | 37 | chmod +x "$script" 38 | addPort "$md_id" "0ad" "0A.D - Battle of Survival" "XINIT:$script" 39 | } -------------------------------------------------------------------------------- /scriptmodules/ports/adom.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="adom" 14 | rp_module_desc="Ancient Domains of Mystery - a free roguelike by Thomas Biskup" 15 | rp_module_help="A keyboard is required to play. Press SHIFT+Q to exit the game." 16 | rp_module_licence="PROP" 17 | rp_module_section="exp" 18 | rp_module_flags="!all arm rpi4 rpi5" 19 | 20 | function __get_binary_url_adom() { 21 | local url="https://www.adom.de/home/download/current/adom_linux_arm_3.3.3.tar.gz" 22 | echo "$url" 23 | } 24 | 25 | function install_bin_adom() { 26 | local tmpdir="$(mktemp -d)" 27 | downloadAndExtract "$(__get_binary_url_adom)" "$tmpdir" 28 | cp -rf "$tmpdir/adom/"* "$md_inst" 29 | rm -rf "$tmpdir" 30 | } 31 | 32 | function configure_adom() { 33 | addPort "$md_id" "adom" "ADOM - Ancient Domains of Mystery" "CON:$md_inst/adom" 34 | mkRomDir "ports" 35 | moveConfigDir "$home/.adom.data" "$md_conf_root/adom" 36 | } -------------------------------------------------------------------------------- /scriptmodules/ports/avp.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="avp" 13 | rp_module_desc="Aliens versus Predator" 14 | rp_module_help="Very buggy, but playable. Common issue: al lib alc_cleanup 1 device not closed. This version has no videos (DRM protected) and no ripped CD audio." 15 | rp_module_licence="MIT https://raw.githubusercontent.com/jmcerrejon/PiKISS/master/LICENSE.md" 16 | rp_module_repo="file https://github.com/Exarkuniv/Rpi-pikiss-binary/raw/Master/avp_rpi.tar.gz" 17 | rp_module_section="exp" 18 | rp_module_flags="!armv6 rpi4" 19 | 20 | function depends_avp() { 21 | getDepends xorg 22 | } 23 | 24 | function sources_avp() { 25 | downloadAndExtract "$md_repo_url" "$md_build" "--strip-components=1" 26 | } 27 | 28 | function install_avp() { 29 | md_ret_files=('cd tracks.txt' 30 | 'language.txt' 31 | 'avp' 32 | 'credits.txt' 33 | '.avp' 34 | 'avp_huds' 35 | 'avp_rifs' 36 | 'fastfile' 37 | ) 38 | } 39 | 40 | function configure_avp() { 41 | mkRomDir "ports/avp" 42 | moveConfigDir "$md_inst/.avp" "$md_conf_root/.avp" 43 | addPort "$md_id" "avp" "Aliens versus Predator" "XINIT: $md_inst/avp -f" 44 | } -------------------------------------------------------------------------------- /scriptmodules/ports/barrage.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="barrage" 14 | rp_module_desc="barrage - Shooting Range action game" 15 | rp_module_licence="GPL2 https://sourceforge.net/p/lgames/code/HEAD/tree/trunk/barrage/COPYING" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali" 18 | 19 | function depends_barrage() { 20 | getDepends xorg xinit x11-xserver-utils 21 | } 22 | 23 | function install_bin_barrage() { 24 | aptInstall barrage 25 | } 26 | 27 | function configure_barrage() { 28 | mkRomDir "ports" 29 | #moveConfigFile "$home/.lgames/barrage.conf" "$md_conf_root/barrage/barrage.conf" 30 | addPort "$md_id" "barrage" "barrage - Shooting Range action game" "XINIT: /usr/games/barrage" 31 | } -------------------------------------------------------------------------------- /scriptmodules/ports/bermudasyndrome.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="bermudasyndrome" 14 | rp_module_desc="Bermuda Syndrome - Open Source Engine" 15 | rp_module_help="Please copy your Bermuda Syndrome data files to $romdir/ports/bermudasyndrome before running the game." 16 | rp_module_repo="file http://cyxdown.free.fr/bs/bs-0.1.7.tar.bz2" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali !x86" 19 | 20 | function depends_bermudasyndrome() { 21 | getDepends libsdl2-dev libsdl2-mixer-dev zlib1g-dev libvorbis-dev libvorbisfile3 libogg0 22 | } 23 | 24 | function sources_bermudasyndrome() { 25 | downloadAndExtract "$md_repo_url" "$md_build" "--strip-components=1" 26 | } 27 | 28 | function build_bermudasyndrome() { 29 | make 30 | } 31 | 32 | function install_bermudasyndrome() { 33 | md_ret_files=('bs') 34 | } 35 | 36 | function configure_bermudasyndrome() { 37 | mkRomDir "ports" 38 | mkRomDir "ports/$md_id" 39 | # Might be missing config dir, FIX ME. 40 | 41 | addPort "$md_id" "bermudasyndrome" "Bermuda Syndrome - Open Source Engine" "$md_inst/bs --datapath=$romdir/ports/$md_id --savepath=$md_conf_root/$md_id" 42 | } -------------------------------------------------------------------------------- /scriptmodules/ports/berusky.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="berusky" 13 | rp_module_desc="berusky - Advanced sokoban clone with nice graphics" 14 | rp_module_licence="GNU https://libregamewiki.org/GNU_General_Public_License" 15 | rp_module_section="exp" 16 | rp_module_flags="!mali !x86" 17 | 18 | function depends_berusky() { 19 | getDepends xorg matchbox-window-manager 20 | } 21 | 22 | function install_bin_berusky() { 23 | aptInstall berusky 24 | } 25 | 26 | function configure_berusky() { 27 | local script="$md_inst/$md_id.sh" 28 | moveConfigDir "$home/.berusky" "$md_conf_root/$md_id" 29 | 30 | cat > "$script" << _EOF_ 31 | #!/bin/bash 32 | xset -dpms s off s noblank 33 | matchbox-window-manager -use_titlebar no & 34 | "/usr/games/berusky" \$* 35 | _EOF_ 36 | 37 | chmod +x "$script" 38 | addPort "$md_id" "berusky" "Berusky - Sokoban clone" "XINIT:$script" 39 | } -------------------------------------------------------------------------------- /scriptmodules/ports/bloboats.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="bloboats" 14 | rp_module_desc="Bloboats" 15 | rp_module_section="exp" 16 | rp_module_flags="!mali !x86" 17 | 18 | function depends_bloboats() { 19 | getDepends cmake xorg 20 | } 21 | 22 | function sources_bloboats() { 23 | if [ ! -f "/opt/retropie/supplementary/glshim/libGL.so.1" ]; then 24 | gitPullOrClone "$md_build/glshim" https://github.com/ptitseb/glshim.git 25 | fi 26 | } 27 | 28 | function build_bloboats() { 29 | if [ ! -f "/opt/retropie/supplementary/glshim/libGL.so.1" ]; then 30 | cd "$md_build/glshim" 31 | cmake . -DBCMHOST=1 32 | make GL 33 | fi 34 | } 35 | 36 | function install_bin_bloboats() { 37 | aptInstall bloboats 38 | if [ ! -f "/opt/retropie/supplementary/glshim/libGL.so.1" ]; then 39 | mkdir -p /opt/retropie/supplementary/glshim/ 40 | cp "$md_build/glshim/lib/libGL.so.1" /opt/retropie/supplementary/glshim/ 41 | fi 42 | } 43 | 44 | function configure_bloboats() { 45 | mkdir "ports" 46 | moveConfigDir "$home/.bloboats" "$md_conf_root/bloboats" 47 | addPort "$md_id" "bloboats" "Bloboats" "XINIT: /usr/games/bloboats" 48 | } -------------------------------------------------------------------------------- /scriptmodules/ports/bombermaaan.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="bombermaaan" 13 | rp_module_desc="Bombermaaan - Classic bomberman game" 14 | rp_module_licence="GPL3 https://raw.githubusercontent.com/bjaraujo/Bombermaaan/master/COPYING.txt" 15 | rp_module_repo="git https://github.com/midzer/Bombermaaan.git master" 16 | rp_module_section="exp" 17 | rp_module_flags="sdl2" 18 | 19 | function depends_bombermaaan() { 20 | getDepends cmake libsdl2-dev libsdl2-mixer-dev 21 | } 22 | 23 | function sources_bombermaaan() { 24 | gitPullOrClone 25 | applyPatch "$md_data/01-cmake-sdl-mixer.diff" 26 | } 27 | 28 | function build_bombermaaan() { 29 | cd trunk 30 | cmake . -DCMAKE_INSTALL_PREFIX="$md_inst" -DLOAD_RESOURCES_FROM_FILES:BOOL=ON 31 | make 32 | mv bin/Bombermaaan bombermaaan 33 | md_ret_require="$md_build/trunk/bombermaaan" 34 | } 35 | 36 | function install_bombermaaan() { 37 | md_ret_files=( 38 | 'trunk/bombermaaan' 39 | 'trunk/levels' 40 | 'trunk/res/images' 41 | 'trunk/res/sounds' 42 | ) 43 | } 44 | 45 | function configure_bombermaaan() { 46 | addPort "$md_id" "bombermaaan" "Bombermaaan" "$md_inst/bombermaaan" 47 | 48 | [[ "$mode" == "remove" ]] && return 49 | 50 | local file="$romdir/ports/Bombermaaan.sh" 51 | cat >"$file" << _EOF_ 52 | #!/usr/bin/env bash 53 | pushd "$md_inst" 54 | "$rootdir/supplementary/runcommand/runcommand.sh" 0 _PORT_ bombermaaan "" 55 | popd 56 | _EOF_ 57 | chown "$__user":"$__group" "$file" 58 | chmod +x "$file" 59 | } 60 | -------------------------------------------------------------------------------- /scriptmodules/ports/bombermaaan/01-cmake-sdl-mixer.diff: -------------------------------------------------------------------------------- 1 | diff --git a/trunk/src/CMakeLists.txt b/trunk/src/CMakeLists.txt 2 | index 5be7af8..8a260bb 100644 3 | --- a/trunk/src/CMakeLists.txt 4 | +++ b/trunk/src/CMakeLists.txt 5 | @@ -165,7 +165,13 @@ source_group("Header Files" FILES ${BOMBERMAAAN_HEADERS} ${BOMBERMAAAN_DX_HEADER 6 | source_group("Source Files" FILES ${BOMBERMAAAN_SOURCES} ${BOMBERMAAAN_DX_SOURCES} ${BOMBERMAAAN_NET_SOURCES} ${WINREPLACE_SOURCES}) 7 | 8 | find_package(SDL2 REQUIRED) 9 | -find_package(SDL2_mixer REQUIRED) 10 | +find_package(SDL2_mixer QUIET) 11 | +if(NOT SDL2_mixer_FOUND) 12 | + find_library(SDL2_MIXER_LIBRARIES NAMES SDL2_mixer) 13 | + if(NOT SDL2_MIXER_LIBRARIES) 14 | + MESSAGE(FATAL_ERROR "SDL2_mixer libraries missing !") 15 | + endif() 16 | +endif() 17 | 18 | if(USE_ALLEGRO) 19 | find_package(Allegro4 REQUIRED) 20 | @@ -182,7 +188,7 @@ if(CRASH_REPORT) 21 | endif() 22 | 23 | set(BOMBERMAAAN_INCLUDE_DIRS 24 | - ${SDL2_INCLUDE_DIR} 25 | + ${SDL2_INCLUDE_DIR} ${SDL2_INCLUDE_DIRS} 26 | ${SDL2_MIXER_INCLUDE_DIR} 27 | ) 28 | 29 | @@ -207,8 +213,8 @@ include_directories( 30 | ) 31 | 32 | set(BOMBERMAAAN_LIBRARIES 33 | - SDL2::SDL2 34 | - SDL2_mixer::SDL2_mixer 35 | + $,SDL2::SDL2,${SDL2_LIBRARIES}> 36 | + $,SDL2_mixer::SDL2_mixer,${SDL2_MIXER_LIBRARIES}> 37 | tinyxml 38 | ) 39 | 40 | -------------------------------------------------------------------------------- /scriptmodules/ports/boswars.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="boswars" 13 | rp_module_desc="boswars - Battle of Survival - is a futuristic real-time strategy game" 14 | rp_module_licence="GNU https://libregamewiki.org/GNU_General_Public_License" 15 | rp_module_section="exp" 16 | rp_module_flags="!mali !x86" 17 | 18 | function depends_boswars() { 19 | getDepends xorg 20 | } 21 | 22 | function install_bin_boswars() { 23 | aptInstall boswars 24 | } 25 | 26 | function configure_boswars() { 27 | local script="$md_inst/$md_id.sh" 28 | moveConfigDir "$home/.boswars" "$md_conf_root/$md_id" 29 | 30 | cat > "$script" << _EOF_ 31 | #!/bin/bash 32 | "/usr/games/boswars" 33 | _EOF_ 34 | 35 | chmod +x "$script" 36 | addPort "$md_id" "boswars" "Battle of Survival" "XINIT:$script" 37 | } -------------------------------------------------------------------------------- /scriptmodules/ports/breaker.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="breaker" 14 | rp_module_desc="breaker - Arkanoid Clone" 15 | rp_module_licence="GPL2 https://ayera.dl.sourceforge.net/project/breaker10/source/GNU-GPL-2.0.txt" 16 | rp_module_repo="file http://oldschoolprg.x10.mx/downloads/_sf_breaker_215.tar.gz" 17 | rp_module_help="Because this uses X, you may find that you are unable to control the game and the game appears in a small window in the top left. Use the Runcommand option to set the resolution to CEA-4 or similarly smaller sizes. This will allow you to control the game as the window will have focus and also fill up more of the screen." 18 | rp_module_section="exp" 19 | rp_module_flags="!x86 !mali" 20 | 21 | function depends_breaker() { 22 | getDepends libsdl2-dev unzip xorg xinit x11-xserver-utils 23 | } 24 | 25 | function sources_breaker() { 26 | downloadAndExtract "$md_repo_url" "$md_build" 27 | } 28 | 29 | function build_breaker() { 30 | cd "$md_build/source" 31 | sed -i "s/-lSDL/-lSDL -lm/" "$md_build/source/Makefile" 32 | make 33 | md_ret_require="$md_build/source/breaker" 34 | } 35 | 36 | function install_breaker() { 37 | md_ret_files=( 38 | 'source/breaker' 39 | 'source/gfx' 40 | 'source/sfx' 41 | ) 42 | } 43 | 44 | function configure_breaker() { 45 | local script="$md_inst/$md_id.sh" 46 | mkRomDir "ports" 47 | #create buffer script for launch 48 | cat > "$script" << _EOF_ 49 | #!/bin/bash 50 | pushd "$md_inst" 51 | "./breaker" \$* 52 | popd 53 | _EOF_ 54 | 55 | chmod +x "$script" 56 | addPort "$md_id" "breaker" "breaker - Arkanoid Clone" "XINIT:$script" 57 | } -------------------------------------------------------------------------------- /scriptmodules/ports/burgerspace.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="burgerspace" 14 | rp_module_desc="BurgerSpace - BurgerTime clone" 15 | rp_module_help="Because this uses X, you may find that you are unable to control the game and the game appears in a small window in the top left. Use the Runcommand option to set the resolution to CEA-4 or similarly smaller sizes. This will allow you to control the game as the window will have focus and also fill up more of the screen." 16 | rp_module_licence="GPL2 https://www.gnu.org/licenses/gpl-2.0.txt" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali !x86" 19 | 20 | function depends_burgerspace() { 21 | getDepends xorg 22 | } 23 | 24 | function install_bin_burgerspace() { 25 | aptInstall burgerspace 26 | } 27 | 28 | function configure_burgerspace() { 29 | mkRomDir "ports" 30 | 31 | moveConfigDir "$home/.burgerspace" "$md_conf_root/$md_id" 32 | addPort "$md_id" "burgerspace" "BurgerSpace - BurgerTime clone" "XINIT: /usr/games/burgerspace" 33 | } -------------------------------------------------------------------------------- /scriptmodules/ports/captain.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="captain_s" 13 | rp_module_desc="Captain 'S' The Remake" 14 | rp_module_help="Controls: Arrow: Move, CTRL: Action, ENTER: Change character when get a sausage or change superpower when you are Captain S." 15 | rp_module_licence="MIT https://raw.githubusercontent.com/jmcerrejon/PiKISS/master/LICENSE.md" 16 | rp_module_repo="file https://github.com/Exarkuniv/Rpi-pikiss-binary/raw/Master/captain_s.tar.gz" 17 | rp_module_section="exp" 18 | rp_module_flags="!armv6" 19 | 20 | function depends_captain_s() { 21 | getDepends xorg liballegro4.4 libpng16-16 22 | } 23 | 24 | function sources_captain_s() { 25 | downloadAndExtract "$md_repo_url" "$md_build" "--strip-components=1" 26 | } 27 | 28 | function install_captain_s() { 29 | md_ret_files=('data' 30 | 'docs' 31 | 'extra' 32 | 'lang' 33 | 'capitan.cfg' 34 | 'captain' 35 | ) 36 | } 37 | 38 | function configure_captain_s() { 39 | addPort "$md_id" "captain_s" "Captain 'S' The Remake" "XINIT: pushd $md_inst; $md_inst/captain; popd" 40 | } -------------------------------------------------------------------------------- /scriptmodules/ports/chopper258.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="chopper258" 14 | rp_module_desc="Chopper Commando Revisited - a modern port of Chopper Commando (DOS, 1990), written by Mark Currie and ported by loadzero" 15 | rp_module_help="A keyboard is required." 16 | rp_module_repo="git https://github.com/loadzero/chopper258 master" 17 | rp_module_licence="freeware https://raw.githubusercontent.com/loadzero/chopper258/master/CREDITS.txt" 18 | rp_module_section="exp" 19 | rp_module_flags="sdl2" 20 | 21 | function depends_chopper258() { 22 | getDepends libsdl2-dev 23 | } 24 | 25 | function sources_chopper258() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_chopper258() { 30 | make 31 | md_ret_require="$md_build/bin/chopper258" 32 | } 33 | 34 | function install_chopper258() { 35 | md_ret_files='bin/chopper258' 36 | } 37 | 38 | function configure_chopper258() { 39 | local confdir="$md_conf_root/$md_id" 40 | 41 | addPort "$md_id" "chopper258" "Chopper Commando" "pushd $confdir; $md_inst/chopper258; popd" 42 | mkUserDir "$confdir" 43 | } -------------------------------------------------------------------------------- /scriptmodules/ports/crack-attack.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="crack-attack" 14 | rp_module_desc="Crack-Attack - Tetris Attack clone" 15 | rp_module_licence="GPL2 http://cvs.savannah.nongnu.org/viewvc/*checkout*/crack-attack/crack-attack/COPYING?revision=1.2" 16 | rp_module_help="Because this uses X, you may find that you are unable to control the game and the game appears in a small window in the top left. Use the Runcommand option to set the resolution to CEA-4 or similarly smaller sizes. This will allow you to control the game as the window will have focus and also fill up more of the screen." 17 | rp_module_section="exp" 18 | rp_module_flags="!mali !x86" 19 | 20 | function depends_crack-attack() { 21 | getDepends cmake xorg 22 | } 23 | 24 | function install_bin_crack-attack() { 25 | aptInstall crack-attack 26 | } 27 | 28 | function configure_crack-attack() { 29 | mkdir "ports" 30 | moveConfigDir "$home/.crack-attack" "$md_conf_root/crack-attack" 31 | addPort "$md_id" "crack-attack" "Crack-Attack - Tetris Attack clone" "XINIT: crack-attack" 32 | } -------------------------------------------------------------------------------- /scriptmodules/ports/cytadela.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="cytadela" 13 | rp_module_desc="Cytadela project - a conversion of an Amiga first person shooter" 14 | rp_module_licence="GNU http://cytadela.sourceforge.net/license.php" 15 | rp_module_section="exp" 16 | rp_module_flags="noinstclean" 17 | 18 | function depends_cytadela() { 19 | getDepends libvlccore9 libvlc-dev libsdl-mixer1.2-dev libsdl2-dev libglu1-mesa-dev libgl-dev libgl1-mesa-dev make libsdl1.2-dev libglbsp-dev xorg matchbox-window-manager x11-xserver-utils vlc-plugin-base libvlc5 libsdl1.2debian libsdl-mixer1.2 libgl1 libgl1-mesa-glx 20 | 21 | } 22 | 23 | function sources_cytadela() { 24 | wget https://sourceforge.net/projects/cytadela/files/cytadela/1.1.0/cytadela-1.1.0.tar.bz2 25 | tar -xf cytadela-1.1.0.tar.bz2 26 | } 27 | function build_cytadela() { 28 | cd cytadela-1.1.0 29 | ./configure 30 | make 31 | make install 32 | 33 | md_ret_require=( 34 | ) 35 | } 36 | 37 | function install_cytadela(){ 38 | md_ret_files=( 39 | ) 40 | } 41 | 42 | function configure_cytadela() { 43 | # moveConfigDir "$home/.cytadela" "$md_conf_root/$md_id" 44 | 45 | addPort "$md_id" "cytadela" " Cytadela clone" "XINIT:/usr/local/bin/cytadela" 46 | } -------------------------------------------------------------------------------- /scriptmodules/ports/dosbox-x.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="dosbox-x" 13 | rp_module_desc="Testing of a new DOSbox system" 14 | rp_module_help="ROM Extensions: .bat .com .exe .sh .conf\n\nCopy your DOS games to ports/dosbox" 15 | rp_module_licence="GNU https://raw.githubusercontent.com/joncampbell123/dosbox-x/master/COPYING" 16 | rp_module_repo="git https://github.com/joncampbell123/dosbox-x.git master" 17 | rp_module_section="exp" 18 | rp_module_flags="" 19 | 20 | function depends_dosbox-x() { 21 | local depends=( 22 | automake libncurses-dev nasm libsdl-net1.2-dev 23 | libpcap-dev libfluidsynth-dev ffmpeg libavformat-dev 24 | libswscale-dev libavcodec-dev xorg matchbox) 25 | isPlatform "64bit" && depends+=(libavdevice59) 26 | isPlatform "32bit" && depends+=(libavdevice58) 27 | getDepends "${depends[@]}" 28 | 29 | } 30 | 31 | function sources_dosbox-x() { 32 | gitPullOrClone 33 | } 34 | 35 | function build_dosbox-x() { 36 | ./build-debug --prefix="$md_inst" 37 | } 38 | 39 | function install_dosbox-x() { 40 | make install 41 | } 42 | 43 | function configure_dosbox-x() { 44 | mkRomDir "ports/dosbox" 45 | local script="$md_inst/$md_id.sh" 46 | 47 | 48 | cat > "$script" << _EOF_ 49 | #!/bin/bash 50 | xset -dpms s off s noblank 51 | matchbox-window-manager -use_titlebar no & 52 | $md_inst/bin/dosbox-x 53 | _EOF_ 54 | 55 | chmod +x "$script" 56 | addPort "$md_id" "dosboxx" "DOSbox-X" "XINIT:$script" 57 | } -------------------------------------------------------------------------------- /scriptmodules/ports/ecwolf-mod/01_keyboard_patch.diff: -------------------------------------------------------------------------------- 1 | diff --git a/src/wl_play.cpp b/src/wl_play.cpp 2 | index 4420b06..932d764 100644 3 | --- a/src/wl_play.cpp 4 | +++ b/src/wl_play.cpp 5 | @@ -101,6 +101,7 @@ ControlScheme controlScheme[] = 6 | { bt_automap, "Automap", -1, -1, -1, CS_AxisDigital, 0 }, 7 | { bt_showstatusbar, "Show Status", -1, sc_Tab, -1, CS_AxisDigital, 0 }, 8 | { bt_pause, "Pause", -1, sc_Pause, -1, CS_AxisDigital, 0 }, 9 | + { bt_esc, "Escape Game", -1, sc_Escape, -1, CS_AxisDigital, 0 }, 10 | 11 | // End of List 12 | { bt_nobutton, NULL, -1, -1, -1, CS_AxisDigital, 0 } 13 | -------------------------------------------------------------------------------- /scriptmodules/ports/ecwolf/01_keyboard_patch.diff: -------------------------------------------------------------------------------- 1 | diff --git a/src/wl_play.cpp b/src/wl_play.cpp 2 | index 4420b06..932d764 100644 3 | --- a/src/wl_play.cpp 4 | +++ b/src/wl_play.cpp 5 | @@ -101,6 +101,7 @@ ControlScheme controlScheme[] = 6 | { bt_automap, "Automap", -1, -1, -1, CS_AxisDigital, 0 }, 7 | { bt_showstatusbar, "Show Status", -1, sc_Tab, -1, CS_AxisDigital, 0 }, 8 | { bt_pause, "Pause", -1, sc_Pause, -1, CS_AxisDigital, 0 }, 9 | + { bt_esc, "Escape Game", -1, sc_Escape, -1, CS_AxisDigital, 0 }, 10 | 11 | // End of List 12 | { bt_nobutton, NULL, -1, -1, -1, CS_AxisDigital, 0 } 13 | -------------------------------------------------------------------------------- /scriptmodules/ports/extremetuxracer.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="extremetuxracer" 13 | rp_module_desc="ExtremeTuxRacer - Linux verion of Mario cart" 14 | rp_module_licence="GPL2 https://sourceforge.net/p/extremetuxracer/code/HEAD/tree/trunk/COPYING?format=raw" 15 | rp_module_section="exp" 16 | rp_module_flags="!mali !x86" 17 | 18 | function depends_extremetuxracer() { 19 | getDepends xorg 20 | } 21 | 22 | 23 | function install_bin_extremetuxracer() { 24 | aptInstall extremetuxracer 25 | } 26 | 27 | function configure_extremetuxracer() { 28 | local script="$md_inst/$md_id.sh" 29 | moveConfigDir "$home/.etracer" "$md_conf_root/$md_id" 30 | 31 | cat > "$script" << _EOF_ 32 | #!/bin/bash 33 | pushd "$md_inst" 34 | "/usr/games/etr" \$* 35 | popd 36 | _EOF_ 37 | 38 | chmod +x "$script" 39 | addPort "$md_id" "extremetuxracer" "ExtremeTuxRacer" "XINIT:$script" 40 | } -------------------------------------------------------------------------------- /scriptmodules/ports/fheroes2.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="fheroes2" 13 | rp_module_desc="Heroes of Might and Magic II" 14 | rp_module_help="Copy the subdirectories ANIM, DATA, MAPS and MUSIC (some of them may be missing depending on the version of the original game) to ports/hero2" 15 | rp_module_licence="MIT https://raw.githubusercontent.com/jmcerrejon/PiKISS/master/LICENSE.md" 16 | rp_module_repo="file https://github.com/Exarkuniv/Rpi-pikiss-binary/raw/Master/fheroes2_0.83_rpi.tar.gz" 17 | rp_module_section="exp" 18 | rp_module_flags="!armv6" 19 | 20 | function depends_fheroes2() { 21 | getDepends xorg fluidr3mono-gm-soundfont fluid-soundfont-gm libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-ttf-2.0-0 22 | } 23 | 24 | function sources_fheroes2() { 25 | downloadAndExtract "$md_repo_url" "$md_build" "--strip-components=1" 26 | } 27 | 28 | function install_fheroes2() { 29 | md_ret_files=('fheroes2' 30 | 'fheroes2_64' 31 | 'fheroes2.key' 32 | 'changelog.txt' 33 | 'README.txt') 34 | } 35 | 36 | function configure_fheroes2() { 37 | mkRomDir "ports/hero2" 38 | mkRomDir "ports/hero2/files/save" 39 | ln -snf "$romdir/ports/hero2" "$md_inst" 40 | ln -sf "$md_inst/fheroes2" "$romdir/ports/hero2/fheroes2" 41 | ln -sf "$md_inst/fheroes2.key" "$romdir/ports/hero2/fheroes2.key" 42 | moveConfigDir "$romdir/ports/hero2/files/save" "$md_conf_root/hero2/save" 43 | 44 | addPort "$md_id" "fheroes2" "Heroes of Might and Magic II" "XINIT: $romdir/ports/hero2/fheroes2" 45 | } -------------------------------------------------------------------------------- /scriptmodules/ports/freeciv.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="freeciv" 14 | rp_module_desc="freeciv - Open Source empire-building strategy game" 15 | rp_module_help="To get FullScreen Press escape. -> Local Options -> Interface. Change the option Screen resolution\n\nchange to best fit your screen" 16 | rp_module_licence="GPL3 https://raw.githubusercontent.com/Aleph-One-Marathon/alephone/master/COPYING" 17 | rp_module_repo="file http://files.freeciv.org/stable/freeciv-2.6.6.tar.bz2" 18 | rp_module_section="exp" 19 | rp_module_flags="!mali" 20 | 21 | 22 | function depends_freeciv() { 23 | getDepends cmake libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev 24 | } 25 | 26 | function sources_freeciv() { 27 | downloadAndExtract "$md_repo_url" "$md_build" --strip-components 1 28 | } 29 | 30 | function build_freeciv() { 31 | params=(--prefix="$md_inst" --enable-sdl-mixer=sdl --disable-fcmp --disable-gtktest --enable-client=sdl) 32 | ./configure "${params[@]}" 33 | make 34 | } 35 | 36 | function install_freeciv() { 37 | make install 38 | } 39 | 40 | function configure_freeciv() { 41 | mkRomDir "ports" 42 | moveConfigDir "$home/.freeciv" "$md_conf_root/freeciv" 43 | moveConfigFile "$home/.freeciv-client-rc-2.4" "$md_conf_root/freeciv" 44 | addPort "$md_id" "freeciv" "Freeciv" "$md_inst/bin/freeciv-sdl" 45 | } -------------------------------------------------------------------------------- /scriptmodules/ports/freedink.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="freedink" 14 | rp_module_desc="FreeDink - Dink Smallwood Engine" 15 | rp_module_licence="GPL3 http://git.savannah.gnu.org/cgit/freedink.git/plain/COPYING" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_freedink() { 20 | getDepends libvorbis-dev timgm6mb-soundfont 21 | } 22 | 23 | function install_bin_freedink() { 24 | aptInstall freedink 25 | } 26 | 27 | function remove_freedink() { 28 | aptRemove freedink 29 | } 30 | 31 | function configure_freedink() { 32 | moveConfigDir "$home/.dink" "$md_conf_root/$md_id" 33 | addPort "$md_id" "freedink" "FreeDink - Dink Smallwood Engine" "freedink -S" 34 | } -------------------------------------------------------------------------------- /scriptmodules/ports/freesynd.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="freesynd" 14 | rp_module_desc="freesynd - Syndicate Engine" 15 | rp_module_licence="GPL2 https://sourceforge.net/p/freesynd/code/HEAD/tree/freesynd/trunk/COPYING?format=raw" 16 | rp_module_help="Please place your required Syndicate data files in /opt/retropie/ports/freesynd." 17 | rp_module_repo="git https://github.com/winterheart/freesynd.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="!x86 !mali" 20 | 21 | function depends_freesynd() { 22 | getDepends cmake libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libpng-dev xorg 23 | } 24 | 25 | function sources_freesynd() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_freesynd() { 30 | cmake 31 | ./configure --release 32 | make 33 | md_ret_require="$md_build/src/freesynd" 34 | } 35 | 36 | function install_freesynd() { 37 | md_ret_files=( 38 | '/src/freesynd' 39 | '/data' 40 | ) 41 | } 42 | 43 | function configure_freesynd() { 44 | mkRomDir "ports" 45 | mkRomDir "ports/freesynd" 46 | moveConfigDir "$home/.freesynd" "$md_conf_root/freesynd" 47 | cp "$md_build/freesynd.ini" "$md_conf_root/$md_id" 48 | sed -i "s/fullscreen = false/fullscreen = true/" "$md_conf_root/$md_id/freesynd.ini" 49 | sed -i "s/#freesynd_data_dir = \/usr\/share\/freesynd\/data/freesynd_data_dir = \/opt\/retropie\/ports\/freesynd\/data/" "$md_conf_root/$md_id/freesynd.ini" 50 | sed -i "s/#data_dir = \/home\/username\/dosbox\/synd\/DATA/data_dir = \/home\/pi\/RetroPie\/roms\/ports\/freesynd/" "$md_conf_root/$md_id/freesynd.ini" 51 | addPort "$md_id" "freesynd" "FreeSynd - Syndicate Engine" "XINIT: $md_inst/freesynd" 52 | } -------------------------------------------------------------------------------- /scriptmodules/ports/fruity.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="fruity" 13 | rp_module_desc="Fruity - inspired by the Kaiko classic GemX" 14 | rp_module_licence="GPL2 https://www.retroguru.com/legal/" 15 | rp_module_section="exp" 16 | rp_module_flags="!mali !x86 !all rpi4 rpi5" 17 | 18 | function depends_fruity() { 19 | getDepends libsdl-mixer1.2 20 | } 21 | 22 | function sources_fruity() { 23 | downloadAndExtract "https://www.retroguru.com/fruity/fruity-v.latest-raspberrypi.zip" "$md_inst" 24 | } 25 | 26 | function configure_fruity() { 27 | local script="$md_inst/$md_id.sh" 28 | moveConfigDir "$home/.fruity" "$md_conf_root/$md_id" 29 | 30 | cat > "$script" << _EOF_ 31 | #!/bin/bash 32 | pushd "$md_inst" 33 | "$md_inst/fruity_rpi" \$* 34 | popd 35 | _EOF_ 36 | 37 | chmod +x "$script" 38 | addPort "$md_id" "fruity" "Fruity- Kaiko classic Gem'X clone" "XINIT:$script" 39 | 40 | chmod +x "$md_inst/fruity_rpi" 41 | } -------------------------------------------------------------------------------- /scriptmodules/ports/galius.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="galius" 14 | rp_module_desc="galius - Maze of Galius" 15 | rp_module_licence="GPL2 https://metadata.ftp-master.debian.org/changelogs//main/m/mazeofgalious/mazeofgalious_0.62.dfsg2-4_copyright" 16 | rp_module_help="F12 to exit, CTRL-ENTER for full screen, will need to drop the resolution in runcommand to lowest for fullscreen" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali" 19 | 20 | function install_bin_galius() { 21 | aptInstall mazeofgalious xorg 22 | } 23 | 24 | function configure_galius() { 25 | addPort "$md_id" "galius" "maze of galius" "XINIT: /usr/games/mog" 26 | } -------------------------------------------------------------------------------- /scriptmodules/ports/gmloader/01_sdl_retropie_exit_emu.patch: -------------------------------------------------------------------------------- 1 | diff --git a/ports/gmloader/sdl2_media.c b/ports/gmloader/sdl2_media.c 2 | index c5533b1..8be9dc4 100644 3 | --- a/ports/gmloader/sdl2_media.c 4 | +++ b/ports/gmloader/sdl2_media.c 5 | @@ -371,6 +372,13 @@ int update_input() 6 | if (slot < 0 || slot >= ARRAY_SIZE(yoyo_gamepads)) 7 | continue; 8 | 9 | + if (SDL_GameControllerGetButton(controller->controller, SDL_CONTROLLER_BUTTON_START) 10 | + && (SDL_GameControllerGetButton(controller->controller, SDL_CONTROLLER_BUTTON_BACK) 11 | + || SDL_GameControllerGetButton(controller->controller, SDL_CONTROLLER_BUTTON_GUIDE))) { 12 | + // Mimic RetroPie 'Start+Select' or 'Start+Hotkey' behaviour: Quit Emulator 13 | + return 0; 14 | + } 15 | + 16 | uint8_t new_states[16] = {}; 17 | int k = 0; 18 | new_states[k++] = SDL_GameControllerGetButton(controller->controller, SDL_CONTROLLER_BUTTON_A); 19 | -------------------------------------------------------------------------------- /scriptmodules/ports/gmloader/02_sdl_disable_mouse_cursor.patch: -------------------------------------------------------------------------------- 1 | diff --git a/ports/gmloader/sdl2_media.c b/ports/gmloader/sdl2_media.c 2 | index c5533b1..91361b0 100644 3 | --- a/ports/gmloader/sdl2_media.c 4 | +++ b/ports/gmloader/sdl2_media.c 5 | @@ -63,6 +63,7 @@ int init_display(int w, int h) 6 | return 0; 7 | } 8 | 9 | + SDL_ShowCursor(SDL_DISABLE); 10 | SDL_GL_MakeCurrent(sdl_win, sdl_ctx); 11 | SDL_GL_SetSwapInterval(1); //Forced vsync, booo 12 | SDL_GL_SwapWindow(sdl_win); //Workaround for missing first frame 13 | -------------------------------------------------------------------------------- /scriptmodules/ports/gmloader/toolchain_armhf_multiarch.tpl: -------------------------------------------------------------------------------- 1 | # not really needed but better explicit than implicit 2 | set(CMAKE_SYSTEM_PROCESSOR armv7l) 3 | 4 | # the variable is replaced by scriptmodule to point to libdir of GCC version 5 | set(crosslib _crosslib_var) 6 | 7 | # for -lgcc -lgcc_s (try_compile) 8 | link_directories(${crosslib}) 9 | # for stddef.h 10 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${crosslib}/include") 11 | # for -lgcc -lgcc_s (ld) 12 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -L${crosslib}") 13 | 14 | set(BZIP2_LIBRARY_RELEASE /usr/lib/arm-linux-gnueabihf/libbz2.so) 15 | set(LIBZIP_LIBRARY /usr/lib/arm-linux-gnueabihf/libzip.so) 16 | set(OPENAL_LIBRARY /usr/lib/arm-linux-gnueabihf/libopenal.so) 17 | set(SDL2_LIBRARY_TEMP /usr/lib/arm-linux-gnueabihf/libSDL2.so) 18 | set(ZLIB_LIBRARY /usr/lib/arm-linux-gnueabihf/libz.so) 19 | set(FREETYPE_LIBRARY "freetype") 20 | -------------------------------------------------------------------------------- /scriptmodules/ports/gnukem.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="gnukem" 14 | rp_module_desc="Dave Gnukem - Duke Nukem 1 look-a-like" 15 | rp_module_licence="MIT https://github.com/davidjoffe/dave_gnukem/blob/master/MIT-LICENSE.txt" 16 | rp_module_repo="git https://github.com/davidjoffe/dave_gnukem.git main" 17 | rp_module_section="exp" 18 | rp_module_flags="" 19 | 20 | function depends_gnukem() { 21 | getDepends libsdl1.2-dev libsdl-mixer1.2-dev xorg 22 | } 23 | 24 | function sources_gnukem() { 25 | gitPullOrClone 26 | gitPullOrClone "$md_build/data" https://github.com/davidjoffe/gnukem_data.git main 27 | } 28 | 29 | function build_gnukem() { 30 | make 31 | md_ret_require="$md_build/davegnukem" 32 | } 33 | 34 | function install_gnukem() { 35 | md_ret_files=( 36 | 'davegnukem' 37 | 'data' 38 | ) 39 | } 40 | 41 | function configure_gnukem() { 42 | addPort "$md_id" "gnukem" "Dave Gnukem - Duke Nukem 1 look-a-like" "XINIT:$md_inst/dave.sh" 43 | moveConfigDir "$home/.gnukem" "$md_conf_root/gnukem" 44 | 45 | cat > "$md_inst/dave.sh" << _EOF_ 46 | #!/bin/bash 47 | cd "$md_inst" 48 | ./davegnukem -640 -f 49 | _EOF_ 50 | 51 | chmod +x "$md_inst/dave.sh" 52 | } -------------------------------------------------------------------------------- /scriptmodules/ports/gtkboard.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="gtkboard" 14 | rp_module_desc="Board games system" 15 | rp_module_licence="gtkboard.sourceforge.net" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_gtkboard() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_gtkboard() { 24 | aptInstall gtkboard 25 | } 26 | 27 | function configure_gtkboard() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.config" "$md_conf_root/$md_id" 31 | cat >"$md_inst/gtkboard.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/games/gtkboard 36 | _EOF_ 37 | chmod +x "$md_inst/gtkboard.sh" 38 | 39 | addPort "$md_id" "gtkboard" "Gtkboard Board games system" "XINIT: $md_inst/gtkboard.sh" 40 | } -------------------------------------------------------------------------------- /scriptmodules/ports/hcl.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="hcl" 14 | rp_module_desc="Hydra Castle Labyrinth - a Metroidvania game created by E. Hashimoto (a.k.a. Buster)" 15 | rp_module_help="Linux port by ptitSeb, based on the 3DS port by 4chan/anon\n\nMake sure to set the language to English from the options menu before playing. If you are experiencing slowdowns in game, make sure the xBRZ shader is turned off in the options menu." 16 | rp_module_licence="GPL2 https://github.com/ptitSeb/hydracastlelabyrinth/blob/master/LICENSE" 17 | rp_module_repo="git https://github.com/ptitSeb/hydracastlelabyrinth.git master c5e6afc" 18 | rp_module_section="exp" 19 | rp_module_flags="!all rpi4 rpi5" 20 | 21 | function depends_hcl() { 22 | getDepends libsdl2-dev libsdl2-mixer-dev cmake 23 | } 24 | 25 | function sources_hcl() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_hcl() { 30 | mkdir build && cd build 31 | cmake -DUSE_SDL2=ON .. 32 | make 33 | md_ret_require="$md_build/build/hcl" 34 | } 35 | 36 | function install_hcl() { 37 | md_ret_files=( 38 | 'build/hcl' 39 | 'data' 40 | ) 41 | } 42 | 43 | function configure_hcl() { 44 | addPort "$md_id" "hcl" "Hydra Castle Labyrinth" "pushd $md_inst; $md_inst/hcl -d; popd" 45 | moveConfigDir "$home/.hydracastlelabyrinth" "$md_conf_root/hcl" 46 | } -------------------------------------------------------------------------------- /scriptmodules/ports/heboris.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="heboris" 14 | rp_module_desc="HeborisC7EX - Tetris The Grand Master Clone" 15 | rp_module_help="To get mp3 audio working, you will need to change the music type from MIDI to MP3 in the Heboris options menu." 16 | rp_module_repo="git https://github.com/zerojay/HeborisC7EX.git master" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali" 19 | 20 | function depends_heboris() { 21 | getDepends libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libgl1-mesa-dev xorg 22 | } 23 | 24 | function sources_heboris() { 25 | gitPullOrClone 26 | } 27 | 28 | function build_heboris() { 29 | make 30 | md_ret_require="$md_build/heboris" 31 | } 32 | 33 | function install_heboris() { 34 | md_ret_files=( 35 | 'heboris' 36 | 'res' 37 | 'replay' 38 | 'config' 39 | 'heboris.ini' 40 | 'heboris.txt' 41 | ) 42 | } 43 | 44 | function configure_heboris() { 45 | local script="$md_inst/$md_id.sh" 46 | local conf 47 | 48 | for conf in config replay res; do 49 | chown -R $user:$user "$md_inst/$conf" 50 | moveConfigDir "$md_inst/$conf" "$md_conf_root/$md_id/$conf" 51 | done 52 | 53 | chown $user:$user "$md_inst/heboris.ini" 54 | moveConfigFile "$md_inst/heboris.ini" "$md_conf_root/$md_id/heboris.ini" 55 | 56 | #create buffer script for launch 57 | cat > "$script" << _EOF_ 58 | #!/bin/bash 59 | pushd "$md_inst" 60 | "./heboris" \$* 61 | popd 62 | _EOF_ 63 | 64 | chmod +x "$script" 65 | addPort "$md_id" "heboris" "HeborisC7EX - Tetris The Grand Master Clone" "XINIT:$script" 66 | } -------------------------------------------------------------------------------- /scriptmodules/ports/hurrican.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="hurrican" 14 | rp_module_desc="Hurrican - Turrican clone - A freeware jump and shoot game made by Poke53280 (Eiswuxe)" 15 | rp_module_help="After installation, select game from the Ports system.\n\nSelect gamepad controls in game preferences menu." 16 | rp_module_repo="git https://github.com/HurricanGame/Hurrican.git master" 17 | rp_module_licence="MIT https://raw.githubusercontent.com/HurricanGame/Hurrican/master/LICENSE" 18 | rp_module_section="exp" 19 | rp_module_flags="!all rpi4 rpi5" 20 | 21 | function depends_hurrican() { 22 | getDepends libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libepoxy-dev cmake 23 | } 24 | 25 | function sources_hurrican() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_hurrican() { 30 | cd "$md_build/Hurrican" 31 | mkdir build && cd build 32 | cmake -DCMAKE_BUILD_TYPE=Release .. 33 | make 34 | md_ret_require="$md_build/Hurrican/build/hurrican" 35 | } 36 | 37 | function install_hurrican() { 38 | md_ret_files=( 39 | 'Hurrican/build/hurrican' 40 | 'Hurrican/data' 41 | 'Hurrican/lang' 42 | 'Hurrican/splashscreen.bmp' 43 | 'Editor/maps' 44 | 'Editor/Gfx' 45 | ) 46 | } 47 | 48 | function configure_hurrican() { 49 | addPort "$md_id" "hurrican" "Hurrican - Turrican clone" "pushd $md_conf_root/hurrican; $md_inst/hurrican --pathdata $md_inst --pathsave $md_conf_root/hurrican; popd" 50 | mkRomDir "ports" 51 | moveConfigDir "$home/.config/hurrican" "$md_conf_root/hurrican" 52 | } -------------------------------------------------------------------------------- /scriptmodules/ports/julius.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="julius" 14 | rp_module_desc="Julius - Caesar III source port" 15 | rp_module_licence="GPL3 https://raw.githubusercontent.com/bvschaik/julius/master/LICENSE.txt" 16 | rp_module_help="Julius requires the original assets (graphics, sounds, etc) from Caesar 3 to run. Add all data files from your Caesar 3 installation folder to $romdir/ports/caesar3" 17 | rp_module_repo="git https://github.com/bvschaik/julius.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="" 20 | 21 | function depends_julius() { 22 | getDepends cmake libsdl2-dev libsdl2-net-dev libsdl2-mixer-dev libsdl2-image-dev 23 | } 24 | 25 | function sources_julius() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_julius() { 30 | cd "$md_build" 31 | cmake . 32 | make 33 | md_ret_require="$md_build" 34 | } 35 | 36 | function install_julius() { 37 | md_ret_files=( 38 | 'julius' 39 | ) 40 | } 41 | 42 | function game_data_julius() { 43 | chown -R $user:$user "$romdir/ports/caesar3" 44 | } 45 | 46 | function configure_julius() { 47 | addPort "$md_id" "julius" "Caesar III" "$md_inst/julius $romdir/ports/caesar3" 48 | 49 | mkRomDir "ports/caesar3" 50 | 51 | mkUserDir "$home/." 52 | moveConfigDir "$home/.local/share/bvschaik/julius" "$md_conf_root/julius" 53 | 54 | [[ "$md_mode" == "install" ]] && game_data_julius 55 | } -------------------------------------------------------------------------------- /scriptmodules/ports/kraptor.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="kraptor" 14 | rp_module_desc="Shoot em up scroller game" 15 | rp_module_licence="https://lutris.net/games/kraptor/" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_kraptor() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_kraptor() { 24 | aptInstall kraptor 25 | } 26 | 27 | function configure_kraptor() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/$md_id" 31 | cat >"$md_inst/kraptor.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/games/kraptor -windowscreen -1024x768 36 | _EOF_ 37 | chmod +x "$md_inst/kraptor.sh" 38 | 39 | addPort "$md_id" "kraptor" "Kraptor Shoot em up scroller game" "XINIT: $md_inst/kraptor.sh" 40 | } -------------------------------------------------------------------------------- /scriptmodules/ports/lbreakout2.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lbreakout2" 14 | rp_module_desc="lbreakout2 - Open Source Breakout game" 15 | rp_module_licence="GPL2 https://sourceforge.net/p/lgames/code/HEAD/tree/trunk/lbreakout2/COPYING" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali" 18 | 19 | function depends_lbreakout2() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_lbreakout2() { 24 | aptInstall lbreakout2 25 | } 26 | 27 | function configure_lbreakout2() { 28 | mkRomDir "ports" 29 | moveConfigFile "$home/.lgames/lbreakout2.conf" "$md_conf_root/lbreakout2/lbreakout2.conf" 30 | cat >"$md_inst/lbreakout2.sh" << _EOF_ 31 | #!/bin/bash 32 | xset -dpms s off s noblank 33 | matchbox-window-manager -use_titlebar no & 34 | /usr/games/lbreakout2 -fullscreen -1024x768 35 | _EOF_ 36 | chmod +x "$md_inst/lbreakout2.sh" 37 | addPort "$md_id" "lbreakout2" "lbreakout2 - Open Source Breakout game" "XINIT: $md_inst/lbreakout2.sh" 38 | } -------------------------------------------------------------------------------- /scriptmodules/ports/lgeneral.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lgeneral" 14 | rp_module_desc="lgeneral - Open Source strategy game" 15 | rp_module_licence="GPL2 https://sourceforge.net/p/lgames/code/HEAD/tree/trunk/lgeneral/COPYING" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali" 18 | 19 | function depends_lbreakout2() { 20 | getDepends xorg 21 | } 22 | 23 | function install_bin_lgeneral() { 24 | aptInstall lgeneral 25 | } 26 | 27 | function configure_lgeneral() { 28 | mkRomDir "ports" 29 | moveConfigFile "$home/.lgames/lgeneral.conf" "$md_conf_root/lgeneral/lgeneral.conf" 30 | addPort "$md_id" "lgeneral" "lgeneral - Open Source strategy game" "XINIT: /usr/games/lgeneral" 31 | } -------------------------------------------------------------------------------- /scriptmodules/ports/lmarbles.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="lmarbles" 14 | rp_module_desc="lmarbles - Open Source Atomix game" 15 | rp_module_licence="GPL2 https://sourceforge.net/p/lgames/code/HEAD/tree/trunk/lmarbles/COPYING" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali" 18 | 19 | function depends_lmarbles() { 20 | getDepends xorg 21 | } 22 | 23 | function install_bin_lmarbles() { 24 | aptInstall lmarbles 25 | } 26 | 27 | function configure_lmarbles() { 28 | mkRomDir "ports" 29 | moveConfigFile "$home/.lgames/lmarbles.conf" "$md_conf_root/lmarbles/lmarbles.conf" 30 | addPort "$md_id" "lmarbles" "lmarbles - Open Source Atomix game" "XINIT: /usr/games/lmarbles" 31 | } -------------------------------------------------------------------------------- /scriptmodules/ports/ltris.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="ltris" 14 | rp_module_desc="ltris - Open Source Tetris game" 15 | rp_module_licence="GPL2 https://sourceforge.net/p/lgames/code/HEAD/tree/trunk/ltris/COPYING" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali" 18 | 19 | function depends_ltris() { 20 | getDepends xorg 21 | } 22 | 23 | function install_bin_ltris() { 24 | aptInstall ltris 25 | } 26 | 27 | function configure_ltris() { 28 | mkRomDir "ports" 29 | moveConfigFile "$home/.lgames/ltris.conf" "$md_conf_root/ltris/ltris.conf" 30 | addPort "$md_id" "ltris" "ltris - Open Source Tetris game" "XINIT: /usr/games/ltris" 31 | } -------------------------------------------------------------------------------- /scriptmodules/ports/manaplus.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="manaplus" 14 | rp_module_desc="manaplus - 2D MMORPG Client" 15 | rp_module_licence="GPL2 https://gitlab.com/manaplus/manaplus/raw/master/COPYING" 16 | rp_module_repo="git https://gitlab.com/manaplus/manaplus.git" 17 | rp_module_section="exp" 18 | rp_module_flags="x86 !mali !all !rpi4 rpi5" 19 | 20 | function depends_manaplus() { 21 | getDepends libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev libcurl4-gnutls-dev libxml2-dev automake libguichan-dev patch autoconf libtool libsdl-ttf2.0-dev libsdl-gfx1.2-dev gettext libgl1-mesa-dev libenet-dev libphysfs-dev libxml2-dev zlib1g-dev xorg autopoint 22 | } 23 | 24 | function sources_manaplus() { 25 | gitPullOrClone 26 | } 27 | 28 | function build_manaplus() { 29 | autoreconf -i 30 | ./configure --prefix="$md_inst" 31 | make 32 | } 33 | 34 | function install_manaplus() { 35 | make install 36 | } 37 | 38 | function configure_manaplus() { 39 | mkRomDir "ports" 40 | mkRomDir "ports/manaplus" 41 | moveConfigDir "$home/.config/mana" "$md_conf_root/manaplus" 42 | addPort "$md_id" "manaplus" "manaplus - 2D MMORPG Client" "sudo xinit $md_inst/bin/manaplus" 43 | } -------------------------------------------------------------------------------- /scriptmodules/ports/meritous.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="meritous" 14 | rp_module_desc="Meritous - port of an action-adventure dungeon crawl game" 15 | rp_module_licence="GPL3 https://github.com/TurBoss/meritous/blob/master/gpl.txt" 16 | rp_module_repo="git https://github.com/TurBoss/meritous.git master" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali !x86" 19 | 20 | function depends_meritous() { 21 | getDepends libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev xorg xinit 22 | } 23 | 24 | function sources_meritous() { 25 | gitPullOrClone 26 | } 27 | 28 | function build_meritous() { 29 | make 30 | md_ret_require="$md_build/meritous" 31 | } 32 | 33 | function install_meritous() { 34 | md_ret_files=( 35 | 'dat' 36 | 'meritous' 37 | ) 38 | } 39 | 40 | function configure_meritous() { 41 | local script="$md_inst/$md_id.sh" 42 | chown pi:pi "$md_inst" 43 | mkRomDir "ports" 44 | #create buffer script for launch 45 | cat > "$script" << _EOF_ 46 | #!/bin/bash 47 | pushd "$md_inst" 48 | "./meritous" \$* 49 | popd 50 | _EOF_ 51 | 52 | chmod +x "$script" 53 | addPort "$md_id" "meritous" "Meritous 1.2" "XINIT:$script" 54 | } -------------------------------------------------------------------------------- /scriptmodules/ports/nkaruga.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="nkaruga" 14 | rp_module_desc="nKaruga - Ikaruga demake" 15 | rp_module_licence="MIT https://github.com/gameblabla/nKaruga/blob/master/COPYING" 16 | rp_module_repo="git https://github.com/gameblabla/nKaruga.git master" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali !kms !all rpi4 rpi5" 19 | 20 | function depends_nkaruga() { 21 | getDepends libsdl2-dev libsdl2-mixer-dev 22 | } 23 | 24 | function sources_nkaruga() { 25 | gitPullOrClone 26 | } 27 | 28 | function build_nkaruga() { 29 | make -f Makefile.linux 30 | md_ret_require="$md_build/nKaruga.elf" 31 | } 32 | 33 | function install_nkaruga() { 34 | md_ret_files=( 35 | 'nKaruga.elf' 36 | 'sfx' 37 | ) 38 | 39 | } 40 | 41 | function configure_nkaruga() { 42 | addPort "$md_id" "nkaruga" "nKaruga - Ikaruga demake" "$md_inst/nKaruga.elf" 43 | } -------------------------------------------------------------------------------- /scriptmodules/ports/openclaw.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="openclaw" 13 | rp_module_desc="Reimplementation of Captain Claw (1997) platformer" 14 | rp_module_help="you will need original CLAW.REZ from original game in the ports/openclaw folder" 15 | rp_module_licence="GPL2 https://raw.githubusercontent.com/pjasicek/OpenClaw/master/LICENSE.txt" 16 | rp_module_repo="file https://github.com/Exarkuniv/Rpi-pikiss-binary/raw/Master/openclaw-dev-rpi.tar.gz" 17 | rp_module_section="exp" 18 | rp_module_flags="!armv6 rpi4" 19 | 20 | function depends_openclaw() { 21 | getDepends timidity freepats libsdl2-mixer-2.0-0 libsdl2-ttf-2.0-0 libsdl2-image-2.0-0 libsdl2-gfx-1.0-0 libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-gfx-dev 22 | } 23 | 24 | function sources_openclaw() { 25 | downloadAndExtract "$md_repo_url" "$md_build" "--strip-components=1" 26 | } 27 | 28 | function install_openclaw() { 29 | md_ret_files=('openclaw' 30 | 'ASSETS' 31 | 'ASSETS.ZIP' 32 | 'clacon.ttf' 33 | 'config.xml' 34 | 'config_linux_release.xml' 35 | 'config_linux.xml' 36 | 'MENU.xml' 37 | 'SAVES.XML' 38 | 'ClawLauncher.exe.config' 39 | ) 40 | mkdir $home/.config/openclaw 41 | cp -v "config.xml" "$home/.config/openclaw/config.xml" 42 | } 43 | 44 | function configure_openclaw() { 45 | mkRomDir "ports/captainclaw" 46 | local script="$md_inst/$md_id.sh" 47 | cat > "$script" << _EOF_ 48 | #!/bin/bash 49 | cd $md_inst && ./openclaw 50 | _EOF_ 51 | 52 | chmod +x "$script" 53 | addPort "$md_id" "openclaw" "Captain Claw" "$script" 54 | } -------------------------------------------------------------------------------- /scriptmodules/ports/openjazz.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="openjazz" 14 | rp_module_desc="OpenJazz - An enhanced Jazz Jackrabbit source port" 15 | rp_module_licence="GPL2 https://raw.githubusercontent.com/AlisterT/openjazz/master/COPYING" 16 | rp_module_help="For playing the registered version, replace the shareware files by adding your full version game files to $romdir/ports/openjazz/." 17 | rp_module_repo="git https://github.com/AlisterT/openjazz.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="!all rpi4 rpi3 rpi5" 20 | 21 | function depends_openjazz() { 22 | getDepends libsdl1.2-dev libsdl-net1.2-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev timidity freepats libxmp-dev 23 | } 24 | 25 | function sources_openjazz() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_openjazz() { 30 | cmake -B OJ -S . 31 | cmake --build OJ 32 | md_ret_require="$md_build/OJ/OpenJazz" 33 | } 34 | 35 | function install_openjazz() { 36 | md_ret_files=( 37 | 'OJ/OpenJazz' 38 | ) 39 | } 40 | 41 | function game_data_openjazz() { 42 | if [[ ! -f "$romdir/ports/jazz/JAZZ.EXE" ]]; then 43 | downloadAndExtract "https://image.dosgamesarchive.com/games/jazz.zip" "$romdir/ports/jazz" 44 | chown -R $user:$user "$romdir/ports/jazz" 45 | fi 46 | } 47 | 48 | function configure_openjazz() { 49 | mkRomDir "ports/jazz" 50 | moveConfigDir "$home/.openjazz" "$md_conf_root/jazz" 51 | addPort "$md_id" "jazz" "OpenJazz - An enhanced Jazz Jackrabbit source port" "pushd $md_conf_root/jazz; $md_inst/OpenJazz -f $romdir/ports/jazz; popd" 52 | 53 | [[ "$md_mode" == "install" ]] && game_data_openjazz 54 | } -------------------------------------------------------------------------------- /scriptmodules/ports/openxcom/01-yaml-pcc.diff: -------------------------------------------------------------------------------- 1 | --- OpenXCOM/cmake/modules/FindYaml_cpp.cmake 2019-01-10 23:12:44.078156589 +0100 2 | +++ OpenXCOM-patched/cmake/modules/FindYaml_cpp.cmake 2019-01-10 23:16:10.506715186 +0100 3 | @@ -23,12 +23,6 @@ 4 | FIND_PACKAGE(PkgConfig) 5 | PKG_CHECK_MODULES(PC_YAMLCPP QUIET yaml-cpp) 6 | 7 | -# yaml-cpp 0.5.2 has issues that cause openxcom to fail to load any rules: 8 | -# See: https://github.com/jbeder/yaml-cpp/pull/316 9 | -if (PC_YAMLCPP_VERSION STREQUAL 0.5.2) 10 | - message(FATAL_ERROR "YAML-CPP 0.5.2 is known broken - please use either 0.5.1 or 0.5.3+") 11 | -endif() 12 | - 13 | FIND_PATH(YAMLCPP_INCLUDE_DIR yaml.h 14 | HINTS 15 | ${PC_YAMLCPP_INCLUDEDIR} 16 | -------------------------------------------------------------------------------- /scriptmodules/ports/piegalaxy.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="piegalaxy" 14 | rp_module_desc="Pie Galaxy - Download and install GOG.com games in RetroPie" 15 | rp_module_licence="GPL https://github.com/sigboe/pie-galaxy/blob/master/LICENSE" 16 | rp_module_section="exp" 17 | 18 | function depends_piegalaxy() { 19 | getDepends jq html2text unar 20 | } 21 | 22 | function install_bin_piegalaxy() { 23 | local innoversion="1.8-dev-2019-01-13" 24 | local wyvernversion="1.4.1" 25 | gitPullOrClone "$md_inst" https://github.com/sigboe/pie-galaxy.git master 26 | isPlatform "x86" && (cd "$md_inst" && curl -o wyvern -O "https://github.com/sigboe/wyvern/releases/latest/download/wyvern-${wyvernversion}.arm") 27 | isPlatform "arm" && (cd "$md_inst" && curl -o wyvern -O "https://github.com/sigboe/wyvern/releases/latest/download/wyvern-${wyvernversion}.x86") 28 | isPlatform "x86" && downloadAndExtract "http://constexpr.org/innoextract/files/snapshots/innoextract-${innoversion}/innoextract-${innoversion}-linux.tar.xz" "$md_inst" --strip-components 3 innoextract-${innoversion}-linux/bin/amd64/innoextract 29 | isPlatform "arm" && downloadAndExtract "http://constexpr.org/innoextract/files/snapshots/innoextract-${innoversion}/innoextract-${innoversion}-linux.tar.xz" "$md_inst" --strip-components 3 innoextract-${innoversion}-linux/bin/armv6j-hardfloat/innoextract 30 | chmod +x "$md_inst"/wyvern "$md_inst"/innoextract "$md_inst"/pie-galaxy.sh 31 | } 32 | 33 | function configure_piegalaxy() { 34 | addPort "$md_id" "piegalaxy" "Pie Galaxy" "$md_inst/pie-galaxy.sh" 35 | } -------------------------------------------------------------------------------- /scriptmodules/ports/pingus.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="pingus" 14 | rp_module_desc="Pingus - Open source Lemmings clone" 15 | rp_module_licence="GPL3 https://raw.githubusercontent.com/Pingus/pingus/master/COPYING" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function install_bin_pingus() { 20 | aptInstall pingus pingus-data xorg 21 | } 22 | 23 | function configure_pingus() { 24 | mkRomDir "ports" 25 | 26 | moveConfigDir "$home/.pingus" "$md_conf_root/$md_id" 27 | addPort "$md_id" "pingus" "Pingus" "XINIT: pingus" 28 | } -------------------------------------------------------------------------------- /scriptmodules/ports/pokerth.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="pokerth" 14 | rp_module_desc="pokerth is an open source online poker" 15 | rp_module_licence="https://github.com/GNOME/epiphany" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_pokerth() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_pokerth() { 24 | aptInstall pokerth 25 | } 26 | 27 | function configure_pokerth() { 28 | #mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/$md_id" 31 | cat >"$md_inst/pokerth.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/games/pokerth 36 | _EOF_ 37 | chmod +x "$md_inst/pokerth.sh" 38 | addPort "$md_id" "pokerth" "PokerTH is an Open Source Online Poker" "XINIT: $md_inst/pokerth.sh" 39 | } -------------------------------------------------------------------------------- /scriptmodules/ports/prototype.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="prototype" 14 | rp_module_desc="ProtoType - an R-Type remake by Ron Bunce" 15 | rp_module_help="A keyboard is required to exit the game." 16 | rp_module_licence="freeware https://web.archive.org/web/20160507085617/http://xout.blackened-interactive.com/ProtoType/Prototype.html" 17 | rp_module_repo="git https://github.com/ptitSeb/prototype.git master 12d2de8" 18 | rp_module_section="exp" 19 | rp_module_flags="!all rpi4 rpi3" 20 | 21 | function depends_prototype() { 22 | getDepends libsdl2-dev libsdl2-mixer-dev 23 | } 24 | 25 | function sources_prototype() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_prototype() { 30 | local params=(SDL2=1) 31 | isPlatform "x86" && params+=(LINUX=1) 32 | ! isPlatform "x86" && params+=(ODROID=1) 33 | make "${params[@]}" 34 | md_ret_require="$md_build/prototype" 35 | } 36 | 37 | function install_prototype() { 38 | md_ret_files=( 39 | 'prototype' 40 | 'Data' 41 | ) 42 | } 43 | 44 | function configure_prototype() { 45 | addPort "$md_id" "prototype" "ProtoType" "pushd $md_inst; $md_inst/prototype; popd" 46 | moveConfigDir "$home/.prototype" "$md_conf_root/prototype" 47 | } -------------------------------------------------------------------------------- /scriptmodules/ports/quakespasm.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="quakespasm" 14 | rp_module_desc="Quakespasm - Another enhanced engine for quake" 15 | rp_module_licence="GNU https://sourceforge.net/p/quakespasm/quakespasm/ci/master/tree/LICENSE.txt" 16 | rp_module_repo="git git://git.code.sf.net/p/quakespasm/quakespasm.git master" 17 | rp_module_section="exp" 18 | rp_module_flags="noinstclean" 19 | 20 | 21 | function depends_quakespasm() { 22 | getDepends libmad0-dev libmpg123-0 libogg0 libvorbis-dev gambas3-gb-opengl-glsl glslang-dev libsdl2-dev 23 | } 24 | 25 | 26 | function sources_quakespasm() { 27 | gitPullOrClone 28 | } 29 | 30 | function build_quakespasm() { 31 | cd Quake 32 | make USE_SDL2=1 DO_USERDIRS=1 33 | md_ret_require=( 34 | ) 35 | } 36 | 37 | function install_quakespasm() { 38 | md_ret_files=(Quake/quakespasm 39 | Quake/quakespasm.pak 40 | ) 41 | } 42 | 43 | function configure_quakespasm() { 44 | mkRomDir "ports/quake" 45 | addPort "$md_id" "quakespasm" "Quakespasm - Quake engine" "$md_inst/quakespasm -basedir /home/pi/RetroPie/roms/ports/quake" 46 | 47 | [[ "$md_mode" == "install" ]] && game_data_lr-tyrquake 48 | } -------------------------------------------------------------------------------- /scriptmodules/ports/rawgl.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="rawgl" 14 | rp_module_desc="rawgl - Another World Engine" 15 | rp_module_help="Please copy your Another World data files to $romdir/ports/rawgl before running the game." 16 | rp_module_section="exp" 17 | rp_module_repo="git https://github.com/cyxx/rawgl.git master" 18 | rp_module_flags="!mali !x86" 19 | 20 | function depends_rawgl() { 21 | getDepends g++ libsdl2-dev libsdl2-mixer-dev 22 | } 23 | 24 | function sources_rawgl() { 25 | gitPullOrClone 26 | } 27 | 28 | function build_rawgl() { 29 | make clean 30 | make 31 | md_ret_require="$md_build/rawgl" 32 | } 33 | 34 | function install_rawgl() { 35 | md_ret_files=('rawgl') 36 | } 37 | 38 | function configure_rawgl() { 39 | mkRomDir "ports" 40 | mkRomDir "ports/$md_id" 41 | 42 | addPort "$md_id" "rawgl" "rawgl - Another World Engine" "$md_inst/rawgl --datapath=$romdir/ports/$md_id --language=us --render=original --fullscreen-ar" 43 | } -------------------------------------------------------------------------------- /scriptmodules/ports/rednukem.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="rednukem" 13 | rp_module_desc="Rednukem - Redneck Rampage source port" 14 | rp_module_licence="GPL3 https://github.com/OpenMW/osg/blob/3.4/LICENSE.txt" 15 | rp_module_help="you need to put the REDNECK.GRP, REDNECK.RTS, optionally CD audio tracks as OGG file in the format trackXX.ogg (where XX is the track number) 16 | $romdir/ports/Nblood" 17 | rp_module_section="exp" 18 | rp_module_flags="" 19 | 20 | 21 | function depends_rednukem() { 22 | getDepends cmake xorg xinit x11-xserver-utils xinit build-essential nasm libgl1-mesa-dev libglu1-mesa-dev libsdl1.2-dev libsdl-mixer1.2-dev libsdl2-dev libsdl2-mixer-dev flac libflac-dev libvorbis-dev libvpx-dev libgtk2.0-dev freepats 23 | 24 | } 25 | 26 | function sources_rednukem() { 27 | gitPullOrClone "$md_build" https://github.com/Exarkuniv/NBlood.git 28 | } 29 | 30 | function build_rednukem() { 31 | cd $md_build/Rednukem 32 | make rr USE_OPENGL=1 STARTUP_WINDOW=0 33 | md_ret_require="$md_build" 34 | } 35 | 36 | function install_rednukem() { 37 | md_ret_files=( 38 | 'rednukem' 39 | 'nblood.pk3' 40 | 'rednukem.cfg' 41 | ) 42 | } 43 | 44 | function configure_rednukem() { 45 | mkdir "$home/.config/rednukem" 46 | cp -v rednukem.cfg "$home/.config/rednukem" 47 | 48 | moveConfigDir "$home/.config/rednukem" "$md_conf_root/rednukem" 49 | mkRomDir "ports/rednukem" 50 | 51 | addPort "$md_id" "rednukem" "Rednukem - Redneck Rampage source port" "XINIT: $md_inst/rednukem -j /home/pi/RetroPie/roms/ports/rednukem" 52 | } -------------------------------------------------------------------------------- /scriptmodules/ports/reminiscence.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | 14 | rp_module_id="reminiscence" 15 | rp_module_desc="REminiscence - Flashback Engine" 16 | rp_module_licence="GPL3 https://raw.githubusercontent.com/Cheeseness/REminiscence/master/COPYING" 17 | rp_module_help="Please copy your Flashback data files to $romdir/ports/reminiscence before running REminiscence." 18 | rp_module_section="exp" 19 | rp_module_flags="!mali !x86" 20 | 21 | function depends_reminiscence() { 22 | getDepends libsdl1.2-dev 23 | } 24 | 25 | function sources_reminiscence() { 26 | wget -O- -q http://cyxdown.free.fr/reminiscence/REminiscence-0.2.1.tar.bz2 | tar -xvj --strip-components=1 27 | } 28 | 29 | function build_reminiscence() { 30 | make 31 | } 32 | 33 | function install_reminiscence() { 34 | md_ret_files=('rs') 35 | } 36 | 37 | function configure_reminiscence() { 38 | mkRomDir "ports" 39 | mkRomDir "ports/$md_id" 40 | #fixme: Missing configuration dir. 41 | 42 | addPort "$md_id" "reminiscence" "REminiscence" "$md_inst/rs --datapath=$romdir/ports/$md_id --savepath=$md_conf_root/$md_id" 43 | } -------------------------------------------------------------------------------- /scriptmodules/ports/rickyd.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="rickyd" 14 | rp_module_desc="rickyd - Port of Rick Dangerous" 15 | rp_module_licence="GPL https://sourceforge.net/p/rickyd/code/ci/master/tree/COPYING" 16 | rp_module_repo="git git://git.code.sf.net/p/rickyd/code master" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali !kms !all rpi4 rpi3" 19 | 20 | function depends_rickyd() { 21 | getDepends libsdl2-dev libsdl2-mixer-dev libsdl2-image-dev libsdl2-ttf-dev automake autoconf 22 | } 23 | 24 | function sources_rickyd() { 25 | gitPullOrClone 26 | } 27 | 28 | function build_rickyd() { 29 | ./bootstrap.sh 30 | make distclean 31 | mkdir build 32 | cd build 33 | .././configure --prefix=$md_inst 34 | make 35 | md_ret_require="$md_build/build/sources/ricky" 36 | } 37 | 38 | function install_rickyd() { 39 | cd "$md_build/build" 40 | make install 41 | } 42 | 43 | function configure_rickyd() { 44 | moveConfigFile "$home/.rickrc" "$md_conf_root/rickyd/rickrc" 45 | addPort "$md_id" "rickyd" "Rickyd - Rick Dangerous clone" "$md_inst/bin/ricky" 46 | } -------------------------------------------------------------------------------- /scriptmodules/ports/rigelengine.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="rigelengine" 14 | rp_module_desc="RigelEngine - Duke Nukem 2 source port" 15 | rp_module_help="Copy your game to roms/ports/duke2 folder" 16 | rp_module_licence="GPL2 https://github.com/lethal-guitar/RigelEngine/blob/master/LICENSE.md" 17 | rp_module_repo="git https://github.com/lethal-guitar/RigelEngine.git v0.9.1" 18 | rp_module_section="exp" 19 | rp_module_flags="noinstclean" 20 | 21 | 22 | function depends_rigelengine() { 23 | getDepends cmake libsdl2-dev libsdl2-mixer-dev 24 | } 25 | 26 | 27 | function sources_rigelengine() { 28 | gitPullOrClone 29 | } 30 | 31 | function build_rigelengine() { 32 | mkdir $md_build/build 33 | cd $md_build/build 34 | cmake .. -DUSE_GL_ES=ON -DCMAKE_BUILD_TYPE=Release -DWARNINGS_AS_ERRORS=OFF 35 | 36 | make 37 | 38 | md_ret_require="$md_build/build/src/RigelEngine" 39 | } 40 | 41 | function install_rigelengine() { 42 | md_ret_files=( 43 | build/src/RigelEngine 44 | ) 45 | } 46 | 47 | function game_data_rigelengine() { 48 | if [[ ! -f "$romdir/ports/duke2/NUKEM2.EXE" ]]; then 49 | downloadAndExtract "https://github.com/Exarkuniv/game-data/raw/main/duke2.zip" "$romdir/ports/duke2/" 50 | chown -R $user:$user "$romdir/ports/duke2" 51 | fi 52 | } 53 | 54 | function configure_rigelengine() { 55 | addPort "$md_id" "rigelengine" "RigelEngine - Duke Nukem 2 source port" "$md_inst/RigelEngine $romdir/ports/duke2" 56 | mkRomDir "ports/duke2" 57 | [[ "$md_mode" == "install" ]] && game_data_rigelengine 58 | } -------------------------------------------------------------------------------- /scriptmodules/ports/rocksndiamonds.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="rocksndiamonds" 14 | rp_module_desc="Rocks'n'Diamonds - Emerald Mine Clone" 15 | rp_module_licence=" GNU https://git.artsoft.org/?p=rocksndiamonds.git;a=blob;f=COPYING;hb=HEAD" 16 | rp_module_repo="git https://git.artsoft.org/rocksndiamonds.git" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali" 19 | 20 | function depends_rocksndiamonds() { 21 | getDepends libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev 22 | } 23 | 24 | function sources_rocksndiamonds() { 25 | git clone https://git.artsoft.org/rocksndiamonds.git 26 | cd rocksndiamonds 27 | git checkout master-next-patch-release 28 | } 29 | 30 | function build_rocksndiamonds() { 31 | cd rocksndiamonds 32 | make 33 | md_ret_require="rocksndiamonds" 34 | } 35 | 36 | function install_rocksndiamonds() { 37 | md_ret_files=( 38 | 'rocksndiamonds/graphics' 39 | 'rocksndiamonds/levels' 40 | 'rocksndiamonds/music' 41 | 'rocksndiamonds/sounds' 42 | 'rocksndiamonds/COPYING' 43 | 'rocksndiamonds/CREDITS' 44 | 'rocksndiamonds/rocksndiamonds' 45 | ) 46 | } 47 | 48 | function configure_rocksndiamonds() { 49 | addPort "$md_id" "rocksndiamonds" "Rocks n' Diamonds" "$md_inst/rocksndiamonds" 50 | mkRomDir "ports/rocksndiamonds" 51 | moveConfigDir "$home/.rocksndiamonds" "$md_conf_root/rocksndiamonds" 52 | } -------------------------------------------------------------------------------- /scriptmodules/ports/samtfe.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="samtfe" 13 | rp_module_desc="SamTFE - Serious Sam Classic The First Encounter" 14 | rp_module_licence="GPL2 https://raw.githubusercontent.com/tx00100xt/SeriousSamClassic/main/LICENSE" 15 | rp_module_help="NEED Serious Sam Classic version of this game\nCopy all *.gro files and Help folder from the game directory to SamTSE directory. At the current time the files are: 16 | \nHelp (folder)\nLevels (folder)\n1_00_ExtraTools.gro\n1_00_music.gro\n1_00c_Logo.gro\n1_00c.gro\n1_00c_scripts.gro\n1_04_patch.gro" 17 | rp_module_repo="git https://github.com/tx00100xt/SeriousSamClassic.git main" 18 | rp_module_section="exp" 19 | rp_module_flags="!all rpi5" 20 | 21 | function depends_samtfe() { 22 | depends_samtse 23 | } 24 | 25 | function sources_samtfe() { 26 | sources_samtse 27 | } 28 | 29 | function build_samtfe() { 30 | build_samtse 31 | } 32 | 33 | function install_samtfe() { 34 | install_samtse 35 | } 36 | 37 | function configure_samtfe() { 38 | configure_samtse 39 | } -------------------------------------------------------------------------------- /scriptmodules/ports/sdl-bomber.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="sdl-bomber" 14 | rp_module_desc="sdl-bomber - Atomic Bomberman Clone" 15 | rp_module_licence="GPL2 https://raw.githubusercontent.com/HerbFargus/SDL-Bomber/master/COPYING" 16 | rp_module_repo="git https://github.com/HerbFargus/SDL-Bomber.git master" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali" 19 | 20 | function depends_sdl-bomber() { 21 | getDepends libsdl1.2-dev 22 | } 23 | 24 | function sources_sdl-bomber() { 25 | gitPullOrClone 26 | } 27 | 28 | function build_sdl-bomber() { 29 | make 30 | md_ret_require="$md_build" 31 | } 32 | 33 | function install_sdl-bomber() { 34 | md_ret_files=( 35 | 'data' 36 | 'bomber' 37 | 'matcher' 38 | ) 39 | } 40 | 41 | function configure_sdl-bomber() { 42 | local script="$md_inst/$md_id.sh" 43 | setConfigRoot "ports" 44 | #create buffer script for launch 45 | cat > "$script" << _EOF_ 46 | #!/bin/bash 47 | pushd "$md_inst" 48 | "./bomber" \$* 49 | popd 50 | _EOF_ 51 | 52 | chmod +x "$script" 53 | addPort "$md_id" "sdl-bomber" "SDL-Bomber" "XINIT: pushd $md_inst; ./bomber; popd" 54 | } -------------------------------------------------------------------------------- /scriptmodules/ports/seahorse.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="seahorse" 14 | rp_module_desc="Seahorse Adventures: a side scrolling platform game with a bubble shooting seahorse (Bubble Bobble meets Blaster Master)" 15 | rp_module_licence="GPL2 https://raw.githubusercontent.com/Nebuleon/barbie-seahorse-adventures/master/LICENSE.txt" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function install_bin_seahorse() { 20 | aptInstall seahorse-adventures 21 | } 22 | 23 | function configure_seahorse() { 24 | mkRomDir "ports" 25 | moveConfigDir "$home/.seahorse" "$md_conf_root/$md_id" 26 | 27 | addPort "$md_id" "seahorse" "Seahorse Adventures" "XINIT: seahorse-adventures" 28 | } -------------------------------------------------------------------------------- /scriptmodules/ports/shiromino.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="shiromino" 14 | rp_module_desc="shiromino - Tetris The Grand Master Clone" 15 | rp_module_help="Requires a keyboard to exit or restart the game." 16 | rp_module_licence="MIT https://raw.githubusercontent.com/FelicityVi/shiromino/master/LICENSE" 17 | rp_module_repo="git https://github.com/FelicityVi/shiromino master" 18 | rp_module_section="exp" 19 | rp_module_flags="!mali" 20 | 21 | function depends_shiromino() { 22 | getDepends cmake libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libvorbis-dev libsqlite3-dev 23 | } 24 | 25 | function sources_shiromino() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_shiromino() { 30 | make 31 | md_ret_require="$md_build/bin/game" 32 | } 33 | 34 | function install_shiromino() { 35 | md_ret_files=( 36 | 'bin/game' 37 | 'game.cfg' 38 | 'audio' 39 | 'docs' 40 | 'gfx' 41 | ) 42 | } 43 | 44 | function configure_shiromino() { 45 | addPort "$md_id" "shiromino" "shiromino - Tetris The Grand Master Clone" "pushd $md_inst; ./shiromino; popd" 46 | moveConfigFile "$md_inst/scores.db" "$md_conf_root/shiromino/scores.db" 47 | moveConfigFile "$md_inst/game.cfg" "$md_conf_root/shiromino/game.cfg" 48 | mv "$md_inst/game" "$md_inst/shiromino" 49 | } -------------------------------------------------------------------------------- /scriptmodules/ports/shockolate.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="shockolate" 14 | rp_module_desc="Shockolate - Source port of System Shock" 15 | rp_module_licence="GPL2 https://raw.githubusercontent.com/Interrupt/systemshock/master/LICENSE" 16 | rp_module_help="Cody original cd-rom or SS:EE assets in a res/data folder in to the ports/shockolate/res." 17 | rp_module_repo="git https://github.com/Interrupt/systemshock.git master" 18 | rp_module_section="exp" 19 | rp_module_flags="!all rpi4 rpi3" 20 | 21 | function depends_shockolate() { 22 | getDepends cmake xorg libglu1-mesa-dev libgl1-mesa-dev libfluidsynth-dev libsdl2-dev libsdl2-mixer-dev libfluidsynth-dev libfluidsynth1 23 | } 24 | 25 | function sources_shockolate() { 26 | gitPullOrClone 27 | } 28 | 29 | function build_shockolate() { 30 | ./build_deps.sh 31 | cmake ENABLE_SDL2=BUNDELED, ENABLE_SOUND=ON and ENABLE_FLUIDSYNTH=ON . 32 | make systemshock 33 | } 34 | 35 | function install_shockolate() { 36 | md_ret_files=( 37 | 'systemshock' 38 | ) 39 | } 40 | 41 | 42 | function configure_shockolate() { 43 | mkRomDir "ports/$md_id" 44 | ln -sf "$romdir/ports/$md_id/" "$md_inst/res" 45 | local script="$md_inst/$md_id.sh" 46 | mkUserDir "$home/.local/share/Interrupt/SystemShock" 47 | moveConfigDir "$home/.local/share/Interrupt/SystemShock" "$md_conf_root/systemshock" 48 | addPort "$md_id" "shockolate" "System Shock" "XINIT: $script %ROM%" 49 | 50 | #create buffer script for launch 51 | cat > "$script" << _EOF_ 52 | #!/bin/bash 53 | pushd "$md_inst/res" 54 | cd $md_inst && ./systemshock 55 | _EOF_ 56 | 57 | chmod +x "$script" 58 | } -------------------------------------------------------------------------------- /scriptmodules/ports/simutrans.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="simutrans" 13 | rp_module_desc="Simutrans - freeware and open-source transportation simulator" 14 | rp_module_licence="GPL2 https://raw.githubusercontent.com/aburch/simutrans/master/LICENSE.txt" 15 | rp_module_section="exp" 16 | rp_module_flags="!mali !x86" 17 | 18 | function depends_simutrans() { 19 | getDepends xorg timidity freepats 20 | } 21 | 22 | function install_bin_simutrans() { 23 | aptInstall simutrans 24 | } 25 | 26 | function configure_simutrans() { 27 | moveConfigDir "$home/.simutrans" "$md_conf_root/$md_id" 28 | addPort "$md_id" "simutrans" "Simutrans - transportation simulator" "XINIT: /usr/games/simutrans -fullscreen -res 4" 29 | } -------------------------------------------------------------------------------- /scriptmodules/ports/sorr.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="sorr" 14 | rp_module_desc="BennuGD interpreter for Streets of Rage Remake" 15 | rp_module_help="Please copy your SorR.dat file along with the mod and palettes folders into $romdir/ports/sorr" 16 | rp_module_section="exp" 17 | rp_module_flags="!x86 !x11 !mali !all rpi4 rpi3" 18 | 19 | function depends_sorr() { 20 | getDepends libsdl-mixer1.2 libpng12-0 xorg 21 | } 22 | 23 | function install_bin_sorr() { 24 | download "https://github.com/Exarkuniv/bennugd-Rpi/raw/master/bgdi-333" "$md_inst" 25 | chmod +x "$md_inst/bgdi-333" 26 | } 27 | 28 | function configure_sorr() { 29 | local script="$md_inst/$md_id.sh" 30 | local config="$romdir/ports/$md_id/mod/system.txt" 31 | 32 | addPort "bgdi-333" "sorr" "Streets of Rage Remake" "XINIT:$script %ROM%" "./SorR.dat" 33 | [[ -f "$romdir/ports/$md_id/SorMaker.dat" || "$md_mode" == "remove" ]] && addPort "bgdi-333" "sorr" "SorMaker" "XINIT:$script %ROM%" "./SorMaker.dat" 34 | [[ "$md_mode" == "remove" ]] && return 35 | 36 | #create buffer script for launch 37 | cat > "$script" << _EOF_ 38 | #!/bin/bash 39 | pushd "$romdir/ports/$md_id" 40 | "$md_inst/bgdi-333" \$* 41 | popd 42 | _EOF_ 43 | 44 | chmod +x "$script" 45 | mkRomDir "ports/$md_id" 46 | if [[ -f "$config" ]]; then 47 | # set custom "system" for 5.1 (allows proper "exit" from game menu) 48 | sed -i 's/system = PC/system = PSP/' "$config" 49 | # set custom "full screen wide" mode for 5.2 (allows "windowed" and "vsync" options) 50 | sed -i 's/^BORDERLESS_SYNC/AUTO/' "$config" 51 | fi 52 | } -------------------------------------------------------------------------------- /scriptmodules/ports/sorrv2.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="sorrv2" 14 | rp_module_desc="Streets of Rage Remake useing engine by BennuGD" 15 | rp_module_help="Please copy your SorR.dat file along with the mod and palettes folders into ports/sorr. Runs a slow in fullscreen, best to be in windowed mode" 16 | rp_module_section="exp" 17 | rp_module_flags="!x86 !x11 !mali !all rpi4 rpi3" 18 | 19 | function depends_sorrv2() { 20 | getDepends libsdl-mixer1.2 libpng12-0 xorg 21 | } 22 | 23 | function install_bin_sorrv2() { 24 | download "https://github.com/Exarkuniv/bennugd-Rpi/raw/master/bgdi-354" "$md_inst" 25 | chmod +x "$md_inst/bgdi-354" 26 | } 27 | 28 | function configure_sorrv2() { 29 | mkRomDir "ports/$md_id" 30 | local script="$md_inst/$md_id.sh" 31 | local config="$romdir/ports/$md_id/mod/system.txt" 32 | 33 | addPort "bgdi-354" "sorrv2" "Streets of Rage Remake" "XINIT:$script %ROM%" "./SorR.dat" 34 | [[ -f "$romdir/ports/$md_id/SorMaker.dat" || "$md_mode" == "remove" ]] && addPort "bgdi-354" "sorr" "SorMaker" "XINIT:$script %ROM%" "./SorMaker.dat" 35 | [[ "$md_mode" == "remove" ]] && return 36 | 37 | #create buffer script for launch 38 | cat > "$script" << _EOF_ 39 | #!/bin/bash 40 | pushd "$romdir/ports/$md_id" 41 | "$md_inst/bgdi-354" \$* 42 | popd 43 | _EOF_ 44 | 45 | chmod +x "$script" 46 | if [[ -f "$config" ]]; then 47 | # set custom "system" for 5.1 (allows proper "exit" from game menu) 48 | sed -i 's/system = PC/system = PSP/' "$config" 49 | # set custom "full screen wide" mode for 5.2 (allows "windowed" and "vsync" options) 50 | sed -i 's/^BORDERLESS_SYNC/AUTO/' "$config" 51 | fi 52 | } -------------------------------------------------------------------------------- /scriptmodules/ports/sqrxz2.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="sqrxz2" 13 | rp_module_desc="Sqrxz 2 - Two seconds until death by Retroguru" 14 | rp_module_help="Sqrxz 2 is a Jump'n'Run which requires a sharp mind and fast reflexes, high frustration is guaranteed." 15 | rp_module_licence="Retroguru http://www.retroguru.com/legal/" 16 | rp_module_section="opt" 17 | rp_module_flags="rpi4 rpi3 !rpi5" 18 | 19 | function depends_sqrxz2() { 20 | getDepends libsdl1.2-dev libsdl-mixer1.2 libraspberrypi-dev xorg 21 | } 22 | 23 | function install_bin_sqrxz2() { 24 | downloadAndExtract "http://www.retroguru.com/sqrxz2/sqrxz2-v.latest-raspberrypi.zip" "$md_inst" 25 | patchVendorGraphics "$md_inst/sqrxz2_rpi" 26 | } 27 | 28 | function configure_sqrxz2() { 29 | moveConfigDir "$home/.config/sqrxz2" "$md_conf_root/sqrxz2" 30 | 31 | addPort "$md_id" "sqrxz2" "Sqrxz 2 - Two seconds until death by Retroguru" "XINIT: pushd $md_inst; $md_inst/sqrxz2_rpi; popd" 32 | 33 | chmod +x "$md_inst/sqrxz2_rpi" 34 | chmod a+w "$md_inst" 35 | } -------------------------------------------------------------------------------- /scriptmodules/ports/sqrxz3.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="sqrxz3" 13 | rp_module_desc="Sqrxz 3 - Adventure For Love by Retroguru" 14 | rp_module_help="Sqrxz 3 is a Jump'n'Run which requires a sharp mind and fast reflexes, high frustration is guaranteed." 15 | rp_module_licence="Retroguru http://www.retroguru.com/legal/" 16 | rp_module_section="opt" 17 | rp_module_flags="rpi4 rpi3 !rpi5" 18 | 19 | function depends_sqrxz3() { 20 | getDepends libsdl1.2-dev libsdl-mixer1.2 libraspberrypi-dev libghc-zlib-dev libmodplug-dev xorg 21 | } 22 | 23 | function install_bin_sqrxz3() { 24 | downloadAndExtract "https://www.retroguru.com/sqrxz3/sqrxz3-v.latest-raspberrypi.zip" "$md_inst" 25 | patchVendorGraphics "$md_inst/sqrxz3_rpi" 26 | } 27 | 28 | function configure_sqrxz3() { 29 | moveConfigDir "$home/.config/sqrxz3" "$md_conf_root/sqrxz2" 30 | 31 | addPort "$md_id" "sqrxz3" "Sqrxz 3 - Adventure For Love by Retroguru" "XINIT: pushd $md_inst; $md_inst/sqrxz3_rpi; popd" 32 | 33 | chmod +x "$md_inst/sqrxz3_rpi" 34 | chmod a+w "$md_inst" 35 | } -------------------------------------------------------------------------------- /scriptmodules/ports/sqrxz4.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="sqrxz4" 13 | rp_module_desc="Sqrxz 4 - Cold Cash by Retroguru" 14 | rp_module_help="The fourth part of the quadrology Jump'n Think series Sqrxz brings you onto an cold icy island. Shiny marbles, evil penguins and ghosts, underwater creatures and many more to expect." 15 | rp_module_licence="Retroguru http://www.retroguru.com/legal/" 16 | rp_module_section="opt" 17 | rp_module_flags="rpi4 rpi3 !rpi5" 18 | 19 | function depends_sqrxz4() { 20 | getDepends libsdl2-2.0-0 libsdl2-mixer-2.0-0 libraspberrypi-dev 21 | } 22 | 23 | function install_bin_sqrxz4() { 24 | downloadAndExtract "http://www.retroguru.com/sqrxz4/sqrxz4-v.latest-raspberrypi.zip" "$md_inst" 25 | patchVendorGraphics "$md_inst/sqrxz4_rpi" 26 | } 27 | 28 | function configure_sqrxz4() { 29 | moveConfigDir "$home/.config/sqrxz4" "$md_conf_root/sqrxz4" 30 | 31 | addPort "$md_id" "sqrxz4" "Sqrxz 4 - Cold Cash by Retroguru" "pushd $md_inst; $md_inst/sqrxz4_rpi; popd" 32 | 33 | chmod +x "$md_inst/sqrxz4_rpi" 34 | chmod a+w "$md_inst" 35 | } -------------------------------------------------------------------------------- /scriptmodules/ports/supaplex.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="supaplex" 13 | rp_module_desc="Reverse engineering Supaplex" 14 | rp_module_help="play the game" 15 | rp_module_licence="GNU https://www.gnu.org/licenses/gpl-3.0" 16 | rp_module_repo="file https://github.com/Exarkuniv/Rpi-pikiss-binary/raw/Master/open-supaplex-rpi.tar.gz" 17 | rp_module_section="exp" 18 | rp_module_flags="!armv6 !all rpi4 rpi3" 19 | 20 | function depends_supaplex() { 21 | getDepends libsdl2-mixer-2.0-0 22 | } 23 | 24 | function sources_supaplex() { 25 | downloadAndExtract "$md_repo_url" "$md_build" 26 | } 27 | 28 | function install_supaplex() { 29 | md_ret_files=('open-supaplex') 30 | } 31 | 32 | function configure_supaplex() { 33 | local script="$md_inst/$md_id.sh" 34 | 35 | cat > "$script" << _EOF_ 36 | #!/bin/bash 37 | cd $md_inst/open-supaplex && ./opensupaplex.sh 38 | _EOF_ 39 | 40 | addPort "$md_id" "supaplex" "supaplex" "$script" 41 | moveConfigDir "$home/.config/supaplex" "$md_conf_root/supaplex" 42 | chmod +x "$md_inst" 43 | chmod +x "$script" 44 | } -------------------------------------------------------------------------------- /scriptmodules/ports/supertuxkart.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="supertuxkart" 14 | rp_module_desc="SuperTuxKart - a free kart-racing game featuring the Linux mascot Tux the Penguin, inspired by the popular Mario Kart series of racers." 15 | rp_module_licence="GPL3 https://sourceforge.net/p/supertuxkart/code/HEAD/tree/main/trunk/COPYING?format=raw" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_supertuxkart() { 20 | getDepends xorg 21 | } 22 | 23 | function install_bin_supertuxkart() { 24 | aptInstall supertuxkart 25 | } 26 | 27 | function remove_supertuxkart() { 28 | aptRemove supertuxkart supertuxkart-data 29 | } 30 | 31 | function configure_supertuxkart() { 32 | addPort "$md_id" "supertuxkart" "SuperTuxKart" "XINIT:supertuxkart" 33 | moveConfigDir "$home/.config/supertuxkart" "$md_conf_root/$md_id" 34 | moveConfigDir "$home/.local/share/supertuxkart" "$md_conf_root/$md_id" 35 | } -------------------------------------------------------------------------------- /scriptmodules/ports/temptations.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/ports/temptations.sh -------------------------------------------------------------------------------- /scriptmodules/ports/warmux.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="warmux" 14 | rp_module_desc="Warmux - Worms Clone" 15 | rp_module_licence="GPL2 https://raw.githubusercontent.com/yeKcim/warmux/master/LICENSE" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali" 18 | 19 | function install_bin_warmux() { 20 | aptInstall warmux 21 | } 22 | 23 | function configure_warmux() { 24 | addPort "$md_id" "warmux" "warmux" "/usr/games/warmux" 25 | } -------------------------------------------------------------------------------- /scriptmodules/ports/wesnoth.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="wesnoth" 13 | rp_module_desc="Wesnoth - turn-based strategy game" 14 | rp_module_licence="GPL2 https://raw.githubusercontent.com/wesnoth/wesnoth/master/COPYING" 15 | rp_module_section="exp" 16 | rp_module_flags="!mali !x86" 17 | 18 | function depends_wesnoth() { 19 | getDepends xorg timidity freepats 20 | } 21 | 22 | function install_bin_wesnoth() { 23 | aptInstall wesnoth 24 | } 25 | 26 | function configure_wesnoth() { 27 | local script="$md_inst/$md_id.sh" 28 | moveConfigDir "$home/.wesnoth" "$md_conf_root/$md_id" 29 | 30 | cat > "$script" << _EOF_ 31 | #!/bin/bash 32 | "/usr/games/wesnoth" 33 | _EOF_ 34 | 35 | chmod +x "$script" 36 | addPort "$md_id" "wesnoth" "The Battle for Wesnoth" "XINIT:$script" 37 | } -------------------------------------------------------------------------------- /scriptmodules/ports/xump.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of The RetroPie Project 4 | # 5 | # The RetroPie Project is the legal property of its developers, whose names are 6 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 7 | # 8 | # See the LICENSE.md file at the top-level directory of this distribution and 9 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 10 | # 11 | 12 | rp_module_id="xump" 13 | rp_module_desc="Xump - The Final Run" 14 | rp_module_help="Xump - The Final Run is a simple multi-platform puzzler by Retroguru. Help Holger to clean up deserted space fields. As this is a very dangerous task for a human being a headbot named Xump will be the one who has to suffer." 15 | rp_module_licence="Retroguru http://www.retroguru.com/legal/" 16 | rp_module_section="opt" 17 | rp_module_flags="!x86 !mali !all rpi4 rpi3" 18 | 19 | function depends_xump() { 20 | getDepends libsdl1.2-dev libsdl-mixer1.2 libraspberrypi-dev xorg 21 | } 22 | 23 | function install_bin_xump() { 24 | downloadAndExtract "http://www.retroguru.com/xump/xump-v.latest-raspberrypi.zip" "$md_inst" 25 | patchVendorGraphics "$md_inst/xump_rpi" 26 | } 27 | 28 | function configure_xump() { 29 | moveConfigDir "$home/.config/xump" "$md_conf_root/xump" 30 | 31 | addPort "$md_id" "xump" "Xump - The Final Run by Retroguru" "XINIT: pushd $md_inst; $md_inst/xump_rpi; popd" 32 | 33 | chmod +x "$md_inst/xump_rpi" 34 | chmod a+w "$md_inst" 35 | } -------------------------------------------------------------------------------- /scriptmodules/ports/zeldansq.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="zeldansq" 14 | rp_module_desc="zeldansq - Zelda Navi's Quest fangame" 15 | rp_module_licence="Unknown" 16 | rp_module_help="" 17 | rp_module_repo="file http://www.zeldaroth.fr/fichier/NSQ/linux/ZeldaNSQ-src-linux.zip" 18 | rp_module_section="exp" 19 | rp_module_flags="!mali !x86 !all rpi4 rpi3" 20 | 21 | function depends_zeldansq() { 22 | getDepends libsdl1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev unzip 23 | } 24 | 25 | function sources_zeldansq() { 26 | downloadAndExtract "$md_repo_url" "$md_build" 27 | } 28 | 29 | function build_zeldansq() { 30 | cd ZeldaNSQ-src-linux 31 | make 32 | md_ret_require="$md_build/ZeldaNSQ-src-linux/bin/Release/ZeldaNSQ" 33 | } 34 | 35 | function install_zeldansq() { 36 | md_ret_files=( 37 | 'ZeldaNSQ-src-linux/bin/Release/ZeldaNSQ' 38 | 'ZeldaNSQ-src-linux/data' 39 | 'ZeldaNSQ-src-linux/config' 40 | 'ZeldaNSQ-src-linux/saves' 41 | ) 42 | } 43 | 44 | function configure_zeldansq() { 45 | local script="$md_inst/$md_id.sh" 46 | mkRomDir "ports" 47 | chmod -R 777 "$md_inst/data" 48 | moveConfigDir "$md_inst/config" "$md_conf_root/$md_id/config" 49 | moveConfigDir "$md_inst/saves" "$md_conf_root/$md_id/saves" 50 | #create buffer script for launch 51 | cat > "$script" << _EOF_ 52 | #!/bin/bash 53 | pushd "$md_inst" 54 | "./ZeldaNSQ" \$* 55 | popd 56 | _EOF_ 57 | 58 | chmod +x "$script" 59 | addPort "$md_id" "zeldansq" "zeldansq - Zelda Navi's Quest fangame" "XINIT:$script" 60 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/audacity.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="audacity" 14 | rp_module_desc="Audacity open-source digital audio editor" 15 | rp_module_licence="https://www.audacityteam.org" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_audacity() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_audacity() { 24 | aptInstall audacity 25 | } 26 | 27 | function configure_audacity() { 28 | mkRomDir "ports" 29 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/ports/$md_id" 30 | 31 | cat >"$md_inst/audacity.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/bin/audacity 36 | _EOF_ 37 | 38 | chmod +x "$md_inst/audacity.sh" 39 | 40 | addPort "$md_id" "audacity" "Audacity Open-Source Digital Audio Editor" "XINIT: $md_inst/audacity.sh" 41 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 42 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/bezelproject.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="bezelproject" 14 | rp_module_desc="Easily set up the Bezel Project" 15 | rp_module_help="Follow the instructions on the dialogs to configure the Bezel Project" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function sources_bezelproject() { 20 | wget https://raw.githubusercontent.com/thebezelproject/BezelProject/master/bezelproject.sh 21 | } 22 | 23 | function install_bezelproject() { 24 | cp ./bezelproject.sh "$home/RetroPie/retropiemenu" 25 | chown -R $user:$user "$datadir/retropiemenu" 26 | } 27 | 28 | function remove_bezelproject() { 29 | rm -rfv "$datadir/retropiemenu/bezelproject.sh" 30 | } 31 | 32 | function gui_bezelproject() { 33 | bash "$md_inst/bezelproject.sh" 34 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/bgm123/bgm_start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # bgm123 init script for RetroPie 4 | 5 | source #config 6 | 7 | mpg123 -Z -@- >/dev/null 2>&1 < <(find "$music_dir" -type f -iname "*.mp3") 8 | -------------------------------------------------------------------------------- /scriptmodules/supplementary/bgm123/bgm_stop.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # bgm123 kill script for RetroPie 4 | 5 | source #config 6 | 7 | pkill "$music_player" 8 | 9 | # if killed while stopped (music paused), process will not terminate correctly. 10 | # restart the stopped process to terminate it: 11 | [[ "$(ps -ostate= -C $music_player)" == "T" ]] && pkill -CONT "$music_player" 12 | -------------------------------------------------------------------------------- /scriptmodules/supplementary/bgm123/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/eae7da37bc8582f0406cf39c6f07c39c03a0340d/scriptmodules/supplementary/bgm123/icon.png -------------------------------------------------------------------------------- /scriptmodules/supplementary/chromium.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="chromium" 14 | rp_module_desc="chromium - Open Source Web Browser" 15 | rp_module_licence="MIT https://raw.githubusercontent.com/chromium/chromium/trunk/LICENSE" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86 !rpi5" 18 | 19 | function depends_chromium() { 20 | getDepends git omxplayer libgnome-keyring-common libgnome-keyring0 libnspr4 libnss3 xdg-utils matchbox xorg gconf-service libgconf-2-4 21 | } 22 | 23 | function install_bin_chromium() { 24 | aptInstall chromium-browser rpi-chromium-mods 25 | } 26 | 27 | function configure_chromium() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/ports/$md_id" 31 | 32 | cat >"$md_inst/chromium.sh" << _EOF_ 33 | #!/bin/bash 34 | xset -dpms s off s noblank 35 | matchbox-window-manager -use_titlebar no & 36 | /usr/bin/chromium-browser "\$@" 37 | _EOF_ 38 | chmod +x "$md_inst/chromium.sh" 39 | 40 | addPort "$md_id" "chromium" "Chromium - Open Source Web Browser" "XINIT: $md_inst/chromium.sh %ROM%" 41 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 42 | } 43 | -------------------------------------------------------------------------------- /scriptmodules/supplementary/epiphany.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="epiphany" 14 | rp_module_desc="epiphany lightweight web browser" 15 | rp_module_licence="https://github.com/GNOME/epiphany" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_epiphany() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_epiphany() { 24 | aptInstall epiphany-browser 25 | } 26 | 27 | function configure_epiphany() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/ports/$md_id" 31 | cat >"$md_inst/epiphany.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/bin/epiphany-browser +set in_tty 0 36 | _EOF_ 37 | chmod +x "$md_inst/epiphany.sh" 38 | 39 | addPort "$md_id" "epiphany" "Epiphany Lightweight Web Browser" "XINIT: $md_inst/epiphany.sh" 40 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 41 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/filezilla.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="filezilla" 14 | rp_module_desc="A cross platform FTP application" 15 | rp_module_licence="https://filezilla-project.org" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_filezilla() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_filezilla() { 24 | aptInstall filezilla 25 | } 26 | 27 | function configure_filezilla() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/ports/$md_id" 31 | cat >"$md_inst/filezilla.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/bin/filezilla 36 | _EOF_ 37 | chmod +x "$md_inst/filezilla.sh" 38 | 39 | addPort "$md_id" "filezilla" "FileZilla cross platform FTP application" "XINIT: $md_inst/filezilla.sh" 40 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 41 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/firefox-esr.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="firefox-esr" 14 | rp_module_desc="FireFox-ESR - Formally known as IceWeasel, the Rebranded Firefox Web Browser" 15 | rp_module_licence="MPL2 https://www.mozilla.org/media/MPL/2.0/index.815ca599c9df.txt" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_firefox-esr() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_firefox-esr() { 24 | aptInstall firefox-esr 25 | } 26 | 27 | function configure_firefox-esr() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.mozilla" "$md_conf_root/ports/$md_id" 31 | cat >"$md_inst/firefox-esr.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/bin/firefox-esr 36 | _EOF_ 37 | chmod +x "$md_inst/firefox-esr.sh" 38 | 39 | addPort "$md_id" "firefox-esr" "FireFox-ESR - Firefox Web Browser" "XINIT: $md_inst/firefox-esr.sh" 40 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 41 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/fun-facts-splashscreens.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="fun-facts-splashscreens" 14 | rp_module_desc="A tool for RetroPie to generate splashscreens with random video game related Fun Facts!." 15 | rp_module_help="Basics:" 16 | rp_module_help+="\n- Set splashscreen path" 17 | rp_module_help+="\n- Set text color" 18 | rp_module_help+="\n- Create a new Fun Facts! Splashscreen" 19 | rp_module_help+="\n- Apply Fun Facts! Splashscreen" 20 | rp_module_help+="\n\nExtras:" 21 | rp_module_help+="\n- Set 'Enable at boot' to create a new Fun Facts! Splashscreen automatically at each system boot." 22 | rp_module_help+="\n\nMore info at https://github.com/hiulit/RetroPie-Fun-Facts-Splashscreens" 23 | rp_module_section="exp" 24 | rp_module_flags="noinstclean !x86 !osmc !xbian !mali !kms !rpi5" 25 | 26 | function depends_fun-facts-splashscreens() { 27 | getDepends "imagemagick" 28 | } 29 | 30 | function sources_fun-facts-splashscreens() { 31 | gitPullOrClone "$md_build" "https://github.com/hiulit/RetroPie-Fun-Facts-Splashscreens.git" 32 | } 33 | 34 | function install_fun-facts-splashscreens() { 35 | md_ret_files=( 36 | 'fun-facts-splashscreens.sh' 37 | 'fun-facts.txt' 38 | 'fun-facts-splashscreens-settings.cfg' 39 | 'retropie-default.png' 40 | ) 41 | } 42 | 43 | function gui_fun-facts-splashscreens() { 44 | bash "$md_inst/fun-facts-splashscreens.sh" --gui 45 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/golang-1.17.sh: -------------------------------------------------------------------------------- 1 | # This file is part of The RetroPie Project 2 | # 3 | # The RetroPie Project is the legal property of its developers, whose names are 4 | # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. 5 | # 6 | # See the LICENSE.md file at the top-level directory of this distribution and 7 | # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md 8 | # 9 | 10 | rp_module_id="golang-1.17" 11 | rp_module_desc="Golang v1.17 binary install" 12 | rp_module_licence="BSD https://golang.org/LICENSE" 13 | rp_module_section="depends" 14 | rp_module_flags="noinstclean" 15 | 16 | function _get_goroot_golang-1.17() { 17 | echo "$rootdir/supplementary/golang-1.17" 18 | } 19 | 20 | function install_bin_golang-1.17() { 21 | local version 22 | if [[ -e "$md_inst/bin/go" ]]; then 23 | local version=$(GOROOT="$md_inst" "$md_inst/bin/go" version | sed 's/.*\(go1[^ ]*\).*/\1/') 24 | fi 25 | printMsgs "console" "Current Go version: $version" 26 | if [[ ! "${version}" < "go1.17" ]]; then 27 | return 0 28 | fi 29 | 30 | rm -rf "$md_inst" 31 | mkdir -p "$md_inst" 32 | local arch="armv6l" 33 | if isPlatform "x86"; then 34 | if isPlatform "64bit"; then 35 | arch="amd64" 36 | else 37 | arch="386" 38 | fi 39 | fi 40 | printMsgs "console" "Downloading go1.17.linux-$arch.tar.gz" 41 | downloadAndExtract "https://storage.googleapis.com/golang/go1.17.linux-$arch.tar.gz" "$md_inst" --strip-components 1 42 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/gparted.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="gparted" 14 | rp_module_desc="partition editing application" 15 | rp_module_licence="https://gparted.org" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_gparted() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_gparted() { 24 | aptInstall gparted 25 | } 26 | 27 | function configure_gparted() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/ports/$md_id" 31 | cat >"$md_inst/gparted.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | sudo /usr/sbin/gpartedbin 36 | _EOF_ 37 | chmod +x "$md_inst/gparted.sh" 38 | 39 | addPort "$md_id" "gparted" "Gparted partition editing application" "XINIT: $md_inst/gparted.sh" 40 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 41 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/kodi-extra.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="kodi-extra" 14 | rp_module_desc="Kodi - Open source home theatre software" 15 | rp_module_licence="GPL2 https://raw.githubusercontent.com/xbmc/xbmc/master/LICENSE.GPL" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali" 18 | 19 | function depends_kodi-extra() { 20 | if isPlatform "rpi"; then 21 | if [[ "$__depends_mode" == "install" ]]; then 22 | # Remove the old pipplware repository 23 | rm -f /etc/apt/sources.list.d/mene.list 24 | # Use the official Kodi repository 25 | echo "deb http://mirrors.kodi.tv/debian bookworm main" >/etc/apt/sources.list.d/kodi.list 26 | wget -qO - http://mirrors.kodi.tv/debian/repo.gpg.key | apt-key add - >/dev/null 27 | else 28 | rm -f /etc/apt/sources.list.d/kodi.list 29 | apt-key del 4096R/AC8F3A7D >/dev/null 30 | fi 31 | fi 32 | } 33 | 34 | function install_bin_kodi-extra() { 35 | aptInstall kodi kodi-peripheral-joystick 36 | } 37 | 38 | function remove_kodi-extra() { 39 | aptRemove kodi kodi-peripheral-joystick 40 | rm -f /etc/apt/sources.list.d/kodi.list 41 | } 42 | 43 | function configure_kodi-extra() { 44 | echo 'SUBSYSTEM=="input", GROUP="input", MODE="0660"' > /etc/udev/rules.d/99-input.rules 45 | 46 | mkRomDir "kodi" 47 | 48 | cat > "$romdir/kodi/Kodi.sh" << _EOF_ 49 | #!/bin/bash 50 | /opt/retropie/supplementary/runcommand/runcommand.sh 0 "kodi-standalone" "kodi" 51 | _EOF_ 52 | 53 | chmod +x "$romdir/kodi/Kodi.sh" 54 | 55 | setESSystem 'Kodi' 'kodi' '~/RetroPie/roms/kodi' '.sh .SH' '%ROM%' 'pc' 'kodi' 56 | } 57 | -------------------------------------------------------------------------------- /scriptmodules/supplementary/kweb.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="kweb" 14 | rp_module_desc="kweb - Minimal Kiosk Web Browser" 15 | rp_module_licence="GPL3 https://raw.githubusercontent.com/ekapujiw2002/kweb/master/COPYING" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86 !rpi5" 18 | 19 | function depends_kweb() { 20 | getDepends evince vlc tint2 lxterminal uget xterm xorg 21 | } 22 | 23 | function sources_kweb() { 24 | wget -O- -q http://steinerdatenbank.de/software/kweb-1.7.9.8.tar.gz | tar -zxv 25 | git clone git://github.com/rg3/youtube-dl youtube-dl 26 | } 27 | 28 | function install_kweb() { 29 | cd kweb-1.7.9.8 30 | ./debinstall 31 | cd .. 32 | cp -R youtube-dl/ "$md_inst" 33 | ln -s "$md_inst/youtube-dl/youtube_dl/__main__.py" /usr/bin/youtube-dl 34 | chmod 755 /usr/bin/youtube-dl 35 | } 36 | 37 | function configure_kweb() { 38 | mkRomDir "ports" 39 | addPort "$md_id" "kweb" "kweb - Minimal Kiosk Web Browser" "XINIT: kweb" 40 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 41 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/librecad.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="librecad" 14 | rp_module_desc="librecad open-source 2d cad" 15 | rp_module_licence="https://www.audacityteam.org" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_librecad() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_librecad() { 24 | aptInstall librecad 25 | } 26 | 27 | function configure_librecad() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/ports/$md_id" 31 | cat >"$md_inst/librecad.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/bin/librecad 36 | _EOF_ 37 | chmod +x "$md_inst/librecad.sh" 38 | 39 | addPort "$md_id" "librecad" "LibreCAD - Free Open Source 2D CAD" "XINIT: $md_inst/librecad.sh" 40 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 41 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/libreoffice.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="libreoffice" 14 | rp_module_desc="Open source office suite" 15 | rp_module_licence="https://www.libreoffice.org" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_libreoffice() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_libreoffice() { 24 | aptInstall libreoffice 25 | } 26 | 27 | function configure_libreoffice() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/ports/$md_id" 31 | cat >"$md_inst/libreoffice.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/bin/libreoffice 36 | _EOF_ 37 | chmod +x "$md_inst/libreoffice.sh" 38 | 39 | addPort "$md_id" "libreoffice" "LibreOffice Open Source office suite" "XINIT: $md_inst/libreoffice.sh" 40 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 41 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/mixxx.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="mixxx" 14 | rp_module_desc="Mixxx DJ Mixing Software App" 15 | rp_module_licence="www.mixxx.org" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_mixxx() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_mixxx() { 24 | aptInstall mixxx 25 | } 26 | 27 | function configure_mixxx() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.mixxx" "$md_conf_root/ports/$md_id" 31 | cat >"$md_inst/mixxx.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/bin/mixxx 36 | _EOF_ 37 | chmod +x "$md_inst/mixxx.sh" 38 | 39 | addPort "$md_id" "mixxx" "Mixxx - Free DJ Mixing Software App" "XINIT: $md_inst/mixxx.sh" 40 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 41 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/mpv.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="mpv" 14 | rp_module_desc="mpv - Video Player" 15 | rp_module_help="This will set up TV Shows and Movies as systems on your wheel. You can throw your tv shows into $romdir/tvshows and your movies into $romdir/movies or even mount your network drives to play remotely.\n\nROM Extensions: .avi .m4v .mkv .mov .mp4 .mpg .wmv" 16 | rp_module_licence="GPL2 https://raw.githubusercontent.com/mpv-player/mpv/master/Copyright" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali !x86" 19 | 20 | function install_bin_mpv() { 21 | aptInstall mpv 22 | } 23 | 24 | function configure_mpv() { 25 | mkRomDir "movies" 26 | mkRomDir "tvshows" 27 | addEmulator 1 "$md_id" "movies" "/usr/bin/mpv %ROM%" 28 | addEmulator 1 "$md_id" "tvshows" "/usr/bin/mpv %ROM%" 29 | addSystem "movies" "Movies" ".avi .m4v .mkv .mov .mp4 .mpg .wmv .AVI .M4V .MKV .MOV .MP4 .MPG .WMV" 30 | addSystem "tvshows" "TVshows" ".avi .m4v .mkv .mov .mp4 .mpg .wmv .AVI .M4V .MKV .MOV .MP4 .MPG .WMV" 31 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/mypaint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="mypaint" 14 | rp_module_desc="mypaint easy-to-use painting program" 15 | rp_module_licence="mypaint.org" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86 !rpi5" 18 | 19 | function depends_mypaint() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_mypaint() { 24 | aptInstall mypaint 25 | } 26 | 27 | function configure_mypaint() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/ports/$md_id" 31 | cat >"$md_inst/mypaint.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/bin/mypaint +set in_tty 0 36 | _EOF_ 37 | chmod +x "$md_inst/mypaint.sh" 38 | 39 | addPort "$md_id" "mypaint" "MyPaint easy-to-use painting program" "XINIT: $md_inst/mypaint.sh" 40 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 41 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/omxplayer.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="omxplayer" 14 | rp_module_desc="omxplayer - Video Player" 15 | rp_module_help="Put your videos into $" 16 | rp_module_licence="GPL2 https://www.gnu.org/licenses/gpl-2.0.txt" 17 | rp_module_section="exp" 18 | rp_module_flags="!mali !x86 !rpi5" 19 | 20 | function install_bin_omxplayer() { 21 | aptInstall omxplayer 22 | } 23 | function configure_omxplayer() { 24 | mkRomDir "videos" 25 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/ports/$md_id" 26 | addEmulator 1 "$md_id" "videos" "omxplayer %ROM%" 27 | addSystem "videos" "Videos" ".mp4 .MP4 .mov .MOV .avi .AVI .mkv .MKV" 28 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/putty.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="putty" 14 | rp_module_desc="SSH and telnet client" 15 | rp_module_licence="https://www.putty.org" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_putty() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_putty() { 24 | aptInstall putty 25 | } 26 | 27 | function configure_putty() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/ports/$md_id" 31 | cat >"$md_inst/putty.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/bin/putty 36 | _EOF_ 37 | chmod +x "$md_inst/putty.sh" 38 | 39 | addPort "$md_id" "putty" "Putty SSH and telnet client" "XINIT: $md_inst/putty.sh" 40 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 41 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/thunderbird.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="thunderbird" 14 | rp_module_desc="Thunderbird — Software made to make email easier" 15 | rp_module_licence="MPL2 https://www.mozilla.org/media/MPL/2.0/index.815ca599c9df.txt" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_thunderbird() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_thunderbird() { 24 | aptInstall thunderbird 25 | } 26 | 27 | function configure_thunderbird() { 28 | mkRomDir "ports" 29 | mkdir -p "$md_inst" 30 | moveConfigDir "$home/.thunderbird" "$md_conf_root/ports/$md_id" 31 | cat >"$md_inst/thunderbird.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | /usr/bin/thunderbird 36 | _EOF_ 37 | chmod +x "$md_inst/thunderbird.sh" 38 | 39 | addPort "$md_id" "thunderbird" "Mozilla - Thunderbird - Email Client" "XINIT: $md_inst/thunderbird.sh" 40 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 41 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/vlc.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="vlc" 14 | rp_module_desc="VLC media player" 15 | rp_module_licence="https://www.videolan.org" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_vlc() { 20 | getDepends xorg matchbox 21 | } 22 | 23 | function install_bin_vlc() { 24 | aptInstall vlc 25 | } 26 | 27 | function configure_vlc() { 28 | mkRomDir "ports" 29 | mkRomDir "ports\vlc" 30 | mkdir -p "$md_inst" 31 | moveConfigDir "$home/.config/$md_id" "$md_conf_root/ports/$md_id" 32 | cat >"$md_inst/vlc.sh" << _EOF_ 33 | #!/bin/bash 34 | xset -dpms s off s noblank 35 | matchbox-window-manager -use_titlebar no & 36 | /usr/bin/vlc 37 | _EOF_ 38 | chmod +x "$md_inst/vlc.sh" 39 | 40 | addPort "$md_id" "vlc" "VLC media player" "XINIT: $md_inst/vlc.sh" 41 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 42 | } -------------------------------------------------------------------------------- /scriptmodules/supplementary/weechat.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This file is part of RetroPie-Extra, a supplement to RetroPie. 4 | # For more information, please visit: 5 | # 6 | # https://github.com/RetroPie/RetroPie-Setup 7 | # https://github.com/Exarkuniv/RetroPie-Extra 8 | # 9 | # See the LICENSE file distributed with this source and at 10 | # https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE 11 | # 12 | 13 | rp_module_id="weechat" 14 | rp_module_desc="Weechat - Console IRC Client" 15 | rp_module_licence="GPL3 https://raw.githubusercontent.com/weechat/weechat/master/COPYING" 16 | rp_module_section="exp" 17 | rp_module_flags="!mali !x86" 18 | 19 | function depends_weechat() { 20 | getDepends xdg-utils matchbox xorg 21 | } 22 | 23 | function install_bin_weechat() { 24 | aptInstall weechat 25 | } 26 | 27 | function configure_weechat() { 28 | mkRomDir "ports" 29 | moveConfigDir "$home/.weechat" "$md_conf_root/ports/$md_id" 30 | 31 | cat >"$md_inst/weechat.sh" << _EOF_ 32 | #!/bin/bash 33 | xset -dpms s off s noblank 34 | matchbox-window-manager -use_titlebar no & 35 | xterm -rv /usr/bin/weechat 36 | _EOF_ 37 | chmod +x "$md_inst/weechat.sh" 38 | 39 | addPort "$md_id" "weechat" "Weechat - Console IRC Client" "XINIT: $md_inst/weechat.sh" 40 | mv "$md_conf_root/$md_id" "$md_conf_root/ports" 41 | } -------------------------------------------------------------------------------- /update-extras.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ./install-extras.sh --update 4 | --------------------------------------------------------------------------------