Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Realm Works Forums > Realm Works Discussion

Notices

Reply
 
Thread Tools Display Modes
kbs666
Senior Member
 
Join Date: Oct 2014
Location: Chicago, IL
Posts: 1,687

Old January 2nd, 2020, 05:23 PM
json is not that hard to create or export programmatically. There are plenty of open source libraries for it. It isn't that hard to create if you've ever done XML.

I vastly prefer it when I don't need all the formal structure of XML.

my Realm Works videos
https://www.youtube.com/channel/UCZU...4DwXXkvmBXQ9Yw
kbs666 is offline   #11 Reply With Quote
daplunk
Senior Member
 
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,256

Old January 2nd, 2020, 11:59 PM
There's two import methods.

One works with XML, the other JSON. I started with CSV sorry so I probably wrote that wrong earlier.

Here's a file you might find useful though. This will create all the RA monsters with the bare required details like name and HP.

Realm Works - Community Links
Realm Work and Hero Lab Videos
Ream Works Facebook User Group
Realm Works - Community Content List
CC3+ Facebook User Group

D&D 5e Community Pack - Contributor
General Hero Lab Support & Community Resources
D&D 5e Community Pack - Install Instructions / D&D 5e Community Pack - Log Fault / D&D 5e Community Pack - Editor Knowledge Base
daplunk is offline   #12 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,369

Old January 3rd, 2020, 02:08 AM
Quote:
Originally Posted by kbs666 View Post
json is not that hard to create or export programmatically. There are plenty of open source libraries for it. It isn't that hard to create if you've ever done XML.

I vastly prefer it when I don't need all the formal structure of XML.
Export is simple.

Import is complex, since you have to map the "seemingly random" set of fields in the file into the relevant fields in your own application.

Farling

Author of the Realm Works Import (http://forums.wolflair.com/showthread.php?t=58156) and Output tools (http://forums.wolflair.com/showthread.php?t=59981)
Farling is offline   #13 Reply With Quote
kbs666
Senior Member
 
Join Date: Oct 2014
Location: Chicago, IL
Posts: 1,687

Old January 3rd, 2020, 08:34 AM
Quote:
Originally Posted by Farling View Post
Export is simple.

Import is complex, since you have to map the "seemingly random" set of fields in the file into the relevant fields in your own application.
JSON self describes. Generally speaking you have two options when reading one. In languages like JS you simply create the objects described. In cases where that is not possible or desirable you need to know what the data describes and deal with it correctly.

For II I would assume it wants monster entries in the same format every time, maybe with some fields being optional. For that sort of data I'd always use JSON or XML never CSV.

I pretty much never use CSV. It's not terribly human readable and it doesn't self describe.

my Realm Works videos
https://www.youtube.com/channel/UCZU...4DwXXkvmBXQ9Yw
kbs666 is offline   #14 Reply With Quote
MNBlockHead
Senior Member
 
Join Date: Dec 2014
Location: Twin Cities Area, MN, USA
Posts: 1,320

Old January 4th, 2020, 02:43 AM
Quote:
Originally Posted by daplunk View Post
Here's a file you might find useful though. This will create all the RA monsters with the bare required details like name and HP.
Awesome! Thank you! Very helpful.

RW Project: Dungeons & Dragons 5th edition homebrew world
Other Tools: CampaignCartographer, Cityographer, Dungeonographer, Evernote
MNBlockHead is offline   #15 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:03 AM.


Powered by vBulletin® - Copyright ©2000 - 2020, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.