1. #1

    Importing Characters from a CSV or JSON file

    I'm wondering if this is already figured out.

    If I were to use a random character generator, that exported to either a JSON or CSV file.

    Is there an automated process to covert that to an appropriate XML file for import into a Core RPG character file?

    This would be the site for random character generation: https://purplesorcerer.com/create_party.php

    Thanks!
    Join my DCC RPG Road Crew via Fantasy Grounds! info @ https://www.indygaming.com/roadcrew/

    "Why do squares have more sides than triangles?"

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    18,773
    Blog Entries
    1
    Fantasy Grounds uses XML data.
    And it expects the XML data t be presented in a way that the particular ruleset wants it.
    You can write an importer to convert CSV or JSON or any other data to another format.

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  3. #3
    Quote Originally Posted by damned View Post
    You can write an importer to convert CSV or JSON or any other data to another format.
    Ya, that’s what I thought to do, but didn’t know if it was already done in some.
    Join my DCC RPG Road Crew via Fantasy Grounds! info @ https://www.indygaming.com/roadcrew/

    "Why do squares have more sides than triangles?"

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Denver, Colorado, USA (for a bit)
    Posts
    23,123
    Quote Originally Posted by TheSwartz View Post
    Is there an automated process to covert that to an appropriate XML file for import into a Core RPG character file?

    This would be the site for random character generation: https://purplesorcerer.com/create_party.php
    The Core RPG ruleset is just a basic framework, importing character data into Core RPG won’t give you a lot of functionality. I assume you’re referring to DCC (as that site you link is for DCC characters)? If so, you may want to ask if anyone knows of any info in the DCC ruleset thread here: https://www.fantasygrounds.com/forum...CC-RPG-Ruleset


    FG Product Development status: Pathfinder Playtest Ruleset and add-ons: In development. Pathfinder Bestiary, Pathfinder Bestiary 2, Pathfinder Bestiary 3 (in store).

    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  5. #5
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    GMT -7
    Posts
    7,623
    Blog Entries
    9
    It's been done, converting JSON data to FG xml. Their have been attempts to convert character sheets from both DDB and Roll20 into FG. They both work, with caveats in that I believe the DDB format has changed, but is probably fairly stable (there was a link about this in the past week). Converting from Roll20 is more troublesome, because their is no standard Roll20 character sheet. A DM can use one of several "official" sheets,plus dozens of community ones, or can create their own. Each of those means the JSON file is in a different format and needs a different converter.

    You shold be able to track down those threads, and use the discussions within to create your own converter.

    Current Projects: Ultimate Undermountain (NYDUM)
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets
    DMsGuild Content: Balance Disturbed (Adventure), Dungeon Room Descriptions
    FG Product Reviews: Virtual Scribe Reviews

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in