Merge pull request #861 from fewtarius/dev

Additional cleanup.
This commit is contained in:
fewtarius 2022-12-30 09:23:21 -05:00 committed by GitHub
commit 289d7adf61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 2981 additions and 3603 deletions

View file

@ -1 +0,0 @@
RG351P/

View file

@ -0,0 +1,50 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
PKG_NAME="mupen64plussa-audio-sdl"
PKG_VERSION="8f372a02b0d3e660feba1d727b47a1eb2664404c"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/mupen64plus/mupen64plus-audio-sdl"
PKG_URL="https://github.com/mupen64plus/mupen64plus-audio-sdl/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libpng SDL2 SDL2_net zlib freetype nasm:host mupen64plussa-core"
PKG_SHORTDESC="mupen64plus-audio-sdl"
PKG_LONGDESC="Mupen64Plus Standalone Audio SDL"
PKG_TOOLCHAIN="manual"
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_MAKE_OPTS_TARGET+="USE_GLES=1"
fi
make_target() {
case ${ARCH} in
arm|aarch64)
export HOST_CPU=aarch64
export USE_GLES=1
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
;;
esac
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"
export SDL_LDLIBS="-lSDL2_net -lSDL2"
export CROSS_COMPILE="${TARGET_PREFIX}"
export V=1
export VC=0
make -C projects/unix clean
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
}
makeinstall_target() {
UPREFIX=${INSTALL}/usr/local
ULIBDIR=${UPREFIX}/lib
UPLUGINDIR=${ULIBDIR}/mupen64plus
mkdir -p ${UPLUGINDIR}
cp ${PKG_BUILD}/projects/unix/mupen64plus-audio-sdl.so ${UPLUGINDIR}
#$STRIP ${UPLUGINDIR}/mupen64plus-audio-sdl.so
chmod 0644 ${UPLUGINDIR}/mupen64plus-audio-sdl.so
}

View file

@ -0,0 +1,112 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2021-present 351ELEC (https://github.com/351ELEC)
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
. /etc/profile
#Emulation Station Features
CORE="$1"
GAME=$(echo "${2}"| sed "s#^/.*/##")
ASPECT=$(get_setting game_aspect_ratio n64 "${GAME}")
IRES=$(get_setting internal_resolution n64 "${GAME}")
RSP=$(get_setting rsp_plugin n64 "${GAME}")
FPS=$(get_setting show_fps n64 "${GAME}")
PAK=$(get_setting controller_pak n64 "${GAME}")
CON=$(get_setting input_configuration n64 "${GAME}")
SHARE="/usr/local/share/mupen64plus"
M64PCONF="/storage/.config/game/configs/mupen64plussa/mupen64plus.cfg"
TMP="/tmp/mupen64plussa"
GAMEDATA="/storage/.config/game/configs/mupen64plussa"
RESOLUTION=$(batocera-resolution "currentResolution")
RESA=${RESOLUTION%x*}
RESB=${RESOLUTION#*x}
SCREENWIDTH=$((RESA>=RESB ? RESA : RESB))
SCREENHEIGHT=$((RESA<RESB ? RESA : RESB))
if [[ ! -f "$GAMEDATA/custominput.ini" ]]; then
mkdir -p $GAMEDATA
cp $SHARE/default.ini $GAMEDATA/custominput.ini
fi
if [[ ! -f "$M64PCONF" ]]; then
mkdir -p /storage/.config/game/configs/mupen64plussa
cp $SHARE/mupen64plus.cfg $M64PCONF
fi
rm -rf $TMP
mkdir -p $TMP
cp $M64PCONF $TMP
SET_PARAMS="--set Core[SharedDataPath]=$TMP --set Video-Rice[ResolutionWidth]=$SCREENWIDTH"
#Aspect Ratio
if [ "${ASPECT}" = "fullscreen" ]; then
# TODO: Set aspect ratio to fullscreen
SET_PARAMS="$SET_PARAMS --set Video-General[ScreenWidth]=$SCREENWIDTH --set Video-General[ScreenHeight]=$SCREENHEIGHT --set Video-Glide64mk2[aspect]=2 --set Video-GLideN64[AspectRatio]=3"
else
# TODO: Set aspect ratio to 4:3
if [ "{$CORE}" = "m64p_rice" ]; then
GAMEWIDTH=$(((SCREENHEIGHT * 4) / 3))
SET_PARAMS="$SET_PARAMS --set Video-General[ScreenWidth]=$GAMEWIDTH --set Video-General[ScreenHeight]=$SCREENHEIGHT"
else
SET_PARAMS="$SET_PARAMS --set Video-General[ScreenWidth]=$SCREENWIDTH --set Video-General[ScreenHeight]=$SCREENHEIGHT --set Video-Glide64mk2[aspect]=0 --set Video-GLideN64[AspectRatio]=1"
fi
fi
# Native Res Factor (Upscaling)
if [ "{$CORE}" = "m64p_gliden64" ]; then
sed -i "/UseNativeResolutionFactor/c\UseNativeResolutionFactor = $IRES" /tmp/mupen64plussa/mupen64plus.cfg
fi
# Input Config
if [ "${CON}" = "zlswap" ]; then
cp $SHARE/zlswap.ini $TMP/InputAutoCfg.ini
elif [ "${CON}" = "custom" ]; then
cp $GAMEDATA/custominput.ini $TMP/InputAutoCfg.ini
else
# Default
cp $SHARE/default.ini $TMP/InputAutoCfg.ini
fi
# Controller Pak
sed -i "0,/plugin =/c\plugin = $PAK" /tmp/mupen64plussa/mupen64plus.cfg
# Show FPS
# Get configuration from system.cfg
if [ "${FPS}" = "true" ]; then
sed -i '/ShowFPS = (False|True)/c\ShowFPS = True' /tmp/mupen64plussa/mupen64plus.cfg
sed -i '/ShowFPS = [0,1]/c\ShowFPS = 1' /tmp/mupen64plussa/mupen64plus.cfg
sed -i '/show_fps/c\show_fps = 1' /tmp/mupen64plussa/mupen64plus.cfg
else
sed -i '/ShowFPS = (False|True)/c\ShowFPS = False' /tmp/mupen64plussa/mupen64plus.cfg
sed -i '/ShowFPS = [0,1]/c\ShowFPS = 0' /tmp/mupen64plussa/mupen64plus.cfg
sed -i '/show_fps/c\show_fps = 0' /tmp/mupen64plussa/mupen64plus.cfg
fi
# RSP
if [ "${RSP}" = "hle" ]; then
SET_PARAMS="$SET_PARAMS --rsp mupen64plus-rsp-hle.so"
else
SET_PARAMS="$SET_PARAMS --rsp mupen64plus-rsp-cxd4.so"
fi
echo ${SET_PARAMS}
case $1 in
"m64p_gliden64")
/usr/local/bin/mupen64plus --configdir $TMP --gfx mupen64plus-video-GLideN64 $SET_PARAMS "$2"
;;
"m64p_gl64mk2")
/usr/local/bin/mupen64plus --configdir $TMP --gfx mupen64plus-video-glide64mk2 $SET_PARAMS "$2"
;;
"m64p_rice")
/usr/local/bin/mupen64plus --configdir $TMP --gfx mupen64plus-video-rice $SET_PARAMS "$2"
;;
*)
/usr/local/bin/mupen64plus --configdir $TMP --gfx mupen64plus-video-rice $SET_PARAMS "$2"
;;
esac

View file

