This is the source repository for Red Alien, a compiler for the scripting system found in GBA Pokémon games.
See the documentation and examples for an overview of its features.
Red Alien is built using cross-platform technologies, so it should run everywhere. I build windows binaries every now and then. Binary packages for various distributions are available at https://software.opensuse.org//download.html?project=home%3Acosarara&package=red-alien
Arch Linux users can also install its AUR package.
On other unix-like systems it can be installed with:
$ pip install red-alien
it can also be run from a source directory using poetry:
$ poetry install
$ poetry run ./asc-qt
There is a very old build for Mac OSX which I don't recommend using; use pip instead. Same on other linux distributions or operating systems.
Red alien is written in python and can be run directly from the source files if you have all the dependencies installed:
Dependency | Arch package | Debian/Ubuntu package |
---|---|---|
Python 3 | python |
python3 |
PyQt 5 | python-pyqt5 |
python3-pyqt5 (depends on python3 ) |
Python bindings for Qscintilla | python-qscintilla-qt5 |
python3-pyqt5.qsci (depends on python3-pyqt5 ) |
You can run asc-cli for CLI or asc-qt for the GUI.
If you want pks syntax highlighting in vim, you can copy utils/pks.vim to $HOME/.vim/syntax/, and add the following line to your .vimrc:
autocmd BufRead,BufNewFile *.pks set filetype=pks
Most of the command's information was taken from PKSV's pokedef.h (Thanks!)
The headers in stdlib/ are taken from XSE.