Struggling With Resizing Tokens
Moderators: dorpond, trevor, Azhrei
Struggling With Resizing Tokens
I've been using TT for about a year now with no problems until today.
I accidentally added an extra 0 to the size of the token.
Now, I cannot reduce the size of the token because it's bigger than my screen. This includes being unable to scroll on the sidebar.
I have tried to navigate the window using the tab button.
I have tried to force quit TT and reload it.
I have even tried uninstalling TT, then resetting my computer before reinstalling, but it always reloads the last image I copied at the giant size.
How do I resolve this?
I accidentally added an extra 0 to the size of the token.
Now, I cannot reduce the size of the token because it's bigger than my screen. This includes being unable to scroll on the sidebar.
I have tried to navigate the window using the tab button.
I have tried to force quit TT and reload it.
I have even tried uninstalling TT, then resetting my computer before reinstalling, but it always reloads the last image I copied at the giant size.
How do I resolve this?
- Attachments
-
- This is a screenshot of the issue.
- Screen Shot 2018-01-08 at 8.25.05 PM.png (387.51 KiB) Viewed 9628 times
Re: Struggling With Resizing Tokens
I'm not sure this will work having not use the new version but try holding down the ctrl key and using the scroll on the mouse to change the size. This works for other applications, but I don't know about TT.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Struggling With Resizing Tokens
Did you try dragging another image in to clear the last one and then go back and drag in your original image?
Re: Struggling With Resizing Tokens
That just changes the size of the image within the working pane, not the overall size of the window. (Same as without the <Ctrl> key.)aliasmask wrote:I'm not sure this will work having not use the new version but try holding down the ctrl key and using the scroll on the mouse to change the size. This works for other applications, but I don't know about TT.
After fooling around with it, it would appear that the window size is based on the overlay size, which is stored in the registry, under
Code: Select all
[HKEY_CURRENT_USER\Software\JavaSoft\Prefs\net\rptools\tokentool\client]
"overlay/Height/Spinner"
You will probably need to be signed in to an account with administrative privileges to edit the registry, regardless of which way you do it. I think. Also note that editing the registry can do bad, bad, bad things to your computer, including making it unable to book. It is best to make a backup copy of your registry before editing it, unless you are very, very confident in what you're doing, or like living dangerously.
(It appears to default to keeping the ratio between them the same, so set them both to a reasonable value, like 256, even though height is the one causing this. Otherwise, it may change it back to match the width when the app opens.)
If you don't want to fool with regedit, you can create a text file containing this (and only this):
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\JavaSoft\Prefs\net\rptools\tokentool\client]
"overlay/Width/Spinner"="256.0"
"overlay/Height/Spinner"="256.0"
I tested this on my Win 7 machine, and it worked perfectly, both manually editing the registry and using the .reg file. I do not have a Win 10 machine handy, but I've used .reg files without issue on them before.
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Struggling With Resizing Tokens
Odd, the side panel should have added a scroll bar when needed so you could still scroll down to get at the controls.
Also, it should have maxed out at 1000x1000 but that could be too large I suppose.
I think I will add scroll bars to the portrait view instead of letting the window autosize as needed...
Also, it should have maxed out at 1000x1000 but that could be too large I suppose.
I think I will add scroll bars to the portrait view instead of letting the window autosize as needed...
-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: Struggling With Resizing Tokens
I can confirm that it did not. (I was mildly concerned after I rendered mine in the same condition as the original poster.)JamzTheMan wrote:Odd, the side panel should have added a scroll bar when needed so you could still scroll down to get at the controls.
In fact, it did, based on what I saw in regedit. I suspect that if I (or the OP) had a widescreen monitor, it wouldn't have been an issue, but I have a 6 x 9, and based on the screen shot, so does OP.JamzTheMan wrote:Also, it should have maxed out at 1000x1000 but that could be too large I suppose.
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Struggling With Resizing Tokens
Yep, valid issue. And I'll fix it! The downside working on larger monitors...
I remember the days of having to make sure nothing went over 640x480... but with OS display scaling and all that, ya... sorry?
I remember the days of having to make sure nothing went over 640x480... but with OS display scaling and all that, ya... sorry?
-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: Struggling With Resizing Tokens
I tried to follow your advice as closely as OSX would allow. Alas, it was to no gain.taustinoc wrote:The key names are "overlay/Width/Spinner" andCode: Select all
[HKEY_CURRENT_USER\Software\JavaSoft\Prefs\net\rptools\tokentool\client]
"overlay/Height/Spinner"
You will probably need to be signed in to an account with administrative privileges to edit the registry, regardless of which way you do it. I think. Also note that editing the registry can do bad, bad, bad things to your computer, including making it unable to book. It is best to make a backup copy of your registry before editing it, unless you are very, very confident in what you're doing, or like living dangerously.
(It appears to default to keeping the ratio between them the same, so set them both to a reasonable value, like 256, even though height is the one causing this. Otherwise, it may change it back to match the width when the app opens.)
If you don't want to fool with regedit, you can create a text file containing this (and only this):
and rename it to end with ".reg" instead of ".txt". (If you don't see the file extension when you go to Rename, which you won't by default in windows, open it in Notepad, go to File-->Save As, and type in the file name, say, "TokenTool.reg" including the quotes, and save it. Then you can double-click on the .reg file to import the setting.)Code: Select all
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\JavaSoft\Prefs\net\rptools\tokentool\client] "overlay/Width/Spinner"="256.0" "overlay/Height/Spinner"="256.0"
I tested this on my Win 7 machine, and it worked perfectly, both manually editing the registry and using the .reg file. I do not have a Win 10 machine handy, but I've used .reg files without issue on them before.
Re: Struggling With Resizing Tokens
Take your time. I eagerly await.JamzTheMan wrote:Yep, valid issue. And I'll fix it! The downside working on larger monitors...
I remember the days of having to make sure nothing went over 640x480... but with OS display scaling and all that, ya... sorry?
Re: Struggling With Resizing Tokens
Unfortunately, I have no knowledge of OSX whatsoever.Evilgood wrote: I tried to follow your advice as closely as OSX would allow. Alas, it was to no gain.
If there's a registry editor like regedit, try just doing a search for "TokenTool." If you can find the registry entry at all, you should be able to fine the overlay entries. I would expect they're called the same.
You might also try a web search for something like "osx move window with keyboard." If you can make that work, try moving the TokenTool window off the top of the screen far enough that you can resize it with the mouse, and pull it down (and maybe to the right) far enough that you can get to what you need to update.
Or just hang on until Jamz gets the update done.
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Struggling With Resizing Tokens
FYI: They are stored using the standard Java Preferences API so googling that it should be saved in a file in the user's ~/Library/Preferences
Look there for a token tool file/dir. You can safely delete the whole thing if you want to restore settings.
*not a mac users either
https://alvinalexander.com/java/java-pr ... os-x-where
Look there for a token tool file/dir. You can safely delete the whole thing if you want to restore settings.
*not a mac users either
https://alvinalexander.com/java/java-pr ... os-x-where
-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: Struggling With Resizing Tokens
Followed this. Used VoiceOver. Solved Problem.taustinoc wrote:Unfortunately, I have no knowledge of OSX whatsoever.Evilgood wrote: I tried to follow your advice as closely as OSX would allow. Alas, it was to no gain.
If there's a registry editor like regedit, try just doing a search for "TokenTool." If you can find the registry entry at all, you should be able to fine the overlay entries. I would expect they're called the same.
You might also try a web search for something like "osx move window with keyboard." If you can make that work, try moving the TokenTool window off the top of the screen far enough that you can resize it with the mouse, and pull it down (and maybe to the right) far enough that you can get to what you need to update.
Or just hang on until Jamz gets the update done.
Re: Struggling With Resizing Tokens
It's good to know I'm occasionally clever.Evilgood wrote:Followed this. Used VoiceOver. Solved Problem.taustinoc wrote:Unfortunately, I have no knowledge of OSX whatsoever.Evilgood wrote: I tried to follow your advice as closely as OSX would allow. Alas, it was to no gain.
If there's a registry editor like regedit, try just doing a search for "TokenTool." If you can find the registry entry at all, you should be able to fine the overlay entries. I would expect they're called the same.
You might also try a web search for something like "osx move window with keyboard." If you can make that work, try moving the TokenTool window off the top of the screen far enough that you can resize it with the mouse, and pull it down (and maybe to the right) far enough that you can get to what you need to update.
Or just hang on until Jamz gets the update done.
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Struggling With Resizing Tokens
Noice! Thanks for posting a solution in case someone else comes across the same issue.
-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