PDA

View Full Version : Coding and Editing Extensions?



Deniecu
November 14th, 2023, 21:54
Hey folks.

Recently I've run into some issues with an extension and the variant encumbrance rules. Since I've been learning a little bit about coding in the past couple of years I figured I'd try my hand at fixing the problem myself. However, I don't seem able to open the extension in a readable way.

My question then, what software would one use to write or edit extensions for fantasy grounds unity? Are there any good resources on this that I've thus far failed to find?

Thanks for taking the time to read this and thanks in advance to anyone who might reply :)

Trenloe
November 14th, 2023, 21:57
Lots of information in the FG Wiki developer guide here: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996644285/Developer+Guide

wndrngdru
November 14th, 2023, 22:25
Unless the extension is in the Vault (meaning you're out of luck because it's encrypted), an extension is just a zip file with a different extension. Change the .ext to .zip and you can extract it to see the files it contains.
Your best bet for editing an already-made extension is to use a text editor. Notepad++ is a personal favorite.
For creating new extensions/rulesets, I highly recommend Ruleset Wizard (https://www.fantasygrounds.com/forums/showthread.php?61387-Ruleset-Wizard-The-new-Ruleset-development-environment) in the Paid Creations forum.