tkashkin / GameHub

All your games in one place
https://tkashkin.github.io/projects/gamehub
GNU General Public License v3.0
2.23k stars 129 forks source link

Games with .exe and .bin files do not get installed #174

Closed sudonikgr closed 5 years ago

sudonikgr commented 5 years ago

I tried two things on Ubuntu 18.04.1: 1. installing XCOM: Enemy Unknown via download through Gamehub and 2. adding an installer and use previously downloaded 6 files (1 .exe and 5 .bin) through the big plus button on the top bar of Gamehub.

On both cases, the installer did not finish. It works well with .exe files and when time comes to go to the next (which are .bin files for GOG games) it stops and simply says "Not installed". I noticed this with other GOG games that have .exe and .bin. Games that only have 1 .exe file and nothing else work perfectly. Does anyone else have that problem?

tkashkin commented 5 years ago

You should not use plus button for supported games (those from Steam, GOG and Humble).

I need to know what exactly happens when you install game through GameHub. Run com.github.tkashkin.gamehub --debug --log-downloader in terminal and post its output here.

sudonikgr commented 5 years ago

This is what I get in the terminal:

loaderini@loaderini-desktop:~$ com.github.tkashkin.gamehub --debug --log-downloader
[DEBUG 17:28:15.453484] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.paths.collection'
[DEBUG 17:28:15.453664] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.paths.collection.gog'
[DEBUG 17:28:15.454104] Utils.vala:106: [Utils.run] {'bash' '-c' 'rm -f /mnt/Toys/Gamehubgames/InstallersGOG/*/.goutputstream-*'}; dir: '/home/loaderini'
[DEBUG 17:28:15.459991] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.paths.collection.humble'
[DEBUG 17:28:15.460344] Utils.vala:106: [Utils.run] {'bash' '-c' 'rm -f /mnt/Toys/Gamehubgames/InstallersHumbleBundle/*/.goutputstream-*'}; dir: '/home/loaderini'
[DEBUG 17:28:15.466686] Database.vala:87: [Database.migrate] Latest db version: 5, current: 5
[DEBUG 17:28:15.467563] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.ui'
[DEBUG 17:28:15.468296] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.auth.gog'
[DEBUG 17:28:15.468741] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.auth.humble'
[DEBUG 17:28:15.473275] WineWrap.vala:43: [WineWrap] updating index
[DEBUG 17:28:15.482858] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.paths'
[INFO 17:28:15.550809] app.vala:107: Distro: Ubuntu 18.04.1 LTS
[DEBUG 17:28:15.582846] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.auth.steam'
[DEBUG 17:28:15.584297] Settings.vala:163: Loading settings from schema 'com.github.tkashkin.gamehub.saved-state'
[DEBUG 17:28:16.157657] [Manette] ManetteMappingManager: Can’t add mappings from file:///home/loaderini/.config/libmanette/gamecontrollerdb: Error opening file /home/loaderini/.config/libmanette/gamecontrollerdb: No such file or directory
[DEBUG 17:28:16.203373] [Manette] Failed to open /dev/input/js0: Evdev is unable to open “/dev/input/js0”: Invalid argument
[DEBUG 17:28:16.429350] GamesView.vala:1026: [Gamepad] 'Microsoft X-Box 360 pad' connected
[DEBUG 17:28:18.815204] WineWrap.vala:74: [WineWrap] index updated
[DEBUG 17:28:29.948842] GOG.vala:310: [GOG] Loading games: page 1 of 2
[DEBUG 17:28:30.379455] GOG.vala:310: [GOG] Loading games: page 2 of 2
Entity: line 120: parser error : attributes construct error
    <chunk id="118" from="1237319680"
                                     ^
Entity: line 120: parser error : Couldn't find end of Start Tag chunk line 120
    <chunk id="118" from="1237319680"
                                     ^
Entity: line 120: parser error : Premature end of data in tag file line 1
    <chunk id="118" from="1237319680"
                                     ^
tkashkin commented 5 years ago

I don't see anything wrong in log. Did you actually try to reproduce your issue before copying log?

How are you trying to install the game? What compatibility layer are you trying to use and what layers do you have installed?

sudonikgr commented 5 years ago

Yes I successfully reproduced the issue before copying the log. I copied the .exe and .bin files in the proper folder so that it wouldn't need to download them again and then tried to install. So far I have tried all the layers, proton, wine 32 and 64, abrahms wine and innoextract. But no matter, no there's a different problem. I decided to start over, reinstall the app and remove all configuration/settings files, but every time I reinstall the app remembers the old settings. How do I completely remove everything in order to do a clean reinstallation?

tkashkin commented 5 years ago

Then install latest version and try again.

There is a new option to run it with a GDB debugger preconfigured and attached. Run com.github.tkashkin.gamehub --gdb --log-downloader

deckoff commented 5 years ago

Was this solved in any way? I am trying to install Heroes of Might and Magic 3, and getting the same issue. Not only is the game says it is not installed, the folder where the files should be are empty.

tkashkin commented 5 years ago

@deckoff

deckoff commented 5 years ago

OK, unchecking silend mode somehow solved it. Thanx!

neuromancer commented 5 years ago

I think the use of some default installer options (silent mode, no-GUI, etc) should be disabled when using the manual installer option.