diff --git a/README.md b/README.md index cb17522..690f4f2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ -# KAvaT +## The Knowledge Adventure Worlds Avatar Tool +...or KAvaT, for short. (like "caveat") +
-*K*nowledge Adventure Worlds *Ava*tar *T*ool \ No newline at end of file +**This is a program that automates the process of converting images into hologram textures.** +It automatically handles scaling and properly formatting your image to get exactly the right quality you want. It even splices large textures (>256px in any direction) so they will appear the highest quality possible within the Worlds client, no additional tweaking necessary. +Simply put your frames into the executable and it will do the rest. Make sure you have COMPIMG.EXE in the same folder (all lowercase). This tool will **overwrite** any files that get in the way so you should set aside a dedicated folder for your work to take place. + +Linux only at this time. Future versions will have QOL improvements and potentially a GUI. \ No newline at end of file diff --git a/main.c b/main.c index ab1f8cc..e622f51 100644 --- a/main.c +++ b/main.c @@ -232,9 +232,9 @@ int main(const int argc, char *argv[]) { MagickWriteImage(chunk, framename); - char command[57 + 12*piecesX*piecesY]; // retard hack :)))))) because magickwand can't just do what i fucking ask - sprintf(command, "mogrify -depth 8 -define bmp:format=bmp3 -type palette %s", framename); - if (system(command)) { printf("ERROR trying to run mogrify! Is imagemagick installed to your PATH?\n"); return 0; } + //char command[57 + 12*piecesX*piecesY]; // retard hack :)))))) because magickwand can't just do what i fucking ask + //sprintf(command, "mogrify -depth 8 -define bmp:format=bmp3 -type palette %s", framename); + //if (system(command)) { printf("ERROR trying to run mogrify! Is imagemagick installed to your PATH?\n"); return 0; } iw++; }