FG Spreadshirt Swag
  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
    26,649
    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.

  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
    Colorado, USA
    Posts
    33,362
    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
    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
    -7 UTC
    Posts
    17,150
    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.

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in