diff --git a/README.md b/README.md index fd1e46c..738ff1d 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,41 @@ # Rustmon -*For educational purposes* -A simple colorscript written in Rust. +A feature-rich, versatile colorscript printer written in Rust. -Inspired by [phoneybadger's pokemon-coloscripts](https://gitlab.com/phoneybadger/pokemon-colorscripts). +Inspired by [phoneybadger's pokemon-colorscripts](https://gitlab.com/phoneybadger/pokemon-colorscripts). ## Performance This is written in Rust, while the original is written in Python. -This implementation is up to 8 times faster than the original. +This implementation is up to 10 times faster than the original. +(Sixteen times the detail) + +This is the Rust implementation: +![rust implementation](img/screenshot_220424_202018.png) This is the Python implementation: ![python implementation](img/screenshot_250324_132129.png) -This is the Rust implementation: -![rust implementation](img/screenshot_250324_132205.png) +## Features + +## Printing + +- Print a colorscript of a Pokemon. +- Print a chungus colorscript of a Pokemon. +- Specify your custom shiny rate. +- Specify the colorscript by Pokemon name. +- Specify the colorscript by Pokedex ID. +- Print multiple colorscripts at once in a row. +- Print different colorscript forms of a Pokemon. + +## Fetching + +- Fetch the colorscript of a Pokemon from the internet. +- Extract to a custom location for your own use. + +## Coming soon + +- Pokemonsay, inspired by cowsay. Will be accessible by the subcommand `say`. ## Credits diff --git a/build/arch/PKGBUILD b/build/arch/PKGBUILD index 461295a..ca86f81 100644 --- a/build/arch/PKGBUILD +++ b/build/arch/PKGBUILD @@ -3,7 +3,7 @@ pkgname=rustmon-git pkgdesc="Pokemon Colorscripts written in Rust" _gitname=rustmon -pkgver=r46.5aa2597 +pkgver=r47.31f64ae pkgrel=1 arch=('x86_64') url="https://github.com/Vomitblood/$_gitname" @@ -22,6 +22,7 @@ pkgver() { } build() { + # fix linking errors export CFLAGS="-fPIE" cd "$srcdir/$_gitname" # build main program diff --git a/img/screenshot_220424_202018.png b/img/screenshot_220424_202018.png new file mode 100644 index 0000000..3c8ee05 Binary files /dev/null and b/img/screenshot_220424_202018.png differ diff --git a/install.sh b/install.sh index 235498a..f4ab47a 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,4 @@ #!/bin/bash -# TODO: temp install script for arch - cd build/arch makepkg -cfsi \ No newline at end of file