Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
8.02k stars 422 forks source link

No game installs with 1.11.0-beta.2 (and beta 3) on Mac #812

Closed Stooovie closed 2 years ago

Stooovie commented 2 years ago

Describe the bug

No game installs with1.11.0-beta.2. It displays "Installation 0%" and then quietly stops without any error message, game not installed. Issue was not present on 1.11.0 alpha

Add Logs

INFO: checking for heroic updates INFO: Trying to get user information INFO: Installing Bulbul with: /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary install Bulbul --base-path '/Volumes/4TB/Games' --skip-dlcs --skip-sdl -y |& tee "/Users/stooovie/.config/heroic/GamesConfig/Bulbul.log" INFO: Progress: Bulbul /MiB/undefined INFO: Progress: Bulbul /MiB/undefined INFO: Progress: Bulbul /MiB/undefined INFO: Progress: Bulbul /MiB/undefined INFO: finished installing INFO: Frontend: Refreshing Library INFO: Refreshing library... INFO: Updating game list INFO: Game List Updated

To Reproduce Steps to reproduce the behavior:

Install any game.

Expected behavior Game installs.

Screenshots

Desktop (please complete the following information):

Additional context Same with any game. Games that are already installed continue to work.

flavioislima commented 2 years ago

@Stooovie check the new beta, has several bugfixes and improvements for the Mac version. Which game is that?

Stooovie commented 2 years ago

For example MudRunner and Sonic Mania. Both still not installing on the latest beta 3.

Stooovie commented 2 years ago

Most games do not install. Tried: Ape Out, 20XX, Abzu, The Talos Principle

Only the smallest games like A Short Hike or Dolores: A Thimbleweed Park do install, which may be pertinent. There's almost 3 TB free on the target HFS+ drive and permissions are ignored (it's not the system drive). Tried installing onto the system drive, didn't fix.

I did not encounter this issue with the alpha, ever.

dattito commented 2 years ago

GTA V also doesn't download

flavioislima commented 2 years ago

@Stooovie can you paste this command on the terminal? /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary install Bulbul --base-path '/Volumes/4TB/Games' --skip-dlcs --skip-sdl

Stooovie commented 2 years ago

This happens:

➜ MacOS /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary install Bulbul --base-path '/Volumes/4TB/Games' --skip-dlcs --skip-sdl [Core] INFO: Logging in... [Core] INFO: Fetching metadata for 8 app(s). [cli] INFO: Preparing download for "MudRunner" (Bulbul)... [Core] INFO: Parsing game manifest... [Core] INFO: Install path: /Volumes/GAMES/MudRunner [Core] INFO: Selected CDN: download.epicgames.com (https) [cli] INFO: Download size is 0, the game is either already up to date or has not changed. Exiting...

flavioislima commented 2 years ago

It's like the game is installed on that folder already. whats in there?

Stooovie commented 2 years ago

there IS a disk named GAMES but it's a Windows NTFS read-only drive that is unmounted in MacOS (I use it in Bootcamp).

So, to clarify, Mudrunner IS installed in /Volumes/GAMES/Mudrunner but the GAMES volume is unmounted and Heroic is still giving me the error. The disk i want to install to, and that is in the command line, is /Volumes/4TB. It's a different drive.

The Default Installation Path in Heroic settings is "/Volume/4TB/Games" which is correct.

flavioislima commented 2 years ago

So check this file: .config/legendary/installed.json and check if the game appears there. Because it seems the game is already installed but in a different folder.

Or just rename the whole folder and login again and try to install the game.

Stooovie commented 2 years ago

Hi, no, Mudrunner is NOT in the installed.json file. Something else is amiss. Also, as I said, the GAMES volume is never mounted in MacOS. Logging out and back in did not fix the issue. It still says "installing" for a couple of seconds and then the Install button gets back without any message. Game is not installed.

Same also happens with games I have never installed anywhere. Tried to use the new Legendary build 0.20.22 that mentions Mac downloading but it didn't fix the issue.

flavioislima commented 2 years ago

Try to install the game on your home folder to see if it works.

Stooovie commented 2 years ago

it doesn't, no. same thing. I had a theory that only small games (2 GB or less) installed, but no, I have Batman Arkham Asylum (9GB) installed and working. Most games do not install at all though. It's very weird.

flavioislima commented 2 years ago

Yes. You're sure you have write permissions on those folders as well?

Have you tried renaming the legendary folder like I said?

Stooovie commented 2 years ago

Yes, I do have write permissions to everything in my Home folder and on the 4TB, perms are ignored for the whole drive (as default for secondary drives in MacOS).

I have tried deleting the .config/legendary folder altogether (zipping for backup first), zapping Heroic with AppDelete, reinstall, still the same thing.

Stooovie commented 2 years ago

Reinstalled the 1.11.0-alpha, it works as expected...

flavioislima commented 2 years ago

Hmm, so I have a guess on what might be happening. Since heroic beta 2 we are supporting native mac games, so I guess that games that have both versions might be the issue.

To confirm that, install heroic beta 3 again and go to the folder that Mac store application data, like AppData on windows. I forgot to add the path to the wiki and I'm not at home now. But you should find a folder called store and inside it a few json files. One of them should be installInfo.json

Perhaps delete all of them, this will clear heroic cache.

flavioislima commented 2 years ago

This folder: ~/Library/Application Support/Heroic/

Stooovie commented 2 years ago

Ok, I have removed the entire ~/Library/Application Support/Heroic/ folder, deleted Heroic 1.11.0-alpha, emptied the Trash, installed beta 3.

I can confirm that both Shadowrun: Hong Kong and Mudrunner that I WAS able to install with 1.11.0-alpha, I AM NOT able to install with beta 3. Install the 11 Alpha again (without trashing anything), I CAN install again.

AFAIK Shadowrun does have a native Mac version but Mudrunner does not.

flavioislima commented 2 years ago

Can you try to run: /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary info Bulbul? Or the appName you're trying to install and it's failing?

flavioislima commented 2 years ago

@Stooovie Install and play windows games on Beta is broken. I found the issue and fixed already. I'll try to release new Heroic version tomorrow if no bugs are found so it will have those fixes.

Stooovie commented 2 years ago

That's great, thank you so much for your time and work!

Stooovie commented 2 years ago

Still the same issues on my system though, even with the 2.0.0. What's new, when I click Install on any game, the spinner just spins indefinitely (first load of the game library also took several minutes, CPU almost entirely idle). I deleted the ~/Library/Application Support/Heroic/ to start from scratch, still the same. I'll keep trying new releases.

flavioislima commented 2 years ago

Epic services are having a lot of issues right now so that's the reason, check the status here and if they are all normal and the issue continues, reopen the issue. https://status.epicgames.com

We will need to implement some kind of warning for that on the next release.

Stooovie commented 2 years ago

Ah! Happy to report both downloading and playing Windows games are now working as expected! Thanks!

flavioislima commented 2 years ago

Good. I'll release a new heroic version that will check epic statuses and report it if they are broken wheb downloading, playing etc. Because a lot of people were thinking the issue was with heroic but it's epic that is down.