Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroic never updates UMU-Launcher #4274

Open
Arcitec opened this issue Jan 14, 2025 · 2 comments
Open

Heroic never updates UMU-Launcher #4274

Arcitec opened this issue Jan 14, 2025 · 2 comments
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@Arcitec
Copy link

Arcitec commented Jan 14, 2025

Describe the bug

Heroic never updates UMU-Launcher. It's installed once and then never updated. My version is 3 months old from October and there hasn't been a single UMU update even though 1.1.4 is out since November.

I discovered the bug while trying to figure out the save path bug here:

#4087 (comment)

I then checked the files on-disk and saw that UMU inside the Heroic Flatpak is outdated, which explains why the bug still happens.

Add logs

(16:05:31) INFO:    [Legendary]:        Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary

(16:05:31) INFO:    [Gog]:              GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl

(16:05:31) INFO:    [Connection]:       Connectivity: check-online

(16:05:31) INFO:    [Connection]:       Pinging external endpoints

(16:05:31) INFO:    [Gog]:              Checking for existing gog manifests

(16:05:31) WARNING: [Backend]:          Failed to register protocol with OS.

(16:05:31) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary --version

(16:05:31) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json --version

(16:05:31) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version

(16:05:31) INFO:    [Connection]:       Connectivity: online

(16:05:31) INFO:    [Gog]:              Checking if login is valid

(16:05:31) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(16:05:31) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(16:05:31) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(16:05:31) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded

(16:05:31) INFO:    [Backend]:          

System Information:

CPU: 16x AMD Ryzen 7 7800X3D 8-Core Processor

Memory: 67.1 GB (used: 38.26 GB)

GPUs:

  GPU 0:

    Name: NVIDIA Corporation GA102 [GeForce RTX 3090]

    IDs: D=2204 V=10de SD=87af SV=1043

    Driver: nvidia

OS: Fedora Linux 41 (Workstation Edition) (linux)

The current system is not a Steam Deck

We are running inside a Flatpak container

Software Versions:

  Heroic: 2.15.2 Emeth

  Legendary: 0.20.36 Urban Flight (Heroic)

  gogdl: 1.1.2

  comet: comet 0.1.2

  Nile: 1.1.2 Will A. Zeppeli

(16:05:31) INFO:    [Frontend]:         Refreshing undefined Library

(16:05:31) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager

(16:05:31) INFO:    [Legendary]:        Refreshing library...

(16:05:31) INFO:    [Legendary]:        Refreshing Epic Games...

(16:05:31) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(16:05:31) INFO:    [Backend]:          Frontend Ready

(16:05:31) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(16:05:31) INFO:    [Gog]:              Getting GOG library

(16:05:31) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(16:05:31) INFO:    [Gog]:              Saved username to config file

(16:05:31) INFO:    [Backend]:          Checking for current version changelog

(16:05:31) INFO:    [Gog]:              GOG presence set

(16:05:32) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(16:05:33) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(16:05:33) INFO:    [Gog]:              Saved games data

(16:05:33) DEBUG:   [Backend]:          Unable to load Steam Libraries, libraryfolders.vdf not found

(16:05:33) INFO:    [Winetricks]:       Downloading Winetricks

(16:05:35) INFO:    [Legendary]:        Game list updated, got 580 games & DLCs

(16:05:35) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager

(16:05:35) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(16:05:35) INFO:    [Gog]:              Found 0 game(s) to update

(16:05:35) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=/home/johnny/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(16:05:36) INFO:    [WineDownloader]:   Updating wine versions info

(16:05:36) INFO:    [WineDownloader]:   Fetching upstream information...

(16:05:36) INFO:    [Backend]:          Starting the Download Queue

(16:05:36) INFO:    [WineDownloader]:   wine versions updated

(16:05:39) DEBUG:   [Legendary]:        Update is available for Eider: 7255037 != 8385130

(16:05:39) DEBUG:   [Legendary]:        Update is available for f9685170f7b142909c661a080bd9e60c: 1.2.109.1 != 1.2.156

(16:05:39) INFO:    [Legendary]:        Found 2 games to update

(16:05:39) INFO:    [Frontend]:         Force Update


Steps to reproduce

  1. Use the latest Heroic Flatpak: Heroic 2.15.2

Expected behavior

Update-checks for UMU. Auto-downloads of new versions.

Screenshots

No response

Heroic Version

Latest Stable (Flatpak)

System Information

  • OS [e. g. "Ubuntu"]: Fedora 41

Additional information

No response

@Arcitec
Copy link
Author

Arcitec commented Jan 14, 2025

Temporary workaround:

mv ~/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/runtimes/umu ~/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/runtimes/umu-outdated

(or rm -rf)

Then launch a game. It will download the latest UMU, and a new current_version gets written with today's date:

cat umu/current_version 
2025-01-10T00:59:13.221176Z

And the newest UMU files are downloaded:

Binary files umu/umu-run and umu-outdated/umu-run differ
Binary files umu/umu_run.py and umu-outdated/umu_run.py differ

Well, I honestly don't know if they are newest, but at least they differ.


Edit: Yes, this forced an update to a newer UMU version:

Old:

umu-outdated $ ./umu-run --version
umu-launcher version 1.1.3 (3.13.1 (main, Dec  9 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)])

New:

umu $ ./umu-run --version
umu-launcher version 1.1.4 (3.13.1 (main, Dec  9 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)])

Edit 2: There's a second bug, probably in UMU itself. It will not upgrade its own installed components after updating UMU, so old bugs in wrappers/helpers remain.

Run both of these commands to fix both bugs. The first fixes the lack of UMU updates in Heroic, and the second fixes the lack of UMU wrapper/helper updates:

rm -rfv ~/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/runtimes/umu
rm -rfv ~/.local/share/umu

@GamerKing122
Copy link

what about rpm version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:unconfirmed Someone works on identifying the issue
Projects
None yet
Development

No branches or pull requests

2 participants