-
May 29th, 2021, 13:55 #11
Awesome! Many thanks!
This should be stickied!
!!!Savage Rifts© on Fantasy Grounds Store
Ultimate Edition Fantasy Grounds - ONLY ON Linux
Twitch Channel
-
May 29th, 2021, 15:49 #12
Nice one, stickied and moved to Maps!
Savage Rifts© on Fantasy Grounds Store
Ultimate Edition Fantasy Grounds - ONLY ON Linux
Twitch Channel
-
May 29th, 2021, 17:45 #13
- Join Date
- Mar 2020
- Posts
- 11
Sorry I should have been more clear, my bad. Here is how you can set it up so that you can just double-click on a .dd2vtt file:
- open a command prompt as administrator (e.g. ctrl+esc, type "cmd", right-click on "Command Prompt" and choose "Run as Administrator")
- type 'assoc .dd2vtt=DungeonDraft2VTT' and press enter
- type: 'ftype DungeonDraft2VTT=C:\...\dist\uvtt2fgu.exe -f "%1"' (include the double quotes but not the single quotes, replace the ...\dist\ with the path to your executable)
Now you should be able to double-click a .dd2vtt file in windows explorer and it will automatically generate the files!
Edit: if your path has spaces in it, make sure to put quotes around it, for example:
ftype DungeonDraft2VTT="D:\My Programs\RPG\DungeonDraft Utilities\uvtt2fgu.exe" -f "%1"
The -f makes sure it will overwrite the .png and .jpg and xml if they already exist, which is what you want pretty much always. The %1 means the path of the file you double-clicked. So if you wanted to pass other parameters you can put it in.
If you ever make a mistake and need to edit it, you can run "Registry Editor" and then go to "Computer\HKEY_CLASSES_ROOT\Dungeondraft2VTT".Last edited by zenic; May 29th, 2021 at 22:21.
-
June 2nd, 2021, 11:56 #14
- Join Date
- Oct 2020
- Posts
- 284
Hi I can see you forked from the original DD to FG LOS convertor, there was an exe file in there that you could dl rather than having to set up python is there anyway that could be adjusted and added to the Git you have created?
If I had any idea what I was doing I would give it a go but I don't
-
June 2nd, 2021, 12:19 #15Savage Rifts© on Fantasy Grounds Store
Ultimate Edition Fantasy Grounds - ONLY ON Linux
Twitch Channel
-
June 2nd, 2021, 13:41 #16
- Join Date
- Oct 2020
- Posts
- 284
Ok I have managed to create the exe and its working thanks.
-
June 4th, 2021, 09:07 #17
- Join Date
- May 2020
- Posts
- 3
Awesome work! This is such a great tool.
-
June 4th, 2021, 14:11 #18
- Join Date
- Mar 2018
- Location
- Canada
- Posts
- 266
Thank-you all. Is there any interest is a GUI app which does this as well? Something you can open a dd2vtt file, it shows you a preview of the map, and then save the files somewhere. Perhaps each file to it's own directory, maybe a preference so that the app could default to writing the images to the same directory, and the xml directly into your campaign folder? Perhaps even watching the dd2vtt file and automatically re-convert it when you replace it?
-
June 4th, 2021, 14:15 #19
- Join Date
- Oct 2020
- Posts
- 284
This sounds like something I would be interested in
-
June 4th, 2021, 15:25 #20
- Join Date
- Mar 2018
- Location
- Canada
- Posts
- 266
Ah... which platform? I've got something for Linux (Ubuntu, specifically), haven't built it for Windows or Mac OS yet.
Also, if you (or anybody else) have specific requests, please use the Issues list in Github (instead of potentially clogging things up here).
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks