Backups and Embedded PDF files

DungeonMasterLoki
DungeonMasterLoki

I use a lot of embedded pdf files in my OPs, and I try to backup regularly. I was looking at a recent back up and the embedded characters etc did not seem to be part of the backup. Am I missing something? And if not, may I submit a feature request to make this happen? 

Planejammer Panopticon: Central Hub for the Planejammer Campaign Series

Current Active Games: Planejammer: Catch My Drift! (Starfinder)  | Planejammer: The Spelljoined (Pathfinder 1e) Campaign of the Year 2011 | Planejammer: Beyond The Sky (Pathfinder 1e)

Comments

  • thaen
    thaen
    Posts: 581

    Thanks for bringing this up!

    Before now, I hadn't really looked at what all the Backups do or don't contain. 

    It looks like they don't contain:

    - Calendar

    - Player Secrets on anything

    - Adventure Log Comments

    - Media Library files

    - Character DST entries

    - Maps or Map Markers

    I haven't looked at how difficult it would be to add any of these, but I'll add them all to the dev list, with Media Library files getting a vote of priority from DMLoki.

    If you're reading this, and you use the Backup feature and would like to add a vote of priority for any of these specific things, please chime in.

    Obsidian Portal Developer

  • ragnarhawk
    Posts: 117

    I do not use them, but that is partially because they are so limited.

    I was looking to see if they saved the DST information, as that would be one way to extract data from OP for processing to upload to a VTT.

  • UselessTriviaMan
    UselessTriviaMan
    Posts: 518

    Given the sheer volume of my media libraries, I'm definitely on board for this.


    Ptolus, City by the Spire - 2016 Campaign of the Year

    "Please pay attention very carefully, because this is the truest thing a stranger will ever say to you: In the face of such hopelessness as our eventual, unavoidable death, there is little sense in not at least TRYING to accomplish all your wildest dreams in life."  - - Kevin Smith

  • thaen
    thaen
    Posts: 581

    @ragnarhawk, I'm not a big user of VTTs, so I don't have context here.  What data are you needing for uploading to a VTT?

    Obsidian Portal Developer

  • ragnarhawk
    Posts: 117

    My thought is that I can take output (e.g. xml) from the character sheets, and transform it into instructions (commands) that can be pasted into Roll20 (the VTT I am most familiar with), to recreate characters.  A DST provides a structured format for that data.  I know that you mentioned that it should be possible to create a DST that imports character data - this would be a reversal of that process (and perhaps the start of a framework to move data both ways)

  • thaen
    thaen
    Posts: 581

    @ragnarhawk, if you View Source on a Character with a DST, and search for "dynamic_sheet_attrs", you'll find all of the DST data in JSON format.  Does that give you what you need for transforming to commands?

    Note that the data labels, like "ac" and "class" and "strength" or "str" are specific to the DST, and very likely will not be the same across different DSTs.  So if you get this working for one DST (and you're not just using the data labels as is for the commands), you'll likely have to rework it if you want to switch to a different DST, or your Players use different DSTs from each other or from your NPCs.

    Obsidian Portal Developer

  • ragnarhawk
    Posts: 117

    Understood - I remembered you mentioning that earlier...  the difference would be with an export I would just be parsing through the data in the exported file, instead of having to do HTML calls and pulling the source from each character.  Basically it would make it easier to do mass/bulk processing.  I would expect to have to do different parsing for each game system - hopefully the bulk of campaigns for any given system use the same DST.

    On a related note, would automated reading of OP pages be a violation of TOS?  How about using a macro tool to automatically build OP pages?

  • thaen
    thaen
    Posts: 581

    @ragnarhawk, I've done a fair amount of screen scraping for various projects, and I bet you would find it pretty easy even compared with having a file to parse.  And I don't know when we'll be able to get to adding the DST data to the backups, so I'm sure it would be the faster route to what you're wanting.  For whatever programming language you're using, I'd bet there's a blog post where someone has the basics of how to grab the text of a webpage that you can grab and have working in a few hours.  After that, it's just the same parsing stuff.

    Anything that makes OP easier to use or more useful to GMs is inline with the ethos of OP, so definitely not a violation of TOS on either one.  I guess if something was hammering the servers and bringing down the site, then we'd need to discuss and figure out a better way, but we're totally open to projects being built to use OP.  I'm not sure I fully understand what "a macro tool to automatically build OP pages" would look like, but it sounds pretty interesting!  Feel free to message me or discuss more here if there's something I can help with.

     

     

    Obsidian Portal Developer

Sign In or Register to comment.