ramdany7 / RightClickFolderIconTools

Adds “Folder Icon Tools” to the Windows Explorer context menu. Automatically edits images, generates, converts, and applies images as folder icons.
MIT License
25 stars 2 forks source link
anime-icons batch-processing batch-scripts customization folder-icon-tools folder-icons icons imagemagick movie-icons tv-series-icons windows-10 windows-11 windows-explorer

RCFI TOOLS

Adds "Folder Icon Tools" to your right-click menus, allowing you to easily customize folder icons with a simple right-click.

Download Code Size Repo Size GitHub License Like

Folder Right-click
RCFI-Folder_Menu
Background Right-click
RCFI-Background_Menu
Image Right-click
RCFI-Image_Menu



Features

Sreenshots

GridArt_20230825_142729884_(-resize x260 -quality 90) GridArt_20230825_092621697_(-resize x260 -quality 90) GridArt_20230825_092638437_(-resize x260 -quality 90)

Installation

  1. Download the .zip file here.
  2. Extract it using the password: 1234.
  3. Put the "RCFI Tools" folder somewhere, once it's installed, you are not allowed to move the folder; otherwise you'll have to reinstall it.
  4. Open RCFI Tools.bat.
  5. You'll be prompted to allow the script to write to the Registry. Click 'Yes' to proceed with the installation.
  6. There will be 'config.ini' and 'uninstall.cmd' generated. Done.

You can access 'Folder Icon Tools' via the right-click menu in Windows Explorer.

Note: In case if "RCFI Tools.bat" is flagged as a malicious program by antivirus software (see the issue discussion), you might have to add the "RCFI Tools.bat" to the allow list in your antivirus.



Usage

It's simple and easy to use. Once installed, you can generate a folder icon by right-clicking on a folder, an image, or the folder background. You can choose the template you want to generate the folder icon, it will automatically edit the image using ImageMagick.

Here's some samples of the template i've made.

  Files inside folder  
Sample files


  Generated folder icon  

Generated image, Template: (none)
(none)

Generated image, Template: DVDCase Transparent
DVDCase Transparent

Generated image, Template: DVDCase Bluray
DVDCase Bluray

Generated image, Template: Folder Vertical
Folder Vertical

Generated image, Template: Folder Horizontal
Folder Horizontal

Generated image, Template: (Shadow Only)
(Shadow Only)

Generated image, Template: BeOrigin
BeOrigin

Generated image, Template: Windows 11 A
Windows 11 A

Generated image, Template: Windows 11 Cover
Windows 11 Cover

Generated image, Template: Windows 11 Cover
Windows 11 Folderify

Generated image, Template: DiscArt
DiscArt

Generated image, Template: DVDBox Dark
DVDBox Dark

Generated image, Template: DVDBox Light
DVDBox Light

