RPTools.net

Discussion and Support

Skip to content

It is currently Fri Dec 15, 2017 12:33 pm 






Reply to topic  [ 67 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9427
Location: Netherlands
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Tue Sep 09, 2014 12:19 am 
Nice! Thanks!

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
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


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Tue Sep 09, 2014 5:40 am 
Hmm .. cant get it to work (although I had no time for digging really deep yet).

Calling it from terminal (macOS) leads to this:
Code:
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)

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1722
Location: Chicagoland
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Sat Sep 13, 2014 1:42 pm 
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.

_________________
-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


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Sun Sep 14, 2014 7:33 am 
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))

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1722
Location: Chicagoland
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Sun Sep 14, 2014 12:47 pm 
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

_________________
-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


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Sun Sep 14, 2014 1:15 pm 
Thanks. I'll let you know if I figure something out.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1722
Location: Chicagoland
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Sun Sep 14, 2014 1:54 pm 
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.

_________________
-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


Top
 Profile  
 
 Offline
Dragon
 
Joined: Sun Feb 20, 2011 3:14 pm
Posts: 364
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Mon Oct 20, 2014 10:43 am 
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.


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.

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.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7967
Location: Bay Area
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Mon Oct 20, 2014 10:48 am 
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.


4th edition _256px_.png
4th edition _256px_.png [ 35.44 KiB | Viewed 1148 times ]
Tokentool trimmer _256px_.png
Tokentool trimmer _256px_.png [ 13.13 KiB | Viewed 1148 times ]

_________________
Downloads:
Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1722
Location: Chicagoland
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Mon Oct 20, 2014 11:31 am 
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...

_________________
-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


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7967
Location: Bay Area
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Mon Oct 20, 2014 11:42 am 
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:


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1722
Location: Chicagoland
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Mon Oct 20, 2014 4:18 pm 
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


Top
 Profile  
 
 Offline
Kobold
 
Joined: Sun May 27, 2012 8:39 pm
Posts: 21
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Mon Nov 03, 2014 12:38 am 
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.


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1722
Location: Chicagoland
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Mon Nov 03, 2014 12:55 pm 
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. :cry:

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


Top
 Profile  
 
 Offline
Kobold
 
Joined: Sun May 27, 2012 8:39 pm
Posts: 21
 Post subject: Re: Custom TokenTool 1.0b29 (Nerps!)
PostPosted: Mon Nov 03, 2014 5:22 pm 
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 67 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 2 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman