I want to use custom art for some of the various Construct Tokens, which are differentiated by different numbers of trailing spaces. However, trailing spaces are automatically deleted from image file names (I'm on Windows 10). I haven't been able to find a solution to this yet - all search results are for how to delete trailing spaces, not successfully add them. Help adding trailing spaces, or another workaround, would be appreciated.
#Trailing spaces in file name for custom token art
6 messages · Page 1 of 1 (latest)
Your best bet is probably to use the TK.xml file in the customsets folder (Card Database > Open custom sets folder).
The steps I use:
- Copy the token entry you want to change from tokens.xml (which can be found in the Tokens Database file path listed in
Settings > General) to TK.xml - Add a new
<set></set>line with the set codeTKandpicURL=set to a link to the custom image to that entry. - Save the file.
- Make sure that TK is sorted first in
Card Database > Manage sets....
I generally edit TK.xml with Cockatrice closed, but you can leave it open and just restart the program when you are done editing as well.
You shouldn't have to fiddle around with spaces this way, just make sure you put the right image with the right Construct token entry.
that seems a lot more complicated
to stop it from removing the spaces you should change the windows settings to allow you to see file extensions
then rename the token to Construct Token .jpg
Ah, thank you both for the solutions. For posterity, the ability to put spaces in filenames is under file explorer -> view tab -> check file extensions.