We’re on a roll! Hot off the GitHub assembly line is a new, bright and shiny TokenTool 2.1. Check out the announcement post for all the new functionality.
https://www.rptools.net/2019/03/tokentool-21-released/
Announcement: TokenTool 2.1 Released
Moderators: dorpond, trevor, Azhrei, Craig
-
- Kobold
- Posts: 23
- Joined: Sat Aug 22, 2009 5:07 am
Re: Announcement: TokenTool 2.1 Released
How exactly do you launch the jar file in windows. I don't really want to have another 100m java install just for tokentool.
Re: Announcement: TokenTool 2.1 Released
This applies to MapTool 1.5+ and TokenTool 2.x+. I believe our resident bard has (or is planning to) write some posts for www.RPTools.net that cover this topic.
Java 10 is our base for all applications at this point. (You cannot use Java 11 as some components that we use were removed from Java 11. You will get errors if you try.)
From the command line, you can run java -Xss<#>m -Xmx<#>m -jar <filename>.jar run.
Replace pieces inside <> with the appropriate values. The -Xss param is stack size (the trailing m shown above is for "megabytes"), the -Xmx is maximum heap memory (ditto for the m), and <filename> is the pathname of the JAR file. TokenTool doesn't require much memory except when extracting images from PDFs, so there's no need to set memory parameters at all. (When processing PDFs, more memory allows more caching, which speeds up page transitions by a noticeable amount.)
Because you're specifying memory configuration on the command line manually, MapTool will grey out the Startup tab in Preferences.
Command line information for MapTool is on our wiki. A similar page for TokenTool has yet to be written.
Java 10 is our base for all applications at this point. (You cannot use Java 11 as some components that we use were removed from Java 11. You will get errors if you try.)
From the command line, you can run java -Xss<#>m -Xmx<#>m -jar <filename>.jar run.
Replace pieces inside <> with the appropriate values. The -Xss param is stack size (the trailing m shown above is for "megabytes"), the -Xmx is maximum heap memory (ditto for the m), and <filename> is the pathname of the JAR file. TokenTool doesn't require much memory except when extracting images from PDFs, so there's no need to set memory parameters at all. (When processing PDFs, more memory allows more caching, which speeds up page transitions by a noticeable amount.)
Because you're specifying memory configuration on the command line manually, MapTool will grey out the Startup tab in Preferences.
Command line information for MapTool is on our wiki. A similar page for TokenTool has yet to be written.
Re: Announcement: TokenTool 2.1 Released
@bocotainin - You can download the installer version of TokenTool which has the parts of the Java JRE needed to run it.
Or you can use the .jar file and, yes, you will need to download JRE 10 to use it. This is for advanced users that have reasons to have a JDK/JRE installed.
Note TokenTool is normally fine running from the jar file just by double-clicking on it only if working with large images or PDFs will extra memory above the default be needed.
Or you can use the .jar file and, yes, you will need to download JRE 10 to use it. This is for advanced users that have reasons to have a JDK/JRE installed.
Note TokenTool is normally fine running from the jar file just by double-clicking on it only if working with large images or PDFs will extra memory above the default be needed.
Re: Announcement: TokenTool 2.1 Released
I can't seem to get the card overlays to align with the portrait correctly. I'd try going for 700x1000 instead of 256x256 but for some reason the entire UI stretches out instead of just the overlay itself.
Re: Announcement: TokenTool 2.1 Released
Next to the boxes you type the size into, there's an icon of a padlock. If you click on that (so it looks unlocked), it should let you type in different values. That appears to be what you're looking for when I play with it.
Re: Announcement: TokenTool 2.1 Released
I had 2.0 installed and when I installed 2.1 it wouldn't run. I uninstalled both versions and resinstalled to get it to work. Just an FYI. I also noticed a couple of my custom borders made it in to the tool, huzzah! Here's my latest for a dragonlance campaign I'm about to run. This is actually a plate I found online and I tweaked it.
- Attachments
-
- dragonlance token border silver blue.png (136.16 KiB) Viewed 7596 times
-
- dragonlance token border.png (139.48 KiB) Viewed 7597 times
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Announcement: TokenTool 2.1 Released
Very nice rings. Thanks!