EmuDeck/functions/setUpHolo.sh
Ramsey Hathout 3650f626b7
Dev --> beta 17.5 (#246)
Documentation: 
- Add Xbox to list of consoles
- Add bios to info table
- Added Nintendo / Sega / Sony where appropriate
- Alphabetized the list
- RetroAchievements crashes games if the user has not verified the account 
- Can we add recursive rom parsing tips somewhere? 

Infrastructure:
- All functions now on separate files

Tools:
- CHDMAN: handle rvz files.

New:
- download xbox hdd from xemu site. User only needs to provide files in bios after this.
- Update powertools
- Fix yuzu path
- add xmlstarlet binary from arch repository
- added changedisc hotkey for duckstation
- added changedisc hotkey for duckstation steam input
- migrate to Yuzu AppImage
- Added storage folder in Emulation
  rpcs3, xemu, yuzu are using this for the large blob storage
- cemu.xml won't be reset on update
- Add system names to Emulator selector in expert mode
- widescreen is not enabled by default.
- expert mode tools requiring a password will prompt again if wrong. if the user is wrong both times, the features will be 
  disabled.
- Dolphin wiimote input is now mouse based instead of joystick based, but i left in the joystick too. It will also use gyro for shake / tilt if you have SteamDeckGyroDSU.
- Dolphin load textures and precache is now on by default.
- Dolphin Auto Change disc is now on by default.
- Dolphin cursor is now hidden by default.
- PCSX2 vsync is now on by default.

Fixes:
- Cemu xml changes
  removed the gamepath and use xmlstarlet to add the entry.
  In the case the user has an existing xml file, we will just add our path to the entries.
- Update duckstation config
  quickmenu to esc, so steam + left arrow works
  Added roms path
  use native aspect ratio and fullscreen so the top and bottom bars are gone.
  Add Duckstation SteamInput
- PCSX2 Steam Input Update
  remove m and n keys on full trigger press
- fixed widescreen selection
- fixed emulator selection
- fixed config reset selection
- fixed uninstall script


Co-authored-by: Spidy123222 <64176728+Spidy123222@users.noreply.github.com>
Co-authored-by: Rodrigo <rodrigosedano@me.com>
Co-authored-by: Witherking25 <witherking@withertech.com>
2022-06-08 19:13:06 -04:00

26 lines
903 B
Bash

#!/bin/bash
setUpHolo(){
#Ensure the dependencies are installed before proceeding.
for package in packagekit-qt5 flatpak rsync unzip jq
do
pacman -Q ${package} || sudo pacman -Sy --noconfirm ${package}
done
#The user must be in the wheel group to install flatpaks successfully.
wheel=$(awk '/'${USER}'/ {if ($1 ~ /wheel/) print}' /etc/group)
if [[ ! "${wheel}" =~ ${USER} ]]; then
text="$(printf "Hey! This is not an SteamDeck. EmuDeck can work just fine, but you need to have a valid user account\n\nThe script will ask for your password to make sure everything works as expected.")"
zenity --info \
--title="EmuDeck" \
--width=450 \
--text="${text}" 2>/dev/null
sudo usermod -a -G wheel ${USER}
newgrp wheel
fi
#Ensure the Desktop directory isn't owned by root
if [[ "$(stat -c %U ${HOME}/Desktop)" =~ root ]]; then
sudo chown -R ${USER}:${USER} ~/Desktop
fi
}