Some files to help play the Invisible Sun RPG
A Python script that scrapes The Gate pdf for index references and presents them as a standalone HTML file. The links open the appropriate PDF to the referenced page.
Video: https://www.youtube.com/watch?v=v3uuBQ3dGsE
NOTE: The script specifically looks for files that use the Monte Cook Games naming convention for downloaded files. If you have renamed the files, the script will not work.
- Python 3.6+
- Locally saved versions of the main four Invisible Sun PDFs (The Key, The Path, The Way, The Gate) in a single folder.
-
Save or clone the repositiory to your computer.
-
Install the dependencies:
pip install -r requirements.txt -
Run the script:
python create-index.py -
Enter the path to the folder containing your saved PDFs.
-
The script will create a file called invisible_sun_index.html in the same folder as the script. Open the file in your browser to view the index.
Once loaded in your browser, the links will open the PDFs in your browser.
There is a search function to make it easier to find a specific topic.
Python script to extract card data from Invisible Sun card PDF files and create a JSON file for use in other applications.
- Python 3.6+
- Locally saved versions of the Invisible Sun card PDFs.
-
Save or clone the repositiory to your computer.
-
Install the dependencies:
pip install -r requirements.txt -
Run the script:
python get-cards.py "C:\path\to\folder\with\pdfs\cardfile.pdf" -
The script will create a file in the same folder as the script.