Help:Tools/UKMM: Difference between revisions

Jump to navigation Jump to search
(→‎Installation: Further break down installation instruction groups)
Line 48: Line 48:


# Install Rust: you can do this by opening a terminal and running the command <code>curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh</code> - what this does is download the <code>rustup</code> tool for managing and building Rust applications. It will ask you to enter a number, 1-3. You want to type 1 and then hit enter.
# Install Rust: you can do this by opening a terminal and running the command <code>curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh</code> - what this does is download the <code>rustup</code> tool for managing and building Rust applications. It will ask you to enter a number, 1-3. You want to type 1 and then hit enter.
# Install CMake: you can do this on macOS by installing the dmg for your system, or on Linux by running the sh for your system, both available from [https://cmake.org/download/ here].
# Download [https://github.com/GingerAvalanche/ukmm/archive/720eebd89c7e5f3d651e5f76db9dcac20cf9d282.zip this version of ukmm] (There is a more up-to-date version, but it contains things you don't want, because functionality was removed in order to implement it a different way, later)
# Download [https://github.com/GingerAvalanche/ukmm/archive/720eebd89c7e5f3d651e5f76db9dcac20cf9d282.zip this version of ukmm] (There is a more up-to-date version, but it contains things you don't want, because functionality was removed in order to implement it a different way, later)
# Extract that zip somewhere. It doesn't matter where. It could be on your desktop, if you want
# Extract that zip somewhere. It doesn't matter where. It could be on your desktop, if you want
# Go into the folder. You know you're in the folder when you see things like <code>assets</code>, <code>book</code>, <code>crates</code>, <code>src</code>, etc in your finder window.
# Go into the folder. You know you're in the folder when you see things like <code>assets</code>, <code>book</code>, <code>crates</code>, <code>src</code>, etc in your finder window.
# On macOS, control-click the folder name in the path bar, and select Open in Terminal (If the path bar isn't visible, select View -> Show Path Bar, and then do #5). On Steam Deck, open Konsole and then use the <code>cd [path]</code> command (replace <code>[path]</code> with whatever is in the path/address bar in step 4)
# On macOS, control-click the folder name in the path bar, and select Open in Terminal (If the path bar isn't visible, select View -> Show Path Bar). On Steam Deck, open Konsole and then use the <code>cd [path]</code> command (replace <code>[path]</code> with whatever is in the path/address bar in step 5)
# Enter the command <code>cargo build --release</code> - wait for it to finish. This might take a while
# Enter the command <code>cargo build --release</code> - wait for it to finish. This might take a while
# Go into the <code>target</code> folder
# Go into the <code>target</code> folder
autopatrol, editnews
208

edits

Navigation menu