Initialize and update all submodules after you have cloned this repository:
git submodule update --init --recursive
For python specifically, you may need to install python3-venv
to create virtual
environments on Linux.
Note: You can also use the ./easy_install.sh
script to skip this section.
If this is your first time using a python script, use
python -m venv venv/
source venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt --only-binary all
to install the dependencies in a virtual environment. On Windows, you need to use
.\venv\Scripts\Activate.ps1
to activate a virtual environment. Note that this script
assumes that it is being run from the project's root directory. You need to create
at least two new pkmn file sets before you can start playing this game:
# creates two new pkmns (bulbasaur and charmander)
python gen_data.py --verbose make --id 1 4
# creates a manifest.json
python gen_data.py manifest
In case of doubt, use
python gen_data.py --help
to get more help.
Navigate to Project
and select Generate Cache for pkmn
. Set Current Document (main.cpp)
to start debugging this project (F5
).
Useful links for first timers: