PDA

View Full Version : Portraits - Organizing / Exporting



Karore
June 22nd, 2019, 05:48
Hey all,

Got two questions regarding portraits in FG:

1 - Organizing (.ppk files)

Are ppk files simply .zip files renamed to .ppk?

If I wanted to create a new "pouch" of portraits (just to organize my portraits), what would be the easiest way to do it? Create a zip file, add the portraits and rename it? Or is it possible to do that inside FG?


2 - Exporting (.mod files)

Is there a way to export portraits to modules? I'm creating some pregens and would like to include the portraits in the module. I have found a way to export mostly everything I add to FG to a module, except portraits so far.

Even if I have to manually assign them when importing the pregens to a new game, it would be helpful to load the module and already have the portraits ready to go, much in the same way as it is possible to include tokens.


Thank you for any help in advance!

LordEntrails
June 22nd, 2019, 05:57
Pretty much yes.

See;
https://www.fantasygrounds.com/wiki/index.php/Data_Files_Overview#Portraits
https://www.fantasygrounds.com/forums/showthread.php?33633-Im-Exported-Character-Portrait-XML-code&p=284910&viewfull=1#post284910

Techincal details; https://www.fantasygrounds.com/refdoc/portraitset.xcp
But it would probably be easier to just unzip a ppk file to see what is in it.

Karore
June 22nd, 2019, 06:28
Haha, wow, that was fast.

Thanks for the links, no more question on ppk files.

Regarding the second part, do you know if it is possible to export portraits to a module file? That is the one thing I can't seem to be able to export no matter what I try.

Thanks again!

Zacchaeus
June 22nd, 2019, 11:08
No, portraits are different from images and are not part of the campaign files so can't be exported from within FG. Just add the portraits to a file, zip the contents, rename it to include the file extension .ppk and place in the FGData/portraits folder.

Karore
June 22nd, 2019, 12:31
Hmm, thought so since I couldn't find the option anywhere...

Thanks for the replies from both of you :)