Edit the content file of a .rptok file

Doc requests, organization, and submissions

Moderators: dorpond, trevor, Azhrei

Post Reply
Holladerwaldelf
Cave Troll
Posts: 74
Joined: Fri Aug 07, 2015 1:16 pm

Edit the content file of a .rptok file

Post 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?

User avatar
JamzTheMan
Great Wyrm
Posts: 1872
Joined: Mon May 10, 2010 12:59 pm
Location: Chicagoland
Contact:

Re: Edit the content file of a .rptok file

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

taustinoc
Dragon
Posts: 515
Joined: Mon Aug 03, 2015 6:30 pm

Re: Edit the content file of a .rptok file

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

Holladerwaldelf
Cave Troll
Posts: 74
Joined: Fri Aug 07, 2015 1:16 pm

Re: Edit the content file of a .rptok file

Post 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?

User avatar
JamzTheMan
Great Wyrm
Posts: 1872
Joined: Mon May 10, 2010 12:59 pm
Location: Chicagoland
Contact:

Re: Edit the content file of a .rptok file

Post by JamzTheMan »

-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

Holladerwaldelf
Cave Troll
Posts: 74
Joined: Fri Aug 07, 2015 1:16 pm

Re: Edit the content file of a .rptok file

Post by Holladerwaldelf »

Thanks!

Post Reply

Return to “Documentation Requests/Discussion”