altvup is an installer for the Rust module on alt:V.
It can also download alt:V server binaries & data files.
If you are familiar with
altv-pkg,altvupis Rust version of it
Recommended: (if you don't have it: cargo-binstall)
cargo binstall cargo-altvup
Or you can compile from source code: (but it's gonna take longer)
cargo install cargo-altvup
cargo altvup <branch> - it will install rust-module (more about it here), alt:V server files (altv-server(.exe) binary, data bins, etc.) and minimal server config if it doesn't exists.
<branch> - alt:V branch, possible values: release or rc
For example: cargo altvup release
There are also some optional parameters:
Compile latest rust-module again (if rust-module binary already exists it wont be installed by default).
For example: cargo altvup release --force-recompile
Enable reloading feature for development.
For example: cargo altvup release --reloading
Don't download altv-rust source code and compile rust-module binary.
For example: cargo altvup release --dont-compile
The directory to which altv-rust source code will be downloaded (.altvup-src by default).
For example: cargo altvup release --src-dir=my_dir
Download serverside part of jsv2 module (disabled by default).
For example: cargo altvup release --jsv2
Download external voice server binary (disabled by default).
For example: cargo altvup release --voice-server
How many pages to fetch from github releases API to search for rust-module source code (2 by default).
Increase it if you have "Cannot find altv-rust release of branch..." error
For example: cargo altvup release --rust-module-releases-pages=5
NOTE: Windows only
Copy pdb file of rust-module to modules/rust-module directory to enable backtraces for rust-module binary.
For example: cargo altvup release --pdb
It downloads altv-rust source code to .altvup-src directory (see also: --src-dir) and compiles rust-module (.so or .dll) to the modules/rust-module directory, after compilation .altvup-src directory will be deleted.