RPTools.net
http://forums.rptools.net/

Edit the content file of a .rptok file
http://forums.rptools.net/viewtopic.php?f=12&t=27130
Page 1 of 1

Author:  Holladerwaldelf [ Sat Mar 18, 2017 5:10 am ]
Post subject:  Edit the content file of a .rptok file

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?

Author:  JamzTheMan [ Sat Mar 18, 2017 1:47 pm ]
Post subject:  Re: Edit the content file of a .rptok file

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.

Author:  taustinoc [ Sat Mar 18, 2017 4:02 pm ]
Post subject:  Re: Edit the content file of a .rptok file

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

Author:  Holladerwaldelf [ Sun Mar 19, 2017 1:46 am ]
Post subject:  Re: Edit the content file of a .rptok file

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?

Author:  JamzTheMan [ Sun Mar 19, 2017 2:55 am ]
Post subject:  Re: Edit the content file of a .rptok file

https://github.com/RPTools/maptool/blob ... Token.java

Author:  Holladerwaldelf [ Sun Mar 19, 2017 6:01 am ]
Post subject:  Re: Edit the content file of a .rptok file

Thanks!

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/