From dd26a2ba38617d9bff0141b8176b6a5162f3f838d82e50dc8931d4eba3d47c5c Mon Sep 17 00:00:00 2001 From: Techognito Date: Thu, 14 Aug 2025 22:27:16 +0200 Subject: [PATCH] updated readme --- README.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a61fe0..df17a0a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,31 @@ # FVTT-pdf2json-rolltable-creater -A set of BASH scripts for turning PDFs that contain multiple rolltables into Json filess that can be imported in FoundryVTT 12-13 \ No newline at end of file +A set of BASH scripts for turning PDFs that contain multiple rolltables into Json filess that can be imported in FoundryVTT 12-13 + + + +## Step 0 +pdf2text something.pdf + +## Step 1 +greatSplitter.sh? i don't remember… + +This "detects" rolltables from the input file, and splits them into seperate files + +## Step 2 +`foundrycleaner.sh dice|title|numbers|sort|lines|auto [inputFile] [outputFile]` + +recommended is auto, as that performes all changes + +auto steps: +1. sort the file content base on the numbers that starts each line +2. Removes the numbers that sort used first step +3. changes dice marks into foundry html approved marks (makes it so you can click to roll, in the description field or on the popup/chat message that contains the rolltable result) + + + +## Step 3 +`foundryrolltable.sh ["inputfile"] ["Title"]` + +## Step 4 +create an empty rolltable in foundry, right click and import, upload JSON from step 3