Last active
December 1, 2024 07:56
-
-
Save ZaptorZap/22889f1480324983233fc93897b5472a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in * ; do | |
mkdir -p Stickers/$i | |
convert $i -background transparent -gravity center -extent 110% -auto-orient Stickers/$i/Sticker.tga | |
convert $i -resize 64x64\! -define dds:compression=dxt1 -define dds:mipmaps=6 Stickers/$i/Icon.dds | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is just for reference—replace
*
should you desire. The most public guide, seemingly endorsed by Nadeo, implies this to be a much more complicated procedure than it actually is.convert
in my Linux distribution is an alias for ImageMagick, being the only dependency required.Assuming you launch via TM² Stadium(and are in fact using this in tandem with Steam on Linux), the directory to drop generated stickers (each folder remaining separate) in is:
~/.steam/steam/steamapps/compatdata/232910/pfx/dosdevices/c:/users/steamuser/Documents/Maniaplanet/Media/Painter/Stickers
Important
The
Stickers/
directory will not exist by default—just create it. This is true of all platforms.