HGL
protestant-coral
Visual C++ specific error
Hi !
I am trying to play Bus Simulator 21.
I downloaded the game, and it doesn't launch because i need Microsoft Visual C++.
So, with a tutorial i found here, i managed to install vcrun2022 with Winetricks.
But, i have an error when the download of vcrun is finished.
It seems that the launcher wants FreeType >= 2.0.5
Is it the source of my error ? And then, how do i manage to install it ?
If you want any extra info, do not hesitate to ask !
Thanks,
Here is the gamelog : https://0x0.st/X7Dy.log
22 Replies
adverse-sapphire•7mo ago
what's the log when you try to install vcrun2022 with winetricks? it's still not installed so the game won't work until you get that fixed
freetype is a system package, maybe check your package manager to see which version you can install
protestant-coralOP•7mo ago
Is there a specific file for these logs, or is it the Winetricks CMD-like ?
adverse-sapphire•7mo ago
for example, I checked with Synaptic on my linux mint system and I have libfreetype6 2.11.1 installed
inside heroic, go to settings of a game > wine tab > winetricks > search for
vcrun2022
> click install, it will print the output of the winetricks command in that dialogprotestant-coralOP•7mo ago
Okay
protestant-coralOP•7mo ago
I have, on my Ubuntu 24.04 system, libfreetype6 2.13.2 installed.
And here is the result of the vcrun2022 installation :
https://pastebin.com/gTzsGaE7
I just noticed a SHA mismatch
Pastebin
Executing cd /home/lucas/.config/heroic/toolsDoneExecuting cd /home...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
protestant-coralOP•7mo ago
But, as written in the logs line 6679, I don't have vcrun2019 installed.
adverse-sapphire•7mo ago
I guess you can try downloading the x86 and x64 installers from https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 and then go settings > wine tab > run exe on prefix > select and install each of those
it won't use winetricks, it will install those like if on windows, so maybe it works
Latest supported Visual C++ Redistributable downloads
This article lists the download links for the latest versions of Visual C++ Redistributable packages.
ratty-blush•7mo ago
the SHA mismatch has been going on for a while. it's not going to be the reason it fails, unless you decline to install it
protestant-coralOP•7mo ago
Oh ok, good to know !
Okay, let's try
Nothing happens, the "Run EXE on Prefix" blinks in purple for few seconds and come back blue after, without any info.
Which logs would be useful here ?
adverse-sapphire•7mo ago
I think the general heroic log will show some error in that case
protestant-coralOP•7mo ago
Here are the logs at 15:59 (my local time when i tried it)
adverse-sapphire•7mo ago
hmmmm I would try deleting this folder
/home/lucas/Games/Heroic/Prefixes/default/Bus Simulator 21 Next Stop
and using a different wine like Proton-GE-9-20 and see if you can install vcrun2022 with it, it will create a new prefix folder for youoprotestant-coralOP•7mo ago
Ok, i'll try !
protestant-coralOP•7mo ago
Now, with Proton-GE-9-20,
Here is the log when i try to install vcrun2022 with winetricks : https://pastebin.com/HgQSUY3D
The problem seems to be the same
Pastebin
Executing cd /home/lucas/.config/heroic/tools----------------------...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
protestant-coralOP•7mo ago
And when i "run on prefix", it's also the same as before : the "Run EXE on Prefix" blinks in purple for few seconds and come back blue after, without any info.
Here is the game log : https://0x0.st/X7k0.log
adverse-sapphire•7mo ago
sorry, I don't really know what's happening, because it's failing but it doesn't show any error anywhere so I don't know what to try
protestant-coralOP•7mo ago
Yeah that's a mystery...
If someone have any idea, and how to make it work, do not hesitate !
I managed to correct the problem with FreeType.
I installed the 32 bits package :
sudo dpkg --add-architecture i386
Then : sudo apt-get update
And finally, the package : sudo apt install libfreetype6:i386
This doesn't unlock installation of vcrun2022.
I have the warning that i'm using 64 bits Wineprefix, and that it may not work correctly.
Do you think it can be a problem ?
And there is log of the vcrun2022 installation (only lines after the SHA mismatch)
protestant-coralOP•7mo ago
A little update, maybe good, maybe not, i'm quite lost ahah
I created a new WinePrefix that i called 'win'.
I tried to install vcrun2022 on it, and here are the logs :
https://pastebin.com/vZLLKnKv
There are way more lines, and a lot of errors.
Is it due to the new wineprefix, or are there errors that i got with my previous experimentations before ??
Pastebin
winetricks GUI enabled, using zenity 4.0.1-------------------------...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
protestant-coralOP•7mo ago
I especially found some errors about the disability to open a Window...
Install Wine Dependencies by following this guide
If this does not immediately resolve your issue, you might also have to delete your Wineprefix (by default it's in
~/Games/Heroic/Prefixes/default/<game name>
)
Alternatively, you can use the Flatpak version of Heroic: https://flathub.org/apps/com.heroicgameslauncher.hgladverse-sapphire•7mo ago
try checking your wine dependencies, or try using heroic flatpak and see if it works with that
protestant-coralOP•6mo ago
IT WORKS !!!!!
I installed all the packages mentioned in the 'Wine Dependencies' doc, and finally I could install vcrun2022 without any problem !
Thank you sooooo much !!