new HD Textures folders

This commit is contained in:
Rodrigo 2023-12-29 12:50:34 +01:00
parent aafb713d66
commit 698f721ae0
2 changed files with 23 additions and 15 deletions

View file

@ -32,6 +32,23 @@ RetroArch_install(){
#ApplyInitialSettings
RetroArch_init(){
setMSG "RetroArch - HD Texture Packs"
#NES
unlink "$emulationPath"/hdpacks/Mesen 2>/dev/null #refresh link if moved
ln -s "$biosPath"/HdPacks/ "$emulationPath"/hdpacks/nes
echo "Put your Mesen HD Packs here. Remember to put the pack inside a folder here with the exact name of the rom" > "$emulationPath"/hdpacks/nes/readme.txt
#N64
unlink "$emulationPath"/hdpacks/Mupen64plus_next 2>/dev/null #refresh link if moved
mkdir "$biosPath"/Mupen64plus
ln -s "$biosPath"/Mupen64plus/cache/ "$emulationPath"/hdpacks/n64
echo "Put your Nintendo64 HD Packs here in HTS format. You can download them from https://emulationking.com/nintendo64/" > "$emulationPath"/hdpacks/n64/readme.txt
RetroArch_backupConfigs
configEmuFP "${RetroArch_emuName}" "${RetroArch_emuPath}" "true"
RetroArch_setEmulationFolder

View file

@ -1,9 +1,9 @@
#!/bin/bash
createFolders(){
createFolders(){
#Folder creation... This code is repeated outside of this if for the yes zenity mode
mkdir -p "$emulationPath"
mkdir -p "$toolsPath"/launchers
mkdir -p "$toolsPath"/launchers
mkdir -p "$savesPath"
mkdir -p "$romsPath"
mkdir -p "$storagePath"
@ -11,22 +11,13 @@ createFolders(){
mkdir -p "$biosPath"/HdPacks
mkdir -p "$biosPath"/Mupen64plus/cache
mkdir -p "$emulationPath"/hdpacks
unlink "$emulationPath"/hdpacks/Mesen 2>/dev/null #refresh link if moved
ln -s "$biosPath"/HdPacks/ "$emulationPath"/hdpacks/Mesen
echo "Put your Mesen HD Packs here. Remember to put the pack inside a folder here with the exact name of the rom" > "$emulationPath"/hdpacks/Mesen/readme.txt
unlink "$emulationPath"/hdpacks/Mupen64plus_next 2>/dev/null #refresh link if moved
ln -s "$biosPath"/Mupen64plus/cache/ "$emulationPath"/hdpacks/Mupen64plus_next
echo "Put your Nintendo64 HD Packs here in HTS format. You can download them from https://emulationking.com/nintendo64/" > "$emulationPath"/hdpacks/Mupen64plus_next/readme.txt
##Generate rom folders
setMSG "Creating roms folder in $romsPath"
##remove old readme.txt
find "$romsPath" -name readme.txt -type f -delete -maxdepth 2
sleep 3
rsync -r --ignore-existing "$EMUDECKGIT/roms/" "$romsPath"
#End repeated code
rsync -r --ignore-existing "$EMUDECKGIT/roms/" "$romsPath"
#End repeated code
}