Clean up some of the gzdoom resolution quirks

This commit is contained in:
sydarn 2024-02-05 14:25:13 +01:00
parent 2c7d0f9664
commit e648874c3e
6 changed files with 0 additions and 35 deletions

View file

@ -1,9 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present JELOS (https://github.com/JustEnoughLinuxOS)
. /etc/profile
#Set gzdoom resolution
sed -i '/vid_defheight=/c\vid_defheight=544;
/vid_defwidth=/c\vid_defwidth=960' /storage/.config/gzdoom/gzdoom.ini

View file

@ -24,12 +24,6 @@ if [ -f "/storage/.config/drastic/config/drastic.cfg.xut" ]; then
mv /storage/.config/drastic/config/drastic.cfg.xut /storage/.config/drastic/config/drastic.cfg
fi
#Set up gzdoom
if [ ! -d "/storage/.config/gzdoom/" ]; then
sed -i '/vid_defheight=/c\vid_defheight=480' /storage/.config/gzdoom/gzdoom.ini
sed -i '/vid_defwidth=/c\vid_defwidth=640' /storage/.config/gzdoom/gzdoom.ini
fi
#Map ppsspp controls
if grep XU10 -q "/storage/.config/ppsspp/PSP/SYSTEM/controls.ini"
then

View file

@ -22,10 +22,6 @@ if [ -f "/storage/.config/drastic/config/drastic.cfg.ogabe" ]; then
mv /storage/.config/drastic/config/drastic.cfg.ogabe /storage/.config/drastic/config/drastic.cfg
fi
#Set gzdoom resolution
sed -i '/vid_defheight=/c\vid_defheight=320' /storage/.config/gzdoom/gzdoom.ini
sed -i '/vid_defwidth=/c\vid_defwidth=480' /storage/.config/gzdoom/gzdoom.ini
#Set ppsspp config for OGA
if [ ! -d "/storage/.config/ppsspp" ]; then
mkdir -p "/storage/.config/ppsspp"

View file

@ -23,10 +23,6 @@ if [ -f "/storage/.config/drastic/config/drastic.cfg.oga" ]; then
mv /storage/.config/drastic/config/drastic.cfg.oga /storage/.config/drastic/config/drastic.cfg
fi
#Set gzdoom resolution
sed -i '/vid_defheight=/c\vid_defheight=320' /storage/.config/gzdoom/gzdoom.ini
sed -i '/vid_defwidth=/c\vid_defwidth=480' /storage/.config/gzdoom/gzdoom.ini
#Map ppsspp controls
if grep OGA-1.0 -q "/storage/.config/ppsspp/PSP/SYSTEM/controls.ini"
then

View file

@ -24,12 +24,6 @@ if [ -f "/storage/.config/drastic/config/drastic.cfg.ogs" ]; then
mv /storage/.config/drastic/config/drastic.cfg.ogs /storage/.config/drastic/config/drastic.cfg
fi
#Set up gzdoom
if [ ! -d "/storage/.config/gzdoom/" ]; then
sed -i '/vid_defheight=/c\vid_defheight=480' /storage/.config/gzdoom/gzdoom.ini
sed -i '/vid_defwidth=/c\vid_defwidth=854' /storage/.config/gzdoom/gzdoom.ini
fi
#Map ppsspp controls
if grep OGS -q "/storage/.config/ppsspp/PSP/SYSTEM/controls.ini"
then

View file

@ -24,12 +24,6 @@ if [ -f "/storage/.config/drastic/config/drastic.cfg.rgb20s" ]; then
mv /storage/.config/drastic/config/drastic.cfg.rgb20s /storage/.config/drastic/config/drastic.cfg
fi
#Set up gzdoom
if [ ! -d "/storage/.config/gzdoom/" ]; then
sed -i '/vid_defheight=/c\vid_defheight=640' /storage/.config/gzdoom/gzdoom.ini
sed -i '/vid_defwidth=/c\vid_defwidth=478' /storage/.config/gzdoom/gzdoom.ini
fi
#Map ppsspp controls
if grep RGB20S -q "/storage/.config/ppsspp/PSP/SYSTEM/controls.ini"
then