Skip to content

Commit 7d9e830

Browse files
committed
Create lr-vircon32.sh
add lr-vircon32 from folly
1 parent caae259 commit 7d9e830

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
19+
function sources_lr-vircon32() {
20+
gitPullOrClone
21+
}
22+
23+
function build_lr-vircon32() {
24+
cmake .
25+
make
26+
md_ret_require="$md_build/vircon32_libretro.so"
27+
}
28+
29+
function install_lr-vircon32() {
30+
md_ret_files=(
31+
'vircon32_libretro.so'
32+
'README.md'
33+
'LICENSE.md'
34+
)
35+
}
36+
37+
function configure_lr-vircon32() {
38+
mkRomDir "vircon32"
39+
40+
addEmulator 1 "$md_id" "vircon32" "$md_inst/vircon32_libretro.so"
41+
addSystem "vircon32" "Vircon32 game console" ".v32 .zip .V32 .ZIP"
42+
43+
[[ "$md_mode" == "remove" ]] && return
44+
}

0 commit comments

Comments
 (0)