FlexiRPG
Introduction
FlexiRPG is a virtual tabletop for pen and paper role playing games.
It aims to be rule system agnostic by providing flexible tools and features.
FlexiRPG was originally derived from OpenRPG.
Requirements
Installing dependencies.
pip
sudo apt-get install python3-pip
PLY
pip3 install --user -U ply
wxPython
Install a pre-built package for your OS or Linux distribution.
If there is no suitable pre-built package it will need to be built
from source using pip install.
-
Remove
libwebkit2gtk-3.0-dev(as the wxWidgets will build with this but wxPython expects a built with WebKit 1):sudo apt-get remove libwebkit2gtk-3.0-dev -
Install dependencies:
sudo apt-get install g++ libjpeg-dev libgtk-3-dev libgl1-mesa-dev \ libglu1-mesa-dev libgstreamer1.0-dev \ libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev \ python-dev libwebkitgtk-3.0-dev` -
Install with pip:
pip3 install --user -U wxpython
4- Troubleshooting
If you get an error on while trying to fire up flexi.rpg
ImportError: libpng12.so.0: cannot open shared object file: No such file or directory
Follow instructions at:
to install libpeng12-0 on your system
Upgrading from Releases before 1.96.2
Nodes using the auto-reset feature and __reset magic variable should be updated to use the new, simpler method by:
-
Replacing expression that update
__nameto set the__namevariable directly. (e.g.,update_hp = __name = "HP [hp] / [total_hp]"should be__name = "HP [hp] / [total_hp]). -
Removing any dice rolls used to trigger name, or icon updates.
-
Using
__rollin expressions instead of reading__resetin a reset action (e.g., a damage node could have a__name = "Take [__roll] damage"expression). -
Clearing the "Auto reset" checkbox and removing any reset action.
Upgrading from Releases before 1.95.0
Maps saved in versions prior to 1.95.0 are not compatible and may not load correctly.
If you manually added miniatures to the ~/.flexirpg/miniatures.xml
configuration file, these will need to be re-added to the library
using the new menu option (Map -> Add Miniature to Library...).
Development
In addition to the requirements listed above you will need:
- Inkscape (https://www.inkscape.org/)
- make
Development Installation
-
Setup a new virtual environment.
For example:
python3 -m venv ../flexi-dev . ../flexi-dev/bin/activate -
Do a development install.
pip install -e . -
Build all the PNG images from the SVG source.
make
Metadata
Release files for flexirpg 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flexirpg-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for flexirpg-2.1.0-py3-none-any.whl |
Release files / flexirpg-2.1.0-py3-none-any.whl
| Download URL | flexirpg-2.1.0-py3-none-any.whl |
|---|---|
| Size | 277.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48fe6291c6c05de57a26f078bf6b13b1d7fbf417b41a37ba0240eb5f2af34991
|
|
BLAKE2b-256 checksum How to use checksums |
48250c3ad2910cf03e12b0ed323d94956c94b46ca812eb8ffa53af79c4b8f86c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Security for flexirpg 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.