winepak / applications

A collection of flatpak manifest for building Microsoft Windows applications with Wine via flatpak
https://www.winepak.org
416 stars 39 forks source link

com.worldoftanks.Client - Cannot find launcher #75

Open ghost opened 6 years ago

ghost commented 6 years ago

I installed the World of Tanks client by using "flatpak install winepak com.worldoftanks.Client", it downloaded all the files and did what it had to do but it doesn't seem to have downloaded the WoT client. I get an error message when trying to launch it using "flatpak run com.worldoftanks.Client" that says "wine: cannot find 'C:/Games/World_of_Tanks/WotLauncher.exe'".

If I browse to .var/app/com.worldoftanks.Client/data/wine/drive_c there's no Games folder at all.

Am I missing any steps or should "flatpak install winepak com.worldoftanks.Client" have installed at least the client?

Does it automatically pick x86 vs x86-64 vs US/RU/EU?

julianrichen commented 6 years ago

Hmm installer might have just failed, you can restart by deleting the wineprefix and trying again:

rm -rf $HOME/.var/app/com.worldoftanks.Client/data/wine
flatpak run com.worldoftanks.Client
ghost commented 6 years ago

I removed the folder and tried to run the flatpak again but it's giving me some errors and fails again with cannot find WoTLauncher.exe.

There's a whole bunch of lines with the version WINE_1.0 not defined error. Here's the full log below.

Setting-up wine prefix...
wine: created the configuration directory '/var/data/wine'
/app/lib/wine-32bit/bin/wine: relocation error: /app/lib/wine-32bit/bin/wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
wine: configuration in '/var/data/wine' has been updated.
Installing Extension(s)...
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_24=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_25=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_26=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_27=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_28=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_29=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_30=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_31=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_32=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_33=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_34=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_35=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_36=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_37=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_38=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_39=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_40=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_41=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_42=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_43=native
The operation completed successfully
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_24=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_25=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_26=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_27=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_28=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_29=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_30=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_31=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_32=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_33=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_34=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_35=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_36=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_37=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_38=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_39=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_40=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_41=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_42=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
[REGEDIT] Adding:
HKEY_CURRENT_USER\Software\Wine\DllOverrides
*d3dx9_43=native
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
Performing tweak(s)...
Disable winemenubuilder.exe
wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
Installing application...
/app/lib/wine-32bit/bin/wine: relocation error: /app/lib/wine-32bit/bin/wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference
Installer finished
wine: cannot find 'C:/Games/World_of_Tanks/WoTLauncher.exe'

Any ideas? It shouldn't matter if I already have Wine installed on my own PC? Flatpak is self contained?

julianrichen commented 6 years ago

Any ideas? It shouldn't matter if I already have Wine installed on my own PC? Flatpak is self contained?

Flatpak is self contained, so no issue.

wine: relocation error: wine: symbol wine_get_patches, version WINE_1.0 not defined in file libwine.so.1 with link time reference

You seem to be getting something similar to #56. It makes it seem that the Compat32 extension for the org.winepak.Platform.Wine//3.9-staging isn't installed. Can you check if you have the following and install them all if you dont:

$ flatpak list
...
org.winepak.Platform/x86_64/3.0
org.winepak.Platform.Compat32/x86_64/3.0
org.winepak.Platform.Wine/x86_64/3.9-staging
org.winepak.Platform.Wine.Compat32/x86_64/3.9-staging
...

# or..

flatpak -y install winepak org.winepak.Platform/x86_64/3.0 org.winepak.Platform.Compat32/x86_64/3.0 org.winepak.Platform.Wine/x86_64/3.9-staging org.winepak.Platform.Wine.Compat32/x86_64/3.9-staging

At first I thought it was a build/linking-issue that I made but it's working fine on my system :/

julianrichen commented 6 years ago

Also I apologize, I never answer your other question:

Does it automatically pick x86 vs x86-64 vs US/RU/EU?

The default arch downloaded is the arch of your system, so if you have a 64 bit machine it downloads x86_64. You could download another arch if you want:

flatpak install winepak com.worldoftanks.Client/i386

It's also the US version atm. Once we figure out why this version doesn't work + why it doesn't always run right I'll add

com.worldoftanks.Client.eu
com.worldoftanks.Client.ru
etc...
ghost commented 6 years ago

Hmm, I tried installing those and it just says already installed. flatpak list only shows com.worldoftanks.Client though none of the wine entries.

If I try to install com.worldoftanks.Client I'm getting an error that says:

Warning: Failed to update org.winepak.Platform.Compat32/x86_64/3.0: While pulling runtime/org.winepak.Platform.Compat32/x86_64/3.0 from remote winepak: No detached metadata found for GPG verification

julianrichen commented 6 years ago

Hmm I was able to uninstall and re-install the *.Compat32 package. Maybe it was a temporary issue with connecting to the server. Can you uninstall and install it again?

ghost commented 6 years ago

I tried uninstalling all the runtimes and starting from scratch but still the same error :(... even blew away some folders in /var/lib/flatpak related to winepak, did flatpak remote-delete winepak so that it redownloaded the winepaktrustedkeys.gpg file under /var/lib/flatpak/repo but nope..

I tried installing the pathofexile installer and get the same gpg error with Compat32, I guess it's not installer specific..

Ovsyanka commented 5 years ago

I faced with the same issue. Is there any news about it?