Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DISCUSSION] linux linux linux #160

Open
1312ac opened this issue Jan 4, 2025 · 3 comments
Open

[DISCUSSION] linux linux linux #160

1312ac opened this issue Jan 4, 2025 · 3 comments

Comments

@1312ac
Copy link

1312ac commented Jan 4, 2025

maybe a linux binary or a verbatim compilation guide ??

@Qosmos11
Copy link

Qosmos11 commented Jan 4, 2025

In todo list

@will-code-for-pizza
Copy link

Probably I can help....

Works on Ubuntu 24.04

#!/bin/bash

target_dir=${HOME}/TEMP/minecraft-server

mkdir -p ${target_dir}
chmod 777 ${target_dir}
cd ${target_dir}

sudo apt-get install -y git cargo-1.80 rustup rustc-1.80 pkgconf libglib2.0-dev libgtk-3-dev libssl-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev
				
latest_version="$(curl -skL https://github.com/louis-e/arnis/releases/latest | grep '<title>' | sed 's|.*<title>.*(\(.*\)).*<\/title>.*|\1|')"
wget https://github.com/louis-e/arnis/archive/refs/tags/${latest_version}.tar.gz
mkdir -p arnis-${latest_version}
tar -xzf ${latest_version}.tar.gz -C arnis-${latest_version} --strip-components=1
sleep 3
cd ./arnis-${latest_version}
				
rustup default 1.80
export RUSTUP_TOOLCHAIN=stable
cargo fetch
export CARGO_TARGET_DIR=target
cargo build --release

# After build is ready:
# For the CMD: cargo run --release -- --path="C:/YOUR_PATH/.minecraft/saves/worldname" --bbox="min_lng,min_lat,max_lng,max_lat"
# For the GUI: cargo run --release

@benjamin051000
Copy link
Contributor

Duplicate of #106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants