Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- # This file is part of The RetroPie Project
- #
- # The RetroPie Project is the legal property of its developers, whose names are
- # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
- #
- # See the LICENSE.md file at the top-level directory of this distribution and
- # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
- #
- rp_module_id="easyrpgplayer"
- rp_module_desc="EasyRPG Player - RPG Maker 2000 and 2003 Interpreter"
- rp_module_licence="GPL3 https://raw.githubusercontent.com/EasyRPG/Player/master/COPYING"
- rp_module_help="You need to unzip your RPG Maker games into subdirectories in $romdir/ports/$md_id/games. Obtain the translated RPG Maker 2000 RTP by Don Miguel and extract it to $romdir/ports/$md_id/data/rtp2000. Obtain the translated RPG Maker 2003 RTP by Advocate and extract it to $romdir/ports/$md_id/data/rtp2003/."
- rp_module_section="exp"
- rp_module_flags="!aarch64"
- function depends_easyrpgplayer() {
- getDepends libsdl2-mixer-dev libpixman-1-dev libfreetype6-dev libspeexdsp-dev libxmp-dev libwildmidi-dev libopusfile-dev libvorbis-dev libharfbuzz-dev libmpg123-dev
- }
- function sources_easyrpgplayer() {
- # wget https://www.cairographics.org/releases/pixman-0.40.0.tar.gz
- wget https://easyrpg.org/downloads/player/0.6.2/liblcf-0.6.2.tar.gz
- wget https://easyrpg.org/downloads/player/0.6.2/easyrpg-player-0.6.2.tar.gz
- }
- function build_easyrpgplayer() {
- # tar -xvf pixman-0.40.0.tar.gz
- # rm pixman-0.40.0.tar.gz
- # mv pixman-0.40.0 pixman
- # cd pixman
- # ./configure --prefix "$md_inst"
- # make
- # make install
- # cd ..
- tar -xvf liblcf-0.6.2.tar.gz
- rm liblcf-0.6.2.tar.gz
- mv liblcf-0.6.2 liblcf
- cd liblcf
- ./configure --prefix "$md_inst"
- make
- make install
- cd ..
- tar -xvf easyrpg-player-0.6.2.tar.gz
- rm easyrpg-player-0.6.2.tar.gz
- mv easyrpg-player-0.6.2 player
- cd player
- ./configure --prefix "$md_inst"
- make
- md_ret_require="$md_build/player/easyrpg-player"
- }
- function install_easyrpgplayer() {
- cd "$md_build/player"
- make install
- }
- function configure_easyrpgplayer() {
- mkRomDir "ports"
- mkRomDir "ports/$md_id"
- mkRomDir "ports/$md_id/data/"
- mkRomDir "ports/$md_id/data/rtp2000"
- mkRomDir "ports/$md_id/data/rtp2003"
- mkRomDir "ports/$md_id/games/"
- addPort "$md_id" "easyrpgplayer" "EasyRPG Player - RPG Maker 2000 and 2003 Interpreter" "cd $romdir/ports/$md_id/games/; RPG2K_RTP_PATH=$romdir/ports/$md_id/data/rtp2000/ RPG2K3_RTP_PATH=$romdir/ports/$md_id/data/rtp2003/ $md_inst/bin/easyrpg-player"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement