Code Monkey home page Code Monkey logo

heroic-games-launcher / heroicgameslauncher Goto Github PK

View Code? Open in Web Editor NEW
7.3K 54.0 400.0 654.32 MB

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.

Home Page: https://heroicgameslauncher.com

License: GNU General Public License v3.0

HTML 0.03% CSS 4.22% TypeScript 90.58% JavaScript 0.69% Shell 0.01% SCSS 4.47%
play-games linux proton heroic-games-launcher epic-store wine gaming epic-games-launcher epic-games-store gog-galaxy

heroicgameslauncher's People

Contributors

adityaruplaha avatar arielj avatar brettcleary avatar commandmc avatar d3sox avatar dawidgarus avatar dependabot[bot] avatar djibux avatar etaash-mathamsetty avatar flavioislima avatar flonky avatar giovix92 avatar github-actions[bot] avatar imlinguin avatar lahtis avatar linux4good avatar mrkingmichael avatar newtronreal avatar nocccer avatar octoshrimpy avatar onadrog avatar philipwilk avatar ps-professional avatar redromnon avatar rootbrz avatar syto203 avatar tabulatejarl8 avatar vitorhcl avatar wbrtm avatar weblate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

heroicgameslauncher's Issues

Import Game option, keeps loading endlessly

I tried to import GTA V since I didn't want to reinstall it. Heroic kept loading enldessly. Once restarted Heroic tells the game is installed, but nothing happen once the game is started.

Cant use Lutris wine

Any proton version in the "$HOME/.local/share/lutris/runners/wine" folder can't be used when the default wine prefix is changed.
Before changing the wine prefix it would launch rocket league(the only game i have tested) and would work. To check it further I made syslink of proton-ge-custom to both "$HOME/.local/share/lutris/runners/wine" and "$HOME/.local/share/Steam/compatibilitytools.d" and when I tried to use the Lutris one it failed to launch but the steam one worked.

image

using the appimage.

AUR Package Not Working (Black Screen)

System Information

  • OS: Arch Linux x86_64
  • Kernel: 5.10.4-107-tkg-pds
  • DE: xinitrc
  • WM: dwm
  • CPU: Intel i5-6500
  • GPU: NVIDIA GeForce GTX 1070
  • GPU Driver: NVIDIA 455.45.01

Software Version Information

  • Heroic Games Launcher Version: 0.4.0-1 (AUR Package)
  • Electron Version (output of electron -v): v11.1.1

Issue Description

Main Issue

I installed the AUR package (heroic-games-launcher-bin) with yay and am finding that the program just loads to a black screen when using the desktop shortcut (see screenshot below).

image

I found the binary installed at /opt/heroic so I directly ran that with ./heroic and got the same issue, but this time with the following error message.

(node:130190) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
Error occurred in handler for 'readFile': TypeError: Cannot read property 'url' of undefined
    at /opt/heroic/resources/app.asar/build/main.js:152:15
    at Array.map (<anonymous>)
    at /opt/heroic/resources/app.asar/build/main.js:145:10
    at async electron/js2c/browser_init.js:189:563

Previous Attempts

It should be noted that I attempted to install a previous version of Heroic Games Launcher (I think 0.3 maybe) via the AUR package and was able to login with my epic account. At that point, the program would appear to load my list of games in a spawned terminal, then suddenly close and re-open. When it opened again, the dialog box asking if I wanted to login would appear again. If I clicked yes, it would load my list of games and crash again, then repeat the process. With the current version of the program, it doesn't prompt me to login at all, it just shows a black screen.

Experimentation

I also tried running the program binary as sudo ./heroic --no-sandbox to see if it was an issue relating to my current user. In this case, the program appears to be functioning as expected (see screenshot below). This leads me to believe that my epic login information might be messed up, but is still stored somewhere on my system. Perhaps clearing this would help?

image

Changing default installation path has no effect

While I've set the default install path under settings to /mnt/storage/Games-Heroic, selecting "Install on default path" when installing the games wind up under ~/Games/Heroic.

Using "install on another path" does allow installing to the preferred path.

Tested with v1.0 deb package on Ubuntu 18.04.

PPA for .deb?

Hi
Is possible to create a PPA repository for ".deb"s? It would be much easier to keep the application updated.

Can't load a game page

Any time I go to view a game page in the app, it gives me this:

Error occurred in handler for 'getGameInfo': Error: Cannot find module './secrets'
Require stack:

  • /tmp/.mount_heroiccEGV2J/resources/app.asar/build/main.js
  • at Module._resolveFilename (internal/modules/cjs/loader.js:972:15)
    at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
    at Module._load (internal/modules/cjs/loader.js:848:27)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
    at Module.require (internal/modules/cjs/loader.js:1032:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at /tmp/.mount_heroiccEGV2J/resources/app.asar/build/main.js:109:24
    at electron/js2c/browser_init.js:189:579
    at Object. (electron/js2c/browser_init.js:157:9268)
    at Object.emit (events.js:315:20) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/tmp/.mount_heroiccEGV2J/resources/app.asar/build/main.js',
    undefined
    ]
    }

This is with the latest version.

Interestingly, it does work fine in the previous 1.0.1 release so something you changed between them broke it. This is on Arch.

Copr Repo for Fedora

Similar to #30, it would be great to have a Copr repo for RPM packages. I'm familiar with how Copr works and would be happy to help.

Custom Wine builds

Under Defaul Wine Version I can only find Wine Default, and Proton GE. Is there a way to add custom Wine builds manually?

How does syncing work?

  1. For automatic syncing to work, does Heroic detect where the save data is located or do I have to manually declare the path to the save data?
  2. What's the purpose of Forced Upload/Forced Download?
  3. When does automatic syncing occur if enabled?

Flatpak hints

Disclaimer: I've created the Flatpak for PlayOnLinux 5 (see https://github.com/flathub/org.phoenicis.playonlinux).

Launcher keeps loading and "skips" initial SID code view

Hello! Thank you for your effort in this app!

Upgraded freshly from 0.3.1-beta to 1.0.1 (by deleting folders such as .config/heroic and .config/legendary), just to check the new SID code method. Sadly it will just display for a few ms and then keeps loading endlessly.

Running the appimage thru terminal shows this error: https://del.dog/oppuniguxe.txt.

Logging in from 0.3.1-beta and then running 1.0.1 works fine, as expected.

How to contribute

Hi!

thanks for creating this project.

How can I help with this? Do i need python knowledge or Javascript is enought?

Platform filter

It'd be nice to have games filter to separate native Linux games and Wine/Proton games. I thougth of using ProtonDB since it has such info and even how playable game is (which is useful filter too) but idk if they have proper api and all.

"LibraryInstalledSettings" button

If you click "LibraryInstalledSettings" sign from any page
image
it'll show you this.
image
The problem is that you can't leave this page except you restart the app. Also the page is quite pointless coz it doesn't even show installed games (sign "Installed Games" isn't clickable).

DXVK missing

When I tried starting a game with DXVK enabled it did do anything.
I ran the app using the terminal and got this:

Error: ENOENT: no such file or directory, open '/home/jld3103/.config/heroic/Tools/DXVK/latest_dxvk'
    at Object.openSync (fs.js:466:3)
    at Object.func [as openSync] (electron/js2c/asar_bundle.js:5:1812)
    at Object.readFileSync (fs.js:368:35)
    at Object.e.readFileSync (electron/js2c/asar_bundle.js:5:8583)
    at installDxvk (/opt/heroic/resources/app.asar/build/utils.js:242:28)
    at launchGame (/opt/heroic/resources/app.asar/build/utils.js:122:15)
    at /opt/heroic/resources/app.asar/build/main.js:126:10
    at electron/js2c/browser_init.js:189:579
    at Object.<anonymous> (electron/js2c/browser_init.js:157:9268)
    at Object.emit (events.js:315:20) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/home/jld3103/.config/heroic/Tools/DXVK/latest_dxvk'
}

I tried symlinking and copying my DXVK installation from Lutris, but then I got:

Error: EISDIR: illegal operation on a directory, read
    at Object.readSync (fs.js:572:3)
    at tryReadSync (fs.js:357:20)
    at Object.readFileSync (fs.js:394:19)
    at Object.e.readFileSync (electron/js2c/asar_bundle.js:5:8583)
    at installDxvk (/opt/heroic/resources/app.asar/build/utils.js:242:28)
    at launchGame (/opt/heroic/resources/app.asar/build/utils.js:122:15)
    at /opt/heroic/resources/app.asar/build/main.js:126:10
    at electron/js2c/browser_init.js:189:579
    at Object.<anonymous> (electron/js2c/browser_init.js:157:9268)
    at Object.emit (events.js:315:20) {
  errno: -21,
  syscall: 'read',
  code: 'EISDIR'
}

I suspect the launcher should have downloaded DXVK, but didn't.

[DEB] Can't load the list-games.

Operating System: Pop!_OS 20.10 - 64 bits (Ubuntu based distro)
Gnome version: 3.38.1
Window system: X11
CPU: i7-4770K
GPU: GM204 [GeForce GTX 980]

  • Xterm installed.
  • .deb Heroic package installed
  1. Launch Heroic from the command line
  2. Heroic work as intended, so login process
    image
  3. Use the internal browser to log to Epic account and copy the SID then paste it and click login
    image
    4)Wait for it to refresh the list, nothing in the log
    image
  4. Then, when it's logged in, error in the terminal:
    Error occurred in handler for 'readFile': TypeError: Cannot read property 'url' of undefined
    at /opt/heroic/resources/app.asar/build/main.js:152:15
    at Array.map (<anonymous>)
    at /opt/heroic/resources/app.asar/build/main.js:145:10
    at async electron/js2c/browser_init.js:189:563

Capture d’écran du 2021-01-03 14-34-20

  1. Every time I reload or relaunch Heroic, same error in the terminal and black screen
    image

Fails to open login page if xterm is not installed

If xterm is not installed and you try to open Heroic it asks if you want to log in and then does nothing. You should make it so if xterm is not installed ask if it wants you to install it for you or tell you to go install it

What is a "SID information number" ?

Hello,

Can't enter my SID information number becaus i have no idea of what it is. I just logged on epig games and i didn't found anything that looks remotely like a SID information number. I tried to paste the code mentioned as ID under "Account info", but it doesn't work.

Games won't launch if wine path contains spaces

Similar to #13, the legendary launch invocation has the --wine option with a space in it.

Error: Command failed:  /opt/heroic/resources/app.asar.unpacked/build/bin/legendary launch [game] --wine /home/[user]/.steam/root/compatibilitytools.d/Proton 5.13/dist/bin/wine64 --wine-prefix '/mnt/storage/WinePrefix-Heroic'
[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching Cobra...
Traceback (most recent call last):
  File "legendary/cli.py", line 1375, in <module>
  File "legendary/cli.py", line 1341, in main
  File "legendary/cli.py", line 512, in launch_game
  File "subprocess.py", line 854, in __init__
  File "subprocess.py", line 1702, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: '/home/[user]/.steam/root/compatibilitytools.d/Proton'

GTA-V not launching

The game starts with installing launcher and then gives a popup 'Unable to launch the game, please verify game files.'

[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching 9d2d0eb64d5c44529cece33fe2a46482...
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: Unhandled page fault on read access to 00208228 at address 7BC2966F (thread 010c), starting debugger...
010c:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x7bc2966f
gamemodeauto: 

Delete old SID/Login API code

Hello, I've mistakenly logged in with an older account, and can't really find any file inside my home that points to the used SID. Where is it located? Thank you in advance!

MangoHUD Does Not Work

Adding the MANGOHUD=1 argument does not enable MangoHUD, and to rule out MangoHUD, I also tried using DXVK_HUD=1 which also does not work.

Kubuntu 20.10 and MangoHUD installed from PPA which works with game ran through Steam and Proton.

npm start doesn't run

When I run npm start in the folder after running npm install I get this

sh: line 1: nf: command not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! [email protected] start: nf start -p 3000 && electron-start`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/ldf/.npm/_logs/2020-12-30T22_20_33_520Z-debug.log`

Here is that log

Game status update

After Legendary said that installation was finished there wasn't any signes of that on the game page inself. If I go to the library and click the game again everything's fine. I guess the page should be reloaded after installation automaticly so it has proper status.

Play button doesn't update after game exits

Whether you close the game normally, kill it manually, or kill through the Heroic UI, the button doesn't update.
It keeps showing "Playing (stop)". Preventing you from launching the game again (as it will try to kill).

"Playing (stop)"

Tested on Ubuntu 18.04, Heroic v1.0.1

npm run dist AppImage doeesnt work

running npm run dist to build the binaries builds the AppImage fine but running that AppImage opens Heroic with inspect element open and Heroic is blank. Theres no errors if you run it in a terminal and theres no errors in the Heroic inspect element console either. npm start doesnt work either and theres already a issue open for that so I cannot make changes and contribute to the code because if I do I make a change I have no way to run Heroic with the changes I made because well theres no way to run it

Game path selection

Paths with a space are not correctly passed to legendary (I selected /home/nico/Games/epic-games-store/drive_c/Program Files/Epic Games)
screen

Also it would be nice to have an option not to specify the game path (just like running legendary install [gameid]

Cannot sign in on openSUSE Leap 15.2

Installing with the RPM worked fine, I can launch, but when i enter by SID and press login the box clears and nothing else happens, i dont get logged in.

Game list loading issue

I'd logged in and Heroic had started to load my library but after a few seconds it got closed. If I run Heroic again the same thing happens (also it asks me again if I want to log in though no filling needed after my consent).
issie0635
issie0672

I use AUR version on Manjaro.

[Feature Request] Limit Bandwidth

Hey there 👋🏿 ,

as the title already states. An option to limit the used bandwidth by the launcher would be nice.

Thank you in advance :)

Proton Folder

First of all, thanks for this repository, very good job!

Now about my issue, in some linux distributions, like Fedora, the default steam folder is on:

  • ~/.local/share/Steam/

and if I install via flatpak it is on:

  • ~/.var/app/com.valvesoftware.Steam/.local/share/Steam/

If possible, will be nice to add this folders in the file:

  • utils.js
    that way, it can found the proton without problems.

PKGBUILD does not install correctly (AUR/Arch Linux)

Attempting to install heroic-games-launcher-appimage from the AUR or heroic-games-launcher-bin using the PKGBUILD from this repository returns the error:

 -> Could not find all required packages:
        fuse2 gawk (Wanted by: heroic-games-launcher-appimage)

I believe each of the items in the depends() array need to be in single quotes.

Filter games uncompatible with wine

Hello,

Since we can only download windows version of the games (even whan a linux version actually exists), we have often bad surprises when we discover that our downloaded games aren't working at all with wine. Personally, i just wasted my money buying a game i'm not able to make working because nothing happens when i'm launch it, only wine is launched but not the game.

So a filter could avoid us a such bad surprise.

proton on default wine prefix error

Hello everyone,

I just installed Heroic, this launcher is very good. I tried to launch Satisfactory and I get this error: "proton on default wine prefix ". The game doesn't launch. I try with Proton GE and Wine and I have the same result.

How to solves this issue ? Thanks

ksnip_20210117-155107

edit : i have this error with another game too.
edit 2 : I try this tutorial, doesn't work too (https://www.youtube.com/watch?v=vJjdi0AsrFg)

Please allow custom command for 'wine'

I have multiple versions of wine installed, and I've set up scripts to run them. Like 'wine-tkg', 'wine-staging' and 'wine-pba'.
Calling 'wine' will just run vanilla wine for me.
It would be nice if the 'wine' command could be customized.
Even nicer if it could be set per game.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.