Crates.io | dad-updater |
lib.rs | dad-updater |
version | 0.1.7 |
source | src |
created_at | 2023-09-04 10:19:59.164237 |
updated_at | 2023-12-06 09:08:42.245008 |
description | Dark and Darker updater |
homepage | |
repository | https://github.com/thoxy67/dad-updater |
max_upload_size | |
id | 962956 |
size | 64,227 |
This is a simple CLI (Command-Line Interface) updater for the Dark and Darker game. It downloads or verifies the latest files of the game installed.
You need to have Rust installed on your system.
Simply run cargo install dad-updater
in your terminal
cargo build --release
cargo install dad-updater --path .
After building and installing the application, The updater can be run using the following command:
DAD_PATH="$HOME/.local/share/bottles/bottles/Dark-and-Darker/drive_c/Program Files/IRONMACE/Dark and Darker/" dad-updater
dad-updater %command%
.To further optimize Bottles, you can:
If you want to use Proton-GE, you need to set the following environment variables:
STEAM_COMPAT_CLIENT_INSTALL_PATH=$HOME/.steam/steam
STEAM_COMPAT_DATA_PATH=$HOME/.local/share/Steam/steamapps/compatdata
For optimal performance on an AMD card, add the following two environment variables:
RADV_PERFTEST=gpl
VK_ICDR_PATH=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json
The updater accepts the following command-line arguments:
-g
, --game-path
: Specify the path to the game installation directory. This
argument is optional and defaults to the value of the DAD_PATH
environment
variable.-l
, --launcher-path
: Specify the path to the launcher installation
directory. This argument is optional and defaults to the value of the
BLACKSMITH_PATH
environment variable. (optional)-s
, --speed
: Set the download speed limit in bytes per second. This
argument is optional and defaults to the value of the DAD_DOWNLOAD_SPEED
environment variable or 0
if not provided (0
= no limit
).-t
, --threads
: Set the number of simultaneous download threads. This
argument is optional and defaults to the value of the DAD_THREADS
environment variable or 5
if not provided.The updater performs the following tasks:
http://cdn.darkanddarker.com
.This project is licensed under the MIT License.
Contributions to this project are welcome. If you find any issues or want to enhance the functionality, feel free to open a pull request.