Package: dndfog
DnD FogpipinstalldndfogDocumentation:https://mrthearman.github.io/dndfog/Source Code:https://github.com/MrThearMan/dndfog/Create battlemaps for tabletop RPGs, likeD&D.Program is Windows only for now. This is due to the saving and loading widgets
being Windows only (using pywin32). You're free to modify the code to add file
loading and saving for other platforms.FeaturesInfinite gridAdd and remove afog of wareffectImport maps from image filesPlace, move and remove pieces on a grid (can be matched to image grid)Place 1x1, 2x2, 3x3, or 4x4 piecesMake markings on the map to show areas of effect or point out things to the playersSave and load file to a single JSON file (no need to keep the image file separately!)How to useWhen installing frompypi, the library should come with a script
nameddndfogthat you can run. It should be available in your environment if
thePython\Scriptsfolder is set in PATH. You can also download an EXE from
theGitHub releases.When the program opens, you need to select an image file to use as a background,
or a JSON data file to load a map from. You can also lauch the program with
a positional argument<filepath>to add an initial file.The program does not autosave! You have to save (and override) the file yourself!Keyboard shortcutsToolbar:Open/close the toolbar:TABSelect tool from the toolbar: Quick select with the number keys1-9or click the
tool button withLeft mouse buttonwhen the toolbar is openCamera:Move camera:Click and drag: Middle mouse buttonZoom in:Any tool except thegridtoolselected from the toolbar +Scroll wheel: UpZoom out:Any tool except thegridtoolselected from the toolbar +Scroll wheel: DownPiece (quick select:1):Add a piece: Select thepiecetool from the toolbar +Right mouse buttonon an empty squareRemove a piece: Select thepiecetool from the toolbar  +Right mouse buttonon a pieceMove a piece: Select thepiecetool from the toolbar  +Click and drag: Left mouse buttonFog (quick select:2):Add fog: Select thefogtool from the toolbar  +Left mouse buttonRemove fog: Select thefogtool from the toolbar  +Right mouse buttonShow/hide fog:F1or the checkbox in thefogtoolbarChange fog size: Select the size to use from thesizeselector in thefogtoolbarMap (quick select:3):Move map image: Select themaptool from the toolbar +Click and drag: Left mouse buttonGrid (quick select:4):Increase gridsize: Select thegridtool from the toolbar +Scroll wheel: UpDecrease gridsize: Select thegridtool from the toolbar +Scroll wheel: DownShow/hide grid:F2or the checkbox in thefogtoolbarMark (quick select:5):Make markings: Select themarktool from the toolbar +Click and drag: Left mouse buttonErase markings: Select themarktool from the toolbar +Click and drag: Right mouse buttonClear markings: Click theclearbutton in themarktoolbarChange marker color: Use the color selector in themarktoolbarMisc:Save file:CTRL + S(will skip file dialog if json data file already exists)Save file as:CTRL + Shift + S(will always open a file dialog)Open file:CTRL + OQuit program: Press the X mutton on the windowKnown issues or lacking featuresMatching program gridsize to background gridsize is a bit awkwardWhen zooming, the program grid and background map might not stay alignedIt's hard to keep track of combat, since there is no built-in turn order trackingIt's too easy to accidentally remove fog you didn't mean to. There should be some way to
layer fog, so that only some of it can be removedMarkings do not scale when zoomingThere is no undo or redoThere is no way to add pictures to pieces to identify them better