mirror of
https://github.com/RetroPie/RetroPie-Setup.git
synced 2024-06-02 19:48:01 -04:00
b0ceb14f12
DirkSimple is a laserdisc game player that implements specific titles from scratch, so it uses an arcade game's video content but not its roms. It takes game data in Ogg Theora format, so the "rom" that the core needs is a single .ogv file per game.
56 lines
1.6 KiB
Bash
56 lines
1.6 KiB
Bash
#!/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="lr-dirksimple"
|
|
rp_module_desc="laserdisc emu - DirkSimple"
|
|
rp_module_help="ROM Extensions: .ogv .dirksimple\n\nCopy your laserdisc movies in Ogg Theora format to $romdir/daphne"
|
|
rp_module_licence="zlib https://raw.githubusercontent.com/icculus/DirkSimple/main/LICENSE.txt"
|
|
rp_module_repo="git https://github.com/icculus/DirkSimple.git main"
|
|
rp_module_section="exp"
|
|
|
|
function depends_lr-dirksimple() {
|
|
getDepends cmake
|
|
}
|
|
|
|
function sources_lr-dirksimple() {
|
|
gitPullOrClone
|
|
}
|
|
|
|
function build_lr-dirksimple() {
|
|
rm -fr build && mkdir build
|
|
cd build
|
|
cmake -DDIRKSIMPLE_LIBRETRO=ON -DDIRKSIMPLE_SDL=OFF ..
|
|
make dirksimple_libretro
|
|
md_ret_require="$md_build/build/dirksimple_libretro.so"
|
|
}
|
|
|
|
function install_lr-dirksimple() {
|
|
md_ret_files=(
|
|
'build/dirksimple_libretro.so'
|
|
'data'
|
|
'LICENSE.txt'
|
|
)
|
|
}
|
|
|
|
function configure_lr-dirksimple() {
|
|
mkRomDir "daphne"
|
|
defaultRAConfig "daphne"
|
|
|
|
rm -rf "$biosdir/DirkSimple"
|
|
mkUserDir "$biosdir/DirkSimple"
|
|
cp -rf "$md_inst/data" "$biosdir/DirkSimple/"
|
|
chown -R $user:$user "$biosdir/DirkSimple"
|
|
|
|
addEmulator 0 "$md_id" "daphne" "$md_inst/dirksimple_libretro.so"
|
|
addSystem "daphne"
|
|
}
|
|
|