pikdum / steam-deck

steam deck tools, currently only vortex
MIT License
155 stars 13 forks source link

Vortex installer doesnt work #13

Closed cocomunges closed 1 year ago

cocomunges commented 1 year ago

I ran the pikdum tools which creates the updater and vortex on the desktop. But when i start the vortex installer, it starts up Konsole and stop after "vortex-linux" installs according to the terminal. IT auto exits konsole and nothing is made on the desktop, no post deploy or vortex as it should. This results in wasted space on the boot drive that i can't delete and need to reset to factory state in order to regain. Also, obviously, results in it not working and me being unable to ever create vortex or mod games

pikdum commented 1 year ago

This results in wasted space on the boot drive that i can't delete and need to reset to factory state in order to regain.

See the uninstall section in the readme.

But when i start the vortex installer, it starts up Konsole and stop after "vortex-linux" installs according to the terminal.

Probably erroring there, then. Can run in Konsole directly to get the output to help debug:

~/.pikdum/steam-deck-master/vortex/install-vortex.sh
cocomunges commented 1 year ago

Ok, i get past the previous wall. But now im stuck at the lines after. "... download proton" and "Steam_runtime_path". I assume its trying to download them(forgive me, i dont use linux. But i am competent in modding on windows). My internet is fine at 50 mb/s. It gave me the error that "Downloading vortex: typeerror: fetch failed" And Error : connect enetrunreach... bunch of numbers

pikdum commented 1 year ago

Fetch failed means the download failed. Can't figure out much more without the entire log.

cocomunges commented 1 year ago

F** i literally just closed my console, i didnt copy and paste because i think it had my IP(Maybe it was just the general one, it started with 192.) Is there a way to pull up an error log? Sorry

pikdum commented 1 year ago

Nope, but you can just re-run it.

arlindo200 commented 1 year ago

I'm experiencing a similar situation and this is the error code:

(1)(deck@steamdeck Downloads)$ ~/.pikdum/steam-deck-master/vortex/install-vortex.sh
+ VORTEX_LINUX=v1.2.1
+ PROTON_URL=https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton8-3/GE-Proton8-3.tar.gz
+ VORTEX_URL=https://github.com/Nexus-Mods/Vortex/releases/download/v1.8.3/vortex-setup-1.8.3.exe
+ DOTNET_URL=https://download.visualstudio.microsoft.com/download/pr/85473c45-8d91-48cb-ab41-86ec7abc1000/83cd0c82f0cde9a566bae4245ea5a65b/windowsdesktop-runtime-6.0.16-win-x64.exe
+ PROTON_BUILD=GE-Proton8-3
+ VORTEX_INSTALLER=vortex-setup-1.8.3.exe
+ steam steam://install/1628350
steam.sh[9494]: Running Steam on steamos rolling 64-bit
steam.sh[9494]: STEAM_RUNTIME is enabled automatically
setup.sh[9572]: Steam runtime environment up-to-date!
steam.sh[9494]: Steam client's requirements are satisfied
+ mkdir -p /home/deck/.pikdum/steam-deck-master/vortex/
+ cd /home/deck/.pikdum/steam-deck-master/vortex/
+ rm -rf vortex-linux
+ wget https://github.com/pikdum/vortex-linux/releases/download/v1.2.1/vortex-linux
--2023-06-01 08:18:28--  https://github.com/pikdum/vortex-linux/releases/download/v1.2.1/vortex-linux
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving github.com (github.com)... 20.201.28.151
Connecting to github.com (github.com)|20.201.28.151|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/646061649/e3d44294-e5f1-407c-b8aa-e1727be00248?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230601%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230601T111829Z&X-Amz-Expires=300&X-Amz-Signature=a6bb119452f0102d3106a99614d0e04babf2016794d2a0b737e63ff935754eea&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=646061649&response-content-disposition=attachment%3B%20filename%3Dvortex-linux&response-content-type=application%2Foctet-stream [following]
--2023-06-01 08:18:29--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/646061649/e3d44294-e5f1-407c-b8aa-e1727be00248?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230601%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230601T111829Z&X-Amz-Expires=300&X-Amz-Signature=a6bb119452f0102d3106a99614d0e04babf2016794d2a0b737e63ff935754eea&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=646061649&response-content-disposition=attachment%3B%20filename%3Dvortex-linux&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 96013440 (92M) [application/octet-stream]
Saving to: ‘vortex-linux’

vortex-linux                100%[=========================================>]  91.57M  24.8MB/s    in 6.2s    

2023-06-01 08:18:37 (14.7 MB/s) - ‘vortex-linux’ saved [96013440/96013440]

+ chmod +x vortex-linux
+ ./vortex-linux setConfig STEAM_RUNTIME_PATH /home/deck/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper
{
  "STEAM_RUNTIME_PATH": "/home/deck/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper"
}
+ ./vortex-linux downloadProton https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton8-3/GE-Proton8-3.tar.gz
Proton downloaded successfully!
+ ./vortex-linux setProton GE-Proton8-3
Proton set to: GE-Proton8-3
+ ./vortex-linux downloadVortex https://github.com/Nexus-Mods/Vortex/releases/download/v1.8.3/vortex-setup-1.8.3.exe
Vortex downloaded successfully!
+ ./vortex-linux protonRunUrl https://download.visualstudio.microsoft.com/download/pr/85473c45-8d91-48cb-ab41-86ec7abc1000/83cd0c82f0cde9a566bae4245ea5a65b/windowsdesktop-runtime-6.0.16-win-x64.exe /q
Running: /tmp/windowsdesktop-runtime-6.0.16-win-x64.exe /q
Error executing command: Error: Command failed: /home/deck/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper/run -- /home/deck/.vortex-linux/proton-builds/active/proton run /tmp/windowsdesktop-runtime-6.0.16-win-x64.exe /q
/bin/sh: line 1: /home/deck/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper/run: No such file or directory

    at ChildProcess.exithandler (node:child_process:419:12)
    at ChildProcess.emit (node:events:511:28)
    at maybeClose (node:internal/child_process:1098:16)
    at Socket.<anonymous> (node:internal/child_process:456:11)
    at Socket.emit (node:events:511:28)
    at Pipe.<anonymous> (node:net:335:12) {
  code: 127,
  killed: false,
  signal: null,
  cmd: '/home/deck/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper/run -- /home/deck/.vortex-linux/proton-builds/active/proton run /tmp/windowsdesktop-runtime-6.0.16-win-x64.exe /q',
  stdout: '',
  stderr: '/bin/sh: line 1: /home/deck/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper/run: No such file or directory\n'
}
+ ./vortex-linux setupVortexDesktop
+ ./vortex-linux installVortex vortex-setup-1.8.3.exe
Error executing command: Error: Command failed: /home/deck/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper/run -- /home/deck/.vortex-linux/proton-builds/active/proton run "/home/deck/.vortex-linux/vortex-installers/vortex-setup-1.8.3.exe" /S
/bin/sh: line 1: /home/deck/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper/run: No such file or directory

    at ChildProcess.exithandler (node:child_process:419:12)
    at ChildProcess.emit (node:events:511:28)
    at maybeClose (node:internal/child_process:1098:16)
    at Socket.<anonymous> (node:internal/child_process:456:11)
    at Socket.emit (node:events:511:28)
    at Pipe.<anonymous> (node:net:335:12) {
  code: 127,
  killed: false,
  signal: null,
  cmd: '/home/deck/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper/run -- /home/deck/.vortex-linux/proton-builds/active/proton run "/home/deck/.vortex-linux/vortex-installers/vortex-setup-1.8.3.exe" /S',
  stdout: '',
  stderr: '/bin/sh: line 1: /home/deck/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper/run: No such file or directory\n'
}
+ cd /home/deck/.vortex-linux/compatdata/pfx/dosdevices
/home/deck/.pikdum/steam-deck-master/vortex/install-vortex.sh: line 30: cd: /home/deck/.vortex-linux/compatdata/pfx/dosdevices: No such file or directory
pikdum commented 1 year ago

stderr: '/bin/sh: line 1: /home/deck/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper/run: No such file or directory\n'

Do you have SteamLinuxRuntime_sniper installed to the SD card instead of internal storage? Right now it only works if installed to internal storage.

pikdum commented 1 year ago

Added support for SLR Sniper installed on SD card. So might work if you:

cocomunges commented 1 year ago

Added support for SLR Sniper installed on SD card. So might work if you:

* run the update shortcut

* re-try the vortex installation

Thank you, this was 100% the issue i had. It works now!