Unvanquished / updater

QML based updater to install, update and launch the Unvanquished game.
https://unvanquished.net/download
15 stars 7 forks source link

Launcher error: "bcrypt.dll is missing" #101

Closed JeanPaulLucien closed 2 years ago

JeanPaulLucien commented 2 years ago

I tried to install the game using Launcher but have got this arror.

necessarily-equal commented 2 years ago

@JeanPaulLucien what version of Windows do you use ? (I assume Windows, because of the ".dll")

@slipher I suppose this works for you?

ghost commented 2 years ago

Rough and partial translation of this link:

use start the start menu, go to "execute", write "cmd" and press Ctrl+Shift+Enter, then run the command sfc /scannow

The reason is, that DLL should be provided by windows itself, from what I read. @JeanPaulLucien does that help you?

JeanPaulLucien commented 2 years ago

Windows XP 32-bit. I suppose this library should be in Windows folder. May you add and alternative path - subfolder in Launcher dir?

slipher commented 2 years ago

We're not testing on anything lower than Windows 7

JeanPaulLucien commented 2 years ago

@slipher I test and may to continue. Meanwhile, the solution exists.

ghost commented 2 years ago

I can't say for sure, but considering the link I found, I'd say windows XP is lacking a component, which I'd suspect is required for the encrypted download. Since it's a DLL, it's very possible it's loaded before the executable even have the hand (which means executable can't give an option to avoid this), if so, you'll need to compile it yourself, I'm afraid.

illwieckz commented 2 years ago

@JeanPaulLucien Are you running the updater/launcher or the game directly (daemon.exe) ?

I've noticed that on Vista the updater doesn't run but the engine starts up even if we don't make any effort for Vista. Maybe with some luck it may works on XP this way?

If you were trying the updater/launcher, you may want to try the universal zip instead, you can download by hand unvanquished_0.52.1.zip there: https://unvanquished.net/download/zip and follow the instructions in the README contained in zip.

I have never heard about someone trying to run Unvanquished on XP before anyway.

illwieckz commented 2 years ago

On a side note, I have just read in multiple places that bcrypt.dll was introduced with Windows Vista, so if that's the engine or an engine component that is missing bcrypt.dll, there would be no workaround.

JeanPaulLucien commented 2 years ago

I say about Launcher, I downloaded from the website. @bmorel what protocol do you need?

Is there e-mail to contact?

ghost commented 2 years ago

game assets are downloaded through http, and possibly https (hence the bcrypt), so your regular browser should suffice, but I don't remember the URI game uses. But you could, as @illwieckz said, try to use the universal archive.

I do not think there's any official mail for unvanquished project, but there are forums and various other ways to chat which might be easier.

illwieckz commented 2 years ago

I say about Launcher, I downloaded from the website.

So better try with the universal zip, maybe it works? The launcher is known to not work below Windows 7.

The engine itself does not do any https stuff, so maybe it can work?

JeanPaulLucien commented 2 years ago

After upgrading to 8.59 + OpenSSL 1.1.1b, my users under Windows XP (and only XP) are now getting a message at startup "missing bcrypt.dll".

Is it your case?

illwieckz commented 2 years ago

The engine does not need OpenSSL as far as I know, so try to run the engine directly:

This is basically doing by hand what the launcher does, so you can avoid using the launcher.

In all case, forget about the launcher, it will not work below Windows 7. We don't know yet if the engine (daemon.exe) runs on XP, you're the one who can tell us. :wink:

JeanPaulLucien commented 2 years ago

Could you share only daemon.exe? My internet connection is not okay.

illwieckz commented 2 years ago

https://cdn.unvanquished.net/unvanquished_0.52.1/windows-i686.zip

This will not be enough to run the game (you'll need required assets), but you would be able to know if you miss some libraries to run daemon.exe or not.

JeanPaulLucien commented 2 years ago

you're the one who can tell us

Looks like daemon.exe works: Could not load default base pak "game title".

illwieckz commented 2 years ago

Oh wow!!! Yes if you can see this message it means the engine run. :tada:

Then download the universal zip and follow the instructions above. :smiley:

You may also face some issues when the engine will try to load the game code.

And given your GPU and your driver, you may face other issues.

So now, try the complete game for first and we'll troubleshoot the possible other options after that. :wink:

JeanPaulLucien commented 2 years ago

launcher.exe will not work below Windows

It was before January 2021.

necessarily-equal commented 2 years ago

I'm not sure this issue should stay open, if it's when running on a old (unsupported) version of windows. Note that if you find a fix though, we'll welcome a PR for it if it doesn't break anything.

illwieckz commented 2 years ago

The discussion can continue even if the ticket is closed and the original poster or anyone has additional useful information.

Keeping this ticket open would mean that's an actual problem for Unvanquished. While it would be interesting to know if the game can run on an operating system as old as Vista, this is not a requirement to consider our expectations for Unvanquished are met.

Having the updater running on obsolete Windows has even lower priority than running the engine.