Skip to content

Commit

Permalink
New emulators location
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Dec 21, 2024
1 parent 946374b commit 118db52
Show file tree
Hide file tree
Showing 22 changed files with 34 additions and 22 deletions.
12 changes: 12 additions & 0 deletions functions/appImageInit.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
function appImageInit(){

# Obtener información del item
$item = Get-Item $emusPath

# Verificar si es una junction o un directorio real
if ($item.Attributes -band [System.IO.FileAttributes]::ReparsePoint) {
Write-Output "$path it's a junction."
} else {
Write-Output "$path it's a directory."
moveFromTo "$path" "$emusPath"
createSaveLink $path $emusPath
}


#AutoFixes
mkdir "$env:USERPROFILE/emudeck/feeds" -ErrorAction SilentlyContinue
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/Cemu.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/cemu/Cemu.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/cemu/Cemu.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/MAME.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/mame/mame.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/mame/mame.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/Vita3k.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/vita3k/vita3k.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/vita3k/vita3k.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/citra.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/citra/citra-qt.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/citra/citra-qt.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/dolphin.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/Dolphin-x64/Dolphin.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/Dolphin-x64/Dolphin.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/duckstation.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/duckstation/duckstation-qt-x64-ReleaseLTCG.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/duckstation/duckstation-qt-x64-ReleaseLTCG.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/flycast.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/flycast/flycast.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/flycast/flycast.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/lime3ds.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/lime3ds/lime3ds.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/lime3ds/lime3ds.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/melonDS.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/melonDS/melonDS.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/melonDS/melonDS.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/mgba.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/mgba/mgba.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/mgba/mgba.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/pcsx2.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/PCSX2-Qt/pcsx2-qtx64.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/PCSX2-Qt/pcsx2-qtx64.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/ppsspp.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/PPSSPP/PPSSPPWindows64.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/PPSSPP/PPSSPPWindows64.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/primehack.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/primehack/dolphin.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/primehack/dolphin.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/retroarch.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/RetroArch/retroarch.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/RetroArch/retroarch.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/rpcs3.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/RPCS3/rpcs3.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/RPCS3/rpcs3.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/ryujinx.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/Ryujinx/ryujinx.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/Ryujinx/ryujinx.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/scummvm.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/scummvm/scummvm.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/scummvm/scummvm.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/xemu.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/xemu/xemu.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/xemu/xemu.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/xenia.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/xenia/xenia_canary.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/xenia/xenia_canary.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
2 changes: 1 addition & 1 deletion tools/launchers/yuzu.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$emulatorFile = "$env:USERPROFILE/EmuDeck/EmulationStation-DE/Emulators/yuzu/yuzu-windows-msvc/yuzu.exe"
$emulatorFile = "$env:USERPROFILE/EmuDeck/Emulators/yuzu/yuzu-windows-msvc/yuzu.exe"
$scriptFileName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
. "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/functions/allCloud.ps1"
if($args){
Expand Down
4 changes: 2 additions & 2 deletions vars.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ $url_esde = "https://gitlab.com/es-de/emulationstation-de/-/package_files/164503
$url_scummVM = "https://downloads.scummvm.org/frs/scummvm/2.7.1/scummvm-2.7.1-win32-x86_64.zip"

$userFolder = "$env:USERPROFILE"
$emusPath = "$env:USERPROFILE\EmuDeck\EmulationStation-DE\Emulators"
$emusPathSRM = "$env:USERPROFILE\\EmuDeck\\EmulationStation-DE\\Emulators"
$emusPath = "$env:USERPROFILE\EmuDeck\Emulators"
$emusPathSRM = "$env:USERPROFILE\\EmuDeck\\Emulators"
$esdePath = "$env:USERPROFILE/EmuDeck/EmulationStation-DE"
$pegasusPath = "$env:USERPROFILE/EmuDeck/Pegasus"
$temp = "$env:USERPROFILE\EmuDeck\temp"
Expand Down

0 comments on commit 118db52

Please sign in to comment.