2024-03-25 15:21:59 +08:00
|
|
|
# Rustmon
|
2024-03-25 12:55:00 +08:00
|
|
|
|
2024-04-22 20:27:33 +08:00
|
|
|
A feature-rich, versatile colorscript printer written in Rust.
|
2024-03-25 14:00:17 +08:00
|
|
|
|
2024-04-22 20:27:33 +08:00
|
|
|
Inspired by [phoneybadger's pokemon-colorscripts](https://gitlab.com/phoneybadger/pokemon-colorscripts).
|
2024-03-25 14:00:17 +08:00
|
|
|
|
|
|
|
## Performance
|
|
|
|
|
|
|
|
This is written in Rust, while the original is written in Python.
|
2024-04-22 20:27:33 +08:00
|
|
|
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)
|
2024-03-25 14:00:17 +08:00
|
|
|
|
|
|
|
This is the Python implementation:
|
|
|
|
![python implementation](img/screenshot_250324_132129.png)
|
|
|
|
|
2024-04-22 20:27:33 +08:00
|
|
|
## 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.
|
|
|
|
|
2024-04-22 23:53:11 +08:00
|
|
|
## Say
|
2024-04-22 20:27:33 +08:00
|
|
|
|
2024-04-22 23:53:11 +08:00
|
|
|
- Pokemonsay, inspired by cowsay. Pipe text into it or use `--text` to make a Pokemon say it.
|
2024-03-25 15:06:57 +08:00
|
|
|
|
|
|
|
## Credits
|
|
|
|
|
|
|
|
- [phoneybadger](https://gitlab.com/phoneybadger) for the original colorscripts and inspiration.
|
|
|
|
- [talwat](https://github.com/talwat/pokeget-rs) for Rust code reference. (fast af implementation at ~1ms)
|
|
|
|
- [msikma](https://github.com/msikma/pokesprite/) for the colorscripts' sprites.
|