14 releases

new 0.3.6-repro.6 Nov 20, 2024
0.3.5 Nov 17, 2024
0.2.0 Jul 25, 2023
0.1.1 May 28, 2023

#7 in #alt-v

Download history 11/week @ 2024-09-22 2/week @ 2024-10-13 2/week @ 2024-11-03 719/week @ 2024-11-10 827/week @ 2024-11-17

1,548 downloads per month

MIT license

20KB
477 lines

altvup

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, altvup is Rust version of it

How to install

Recommended: (if you don't have it: cargo-binstall)
cargo binstall altvup

Or you can compile from source code: (but it's gonna take longer)
cargo install cargo-altvup

How to use

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:

--force-recompile

Compile latest rust-module again (if rust-module binary already exists it wont be installed by default).

For example: cargo altvup release --force-recompile

--src-dir

The directory to which altv-rust source code will be downloaded (.altvup-src by default).

For example: cargo altvup release --src-dir=my_dir

--jsv2

Download serverside part of jsv2 module (disabled by default).

For example: cargo altvup release --jsv2

--voice-server

Download external voice server binary (disabled by default).

For example: cargo altvup release --voice-server

--rust-module-releases-pages

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

How rust-module is installed

It downloads altv-rust source code to .altvup-src directory (see also: --src-dir) and compiles rust-module (.so or .dll) to the modules directory, after compilation .altvup-src directory will be deleted.

Dependencies

~5–18MB
~211K SLoC