Vampire the Masquerade Bloodlines and some others scripts

I keep getting the following error when it gets to installing the unofficial patch: “I can’t move /home/USERNAME/Games/vampire-the-masquerade-bloodlines/drive_c/GOG Games/VtMB/Vampire.exe, it does not exist”

The username is my username, but it doesn’t matter if I install it to home or install it to my 5TB storage drive.

Hey, I tried using these scripts and the one that asks you whether to install the Unofficial Patch breaks because it can’t authenticate the site’s safety from Cloudflare or something, the site being ModDB. It says if you want to access the site regardless you need to enter a command but I have no fucking clue where to enter that command.

The other one works well right up until it has to install Windows Media Player 10 for some reason and it crashes every time.

Edit: nvm, I was using the wrong version of Lutris, the installers work fine now, I just can’t run the game cos it tells me the Loader DLL wasn’t located.

I am having trouble running the Vampire The Masquerade: Bloodlines script. I try to download the official patch using the script and get the following error:

Start monitoring process.
--2024-06-16 20:42:23--  https://www.moddb.com/downloads/start/189673/all
Resolving www.moddb.com (www.moddb.com)... 104.26.12.171, 172.67.70.78, 104.26.13.171, ...
Connecting to www.moddb.com (www.moddb.com)|104.26.12.171|:443... connected.
ERROR: cannot verify www.moddb.com's certificate, issued by ‘CN=E1,O=Let's Encrypt,C=US’:
  Unable to locally verify the issuer's authority.
To connect to www.moddb.com insecurely, use `--no-check-certificate'.

Does that option need to be added to the vtmb-update.sh, like this:

#!/bin/bash

# If $DOWNLOAD_PATH is not defined, use the script path
[ ! -n "$DOWNLOAD_PATH" ] && DOWNLOAD_PATH=$(dirname "$(readlink -f "$0")") 

cd $DOWNLOAD_PATH

# Geting the file to find the newest Unofficial Patch Download URL
wget --no-check-certificate https://www.moddb.com/downloads/start/189673/all -O mirrors.txt
MIRROR=$(grep -m1 'Start' 'mirrors.txt')

# Get the executable filename
FILE_NAME=$(grep -oP '(VTMBup[0-9a-z]*.exe)' <<< $MIRROR)

# Get the download URL
URL="https://www.moddb.com/"$(grep -oP 'downloads(\/[\w]*)+' <<< $MIRROR)

echo "Downloading $FILE_NAME from $URL"

# Download the Unofficial Patch
wget --no-check-certificate -c --retry-connrefused "$URL" -O vtmbup.exe

Certificate for that site checks out ok - not sure if it was in the process of being renewed when you tried it, your Linux cert store is broken, or you maybe your distro decided they do not trust certs from Let’s Encrypt :slight_smile: (or you are checking from behind a firewall that does SSL interception - at work maybe!)
However, checking the actual download, it seems it is broken - it was an old version of the unofficial patch, and is now gone from mirrors linked by moddb.

Looking at the latest patch issued yesterday (!) - assuming it is stable - it might just be a case of submitting an update to the installer - change the download reference from /start/189673/all to start/255290/all

Thanks. I noticed that someone submitted a pull request to automatically fetch the latest version of the patch. It was never merged. Is there anyone with mod privileges to the lutris-utils organization who is willing to merge it?

Nevermind, I did some further digging and I assume the lutris-utils account on GitLab is not affiliated with Lutris, so someone can just change the install script to point to the one that automatically fetches the latest version. I can do it myself when I fix this certificate issue and can verify everything works.

Edit: Submitted