@ -0,0 +1,64 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
PKG_NAME="mupen64plussa-core"
PKG_VERSION="ba9a52483052248b67c324e3fd0e073b807bbea4"
PKG_SHA256=""
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/mupen64plus/mupen64plus-core"
PKG_URL="https://github.com/mupen64plus/mupen64plus-core/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain boost libpng SDL2 SDL2_net zlib freetype nasm:host"
PKG_SHORTDESC="mupen64plus"
PKG_LONGDESC="Mupen64Plus Standalone"
PKG_TOOLCHAIN="manual"
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
make_target() {
case ${ARCH} in
arm|aarch64)
export HOST_CPU=aarch64
export VC=0
export CROSS_COMPILE="${TARGET_PREFIX}"
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
export USE_GLES=1
;;
esac
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"
export SDL_LDLIBS="-lSDL2_net -lSDL2"
export V=1
export OSD=0
make -C projects/unix clean
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/local/lib
cp ${PKG_BUILD}/projects/unix/libmupen64plus.so.2.0.0 ${INSTALL}/usr/local/lib
chmod 644 ${INSTALL}/usr/local/lib/libmupen64plus.so.2.0.0
cp ${PKG_BUILD}/projects/unix/libmupen64plus.so.2 ${INSTALL}/usr/local/lib
mkdir -p ${INSTALL}/usr/local/share/mupen64plus
cp ${PKG_BUILD}/data/* ${INSTALL}/usr/local/share/mupen64plus
chmod 0644 ${INSTALL}/usr/local/share/mupen64plus/*
mkdir -p ${INSTALL}/usr/local/include/mupen64plus
cp ${PKG_BUILD}/src/api/m64p_*.h ${INSTALL}/usr/local/include/mupen64plus
chmod 0644 ${INSTALL}/usr/local/include/mupen64plus/*
if [ -e "${PKG_DIR}/config/${DEVICE}/mupen64plus.cfg" ]
then
cp ${PKG_DIR}/config/${DEVICE}/* ${INSTALL}/usr/local/share/mupen64plus/
chmod 644 ${INSTALL}/usr/local/share/mupen64plus/mupen64plus.cfg
fi
mkdir -p ${INSTALL}/usr/bin
cp ${PKG_DIR}/m64p.sh ${INSTALL}/usr/bin
chmod 755 ${INSTALL}/usr/bin/m64p.sh
}

View file

@ -0,0 +1,25 @@
; RG552 Gamepad - default.ini
[retrogame_joypad]
plugged = True
mouse = False
AnalogDeadzone = 0,0
AnalogPeak = 32768,32768
DPad R = button(16)
DPad L = button(15)
DPad D = button(14)
DPad U = button(13)
Start = button(9)
Z Trig = button(6)
B Button = button(3)
A Button = button(0)
C Button R = axis(2+)
C Button L = axis(2-)
C Button D = axis(3+)
C Button U = axis(3-)
R Trig = button(5)
L Trig = button(4)
Mempak switch =
Rumblepak switch =
# Analog axis configuration mappings
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)

View file

@ -0,0 +1,25 @@
; RG552 Gamepad - zlswap.ini
[retrogame_joypad]
plugged = True
mouse = False
AnalogDeadzone = 0,0
AnalogPeak = 32768,32768
DPad R = button(16)
DPad L = button(15)
DPad D = button(14)
DPad U = button(13)
Start = button(9)
Z Trig = button(4)
B Button = button(3)
A Button = button(0)
C Button R = axis(2+)
C Button L = axis(2-)
C Button D = axis(3+)
C Button U = axis(3-)
R Trig = button(5)
L Trig = button(6)
Mempak switch =
Rumblepak switch =
# Analog axis configuration mappings
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)

View file

@ -0,0 +1,52 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
PKG_NAME="mupen64plussa-input-sdl"
PKG_VERSION="aa181483bfcac8901184f8c7590e4246eba5508b"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/mupen64plus/mupen64plus-input-sdl"
PKG_URL="https://github.com/mupen64plus/mupen64plus-input-sdl/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libpng SDL2 SDL2_net zlib freetype nasm:host mupen64plussa-core"
PKG_SHORTDESC="mupen64plus-input-sdl"
PKG_LONGDESC="Mupen64Plus Standalone Input SDL"
PKG_TOOLCHAIN="manual"
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_MAKE_OPTS_TARGET+="USE_GLES=1"
fi
make_target() {
case ${ARCH} in
arm|aarch64)
export HOST_CPU=aarch64
export USE_GLES=1
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
;;
esac
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"
export SDL_LDLIBS="-lSDL2_net -lSDL2"
export CROSS_COMPILE="${TARGET_PREFIX}"
export V=1
export VC=0
make -C projects/unix clean
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
}
makeinstall_target() {
UPREFIX=${INSTALL}/usr/local
ULIBDIR=${UPREFIX}/lib
USHAREDIR=${UPREFIX}/share/mupen64plus
UPLUGINDIR=${ULIBDIR}/mupen64plus
mkdir -p ${UPLUGINDIR}
cp ${PKG_BUILD}/projects/unix/mupen64plus-input-sdl.so ${UPLUGINDIR}
#$STRIP ${UPLUGINDIR}/mupen64plus-input-sdl.so
chmod 0644 ${UPLUGINDIR}/mupen64plus-input-sdl.so
mkdir -p ${USHAREDIR}
cp ${PKG_DIR}/config/${DEVICE}/* ${USHAREDIR}
}

View file

@ -0,0 +1,53 @@
PKG_NAME="mupen64plussa-rsp-cxd4"
PKG_VERSION="39f79201baa15890c4cbae92f2215a634cc3ee6d"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/mupen64plus/mupen64plus-rsp-cxd4"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain libpng SDL2 SDL2_net zlib freetype nasm:host mupen64plussa-core"
PKG_SHORTDESC="mupen64plus-rsp-cxd4"
PKG_LONGDESC="Mupen64Plus Standalone RSP CXD4"
PKG_TOOLCHAIN="manual"
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
if [ "${VULKAN_SUPPORT}" = "no" ]; then
PKG_MAKE_OPTS_TARGET+="HLEVIDEO=1"
else
PKG_MAKE_OPTS_TARGET+="HLEVIDEO=0"
fi
make_target() {
case ${ARCH} in
arm|aarch64)
export HOST_CPU=aarch64
export USE_GLES=1
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
CPPFLAGS="-DUSE_SSE2NEON"
;;
esac
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"
export SDL_LDLIBS="-lSDL2_net -lSDL2"
export CROSS_COMPILE="${TARGET_PREFIX}"
export V=1
export VC=0
make -C projects/unix clean
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
}
makeinstall_target() {
UPREFIX=${INSTALL}/usr/local
ULIBDIR=${UPREFIX}/lib
UPLUGINDIR=${ULIBDIR}/mupen64plus
mkdir -p ${UPLUGINDIR}
cp ${PKG_BUILD}/projects/unix/mupen64plus-rsp-cxd4.so ${UPLUGINDIR}
#$STRIP ${UPLUGINDIR}/mupen64plus-rsp-cxd4.so
chmod 0644 ${UPLUGINDIR}/mupen64plus-rsp-cxd4.so
}

View file

@ -0,0 +1,50 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
PKG_NAME="mupen64plussa-rsp-hle"
PKG_VERSION="ca917cec14942470630515e3dd7624cf4dc29154"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/mupen64plus/mupen64plus-rsp-hle"
PKG_URL="https://github.com/mupen64plus/mupen64plus-rsp-hle/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libpng SDL2 SDL2_net zlib freetype nasm:host mupen64plussa-core"
PKG_SHORTDESC="mupen64plus-rsp-hle"
PKG_LONGDESC="Mupen64Plus Standalone RSP HLE"
PKG_TOOLCHAIN="manual"
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_MAKE_OPTS_TARGET+="USE_GLES=1"
fi
make_target() {
case ${ARCH} in
arm|aarch64)
export HOST_CPU=aarch64
export USE_GLES=1
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
;;
esac
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"
export SDL_LDLIBS="-lSDL2_net -lSDL2"
export CROSS_COMPILE="${TARGET_PREFIX}"
export V=1
export VC=0
make -C projects/unix clean
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
}
makeinstall_target() {
UPREFIX=${INSTALL}/usr/local
ULIBDIR=${UPREFIX}/lib
UPLUGINDIR=${ULIBDIR}/mupen64plus
mkdir -p ${UPLUGINDIR}
cp ${PKG_BUILD}/projects/unix/mupen64plus-rsp-hle.so ${UPLUGINDIR}
#$STRIP ${UPLUGINDIR}/mupen64plus-rsp-hle.so
chmod 0644 ${UPLUGINDIR}/mupen64plus-rsp-hle.so
}

View file

@ -0,0 +1,65 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
PKG_NAME="mupen64plussa-ui-console"
PKG_VERSION="3ad5cbb56fcf4921ffae8c7b8ee52ea0ae82c044"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/mupen64plus/mupen64plus-ui-console"
PKG_URL="https://github.com/mupen64plus/mupen64plus-ui-console/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libpng SDL2 SDL2_net zlib freetype nasm:host mupen64plussa-core"
PKG_SHORTDESC="mupen64plus-ui-console"
PKG_LONGDESC="Mupen64Plus Standalone Console"
PKG_TOOLCHAIN="manual"
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_MAKE_OPTS_TARGET+="USE_GLES=1"
fi
make_target() {
case ${ARCH} in
arm|aarch64)
export HOST_CPU=aarch64
export USE_GLES=1
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
;;
esac
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"
export SDL_LDLIBS="-lSDL2_net -lSDL2"
export CROSS_COMPILE="${TARGET_PREFIX}"
export V=1
export VC=0
make -C projects/unix clean
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
}
makeinstall_target() {
UPREFIX=${INSTALL}/usr/local
ULIBDIR=${UPREFIX}/lib
UBINDIR=${UPREFIX}/bin
UMANDIR=${UPREFIX}/share/man
UAPPSDIR=${UPREFIX}/share/applications
UICONSDIR=${UPREFIX}/share/icons/hicolor
mkdir -p ${UBINDIR}
cp ${PKG_BUILD}/projects/unix/mupen64plus ${UBINDIR}
#$STRIP ${UBINDIR}/mupen64plus
chmod 0755 ${UBINDIR}/mupen64plus
mkdir -p ${UMANDIR}/man6
cp ${PKG_BUILD}/doc/mupen64plus.6 ${UMANDIR}/man6
chmod 0644 ${UMANDIR}/man6/mupen64plus.6
mkdir -p ${UAPPSDIR}
cp ${PKG_BUILD}/data/mupen64plus.desktop ${UAPPSDIR}
chmod 0644 ${UAPPSDIR}/mupen64plus.desktop
mkdir -p ${UICONSDIR}/48x48/apps
cp ${PKG_BUILD}/data/icons/48x48/apps/mupen64plus.png ${UICONSDIR}/48x48/apps
chmod 0644 ${UICONSDIR}/48x48/apps/mupen64plus.png
mkdir -p ${UICONSDIR}/scalable/apps
cp ${PKG_BUILD}/data/icons/scalable/apps/mupen64plus.svg ${UICONSDIR}/scalable/apps
chmod 0644 ${UICONSDIR}/scalable/apps/mupen64plus.svg
}

View file

@ -0,0 +1,54 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
PKG_NAME="mupen64plussa-video-glide64mk2"
PKG_VERSION="a07050d143dddff921180b081164d46aaef2eb29"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/mupen64plus/mupen64plus-video-glide64mk2"
PKG_URL="https://github.com/mupen64plus/mupen64plus-video-glide64mk2/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain boost libpng SDL2 SDL2_net zlib freetype nasm:host mupen64plussa-core"
PKG_SHORTDESC="mupen64plus-video-glide64mk2"
PKG_LONGDESC="Mupen64Plus Standalone Glide64 Video Driver"
PKG_TOOLCHAIN="manual"
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_MAKE_OPTS_TARGET+="USE_GLES=1"
fi
make_target() {
case ${ARCH} in
arm|aarch64)
export HOST_CPU=aarch64
export USE_GLES=1
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
;;
esac
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"
export SDL_LDLIBS="-lSDL2_net -lSDL2"
export CROSS_COMPILE="${TARGET_PREFIX}"
export V=1
export VC=0
make -C projects/unix clean
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
}
makeinstall_target() {
UPREFIX=${INSTALL}/usr/local
ULIBDIR=${UPREFIX}/lib
USHAREDIR=${UPREFIX}/share/mupen64plus
UPLUGINDIR=${ULIBDIR}/mupen64plus
mkdir -p ${UPLUGINDIR}
cp ${PKG_BUILD}/projects/unix/mupen64plus-video-glide64mk2.so ${UPLUGINDIR}
#$STRIP ${UPLUGINDIR}/mupen64plus-video-glide64mk2.so
chmod 0644 ${UPLUGINDIR}/mupen64plus-video-glide64mk2.so
mkdir -p ${USHAREDIR}
cp ${PKG_BUILD}/data/Glide64mk2.ini ${USHAREDIR}
chmod 0644 ${USHAREDIR}/Glide64mk2.ini
}

View file

@ -0,0 +1,56 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
PKG_NAME="mupen64plussa-video-gliden64"
PKG_VERSION="ff47414c2bd6e572872e9148b2f3e1dbc83e5fee"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/gonetz/GLideN64"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain boost libpng SDL2 SDL2_net zlib freetype nasm:host mupen64plussa-core"
PKG_SHORTDESC="mupen64plus-video-gliden64"
PKG_LONGDESC="Mupen64Plus Standalone GLide64 Video Driver"
PKG_TOOLCHAIN="manual"
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
make_target() {
case ${ARCH} in
arm|aarch64)
export HOST_CPU=aarch64
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
export USE_GLES=1
PKG_MAKE_OPTS_TARGET+="-DNOHQ=On -DCRC_ARMV8=On -DEGL=On -DNEON_OPT=On"
;;
esac
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"
export SDL_LDLIBS="-lSDL2_net -lSDL2"
export CROSS_COMPILE="${TARGET_PREFIX}"
export V=1
export VC=0
./src/getRevision.sh
cmake ${PKG_MAKE_OPTS_TARGET} -DMUPENPLUSAPI=On -DGLIDEN64_BUILD_TYPE=Release -DCMAKE_C_COMPILER="${CC}" -DCMAKE_CXX_COMPILER="${CXX}" -DCMAKE_C_FLAGS="${CFLAGS}" -DCMAKE_CXX_FLAGS="${CXXFLAGS} -pthread" -S src -B projects/cmake
make clean -C projects/cmake
make -Wno-unused-variable -C projects/cmake
}
makeinstall_target() {
UPREFIX=${INSTALL}/usr/local
ULIBDIR=${UPREFIX}/lib
USHAREDIR=${UPREFIX}/share/mupen64plus
UPLUGINDIR=${ULIBDIR}/mupen64plus
mkdir -p ${UPLUGINDIR}
cp ${PKG_BUILD}/projects/cmake/plugin/Release/mupen64plus-video-GLideN64.so ${UPLUGINDIR}
#$STRIP ${UPLUGINDIR}/mupen64plus-video-GLideN64.so
chmod 0644 ${UPLUGINDIR}/mupen64plus-video-GLideN64.so
mkdir -p ${USHAREDIR}
cp ${PKG_BUILD}/ini/GLideN64.ini ${USHAREDIR}
chmod 0644 ${USHAREDIR}/GLideN64.ini
}

View file

@ -0,0 +1,54 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
PKG_NAME="mupen64plussa-video-rice"
PKG_VERSION="97e0acff02e62dee7006337a2eb6e3ef5299d096"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/mupen64plus/mupen64plus-video-rice"
PKG_URL="https://github.com/mupen64plus/mupen64plus-video-rice/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libpng SDL2 SDL2_net zlib freetype nasm:host mupen64plussa-core"
PKG_SHORTDESC="mupen64plus-video-rice"
PKG_LONGDESC="Mupen64Plus Standalone Rice Video Driver"
PKG_TOOLCHAIN="manual"
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_MAKE_OPTS_TARGET+="USE_GLES=1"
fi
make_target() {
case ${ARCH} in
arm|aarch64)
export HOST_CPU=aarch64
export USE_GLES=1
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
;;
esac
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I$SYSROOT_PREFIX/usr/include/SDL2 -pthread"
export SDL_LDLIBS="-lSDL2_net -lSDL2"
export CROSS_COMPILE="$TARGET_PREFIX"
export V=1
export VC=0
make -C projects/unix clean
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
}
makeinstall_target() {
UPREFIX=${INSTALL}/usr/local
ULIBDIR=${UPREFIX}/lib
USHAREDIR=${UPREFIX}/share/mupen64plus
UPLUGINDIR=${ULIBDIR}/mupen64plus
mkdir -p ${UPLUGINDIR}
cp ${PKG_BUILD}/projects/unix/mupen64plus-video-rice.so ${UPLUGINDIR}
#$STRIP ${UPLUGINDIR}/mupen64plus-video-rice.so
chmod 0644 ${UPLUGINDIR}/mupen64plus-video-rice.so
mkdir -p ${USHAREDIR}
cp ${PKG_BUILD}/data/RiceVideoLinux.ini ${USHAREDIR}
chmod 0644 ${USHAREDIR}/RiceVideoLinux.ini
}

View file

@ -0,0 +1,76 @@
diff --git a/src/Config.cpp b/src/Config.cpp
index 961a1c7..1b4ef28 100644
--- a/src/Config.cpp
+++ b/src/Config.cpp
@@ -425,6 +425,12 @@ static void ReadConfiguration(void)
windowSetting.uDisplayWidth = ConfigGetParamInt(l_ConfigVideoGeneral, "ScreenWidth");
windowSetting.uDisplayHeight = ConfigGetParamInt(l_ConfigVideoGeneral, "ScreenHeight");
windowSetting.bVerticalSync = ConfigGetParamBool(l_ConfigVideoGeneral, "VerticalSync");
+ windowSetting.uResolutionWidth = ConfigGetParamInt(l_ConfigVideoRice, "ResolutionWidth");
+ if (windowSetting.uResolutionWidth) {
+ windowSetting.uXOffset = (windowSetting.uResolutionWidth - windowSetting.uDisplayWidth)/2;
+ } else {
+ windowSetting.uXOffset = 0;
+ }
defaultRomOptions.N64FrameBufferEmuType = ConfigGetParamInt(l_ConfigVideoRice, "FrameBufferSetting");
defaultRomOptions.N64FrameBufferWriteBackControl = ConfigGetParamInt(l_ConfigVideoRice, "FrameBufferWriteBackControl");
diff --git a/src/OGLRender.cpp b/src/OGLRender.cpp
index 6f9d0e2..6618d21 100644
--- a/src/OGLRender.cpp
+++ b/src/OGLRender.cpp
@@ -935,7 +935,7 @@ void OGLRender::UpdateScissor()
uint32 height = (gRDP.scissor.right*gRDP.scissor.bottom)/width;
glEnable(GL_SCISSOR_TEST);
OPENGL_CHECK_ERRORS;
- glScissor(0, int(height*windowSetting.fMultY+windowSetting.statusBarHeightToUse),
+ glScissor(windowSetting.uXOffset, int(height*windowSetting.fMultY+windowSetting.statusBarHeightToUse),
int(width*windowSetting.fMultX), int(height*windowSetting.fMultY) );
OPENGL_CHECK_ERRORS;
}
@@ -956,13 +956,13 @@ void OGLRender::ApplyRDPScissor(bool force)
uint32 height = (gRDP.scissor.right*gRDP.scissor.bottom)/width;
glEnable(GL_SCISSOR_TEST);
OPENGL_CHECK_ERRORS;
- glScissor(0, int(height*windowSetting.fMultY+windowSetting.statusBarHeightToUse),
+ glScissor(windowSetting.uXOffset, int(height*windowSetting.fMultY+windowSetting.statusBarHeightToUse),
int(width*windowSetting.fMultX), int(height*windowSetting.fMultY) );
OPENGL_CHECK_ERRORS;
}
else
{
- glScissor(int(gRDP.scissor.left*windowSetting.fMultX), int((windowSetting.uViHeight-gRDP.scissor.bottom)*windowSetting.fMultY+windowSetting.statusBarHeightToUse),
+ glScissor(int(gRDP.scissor.left*windowSetting.fMultX + windowSetting.uXOffset), int((windowSetting.uViHeight-gRDP.scissor.bottom)*windowSetting.fMultY+windowSetting.statusBarHeightToUse),
int((gRDP.scissor.right-gRDP.scissor.left)*windowSetting.fMultX), int((gRDP.scissor.bottom-gRDP.scissor.top)*windowSetting.fMultY ));
OPENGL_CHECK_ERRORS;
}
@@ -976,7 +976,7 @@ void OGLRender::ApplyScissorWithClipRatio(bool force)
glEnable(GL_SCISSOR_TEST);
OPENGL_CHECK_ERRORS;
- glScissor(windowSetting.clipping.left, int((windowSetting.uViHeight-gRSP.real_clip_scissor_bottom)*windowSetting.fMultY)+windowSetting.statusBarHeightToUse,
+ glScissor(windowSetting.clipping.left + windowSetting.uXOffset, int((windowSetting.uViHeight-gRSP.real_clip_scissor_bottom)*windowSetting.fMultY)+windowSetting.statusBarHeightToUse,
windowSetting.clipping.width, windowSetting.clipping.height);
OPENGL_CHECK_ERRORS;
@@ -1019,7 +1019,7 @@ void OGLRender::glViewportWrapper(GLint x, GLint y, GLsizei width, GLsizei heigh
mflag=flag;
glLoadIdentity();
OPENGL_CHECK_ERRORS;
- glViewport(x,y,width,height);
+ glViewport(windowSetting.uXOffset + x,y,width,height);
OPENGL_CHECK_ERRORS;
}
}
diff --git a/src/Video.h b/src/Video.h
index 7fbbcaa..25812c9 100644
--- a/src/Video.h
+++ b/src/Video.h
@@ -37,6 +37,7 @@ typedef struct {
float fViWidth, fViHeight;
unsigned short uViWidth, uViHeight;
unsigned short uDisplayWidth, uDisplayHeight;
+ unsigned short uResolutionWidth, uXOffset;
BOOL bDisplayFullscreen;
BOOL bVerticalSync;

View file

@ -0,0 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="mupen64plussa"
PKG_VERSION="61bf24c41bc837e7a3c43cd53c1a2af9042543ff"
PKG_SHA256=""
PKG_LICENSE="GPL"
PKG_SITE="https://mupen64plus.org/"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain mupen64plussa-core mupen64plussa-ui-console mupen64plussa-audio-sdl mupen64plussa-input-sdl mupen64plussa-rsp-hle mupen64plussa-rsp-cxd4 mupen64plussa-video-rice mupen64plussa-video-glide64mk2 mupen64plussa-video-gliden64"
PKG_SECTION="virtual"
PKG_LONGDESC="Meta package for installing the different Mupen64Plus standalone modules"

View file

@ -1,27 +0,0 @@
input_libretro_device_p1 = "1"
input_libretro_device_p2 = "1"
input_libretro_device_p3 = "1"
input_libretro_device_p4 = "1"
input_libretro_device_p5 = "1"
input_player1_analog_dpad_mode = "1"
input_player1_btn_down = "6"
input_player1_btn_left = "4"
input_player1_btn_right = "5"
input_player1_btn_up = "7"
input_player1_stk_l_x+ = "5"
input_player1_stk_l_x- = "4"
input_player1_stk_l_y+ = "6"
input_player1_stk_l_y- = "7"
input_player1_stk_r_x+ = "5"
input_player1_stk_r_x- = "4"
input_player1_stk_r_y+ = "6"
input_player1_stk_r_y- = "7"
input_player2_analog_dpad_mode = "0"
input_player3_analog_dpad_mode = "0"
input_player4_analog_dpad_mode = "0"
input_player5_analog_dpad_mode = "0"
input_remap_port_p1 = "0"
input_remap_port_p2 = "1"
input_remap_port_p3 = "2"
input_remap_port_p4 = "3"
input_remap_port_p5 = "4"

View file

@ -1,153 +0,0 @@
mupen64plus-alt-map = "False"
mupen64plus-aspect = "4:3"
mupen64plus-astick-deadzone = "15"
mupen64plus-astick-sensitivity = "100"
mupen64plus-BackgroundMode = "Stripped"
mupen64plus-BilinearMode = "standard"
mupen64plus-CorrectTexrectCoords = "Auto"
mupen64plus-CountPerOp = "0"
mupen64plus-CountPerOpDenomPot = "0"
mupen64plus-cpucore = "dynamic_recompiler"
mupen64plus-d-cbutton = "C3"
mupen64plus-DitheringPattern = "True"
mupen64plus-DitheringQuantization = "True"
mupen64plus-EnableCopyAuxToRDRAM = "True"
mupen64plus-EnableCopyColorToRDRAM = "Async"
mupen64plus-EnableCopyDepthToRDRAM = "Software"
mupen64plus-EnableEnhancedHighResStorage = "False"
mupen64plus-EnableEnhancedTextureStorage = "False"
mupen64plus-EnableFBEmulation = "True"
mupen64plus-EnableFragmentDepthWrite = "True"
mupen64plus-EnableHiResAltCRC = "False"
mupen64plus-EnableHWLighting = "False"
mupen64plus-EnableInaccurateTextureCoordinates = "False"
mupen64plus-EnableLegacyBlending = "False"
mupen64plus-EnableLODEmulation = "True"
mupen64plus-EnableNativeResFactor = "1"
mupen64plus-EnableNativeResTexrects = "Optimized"
mupen64plus-EnableOverscan = "Enabled"
mupen64plus-EnableTexCoordBounds = "False"
mupen64plus-EnableTextureCache = "True"
mupen64plus-ForceDisableExtraMem = "False"
mupen64plus-FrameDuping = "True"
mupen64plus-Framerate = "Original"
mupen64plus-FXAA = "0"
mupen64plus-GLideN64IniBehaviour = "late"
mupen64plus-HybridFilter = "True"
mupen64plus-IgnoreTLBExceptions = "False"
mupen64plus-l-cbutton = "C2"
mupen64plus-MaxHiResTxVramLimit = "0"
mupen64plus-MaxTxCacheSize = "8000"
mupen64plus-MultiSampling = "0"
mupen64plus-OverscanBottom = "0"
mupen64plus-OverscanLeft = "0"
mupen64plus-OverscanRight = "0"
mupen64plus-OverscanTop = "0"
mupen64plus-pak1 = "memory"
mupen64plus-pak2 = "none"
mupen64plus-pak3 = "none"
mupen64plus-pak4 = "none"
mupen64plus-r-cbutton = "C1"
mupen64plus-rdp-plugin = "gliden64"
mupen64plus-RDRAMImageDitheringMode = "BlueNoise"
mupen64plus-rsp-plugin = "hle"
mupen64plus-ThreadedRenderer = "True"
mupen64plus-txCacheCompression = "True"
mupen64plus-txEnhancementMode = "None"
mupen64plus-txFilterIgnoreBG = "True"
mupen64plus-txFilterMode = "None"
mupen64plus-txHiresEnable = "False"
mupen64plus-txHiresFullAlphaChannel = "False"
mupen64plus-u-cbutton = "C4"
mupen64plus-virefresh = "Auto"
pcsx_rearmed_analog_axis_modifier = "circle"
pcsx_rearmed_async_cd = "sync"
pcsx_rearmed_bios = "auto"
pcsx_rearmed_display_internal_fps = "disabled"
pcsx_rearmed_dithering = "enabled"
pcsx_rearmed_drc = "enabled"
pcsx_rearmed_duping_enable = "enabled"
pcsx_rearmed_frameskip_type = "disabled"
pcsx_rearmed_gteregsunneeded = "disabled"
pcsx_rearmed_gunconadjustratiox = "1"
pcsx_rearmed_gunconadjustratioy = "1"
pcsx_rearmed_gunconadjustx = "0"
pcsx_rearmed_gunconadjusty = "0"
pcsx_rearmed_idiablofix = "disabled"
pcsx_rearmed_input_sensitivity = "1.00"
pcsx_rearmed_inuyasha_fix = "disabled"
pcsx_rearmed_memcard2 = "disabled"
pcsx_rearmed_multitap1 = "auto"
pcsx_rearmed_multitap2 = "auto"
pcsx_rearmed_negcon_deadzone = "0"
pcsx_rearmed_negcon_response = "linear"
pcsx_rearmed_neon_enhancement_enable = "disabled"
pcsx_rearmed_neon_enhancement_no_main = "disabled"
pcsx_rearmed_neon_interlace_enable = "disabled"
pcsx_rearmed_nocdaudio = "enabled"
pcsx_rearmed_nogteflags = "disabled"
pcsx_rearmed_nosmccheck = "disabled"
pcsx_rearmed_noxadecoding = "enabled"
pcsx_rearmed_pad1type = "standard"
pcsx_rearmed_pad2type = "standard"
pcsx_rearmed_pad3type = "none"
pcsx_rearmed_pad4type = "none"
pcsx_rearmed_pad5type = "none"
pcsx_rearmed_pad6type = "none"
pcsx_rearmed_pad7type = "none"
pcsx_rearmed_pad8type = "none"
pcsx_rearmed_pe2_fix = "disabled"
pcsx_rearmed_psxclock = "57"
pcsx_rearmed_region = "auto"
pcsx_rearmed_show_bios_bootlogo = "disabled"
pcsx_rearmed_show_other_input_settings = "disabled"
pcsx_rearmed_spu_interpolation = "simple"
pcsx_rearmed_spu_reverb = "enabled"
pcsx_rearmed_spuirq = "disabled"
pcsx_rearmed_vibration = "enabled"
gambatte_gb_colorization = "disabled"
gambatte_gb_internal_palette = ""
mame2003-plus_analog = "digital"
mame2003-plus_art_resolution = "1"
mame2003-plus_brightness = "1.0"
mame2003-plus_cheat_input_ports = "disabled"
mame2003-plus_core_save_subfolder = "enabled"
mame2003-plus_core_sys_subfolder = "enabled"
mame2003-plus_dcs_speedhack = "enabled"
mame2003-plus_deadzone = "20"
mame2003-plus_digital_joy_centering = "enabled"
mame2003-plus_display_artwork = "enabled"
mame2003-plus_display_setup = "disabled"
mame2003-plus_four_way_emulation = "disabled"
mame2003-plus_frameskip = "0"
mame2003-plus_gamma = "1.0"
mame2003-plus_input_interface = "retropad"
mame2003-plus_machine_timing = "enabled"
mame2003-plus_mame_remapping = "enabled"
mame2003-plus_mouse_device = "mouse"
mame2003-plus_sample_rate = "48000"
mame2003-plus_skip_disclaimer = "disabled"
mame2003-plus_skip_warnings = "disabled"
flycast_internal_resolution = "640x480"
flycast_alpha_sorting = "per-strip (fast, least accurate)"
flycast_enable_dsp = "disabled"
flycast_threaded_rendering = "enabled"
flycast_anisotropic_filtering = "off"
flycast_synchronous_rendering = "enabled"
flycast_enable_rtt = "disabled"
flycast_enable_rttb = "disabled"
flycast_delay_frame_swapping = "disabled"
flycast_div_matching = "auto"
flycast_texupscale = "off"
flycast_auto_skip_frame = "normal"
opera_swi_hle = "enabled"
opera_dsp_threaded = "enabled"
opera_madam_matrix_engine = "software"
puae_deadzone = "25"
melonds_screen_layout = "Left/Right"
melonds_swapscreen_mode = "Toggle"
melonds_threaded_renderer = "enabled"
melonds_touch_mode = "Joystick"
duckstation_GPU.Renderer = "Software"
virtualjaguar_bios = "enabled"
virtualjaguar_usefastblitter = "enabled"

View file

@ -1,822 +0,0 @@
accessibility_enable = "false"
accessibility_narrator_speech_speed = "5"
ai_service_enable = "true"
ai_service_mode = "1"
ai_service_pause = "false"
ai_service_source_lang = "0"
ai_service_target_lang = "0"
ai_service_url = "http://localhost:4404/"
all_users_control_menu = "true"
apply_cheats_after_load = "false"
apply_cheats_after_toggle = "false"
aspect_ratio_index = "22"
assets_directory = "/tmp/assets"
audio_block_frames = "0"
audio_device = ""
audio_driver = "alsathread"
audio_dsp_plugin = ""
audio_enable_menu_bgm = "false"
audio_enable_menu_cancel = "false"
audio_enable_menu = "false"
audio_enable_menu_notice = "false"
audio_enable_menu_ok = "false"
audio_enable = "true"
audio_fastforward_mute = "false"
audio_filter_dir = "~/.config/retroarch/filters/audio"
audio_latency = "64"
audio_max_timing_skew = "0.049999"
audio_mixer_mute_enable = "false"
audio_mixer_volume = "0.000000"
audio_mute_enable = "false"
audio_out_rate = "48000"
audio_rate_control_delta = "0.004999"
audio_rate_control = "true"
audio_resampler_quality = "2"
audio_resampler = "sinc"
audio_sync = "true"
audio_volume = "0.000000"
auto_overrides_enable = "true"
auto_remaps_enable = "true"
autosave_interval = "10"
auto_screenshot_filename = "true"
auto_shaders_enable = "true"
block_sram_overwrite = "false"
bluetooth_driver = "null"
builtin_imageviewer_enable = "true"
builtin_mediaplayer_enable = "true"
bundle_assets_dst_path = ""
bundle_assets_dst_path_subdir = ""
bundle_assets_extract_enable = "false"
bundle_assets_extract_last_version = "0"
bundle_assets_extract_version_current = "0"
bundle_assets_src_path = ""
cache_directory = "/tmp/cache"
camera_allow = "false"
camera_device = ""
camera_driver = "null"
cheat_database_path = "/tmp/database/cht"
check_firmware_before_loading = "false"
cheevos_auto_screenshot = "false"
cheevos_badges_enable = "false"
cheevos_challenge_indicators = "true"
cheevos_enable = "false"
cheevos_hardcore_mode_enable = "false"
cheevos_leaderboards_enable = ""
cheevos_password = ""
cheevos_richpresence_enable = "true"
cheevos_start_active = "false"
cheevos_test_unofficial = "false"
cheevos_token = ""
cheevos_unlock_sound_enable = "false"
cheevos_username = ""
cheevos_verbose_enable = "false"
config_save_on_exit = "true"
content_database_path = "/tmp/database/rdb"
content_favorites_directory = "default"
content_favorites_path = "~/.config/retroarch/content_favorites.lpl"
content_favorites_size = "200"
content_history_dir = ""
content_history_directory = "default"
content_history_path = "~/.config/retroarch/content_history.lpl"
content_history_size = "200"
content_image_history_directory = "default"
content_image_history_path = "~/.config/retroarch/content_image_history.lpl"
content_music_history_directory = "default"
content_music_history_path = "~/.config/retroarch/content_music_history.lpl"
content_runtime_log_aggregate = "false"
content_runtime_log = "true"
content_show_add_entry = "2"
content_show_add = "true"
content_show_explore = "true"
content_show_favorites = "true"
content_show_history = "true"
content_show_images = "false"
content_show_music = "false"
content_show_netplay = "true"
content_show_playlists = "true"
content_show_settings_password = ""
content_show_settings = "true"
content_show_video = "false"
content_video_directory = "default"
content_video_history_path = "~/.config/retroarch/content_video_history.lpl"
core_assets_directory = "~/roms/downloads"
core_info_cache_enable = "true"
core_option_category_enable = "true"
core_options_path = ""
core_set_supports_no_game_enable = "true"
core_updater_auto_backup = "false"
core_updater_auto_backup_history_size = "1"
core_updater_auto_extract_archive = "true"
core_updater_buildbot_assets_url = "http://buildbot.libretro.com/assets/"
core_updater_buildbot_cores_url = ""
core_updater_buildbot_url = "http://buildbot.libretro.com/nightly/linux/armhf/latest/"
core_updater_show_experimental_cores = "false"
cpu_main_gov = "performance"
cpu_max_freq = "-1"
cpu_menu_gov = "interactive"
cpu_min_freq = "1"
cpu_scaling_mode = "0"
crt_switch_center_adjust = "0"
crt_switch_hires_menu = "false"
crt_switch_porch_adjust = "0"
crt_switch_resolution = "0"
crt_switch_resolution_super = "2560"
crt_switch_resolution_use_custom_refresh_rate = "false"
crt_switch_timings = ""
crt_video_refresh_rate = "60.000000"
current_resolution_id = "0"
cursor_directory = "~/.config/retroarch/database/cursors"
desktop_menu_enable = "true"
discord_allow = "false"
discord_app_id = "475456035851599874"
driver_switch_enable = "true"
dynamic_wallpapers_directory = "default"
emuelec_exit_to_kodi = "false"
enable_device_vibration = "true"
facebook_stream_key = ""
fastforward_ratio = "0.000000"
filter_by_current_core = "false"
flicker_filter_enable = "false"
flicker_filter_index = "0"
fps_show = "false"
fps_update_interval = "256"
framecount_show = "false"
frame_time_counter_reset_after_fastforwarding = "false"
frame_time_counter_reset_after_load_state = "false"
frame_time_counter_reset_after_save_state = "false"
frontend_log_level = "1"
game_specific_options = "true"
gamma_correction = "0"
global_core_options = "false"
history_list_enable = "true"
input_ai_service_axis = "nul"
input_ai_service_btn = "nul"
input_ai_service_mbtn = "nul"
input_ai_service = "nul"
input_analog_deadzone = "0.000000"
input_analog_sensitivity = "1.500000"
input_audio_mute_axis = "nul"
input_audio_mute_btn = "nul"
input_audio_mute = "f9"
input_audio_mute_mbtn = "nul"
input_autodetect_enable = "true"
input_auto_game_focus = "0"
input_auto_mouse_grab = "false"
input_axis_threshold = "0.500000"
input_bind_hold = "2"
input_bind_timeout = "5"
input_cheat_index_minus_axis = "nul"
input_cheat_index_minus_btn = "nul"
input_cheat_index_minus_mbtn = "nul"
input_cheat_index_minus = "t"
input_cheat_index_plus_axis = "nul"
input_cheat_index_plus_btn = "nul"
input_cheat_index_plus_mbtn = "nul"
input_cheat_index_plus = "y"
input_cheat_toggle_axis = "nul"
input_cheat_toggle_btn = "nul"
input_cheat_toggle_mbtn = "nul"
input_cheat_toggle = "u"
input_close_content_axis = "nul"
input_close_content_btn = "nul"
input_close_content_mbtn = "nul"
input_close_content = "nul"
input_descriptor_hide_unbound = "false"
input_descriptor_label_show = "true"
input_desktop_menu_toggle_axis = "nul"
input_desktop_menu_toggle_btn = "nul"
input_desktop_menu_toggle = "f5"
input_desktop_menu_toggle_mbtn = "nul"
input_device_p1 = "0"
input_device_p10 = "0"
input_device_p11 = "0"
input_device_p12 = "0"
input_device_p13 = "0"
input_device_p14 = "0"
input_device_p15 = "0"
input_device_p16 = "0"
input_device_p2 = "0"
input_device_p3 = "0"
input_device_p4 = "0"
input_device_p5 = "0"
input_device_p6 = "0"
input_device_p7 = "0"
input_device_p8 = "0"
input_device_p9 = "0"
input_disk_eject_toggle_axis = "nul"
input_disk_eject_toggle_btn = "nul"
input_disk_eject_toggle_mbtn = "nul"
input_disk_eject_toggle = "nul"
input_disk_next_axis = "nul"
input_disk_next_btn = "nul"
input_disk_next_mbtn = "nul"
input_disk_next = "nul"
input_disk_prev_axis = "nul"
input_disk_prev_btn = "nul"
input_disk_prev_mbtn = "nul"
input_disk_prev = "nul"
input_driver = "udev"
input_duty_cycle = "3"
input_enable_hotkey_axis = "nul"
input_enable_hotkey_btn = "12"
input_enable_hotkey_mbtn = "nul"
input_enable_hotkey = "nul"
input_exit_emulator_axis = "nul"
input_exit_emulator_btn = "9"
input_exit_emulator = "escape"
input_exit_emulator_mbtn = "nul"
input_fps_toggle_axis = "nul"
input_fps_toggle_btn = "3"
input_fps_toggle = "f3"
input_fps_toggle_mbtn = "nul"
input_frame_advance_axis = "nul"
input_frame_advance_btn = "nul"
input_frame_advance = "k"
input_frame_advance_mbtn = "nul"
input_game_focus_toggle_axis = "nul"
input_game_focus_toggle_btn = "nul"
input_game_focus_toggle_mbtn = "nul"
input_game_focus_toggle = "scroll_lock"
input_grab_mouse_toggle_axis = "nul"
input_grab_mouse_toggle_btn = "nul"
input_grab_mouse_toggle = "f11"
input_grab_mouse_toggle_mbtn = "nul"
input_hold_fast_forward_axis = "nul"
input_hold_fast_forward_btn = "nul"
input_hold_fast_forward = "l"
input_hold_fast_forward_mbtn = "nul"
input_hold_slowmotion_axis = "nul"
input_hold_slowmotion_btn = "nul"
input_hold_slowmotion = "e"
input_hold_slowmotion_mbtn = "nul"
input_hotkey_block_delay = "5"
input_joypad_driver = "udev"
input_keyboard_layout = ""
input_libretro_device_p10 = "1"
input_libretro_device_p1 = "1"
input_libretro_device_p11 = "1"
input_libretro_device_p12 = "1"
input_libretro_device_p13 = "1"
input_libretro_device_p14 = "1"
input_libretro_device_p15 = "1"
input_libretro_device_p16 = "1"
input_libretro_device_p2 = "1"
input_libretro_device_p3 = "1"
input_libretro_device_p4 = "1"
input_libretro_device_p5 = "1"
input_libretro_device_p6 = "1"
input_libretro_device_p7 = "1"
input_libretro_device_p8 = "1"
input_libretro_device_p9 = "1"
input_load_state_axis = "nul"
input_load_state_btn = "4"
input_load_state = "f4"
input_load_state_mbtn = "nul"
input_max_users = "5"
input_menu_toggle_axis = "nul"
input_menu_toggle_btn = "2"
input_menu_toggle = "f1"
input_menu_toggle_gamepad_combo = "2"
input_menu_toggle_mbtn = "nul"
input_movie_record_toggle_axis = "nul"
input_movie_record_toggle_btn = "nul"
input_movie_record_toggle_mbtn = "nul"
input_movie_record_toggle = "o"
input_netplay_game_watch_axis = "nul"
input_netplay_game_watch_btn = "nul"
input_netplay_game_watch = "i"
input_netplay_game_watch_mbtn = "nul"
input_netplay_host_toggle_axis = "nul"
input_netplay_host_toggle_btn = "nul"
input_netplay_host_toggle_mbtn = "nul"
input_netplay_host_toggle = "nul"
input_nowinkey_enable = "false"
input_osk_toggle_axis = "nul"
input_osk_toggle_btn = "nul"
input_osk_toggle = "f12"
input_osk_toggle_mbtn = "nul"
input_overlay = ""
input_overlay_aspect_adjust_landscape = "0.000000"
input_overlay_aspect_adjust_portrait = "0.000000"
input_overlay_auto_rotate = "false"
input_overlay_auto_scale = "false"
input_overlay_enable_autopreferred = "true"
input_overlay_enable = "false"
input_overlay_hide_in_menu = "true"
input_overlay_hide_when_gamepad_connected = "false"
input_overlay_next_axis = "nul"
input_overlay_next_btn = "nul"
input_overlay_next_mbtn = "nul"
input_overlay_next = "nul"
input_overlay_opacity = "0.700000"
input_overlay_scale_landscape = "1.000000"
input_overlay_scale_portrait = "1.000000"
input_overlay_show_inputs = "2"
input_overlay_show_inputs_port = "0"
input_overlay_show_mouse_cursor = "true"
input_overlay_x_offset_landscape = "0.000000"
input_overlay_x_offset_portrait = "0.000000"
input_overlay_x_separation_landscape = "0.000000"
input_overlay_x_separation_portrait = "0.000000"
input_overlay_y_offset_landscape = "0.000000"
input_overlay_y_offset_portrait = "0.000000"
input_overlay_y_separation_landscape = "0.000000"
input_overlay_y_separation_portrait = "0.000000"
input_pause_toggle_axis = "nul"
input_pause_toggle_btn = "nul"
input_pause_toggle_mbtn = "nul"
input_pause_toggle = "p"
input_poll_type_behavior = "2"
input_quit_gamepad_combo = "4"
input_recording_toggle_axis = "nul"
input_recording_toggle_btn = "nul"
input_recording_toggle_mbtn = "nul"
input_recording_toggle = "nul"
input_remap_binds_enable = "true"
input_remapping_directory = "~/remappings"
input_reset_axis = "nul"
input_reset_btn = "nul"
input_reset = "h"
input_reset_mbtn = "nul"
input_rewind_axis = "nul"
input_rewind_btn = "6"
input_rewind_mbtn = "nul"
input_rewind = "r"
input_rumble_gain = "100"
input_runahead_toggle_axis = "nul"
input_runahead_toggle_btn = "nul"
input_runahead_toggle_mbtn = "nul"
input_runahead_toggle = "nul"
input_save_state_axis = "nul"
input_save_state_btn = "5"
input_save_state = "f2"
input_save_state_mbtn = "nul"
input_screenshot_axis = "nul"
input_screenshot_btn = "nul"
input_screenshot = "f8"
input_screenshot_mbtn = "nul"
input_send_debug_info_axis = "nul"
input_send_debug_info_btn = "nul"
input_send_debug_info = "f10"
input_send_debug_info_mbtn = "nul"
input_sensors_enable = "true"
input_shader_next_axis = "nul"
input_shader_next_btn = "nul"
input_shader_next = "m"
input_shader_next_mbtn = "nul"
input_shader_prev_axis = "nul"
input_shader_prev_btn = "nul"
input_shader_prev_mbtn = "nul"
input_shader_prev = "n"
input_state_slot_decrease_axis = "nul"
input_state_slot_decrease_btn = "nul"
input_state_slot_decrease = "f6"
input_state_slot_decrease_mbtn = "nul"
input_state_slot_increase_axis = "nul"
input_state_slot_increase_btn = "nul"
input_state_slot_increase = "f7"
input_state_slot_increase_mbtn = "nul"
input_streaming_toggle_axis = "nul"
input_streaming_toggle_btn = "nul"
input_streaming_toggle_mbtn = "nul"
input_streaming_toggle = "nul"
input_toggle_fast_forward_axis = "nul"
input_toggle_fast_forward_btn = "7"
input_toggle_fast_forward_mbtn = "nul"
input_toggle_fast_forward = "space"
input_toggle_fullscreen_axis = "nul"
input_toggle_fullscreen_btn = "nul"
input_toggle_fullscreen = "f"
input_toggle_fullscreen_mbtn = "nul"
input_toggle_slowmotion_axis = "nul"
input_toggle_slowmotion_btn = "nul"
input_toggle_slowmotion_mbtn = "nul"
input_toggle_slowmotion = "nul"
input_touch_scale = "1"
input_turbo_default_button = "0"
input_turbo_mode = "0"
input_turbo_period = "6"
input_volume_down_axis = "nul"
input_volume_down_btn = "nul"
input_volume_down_mbtn = "nul"
input_volume_down = "subtract"
input_volume_up = "add"
input_volume_up_axis = "nul"
input_volume_up_btn = "nul"
input_volume_up_mbtn = "nul"
joypad_autoconfig_dir = "/tmp/joypads"
keyboard_gamepad_enable = "true"
keyboard_gamepad_mapping_type = "1"
kiosk_mode_enable = "false"
kiosk_mode_password = ""
led_driver = "null"
libretro_directory = "/tmp/cores"
libretro_info_path = "/tmp/cores"
libretro_log_level = "1"
load_dummy_on_core_shutdown = "true"
location_allow = "false"
location_driver = "null"
log_dir = "~/.config/retroarch/logs"
log_to_file = "false"
log_to_file_timestamp = "false"
log_verbosity = "true"
materialui_auto_rotate_nav_bar = "true"
materialui_dual_thumbnail_list_view_enable = "true"
materialui_icons_enable = "true"
materialui_landscape_layout_optimization = "1"
materialui_menu_color_theme = "9"
materialui_menu_transition_animation = "0"
materialui_playlist_icons_enable = "true"
materialui_show_nav_bar = "true"
materialui_thumbnail_background_enable = "true"
materialui_thumbnail_view_landscape = "2"
materialui_thumbnail_view_portrait = "1"
memory_show = "false"
memory_update_interval = "256"
menu_battery_level_enable = "true"
menu_core_enable = "true"
menu_driver = "xmb"
menu_dynamic_wallpaper_enable = "false"
menu_enable_widgets = "true"
menu_font_color_blue = "255"
menu_font_color_green = "255"
menu_font_color_red = "255"
menu_footer_opacity = "1.000000"
menu_framebuffer_opacity = "0.899999"
menu_header_opacity = "1.000000"
menu_horizontal_animation = "true"
menu_insert_disk_resume = "true"
menu_left_thumbnails = "0"
menu_linear_filter = "false"
menu_mouse_enable = "false"
menu_navigation_browser_filter_supported_extensions_enable = "true"
menu_navigation_wraparound_enable = "true"
menu_pause_libretro = "true"
menu_pointer_enable = "false"
menu_rgui_full_width_layout = "true"
menu_rgui_shadows = "false"
menu_rgui_transparency = "true"
menu_savestate_resume = "true"
menu_scale_factor = "0.900000"
menu_screensaver_animation = "0"
menu_screensaver_animation_speed = "1.000000"
menu_screensaver_timeout = "0"
menu_scroll_delay = "256"
menu_scroll_fast = "false"
menu_shader_pipeline = "2"
menu_show_advanced_settings = "true"
menu_show_configurations = "true"
menu_show_core_updater = "false"
menu_show_dump_disc = "true"
menu_show_help = "true"
menu_show_information = "true"
menu_show_latency = "true"
menu_show_legacy_thumbnail_updater = "false"
menu_show_load_content_animation = "false"
menu_show_load_content = "true"
menu_show_load_core = "true"
menu_show_load_disc = "true"
menu_show_online_updater = "true"
menu_show_overlays = "true"
menu_show_quit_retroarch = "true"
menu_show_reboot = "false"
menu_show_restart_retroarch = "true"
menu_show_rewind = "true"
menu_show_shutdown = "false"
menu_show_sublabels = "true"
menu_show_video_layout = "true"
menu_swap_ok_cancel_buttons = "false"
menu_throttle_framerate = "true"
menu_thumbnails = "3"
menu_thumbnail_upscale_threshold = "0"
menu_ticker_smooth = "true"
menu_ticker_speed = "2.000000"
menu_ticker_type = "1"
menu_timedate_date_separator = "0"
menu_timedate_enable = "true"
menu_timedate_style = "11"
menu_unified_controls = "false"
menu_use_preferred_system_color_theme = "false"
menu_wallpaper = ""
menu_wallpaper_opacity = "1.000000"
menu_widget_scale_auto = "false"
menu_widget_scale_factor = "1.000000"
menu_widget_scale_factor_windowed = "1.000000"
menu_xmb_animation_horizontal_highlight = "0"
menu_xmb_animation_move_up_down = "0"
menu_xmb_animation_opening_main_menu = "0"
menu_xmb_thumbnail_scale_factor = "100"
midi_driver = "alsa"
midi_input = "Off"
midi_output = "Off"
midi_volume = "100"
netplay_allow_slaves = "true"
netplay_check_frames = "600"
netplay_input_latency_frames_min = "0"
netplay_input_latency_frames_range = "0"
netplay_ip_address = ""
netplay_ip_port = "55435"
netplay_max_connections = "3"
netplay_mitm_server = "nyc"
netplay_nat_traversal = "true"
netplay_nickname = ""
netplay_password = ""
netplay_public_announce = "true"
netplay_request_device_p10 = "false"
netplay_request_device_p11 = "false"
netplay_request_device_p12 = "false"
netplay_request_device_p13 = "false"
netplay_request_device_p14 = "false"
netplay_request_device_p15 = "false"
netplay_request_device_p16 = "false"
netplay_request_device_p1 = "false"
netplay_request_device_p2 = "false"
netplay_request_device_p3 = "false"
netplay_request_device_p4 = "false"
netplay_request_device_p5 = "false"
netplay_request_device_p6 = "false"
netplay_request_device_p7 = "false"
netplay_request_device_p8 = "false"
netplay_request_device_p9 = "false"
netplay_require_slaves = "false"
netplay_share_analog = "1"
netplay_share_digital = "1"
netplay_spectate_password = ""
netplay_start_as_spectator = "false"
netplay_stateless_mode = "false"
netplay_use_mitm_server = "false"
network_cmd_enable = "false"
network_cmd_port = "55355"
network_on_demand_thumbnails = "false"
network_remote_base_port = "55400"
network_remote_enable = "false"
network_remote_enable_user_p10 = "false"
network_remote_enable_user_p11 = "false"
network_remote_enable_user_p12 = "false"
network_remote_enable_user_p13 = "false"
network_remote_enable_user_p14 = "false"
network_remote_enable_user_p15 = "false"
network_remote_enable_user_p16 = "false"
network_remote_enable_user_p1 = "false"
network_remote_enable_user_p2 = "false"
network_remote_enable_user_p3 = "false"
network_remote_enable_user_p4 = "false"
network_remote_enable_user_p5 = "false"
network_remote_enable_user_p6 = "false"
network_remote_enable_user_p7 = "false"
network_remote_enable_user_p8 = "false"
network_remote_enable_user_p9 = "false"
notification_show_autoconfig = "false"
notification_show_cheats_applied = "true"
notification_show_config_override_load = "false"
notification_show_fast_forward = "true"
notification_show_netplay_extra = "false"
notification_show_patch_applied = "true"
notification_show_refresh_rate = "true"
notification_show_remap_load = "false"
notification_show_screenshot_duration = "2"
notification_show_screenshot = "false"
notification_show_screenshot_flash = "1"
notification_show_set_initial_disk = "true"
overlay_directory = "/tmp/overlays"
ozone_collapse_sidebar = "false"
ozone_menu_color_theme = "1"
ozone_scroll_content_metadata = "false"
ozone_sort_after_truncate_playlist_name = "true"
ozone_truncate_playlist_name = "true"
pause_nonactive = "true"
perfcnt_enable = "false"
playlist_compression = "false"
playlist_cores = ""
playlist_directory = "~/playlists"
playlist_entry_remove_enable = "1"
playlist_entry_remove = "false"
playlist_entry_rename = "false"
playlist_fuzzy_archive_match = "false"
playlist_names = ""
playlist_portable_paths = "false"
playlist_show_entry_idx = "true"
playlist_show_inline_core_name = "0"
playlist_show_sublabels = "true"
playlist_sort_alphabetical = "true"
playlist_sublabel_last_played_style = "0"
playlist_sublabel_runtime_type = "0"
playlist_use_old_format = "false"
quick_menu_show_add_to_favorites = "true"
quick_menu_show_cheats = "true"
quick_menu_show_close_content = "true"
quick_menu_show_controls = "true"
quick_menu_show_core_options_flush = "false"
quick_menu_show_download_thumbnails = "true"
quick_menu_show_information = "true"
quick_menu_show_options = "true"
quick_menu_show_recording = "true"
quick_menu_show_reset_core_association = "true"
quick_menu_show_restart_content = "true"
quick_menu_show_resume_content = "true"
quick_menu_show_save_content_dir_overrides = "true"
quick_menu_show_save_core_overrides = "false"
quick_menu_show_save_game_overrides = "false"
quick_menu_show_save_load_state = "true"
quick_menu_show_set_core_association = "true"
quick_menu_show_shaders = "true"
quick_menu_show_start_recording = "true"
quick_menu_show_start_streaming = "true"
quick_menu_show_streaming = "true"
quick_menu_show_take_screenshot = "true"
quick_menu_show_undo_save_load_state = "false"
quit_on_close_content = "0"
quit_press_twice = "true"
record_driver = "null"
recording_config_directory = ""
recording_output_directory = "~/roms/screenshots"
resampler_directory = ""
rewind_buffer_size = "20971520"
rewind_buffer_size_step = "10"
rewind_enable = "false"
rewind_granularity = "1"
rgui_aspect_ratio = "0"
rgui_aspect_ratio_lock = "0"
rgui_background_filler_thickness_enable = "true"
rgui_border_filler_enable = "true"
rgui_border_filler_thickness_enable = "true"
rgui_browser_directory = "~/roms"
rgui_config_directory = "~/.config/retroarch/config"
rgui_extended_ascii = "false"
rgui_inline_thumbnails = "false"
rgui_internal_upscale_level = "0"
rgui_menu_color_theme = "4"
rgui_menu_theme_preset = ""
rgui_particle_effect = "0"
rgui_particle_effect_screensaver = "true"
rgui_particle_effect_speed = "1.000000"
rgui_show_start_screen = "false"
rgui_swap_thumbnails = "false"
rgui_switch_icons = "true"
rgui_thumbnail_delay = "0"
rgui_thumbnail_downscaler = "0"
run_ahead_enabled = "false"
run_ahead_frames = "1"
run_ahead_hide_warnings = "false"
run_ahead_secondary_instance = "true"
runtime_log_directory = "default"
save_file_compression = "false"
savefile_directory = "~/.config/retroarch/saves"
savefiles_in_content_dir = "true"
savestate_auto_index = "false"
savestate_auto_load = "false"
savestate_auto_save = "false"
savestate_directory = "~/.config/retroarch/states"
savestate_file_compression = "true"
savestate_max_keep = "0"
savestates_in_content_dir = "false"
savestate_thumbnail_enable = "true"
scan_without_core_match = "false"
screen_brightness = "100"
screen_orientation = "0"
screenshot_directory = "~/roms/screenshots"
screenshots_in_content_dir = "false"
settings_show_accessibility = "true"
settings_show_achievements = "true"
settings_show_ai_service = "true"
settings_show_audio = "true"
settings_show_configuration = "true"
settings_show_core = "true"
settings_show_directory = "true"
settings_show_drivers = "true"
settings_show_file_browser = "true"
settings_show_frame_throttle = "true"
settings_show_input = "true"
settings_show_latency = "true"
settings_show_logging = "true"
settings_show_network = "true"
settings_show_onscreen_display = "true"
settings_show_playlists = "true"
settings_show_power_management = "true"
settings_show_recording = "true"
settings_show_saving = "true"
settings_show_user_interface = "true"
settings_show_user = "true"
settings_show_video = "true"
show_hidden_files = "false"
slowmotion_ratio = "3.000000"
soft_filter_enable = "false"
soft_filter_index = "0"
sort_savefiles_by_content_enable = "false"
sort_savefiles_enable = "false"
sort_savestates_by_content_enable = "false"
sort_savestates_enable = "false"
sort_screenshots_by_content_enable = "false"
state_slot = "0"
statistics_show = "false"
stdin_cmd_enable = "false"
streaming_mode = "0"
suspend_screensaver_enable = "true"
sustained_performance_mode = "false"
system_directory = "~/roms/bios"
systemfiles_in_content_dir = "false"
threaded_data_runloop_enable = "true"
thumbnails_directory = "~/thumbnails"
twitch_stream_key = ""
ui_companion_enable = "false"
ui_companion_start_on_boot = "true"
ui_companion_toggle = "false"
ui_menubar_enable = "true"
use_last_start_directory = "false"
user_language = "0"
vibrate_on_keypress = "true"
video_adaptive_vsync = "false"
video_allow_rotate = "true"
video_aspect_ratio = "-1.000000"
video_aspect_ratio_auto = "true"
video_black_frame_insertion = "0"
video_context_driver = ""
video_crop_overscan = "true"
video_ctx_scaling = "false"
video_disable_composition = "false"
video_driver = "gl"
video_filter = ""
video_filter_dir = "~/.config/retroarch/filters/video"
video_font_enable = "true"
video_font_path = "/usr/share/retroarch-assets/xmb/monochrome/font.ttf"
video_font_size = "32.000000"
video_force_aspect = "true"
video_force_srgb_disable = "false"
video_frame_delay = "0"
video_frame_delay_auto = "false"
video_fullscreen = "true"
video_fullscreen_x = "0"
video_fullscreen_y = "0"
video_gpu_record = "false"
video_gpu_screenshot = "false"
video_hard_sync = "false"
video_hard_sync_frames = "0"
video_hdr_display_contrast = "5.000000"
video_hdr_enable = "false"
video_hdr_expand_gamut = "true"
video_hdr_max_nits = "1000.000000"
video_hdr_paper_white_nits = "200.000000"
video_layout_directory = "~/.config/retroarch/layouts"
video_layout_enable = "true"
video_layout_path = ""
video_layout_selected_view = "0"
video_max_swapchain_images = "3"
video_message_color = "ffff00"
video_message_pos_x = "0.049999"
video_message_pos_y = "0.049999"
video_monitor_index = "0"
video_msg_bgcolor_blue = "0"
video_msg_bgcolor_enable = "false"
video_msg_bgcolor_green = "0"
video_msg_bgcolor_opacity = "1.000000"
video_msg_bgcolor_red = "0"
video_notch_write_over_enable = "false"
video_oga_vertical_enable = "false"
video_post_filter_record = "false"
video_record_config = ""
video_record_quality = "4"
video_record_scale_factor = "1"
video_record_threads = "2"
video_refresh_rate = "60.000000"
video_rotation = "0"
video_scale = "3.000000"
video_scale_integer = "false"
video_scale_integer_overscale = "false"
video_shader_delay = "0"
video_shader_dir = "/tmp/shaders"
video_shader_enable = "false"
video_shader_preset_save_reference_enable = "true"
video_shader_remember_last_dir = "false"
video_shader_watch_files = "false"
video_shared_context = "false"
video_smooth = "false"
video_stream_config = ""
video_stream_port = "56400"
video_stream_quality = "10"
video_stream_scale_factor = "1"
video_stream_url = ""
video_swap_interval = "1"
video_threaded = "true"
video_vsync = "true"
video_window_auto_height_max = "1080"
video_window_auto_width_max = "1920"
video_window_custom_size_enable = "false"
video_windowed_fullscreen = "false"
video_windowed_position_height = "720"
video_windowed_position_width = "1280"
video_windowed_position_x = "0"
video_windowed_position_y = "0"
video_window_opacity = "100"
video_window_save_positions = "false"
video_window_show_decorations = "true"
vrr_runloop_enable = "false"
wifi_driver = "null"
wifi_enabled = "true"
xmb_alpha_factor = "75"
xmb_font = "/usr/share/retroarch-assets/xmb/monochrome/font.ttf"
xmb_layout = "2"
xmb_menu_color_theme = "4"
xmb_shadows_enable = "true"
xmb_theme = "0"
xmb_vertical_thumbnails = "false"
youtube_stream_key = ""

View file

@ -1,2 +0,0 @@
audio_filter_dir = "/usr/share/retroarch/filters/32bit/audio"
video_filter_dir = "/usr/share/retroarch/filters/32bit/video"

View file

@ -1,2 +0,0 @@
audio_filter_dir = "/usr/share/retroarch/filters/64bit/audio"
video_filter_dir = "/usr/share/retroarch/filters/64bit/video"

View file

@ -1 +0,0 @@
RG351P

View file

@ -1 +0,0 @@
RG351P

View file

@ -1 +0,0 @@
RG351P

View file

@ -1,2 +0,0 @@
190000004b4800000011000000010000,GO-Super Gamepad,x:b2,a:b1,b:b0,y:b3,back:b12,start:b13,dpleft:b10,dpdown:b9,dpright:b11,dpup:b8,leftshoulder:b4,lefttrigger:b6,rightshoulder:b5,righttrigger:b7,leftstick:b14,guide:b15,leftx:a0,lefty:a1,rightx:a2,righty:a3,platform:Linux,

View file

@ -1,25 +0,0 @@
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.!default {
type hw
card 0
}

View file

@ -1,66 +0,0 @@
state.rockchiprk817co {
control.1 {
iface MIXER
name 'Playback Path'
value SPK_HP
comment {
access 'read write'
type ENUMERATED
count 1
item.0 OFF
item.1 SPK
item.2 HP
item.3 SPK_HP
}
}
control.2 {
iface MIXER
name 'Capture MIC Path'
value 'MIC OFF'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'MIC OFF'
item.1 'Main Mic'
}
}
control.3 {
iface MIXER
name 'Playback Volume'
value.0 176
value.1 176
comment {
access 'read write'
type INTEGER
count 2
range '0 - 237'
dbmin -9500
dbmax -675
dbvalue.0 -2947
dbvalue.1 -2947
}
}
control.4 {
iface MIXER
name 'Record Volume'
value.0 255
value.1 255
comment {
access 'read write'
type INTEGER
count 2
range '0 - 255'
}
}
control.5 {
iface CARD
name 'Headphone Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}
}

View file

@ -8,7 +8,7 @@ PKG_LICENSE="mix"
PKG_DEPENDS_TARGET="toolchain sleep"
PKG_SITE=""
PKG_URL=""
PKG_LONGDESC="Support scripts for Rockchip/Anbernic devices"
PKG_LONGDESC="Hardware button support scripts."
PKG_TOOLCHAIN="manual"
makeinstall_target() {

View file

@ -19,6 +19,25 @@
</emulator>
</emulators>
</system>
<system>
<name>3DS</name>
<fullname>Nintendo 3DS</fullname>
<manufacturer>Nintendo</manufacturer>
<release>2010</release>
<hardware>console</hardware>
<path>/storage/roms/3ds</path>
<extension>.3ds .3DS .3dsx .3DSX .elf .ELF .axf .AXF .cci .CCI .cxi .CXI .app .APP</extension>
<command>/usr/bin/runemu.sh %ROM% -P%SYSTEM% --core=%CORE% --emulator=%EMULATOR% --controllers="%CONTROLLERSCONFIG%"</command>
<platform>3ds</platform>
<theme>3ds</theme>
<emulators>
<emulator name="retroarch">
<cores>
<core default="true">citra</core>
</cores>
</emulator>
</emulators>
</system>
<system>
<name>amiga</name>
<fullname>Amiga</fullname>
@ -34,7 +53,6 @@
<emulator name="retroarch">
<cores>
<core default="true">puae</core>
<core>uae4arm</core>
</cores>
</emulator>
<emulator name="amiberry">
@ -513,14 +531,13 @@
<emulators>
<emulator name="retroarch">
<cores>
<core default="true">flycast_libretro</core>
<core>flycast32</core>
<core>flycast_libretro</core>
<core>flycast</core>
</cores>
</emulator>
<emulator name="flycastsa">
<cores>
<core>flycastsa</core>
<core default="true">flycastsa</core>
</cores>
</emulator>
</emulators>
@ -789,6 +806,11 @@
<core default="true">dolphinsa-gc</core>
</cores>
</emulator>
<emulator name="primehack">
<cores>
<core>primehack</core>
</cores>
</emulator>
<emulator name="retroarch">
<cores>
<core>dolphin</core>
@ -813,6 +835,11 @@
<core default="true">dolphinsa-wii</core>
</cores>
</emulator>
<emulator name="primehack">
<cores>
<core>primehack</core>
</cores>
</emulator>
<emulator name="retroarch">
<cores>
<core>dolphin</core>
@ -820,6 +847,25 @@
</emulator>
</emulators>
</system>
<system>
<fullname>Nintendo Switch</fullname>
<name>switch</name>
<manufacturer>Nintendo</manufacturer>
<release>2017</release>
<hardware>console</hardware>
<path>/storage/roms/switch</path>
<extension>.xci .XCI .nsp .NSP .nca .NCA .nso .NSO .nro .NRO</extension>
<command>/usr/bin/runemu.sh %ROM% -P%SYSTEM% --core=%CORE% --emulator=%EMULATOR% --controllers="%CONTROLLERSCONFIG%"</command>
<platform>switch</platform>
<theme>switch</theme>
<emulators>
<emulator name="yuzu">
<cores>
<core default="true">yuzu</core>
</cores>
</emulator>
</emulators>
</system>
<system>
<name>gamegear</name>
<fullname>Game Gear</fullname>
@ -1226,11 +1272,7 @@
<emulator name="retroarch">
<cores>
<core default="true">melonds</core>
</cores>
</emulator>
<emulator name="drastic">
<cores>
<core>drastic</core>
<core>desmume</core>
</cores>
</emulator>
</emulators>
@ -1454,9 +1496,7 @@
<emulators>
<emulator name="retroarch">
<cores>
<core default="true">pcsx_rearmed32</core>
<core>pcsx_rearmed</core>
<core>swanstation</core>
<core default="true">swanstation</core>
<core>duckstation</core>
</cores>
</emulator>
@ -1467,6 +1507,31 @@
</emulator>
</emulators>
</system>
<system>
<name>ps2</name>
<fullname>PlayStation 2</fullname>
<manufacturer>Sony</manufacturer>
<release>2000</release>
<hardware>console</hardware>
<path>/storage/roms/ps2</path>
<extension>.iso .ISO .mdf .MDF .nrg .NRG .bin .BIN .img .IMG .dump .DUMP .gz .GZ .cso .CSO .chd .CHD</extension>
<command>/usr/bin/runemu.sh %ROM% -P%SYSTEM% --core=%CORE% --emulator=%EMULATOR% --controllers="%CONTROLLERSCONFIG%"</command>
<platform>ps2</platform>
<theme>ps2</theme>
<emulators>
<emulator name="retroarch">
<cores>
<core default="true">pcsx2</core>
<core>play</core>
</cores>
</emulator>
<emulator name="pcsx2sa">
<cores>
<core>pcsx2sa</core>
</cores>
</emulator>
</emulators>
</system>
<system>
<name>psp</name>
<fullname>PlayStation Portable</fullname>
@ -1766,12 +1831,12 @@
<emulators>
<emulator name="yabasanshiroSA">
<cores>
<core default="true">yabasanshiroSA</core>
<core>yabasanshiroSA</core>
</cores>
</emulator>
<emulator name="retroarch">
<cores>
<core>yabasanshiro</core>
<core default="true">yabasanshiro</core>
<core>beetle_saturn</core>
</cores>
</emulator>
@ -1894,6 +1959,7 @@
<core>snes9x2002</core>
<core>snes9x2005_plus</core>
<core>beetle_supafaust</core>
<core>bsnes</core>
<core>bsnes_mercury_performance</core>
</cores>
</emulator>

View file

@ -1,44 +0,0 @@
<?xml version="1.0"?>
<inputList>
<inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
<input name="up" type="key" id="1073741906" value="1" />
<input name="down" type="key" id="1073741905" value="1" />
<input name="left" type="key" id="1073741904" value="1" />
<input name="right" type="key" id="1073741903" value="1" />
<input name="a" type="key" id="27" value="1" />
<input name="b" type="key" id="13" value="1" />
<input name="pagedown" type="key" id="34" value="1" />
<input name="pageup" type="key" id="33" value="1" />
<input name="select" type="key" id="8" value="1" />
<input name="start" type="key" id="32" value="1" />
<input name="x" type="key" id="61" value="1" />
<input name="y" type="key" id="45" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="GO-Super Gamepad" deviceGUID="190000004b4800000011000000010000">
<input name="a" type="button" id="1" value="1" />
<input name="b" type="button" id="0" value="1" />
<input name="down" type="button" id="9" value="1" />
<input name="hotkeyenable" type="button" id="12" value="1" />
<input name="left" type="button" id="10" value="1" />
<input name="leftanalogdown" type="axis" id="1" value="1" />
<input name="leftanalogleft" type="axis" id="0" value="-1" />
<input name="leftanalogright" type="axis" id="0" value="1" />
<input name="leftanalogup" type="axis" id="1" value="-1" />
<input name="leftshoulder" type="button" id="4" value="1" />
<input name="leftthumb" type="button" id="14" value="1" />
<input name="lefttrigger" type="button" id="6" value="1" />
<input name="right" type="button" id="11" value="1" />
<input name="rightanalogdown" type="axis" id="3" value="1" />
<input name="rightanalogleft" type="axis" id="2" value="-1" />
<input name="rightanalogright" type="axis" id="2" value="1" />
<input name="rightanalogup" type="axis" id="3" value="-1" />
<input name="rightshoulder" type="button" id="5" value="1" />
<input name="rightthumb" type="button" id="15" value="1" />
<input name="righttrigger" type="button" id="7" value="1" />
<input name="select" type="button" id="12" value="1" />
<input name="start" type="button" id="13" value="1" />
<input name="up" type="button" id="8" value="1" />
<input name="x" type="button" id="2" value="1" />
<input name="y" type="button" id="3" value="1" />
</inputConfig>
</inputList>

View file

@ -1,13 +0,0 @@
diff --git a/es-app/src/guis/GuiSaveState.cpp b/es-app/src/guis/GuiSaveState.cpp
index 9a256c6..4ba27b6 100644
--- a/es-app/src/guis/GuiSaveState.cpp
+++ b/es-app/src/guis/GuiSaveState.cpp
@@ -40,7 +40,7 @@ GuiSaveState::GuiSaveState(Window* window, FileData* game, const std::function<v
float screenProportion = (float)Renderer::getScreenWidth() / (float)Renderer::getScreenHeight();
float sh = (float)Math::min(Renderer::getScreenHeight(), Renderer::getScreenWidth());
- sh = (float) theme->TextSmall.font->getSize() / sh * 0.8;
+ sh = (float) theme->TextSmall.font->getSize() / sh * 0.5;
std::string xml =
"<theme defaultView=\"Tiles\">"