1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Unit Render Folder Cleanup Utility

Discussion in 'Civ3 - Utility Programs' started by Hikaro Takayama, Feb 2, 2012.

  1. Hikaro Takayama

    Hikaro Takayama a.k.a Laura

    Joined:
    Mar 10, 2004
    Messages:
    5,636
    Location:
    Eorzea, Hydaelyn
    Well, considering my programming skills are almost entirely absent (aside from Q-BASIC), I never really thought I'd be starting a thread here, nevertheless, I recently hit upon something simple that (IMO) is useful and well within the scope of my abilities...

    Long story short: I got tired of manually deleting the hundreds of image files left in the N, S, E, W, NE, SE, NW and SW folders after finishing up a unit, and even using the command prompt was somewhat time-consuming and tedious, so I decided to put my l33t batch file programming sk1lz to use and created a simple batch file that reduces the entire process to a simple mouse click and hit "Y" eight times, cutting folder cleanup time by about 75%.

    All you do is simply download the utility and extract the Cleanup.bat and CleanupReadme.txt files into your unit rendering folder(s), and when you're completely done with making your units and are ready to wipe out the raw image render folders, just double-click on the cleanup.bat file and hit "y" when prompted and you're done!

    I hope you all find this somewhat useful...
     
  2. Takhisis

    Takhisis Would-be overnight hero

    Joined:
    Jul 11, 2005
    Messages:
    30,588
    Location:
    up yours!
    It's great! marvellous! Works a treat! Wait, what is?
     
  3. Takhisis

    Takhisis Would-be overnight hero

    Joined:
    Jul 11, 2005
    Messages:
    30,588
    Location:
    up yours!
    I assume you mean this.
     
  4. Hikaro Takayama

    Hikaro Takayama a.k.a Laura

    Joined:
    Mar 10, 2004
    Messages:
    5,636
    Location:
    Eorzea, Hydaelyn
    Yeah, sorry about that.... apparently a carriage return got inserted into the URL tag.
     
  5. Supa

    Supa Out of Cheese Error

    Joined:
    Jan 7, 2003
    Messages:
    3,663
    Location:
    Belgium
    Alternatively, you could use the following :

    Code:
    del *.bmp /S /Q
    It will delete all bmp in all subfolders (/S) and you shouldn't have to confirm anything (/Q). ;)
     

Share This Page