Hi there me again with my .Net windows app to create Tokens for Maptools.
This is probably a question for the developers but I'll start here.
In the content.xml file for a token there are a number elements that use a field called baGUID. However, the value in this field doesn't match the format that I get from the C# GUID object.
So my question is how is it generated?
Thanks.
Question about the baGUID field in the content.xml file
Moderators: dorpond, trevor, Azhrei, Gamerdude
-
- Kobold
- Posts: 22
- Joined: Thu Jan 28, 2016 9:17 pm
Re: Question about the baGUID field in the content.xml file
The answer is somewhere in this thread:
viewtopic.php?f=78&t=27699 (search "base64")
But, if you plan to generate a rptok file with your .Net app, it does not really matter as Maptool will reassign a GUID when importing the rptok.
viewtopic.php?f=78&t=27699 (search "base64")
But, if you plan to generate a rptok file with your .Net app, it does not really matter as Maptool will reassign a GUID when importing the rptok.
That's because the xml file you're looking is a serialized version of a token done by the JAVA lib XStream. Look at http://x-stream.github.io/converters.html and you'll see that Xstream "Uses Base64 encoding to store binary data in XML"However, the value in this field doesn't match the format that I get from the C# GUID object.
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Question about the baGUID field in the content.xml file
The student becomes the teacher!bobifle wrote: ↑Thu Jul 05, 2018 4:39 pmThe answer is somewhere in this thread:
viewtopic.php?f=78&t=27699 (search "base64")
But, if you plan to generate a rptok file with your .Net app, it does not really matter as Maptool will reassign a GUID when importing the rptok.
That's because the xml file you're looking is a serialized version of a token done by the JAVA lib XStream. Look at http://x-stream.github.io/converters.html and you'll see that Xstream "Uses Base64 encoding to store binary data in XML"However, the value in this field doesn't match the format that I get from the C# GUID object.
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
Re: Question about the baGUID field in the content.xml file
Watch your back, you know how apprentices become sith masters