Custom TokenTool 1.0b32 (Nerps!)
Moderators: dorpond, trevor, Azhrei
Re: Custom TokenTool 1.0b29 (Nerps!)
Nice! Thanks!
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
- CoveredInFish
- Demigod
- Posts: 3104
- Joined: Mon Jun 29, 2009 10:37 am
- Location: Germany
- Contact:
Re: Custom TokenTool 1.0b29 (Nerps!)
Hmm .. cant get it to work (although I had no time for digging really deep yet).
Calling it from terminal (macOS) leads to this:
Calling it from terminal (macOS) leads to this:
Code: Select all
Exception in thread "main" java.lang.NoClassDefFoundError: tokentool-1/0/b30_Nerps
Caused by: java.lang.ClassNotFoundException: tokentool-1.0.b30_Nerps
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Custom TokenTool 1.0b29 (Nerps!)
Hmmm, interesting. I suspect it's due to the jarinjar loader maybe. I'm not familiar with MacOS at all. Do you still have Eclipse installed? I can share the source with you if needed.
I'll look into what other options we have as well.
I'll look into what other options we have as well.
-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
- CoveredInFish
- Demigod
- Posts: 3104
- Joined: Mon Jun 29, 2009 10:37 am
- Location: Germany
- Contact:
Re: Custom TokenTool 1.0b29 (Nerps!)
Yes, Eclipse is still available. Sources would be welcome.
Maybe I can create a macOs-compatible release (should that be the problem, not much research invested yet (still))
Maybe I can create a macOs-compatible release (should that be the problem, not much research invested yet (still))
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Custom TokenTool 1.0b29 (Nerps!)
Here's a link to a zip of my Workspace folder for TokenTool, should be everything you need to build it. If you manage to create a .dmg, I'll host it next to my jar|.exe
I need to look more into the JavaFX packaging tools, looks like it can create .dmg|deb|exe and many others. I'm looking at that for my MT custom build currently.
Let me know if you have any luck or any questions.
https://drive.google.com/file/d/0B2c01Y ... sp=sharing
I need to look more into the JavaFX packaging tools, looks like it can create .dmg|deb|exe and many others. I'm looking at that for my MT custom build currently.
Let me know if you have any luck or any questions.
https://drive.google.com/file/d/0B2c01Y ... sp=sharing
-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
- CoveredInFish
- Demigod
- Posts: 3104
- Joined: Mon Jun 29, 2009 10:37 am
- Location: Germany
- Contact:
Re: Custom TokenTool 1.0b29 (Nerps!)
Thanks. I'll let you know if I figure something out.
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Custom TokenTool 1.0b29 (Nerps!)
Thanks. Also, hopefully I got your stuff working as designed as well. I didn't have the Abiele form for the GUI stuff and didn't know all the test cases. If you need to fix/add anything, go off that code and send me a patch and I'll update it.
At this point I'm back to MapTool so nothing pending for TokenTool atm unless bugs are found.
At this point I'm back to MapTool so nothing pending for TokenTool atm unless bugs are found.
-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: Custom TokenTool 1.0b29 (Nerps!)
I started off using Tokentool several years ago but switched to using Photoshop soon after. My main reason for switching was because of image quality. I'm a graphic artist, so detail is important to me. I just didn't like the pixelized (jagged) edges of the outer circles. I also wanted a slight shadow around the outer and inner areas of the token because it makes the token pop and look nicer.JamzTheMan wrote:Out of curiosity, can I ask why you don't use TokenTool? Just easier to use Gimp/Photoshop or just don't create tokens? Just curious, in case there was something else that can be done to make the tool better.
Using Photoshop for token creation is not as convenient as Tokentool, but I get the result I want. I would switch back to Tokentool in a heartbeat if I was able to produce tokens with nice edges and the ability to put a dropshadow around it if I wanted.
Re: Custom TokenTool 1.0b29 (Nerps!)
It may be described somewhere else on the forums, but you can get high quality edges. You just need to have a filter image, then the token border applied to image. There was a collection in the gallery, but that's gone now. Maybe I'll post a couple here later.
edit: found it
First you apply the trimmer, drag to a folder, then switch to desired border and drag trimmed image in.
edit: found it
First you apply the trimmer, drag to a folder, then switch to desired border and drag trimmed image in.
- Attachments
-
- 4th edition _256px_.png (35.44 KiB) Viewed 8028 times
-
- Tokentool trimmer _256px_.png (13.13 KiB) Viewed 8028 times
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Custom TokenTool 1.0b29 (Nerps!)
Hmmm, So what it really needs is a separation between "Trim" and "Overlay".
So maybe a second dropdown/selection to add "Trim" overlays (maybe just a basic circle/square selection with resize) to trim/crop the image.
Then all the current overlays with the magenta removed to place over (or under for stamps) the cropped image? That would allow us to just use any transparent png for an overlay without much work.
If I get some time, maybe I'll throw something together and see if I can get the trim image to auto-resize with the overlay size so it's quick and easy without having to deal with layers or to many other things...
So maybe a second dropdown/selection to add "Trim" overlays (maybe just a basic circle/square selection with resize) to trim/crop the image.
Then all the current overlays with the magenta removed to place over (or under for stamps) the cropped image? That would allow us to just use any transparent png for an overlay without much work.
If I get some time, maybe I'll throw something together and see if I can get the trim image to auto-resize with the overlay size so it's quick and easy without having to deal with layers or to many other things...
-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: Custom TokenTool 1.0b29 (Nerps!)
That would be useful in that it saves a step. In PSP terms one would be a mask and the other an overlay. Although magenta is a horrible color, you can't actually use it in an overlay. It would be nice to have the mask be separate and translate black as the part being masked and any other color ignored. The mask would remove those pixels from the image. Then the overlay can have any color in it.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Custom TokenTool 1.0b29 (Nerps!)
Agreed. The mask could really be any color(s) once separated from the overlay.
-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: Custom TokenTool 1.0b29 (Nerps!)
Bump!
If you get a moment, there's one feature I've been dying to have in TokenTool for ages.
Automatic file names.
Currently, it works like this:
1) Name a portrait "Giant Queen Bee.jpg" or whatever.
2) Drag the portrait into TokenTool, position, resize etc.
3) CTRL+S (stock) or CTRL+I (yours) to save the finished pog image someplace.
4) Type in "Giant Queen Bee.png" as the file name for the pog.
It's step 4 I want to eliminate. I've typed the name of every last token in my library twice -- once for the portrait, once for the pog. It's hugely tedious, and they number in the thousands at this point.
So ... if you could make TokenTool populate that "Save As" file name with the name of the source image plus the appropriate extension, I'd shower blessings on your head for halving my typing.
If you get a moment, there's one feature I've been dying to have in TokenTool for ages.
Automatic file names.
Currently, it works like this:
1) Name a portrait "Giant Queen Bee.jpg" or whatever.
2) Drag the portrait into TokenTool, position, resize etc.
3) CTRL+S (stock) or CTRL+I (yours) to save the finished pog image someplace.
4) Type in "Giant Queen Bee.png" as the file name for the pog.
It's step 4 I want to eliminate. I've typed the name of every last token in my library twice -- once for the portrait, once for the pog. It's hugely tedious, and they number in the thousands at this point.
So ... if you could make TokenTool populate that "Save As" file name with the name of the source image plus the appropriate extension, I'd shower blessings on your head for halving my typing.
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Custom TokenTool 1.0b29 (Nerps!)
Tinalles wrote:Bump!
If you get a moment, there's one feature I've been dying to have in TokenTool for ages.
Automatic file names.
Currently, it works like this:
1) Name a portrait "Giant Queen Bee.jpg" or whatever.
2) Drag the portrait into TokenTool, position, resize etc.
3) CTRL+S (stock) or CTRL+I (yours) to save the finished pog image someplace.
4) Type in "Giant Queen Bee.png" as the file name for the pog.
It's step 4 I want to eliminate. I've typed the name of every last token in my library twice -- once for the portrait, once for the pog. It's hugely tedious, and they number in the thousands at this point.
So ... if you could make TokenTool populate that "Save As" file name with the name of the source image plus the appropriate extension, I'd shower blessings on your head for halving my typing.
I 2nd that! Actually, I did look into that as well for the exact same reasons. Unfortunately, for the life of me I could not find any way to access the name of the object from a "drag and drop" event.
If any Java developers are out there and know if this is possible, drop me a hint or a link. Note, the drag event could come from a browser as well so not sure if that matters?
-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: Custom TokenTool 1.0b29 (Nerps!)
Well, I'm not a Java Developer, but perhaps you could ask on StackOverflow? I've had good luck getting useful answers to programming questions there.