Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   Realm Works Discussion (http://forums.wolflair.com/forumdisplay.php?f=67)
-   -   Any work around to Hero Lab portfolios no longer launching from Realmworks (http://forums.wolflair.com/showthread.php?t=63624)

kbs666 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.

daplunk 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.

Farling January 3rd, 2020 02:08 AM

Quote:

Originally Posted by kbs666 (Post 284786)
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.

kbs666 January 3rd, 2020 08:34 AM

Quote:

Originally Posted by Farling (Post 284792)
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.

MNBlockHead January 4th, 2020 02:43 AM

Quote:

Originally Posted by daplunk (Post 284789)
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.


All times are GMT -8. The time now is 09:35 AM.

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