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

How do I run this? #2

Open
MetroidSky opened this issue Feb 22, 2023 · 1 comment
Open

How do I run this? #2

MetroidSky opened this issue Feb 22, 2023 · 1 comment

Comments

@MetroidSky
Copy link

I have downloaded the source code, how do I run this from the cmd?

@Istador
Copy link

Istador commented Mar 7, 2023

You have to build a binary executable file from the source code that can then be run.

It's written in Rust, so you'd need to install that in order to build its source code.

Have a look at https://github.com/PrimeDecomp/retrotool/blob/main/.github/workflows/build.yml to see how it automatically builds itself on every new commit.

You can also download these automatic builded binaries here (select a workflow run and at the bottom there are artifacts):
https://github.com/PrimeDecomp/retrotool/actions


Basically if Rust is already installed:

# Windows amd64:
cargo build --release --all-features --target x86_64-pc-windows-msvc --bin retrotool

# Linux amd64:
pip install cargo-zigbuild
cargo zigbuild --release --all-features --target x86_64-unknown-linux-musl --bin retrotool

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

No branches or pull requests

2 participants