>_The samples above use '**\*Poster\*.jpg**' as the generated folder icon. Certain templates with specific configurations may combine additional files located within the folder directory to achieve the results as shown above. If the required additional files are not available, they will be ignored, and the folder icon will be generated without them._ To give you an idea of how it looks and how you can use it,
I've made a video that you can watch it [**Here**](https://www.youtube.com/watch?v=MT7BZlhRWfI).
[![Youtube](https://github-production-user-asset-6210df.s3.amazonaws.com/113004105/260920450-86f4ecdb-d141-4ce6-893f-e08031796113.png)](https://www.youtube.com/watch?v=MT7BZlhRWfI)

# Configurations ###      Template Configuration Some templates include configuration settings that can be customized according to your preferences. To modify the configuration, open the 'template file.bat' using a text editor and adjust the values. The 'template file.bat' can be found at `RCFI Tools\templates\`. Here are some available settings: |Configuration|Options|Description| | :--- | :--- | :--- | |set "display-movieinfo= " |`yes` `no` | Search for a '***.nfo**' file located within the same directory as the selected image to get movie information.| |set "show-Rating= " |`yes` `no` | Show movie's rating on generated folder icon| |set "show-Genre= " |`yes` `no` | Show movie's genre on generated folder icon| |set "genre-characters-limit= " |[number] | Limit the movie's genre characters to fit the template.| |set "display-FolderName= " |`yes` `no` | Display folder name on the generated folder icon| |set "FolderNameShort-characters-limit= " |[number] | Limit the folder name characters to fit the template.| |set "FolderNameLong-characters-limit= " |[number] | Limit the folder name characters to fit the template.| |set "FolderName-Center= " |`yes` `no` `Auto` | Align the folder name label on the generated folder icon to the left, center, or use auto-adjustment based on character count.| |set "use-Logo-instead-FolderName= " |`yes` `no` | Search for '***Logo.png**' within the same directory as the selected image and place it in the folder name's position.| |set "display-clearArt= " |`yes` `no` | Search for '***ClearArt.png**' within the same directory as the selected image and place it on the generated folder icon.| |set "display-discimage= " |`yes` `no` | Search for '***DiscArt.png**' within the same directory as the selected image and place it on the generated folder icon.| >Note: The availability of the above settings may vary depending on each template.
>You can also create your own template using a batch script, just place the script within the 'template' folder.
###      RCFI Tools Configuration The RCFI Tools Configuration can be found in `RCFI Tools\RCFI.config.ini` and can be adjusted and modified using a text editor. Here are the available configuration options: |Configuration|Options|Description| | :--- | :--- | :--- | | DrivePath=" " |[none] | Last used drive path | | Keyword=" " |[string] | Keyword for searching an image to set as the folder icon| | Keyword-Extension=" " |[image file extension] | File extension to search for the image| | Template=" " |[template file name] | Default template to use for generating folder icon| | TemplateForICO=" " |[template file name] | Template to use if the image extension is .ico| | TemplateForPNG=" " |[template file name] | Template to use if the image extension is .png| | TemplateForJPG=" " |[template file name] | Template to use if the image extension is .jpg or .jpeg| | TemplateAlwaysAsk=" " |`yes` `no` | Always ask which template to use for generating the folder icon| | TemplateTestMode=" " |`yes` `no` | When selecting template via choose template menu, redirect to Test Mode page to generate folder icon and execute the template| | TemplateTestMode-AutoExecute=" " |`yes` `no` | Generate folder icon and automatically execute the template when modifications on the template file detected| | TemplateIconSize=" " |[icon height] | Specifies the icon height to be generated; multiple icon sizes can be specified, e.g., `256,192,64`, which will create icon files with `256x256px`, `192x192px`, and `64x64px` icon resources.| | ExitWait=" " |[number] | Automatically closes the window after [number] seconds. If the number is greater than 99, it will pause indefinitely until manually closed.|

# Credits In the end, My role involves is just bringing together the work and ideas of others to bring this project to happend.
- This project was inspired by [Anime Icon Matcher 2018](http://www.mediafire.com/?nv3m231s8h9be) by serenity !29TgfcZgPU, which I used a lots in the past. - This project owes its existence to [ImageMagick](https://github.com/ImageMagick/ImageMagick), the tool that is use to process and edit images. - I utilize the [SingleInstanceAccumulator](https://github.com/Beej126/SingleInstanceAccumulator) by Beej126 to accumulate the selected items in Explorer so it doesn't make a new instance for each selected items. - I use PSD templates by [em1l](https://www.deviantart.com/em1l), [saikuro](https://www.deviantart.com/saikuro), [mauricioestrella](https://www.deviantart.com/mauricioestrella), [90scomics.com](http://www.90scomics.com) and [Jonathan Brimer](https://beoriginal.com/blog/free-folder-icon-photoshop-template) to create all available folder icon templates. - While working on this project, I also drew some inspiration from [FolderIco](http://folderico.com), [Raticon](http://jamedjo.github.io/Raticon) and [Folderify](https://github.com/lgarron/folderify).
**_A big thank you to all mentioned above for their contributions._**