Page 1 of 1

Edit the content file of a .rptok file

Posted: Sat Mar 18, 2017 6:10 am
by Holladerwaldelf
I would like to change the properties of a token directly in the content.xml file. Is there a guide somewhere that tells me what structure the content.xml file has to have so maptool recognizes everything correctly?

Re: Edit the content file of a .rptok file

Posted: Sat Mar 18, 2017 2:47 pm
by JamzTheMan
No, but most variables are usually obvious. Your best bet is to look at the token class source file as it's pretty much the streamed content of that class.

Re: Edit the content file of a .rptok file

Posted: Sat Mar 18, 2017 5:02 pm
by taustinoc
Make sure you have a backup of your original file. Apparently, some .zip programs alter the compressions settings to something not compatible with MapTool. 7zip works, though, and can open the .rptok file directly (and manipulate it from the command line).

Re: Edit the content file of a .rptok file

Posted: Sun Mar 19, 2017 2:46 am
by Holladerwaldelf
JamzTheMan wrote:Your best bet is to look at the token class source file as it's pretty much the streamed content of that class.
This might be a stupid question, but where do i find the token class source file?

Re: Edit the content file of a .rptok file

Posted: Sun Mar 19, 2017 3:55 am
by JamzTheMan

Re: Edit the content file of a .rptok file

Posted: Sun Mar 19, 2017 7:01 am
by Holladerwaldelf
Thanks!