lutris / docs

711 stars 220 forks source link

Fonts missing and cannot be downloaded, installing impossible #157

Open Sergorov opened 6 months ago

Sergorov commented 6 months ago

The first font missing is Arial32.exe and arialb32.exe, which can be downloaded on https://sourceforge.net/projects/corefonts/files/the%20fonts/final/. The second one is Tahoma32.exe, and I could not find it anywhere. The ttf is easy enough to get, but it needs to be this odd exe file, and all links to ms servers (https://download.microsoft.com/download/office97pro/fonts/1/w95/en-us/tahoma32.exe and ftp://ftp.microsoft.com/Softlib/MSLFILES/tahoma32.exe) are dead.

As these two are missing it is impossible to use the install script on https://lutris.net/games/battlenet/.

What do I do now?

strycore commented 6 months ago

Why are you having problems downloading fonts with Winetricks? We solved that several months ago.

strycore commented 6 months ago

None of the URLs you point to are sites we've used to download fonts in Winetricks. If I'm not mistaken we now download every font from Github.

Are you sure you're using our version of Winetricks?

Sergorov commented 6 months ago

Thank you for your answer. Maybe it's because I use the flatpak version of lutris I installed via the software manager in Linux Mint (version is given as 0.5.16). I ran the updater and it claims to be up to date, stating Wine version is wine-ge-8-26-x86_64. I couldn't find the version of the packaged winetricks that came with it.

Sergorov commented 6 months ago

If you have access to the Tahoma32.exe, would it be possible to add that to the github?

strycore commented 6 months ago

We don't have ownership on the Github account that has those fonts and the repo was updated 9 years ago: https://github.com/pushcx/corefonts/

For the Tahoma font, it's not part of corefonts, the font is present in a .cab file that is hosted on SourceForge. I experienced no problem installing it with Winetricks:

Executing load_tahoma 
grep: warning: stray \ before /
Executing mkdir -p /home/strider/.cache/winetricks/tahoma
Executing cd /home/strider/.cache/winetricks/tahoma
Downloading https://downloads.sourceforge.net/corefonts/OldFiles/IELPKTH.CAB to /home/strider/.cache/winetricks/tahoma
--2024-02-24 16:08:25--  https://downloads.sourceforge.net/corefonts/OldFiles/IELPKTH.CAB
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 204.68.111.105
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|204.68.111.105|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://master.dl.sourceforge.net/project/corefonts/OldFiles/IELPKTH.CAB?viasf=1 [following]
--2024-02-24 16:08:25--  https://master.dl.sourceforge.net/project/corefonts/OldFiles/IELPKTH.CAB?viasf=1
Resolving master.dl.sourceforge.net (master.dl.sourceforge.net)... 216.105.38.12
Connecting to master.dl.sourceforge.net (master.dl.sourceforge.net)|216.105.38.12|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 411248 (402K) [application/octet-stream]
Saving to: ‘IELPKTH.CAB’

     0K .......... .......... .......... .......... .......... 12%  778K 0s
    50K .......... .......... .......... .......... .......... 24% 2.64M 0s
   100K .......... .......... .......... .......... .......... 37% 1.70M 0s
   150K .......... .......... .......... .......... .......... 49%  144K 0s
   200K .......... .......... .......... .......... .......... 62%  923K 0s
   250K .......... .......... .......... .......... .......... 74% 62.7K 0s
   300K .......... .......... .......... .......... .......... 87%  608K 0s
   350K .......... .......... .......... .......... .......... 99%  680K 0s
   400K .                                                     100% 3.00T=1.5s

2024-02-24 16:08:29 (274 KB/s) - ‘IELPKTH.CAB’ saved [411248/411248]

Executing cd /home/strider/.local/share/lutris/runtime/winetricks
Executing cabextract -q -d /media/games/Games/battlenet/dosdevices/c:/windows/temp /home/strider/.cache/winetricks/tahoma/IELPKTH.CAB
/home/strider/.cache/winetricks/tahoma/IELPKTH.CAB: WARNING; possible 5592 extra bytes at end of file.
strycore commented 6 months ago

I'm also not sure the Tahoma font is needed at all for Battle.net... I didn't have it installed and Battle.net was working just fine.

BenjaminDebeerst commented 3 weeks ago

I've had the same issue today, trying to install battle.net, and was able to work around it. The standard battle.net installer does install the Tahoma font by default.

For context, I first encountered the corefonts download issues exactly as discussed in #365. Downloading them manually from https://github.com/pushcx/corefonts and placing them in ~/.cache/winetricks/corefonts solved that issue for me.

I subsequently hit Downloading https://web.archive.org/web/2000/https://downloads.sourceforge.net/corefonts/OldFiles/IELPKTH.CAB failed with the exit code 256. Similar workaround: Manually download that file from https://master.dl.sourceforge.net/project/corefonts/OldFiles/IELPKTH.CAB?viasf=1, and placing it in ~/.cache/winetricks/tahoma. The next run of the battle.net installer succeeded.

I'm is running Lutris 0.5.17 on Arch Linux. The logs state Using winetricks 20230212-next.