Dump Submitted:MKB20_v77_The_wandering_earth_II_Disc1_CBF2(Issued in China)

Please post here for issues related to UHD discs
neo305
Posts: 26
Joined: Thu Jul 16, 2020 10:33 pm

Re: Dump Submitted:MKB20_v77_The_wandering_earth_II_Disc1_CBF2(Issued in China)

Post by neo305 »

bobtiki wrote:
Fri Feb 07, 2025 11:20 pm
keydb_helper wrote:
Thu Nov 14, 2024 1:29 am

You need to download and configure the public key database file. The public keydb is a community driven project which MakeMKV can utilise as an alternative key source.

[...]

Finally, you'll need to copy the extracted keydb.cfg into the MakeMKV data directory. The default locations for each platform are:
Windows: C:\Users\<Your Username>\.MakeMKV\
Linux: /home/<Your Username>/.MakeMKV/
macOS: /Users/<Your Username>/.MakeMKV/ (I might be wrong about this one)
I might have missed it, but in case anyone else hasn't clarified, the macOS default data location is:

Code: Select all

/Users/<username>/Library/MakeMKV
I have created a shell script that you can run to quickly download and update your `keydb.cfg` file on macOS. (I'm sure it can be modified easily for Windows and Linux, but I don't have those systems to test on.) It's got some basic error checking built in, but it's not as complex as the KeyDB Helper app on Windows.

The script is hosted on GitHub here: https://gist.github.com/swizzlevixen/62 ... c129f60997 but I've also included the code below. Save it as something like `makemkv-keydb-update.sh` and run `chmod u+x makemkv-keydb-update.sh` in the terminal to make it executable. After you do that once, it should be double-clickable to launch itself in the Terminal and run the update.

Code: Select all

#!/bin/zsh
# This script downloads the latest copy of the FindVUK Online Database,
# unzips, and moves it to the logged in user's MakeMKV data directory

# NOTE: This script is designed for use on macOS, with the default
# location for the MakeMKV data directory. If you have changed the
# location in Preferences > General, you will need to edit the line
# that moves the file, near the end of the script.
# Windows and Linux users will need to modify this to use on their systems


# Config variables
downloadUrl="http://fvonline-db.bplaced.net/fv_download.php?lang=eng"
zipName="keydb_eng.zip"
filename="keydb.cfg"

# Download
echo "Downloading latest FindVUK Online Database..."
curl -Lo "/tmp/$zipName" "$downloadUrl"
# Check for the file name (case insensitive) inside the zip
if unzip -l /tmp/$zipName | grep -qiF "$filename"; then
  # unzip file to /tmp, without any surrounding folder structure
  echo "Unzipping..."
  unzip -j /tmp/$zipName -d /tmp
else
  echo "ERROR: $filename not found inside $zipName"
  exit 1
fi

# Confirm the file exists
if [ -f "/tmp/$filename" ]; then
  # move file to MakeMKV data directory
  echo "Moving to MakeMKV data directory..."
  loggedInUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ && ! /loginwindow/ { print $3 }' )
  mv /tmp/$filename /Users/$loggedInUser/Library/MakeMKV/$filename
  rm /tmp/$zipName
else
  echo "ERROR: File not found; possible error unzipping."
  exit 1
fi

echo "Done."
exit 0
Let me know if it's useful, or if you run into problems!
and for windows? can we just copy this and make a bat file with it?
MrPenguin
Posts: 1593
Joined: Thu Oct 19, 2023 11:31 pm

Re: Dump Submitted:MKB20_v77_The_wandering_earth_II_Disc1_CBF2(Issued in China)

Post by MrPenguin »

neo305 wrote:
Thu Jan 01, 2026 11:16 pm
and for windows? can we just copy this and make a bat file with it?
Use FindVUK.exe, specifically:

Code: Select all

findvuk synchronize
This will download only the changes to KEYDB.cfg since the previous "synchronize", and so is both faster and puts less load on the server.

Or even better, you could use SamuriHL's helper tool, which works as a front-end to FindVUK.exe :).
Post Reply