Automated Custom Artwork Installation

I've found that I have collected a lot of custom artwork I use with CC3, and it has become a chore to copy all of it to the correct locations on each computer, and updating menu files, symbol catalog settings and such. Since CC3 maps only references the artwork, and doesn't embed it in the map, it is important that it is in the same location on each computer. Copying it to the CC3 directory is the best solution, because then you can use a relative location instead of an absolute one. I also like to create toolbar buttons for the various symbol packages, and like to have the same toolbar setup on all my computers.

So, I wrote an automatic artwork installer to handle this for me. I'm attaching it here if anyone else needs such a thing.

What this installer does is to copy all my custom artwork to the CC3 directory, configures my menu files and import required registry files. If I make a change to my desired config, I can just simply run it again on each computer and it will update the CC3 menus and stuff.
It is configured via an XML file, and should be reasonably flexible. You can specify exactly what to copy, and where to copy it, and which buttons you wish to add to your toolbar. Configuring it the first time is a bit of a job, but after that I find it quite helpful.

It does require .net 4.5 to run. If you don't have it, it should pop up a dialog pointing you to the download location. This is the first version, so if you find a bug, let me know.

Comments

  • This looks great. Thanks for sharing, Monsen. I haven't had a chance to try it yet, but this should make updating the CC version on my laptop much easier to update.
  • GatharGathar Traveler
    Do you plan to open source this tool? I'd be curious to see how it works (and maybe propose some modifications).
  • jslaytonjslayton Moderator, ProFantasy Mapmaker
    Another option for the chronically lazy is to map a drive letter that's unlikely to be used (say, A: for Art or M: for Maps) to a directory on the disk that contains the artwork collection and possibly the maps themselves. Then absolute paths work correctly without having to have permissions to access and modify the CC3 directory.

    Thus, the command "subst A: C:\Users\Eddie\MapArtCollection" could be executed to map the A: drive to the "C:\Users\Eddie\MapArtCollection" directory. Then the path to your art is "A:\NameOfFile.png". This command can be put into a batch file and run automatically at startup. Putting the art onto a new computer is a matter of copying the MapArtCollection directory to a new computer and creating an appropriate drive letter substitution.

    This solution won't work for copying over config files or CC3 settings, though.
  • MonsenMonsen Administrator 🖼️ 81 images Cartographer
    edited July 2013
    Posted By: jslaytonThis solution won't work for copying over config files or CC3 settings, though.
    Which is precisely why I decided to write this simple little utility. I probably do install CC3 way more often than the average user though, so I wanted an automated solution. I don't think most users here will ever need something like this, but I put it out there just in case someone do want it :)
    Your solution should be perfectly fine for most users though, and WAY simpler than using my tool, since that requires an initial detailed configuration.

    Been a while since I've seen someone use the subst command though... :)
  • MonsenMonsen Administrator 🖼️ 81 images Cartographer
    Posted By: GatharDo you plan to open source this tool? I'd be curious to see how it works (and maybe propose some modifications).
    Feel free to grab the source code. Nothing fancy or special in there though, and the code could be a lot cleaner, better commented and have better exception handling, but it is available at svn://versioning.monsen.cc/vs/CC3ArtworkInstaller (Anonymous access is enabled for that project only, so if you try to access other folders in this repository, you will get a password prompt [Something some clients try automatically])
  • DogtagDogtag Moderator, Betatester Traveler
    edited July 2013
    Posted By: MonsenI probably do install CC3 way more often than the average user though...
    You what now?
  • DogtagDogtag Moderator, Betatester Traveler
    Oh, and thank you for sharing your application! Very generous of you.

    ~Dogtag
Sign In or Register to comment.