Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Fancy-Folder-Icons

An asset by rssaromeo
The page banner background of a mountain and forest
Fancy-Folder-Icons hero image

Quick Information

0 ratings
Fancy-Folder-Icons icon image
rssaromeo
Fancy-Folder-Icons

allows using custom images for folders in the godot file system dock using rules to match folders/files.how to use:Rules instructionsfor match rules you can have the path be matched my string, or * for wildcard which matches any folder, or ** for wildcard that matches any amount of folders in a row.rules can be changed at project settings plugin/fancy_folder_icons/ruleseg:match rule "res://scenes/blocks/**/images/"matches "res://scenes/blocks/block1/images/"matches "res://scenes/blocks/block2/images/"matches "res://scenes/blocks/block3/nested_folder/images/"matches "res://scenes/blocks/block3/nested_folder/nested_folder2/images/"replace rule "res://scenes/blocks/image.png"loads image from "res://scenes/blocks/image.png"match rule "res://scenes/blocks/**/images/"replace rule "res://scenes/blocks/$1/images/editorBar.png||res://scenes/blocks/$1/images/1.png||res://scenes/blocks/$1/images/unpressed.png||res://scenes/blocks/$1/images/ghost.png"when match rule matches "res://scenes/blocks/block1/images/"tries to load image from "res://scenes/blocks/block1/images/editorBar.png"if not successful tries to load image from "res://scenes/blocks/block1/images/1.png"if not successful tries to load image from "res://scenes/blocks/block1/images/unpressed.png"if not successful tries to load image from "res://scenes/blocks/block1/images/ghost.png"if not successful logs an errorif one replace rule fails, if the file is not found, to match the errors are saved and only shown if no later replace rules match.

Supported Engine Version
4.4
Version String
1
License Version
MIT
Support Level
community
Modified Date
27 days ago
Git URL
Issue URL

allows using custom images for folders in the godot file system dock using rules to match folders/files.

how to use:

Rules instructions
for match rules you can have the path be matched my string, or * for wildcard which matches any folder, or ** for wildcard that matches any amount of folders in a row.

rules can be changed at project settings plugin/fancy_folder_icons/rules

eg:
match rule "res://scenes/blocks/**/images/"
matches "res://scenes/blocks/block1/images/"
matches "res://scenes/blocks/block2/images/"
matches "res://scenes/blocks/block3/nested_folder/images/"
matches "res://scenes/blocks/block3/nested_folder/nested_folder2/images/"
replace rule "res://scenes/blocks/image.png"
loads image from "res://scenes/blocks/image.png"
match rule "res://scenes/blocks/**/images/"
replace rule "res://scenes/blocks/$1/images/editorBar.png||res://scenes/blocks/$1/images/1.png||res://scenes/blocks/$1/images/unpressed.png||res://scenes/blocks/$1/images/ghost.png"
when match rule matches "res://scenes/blocks/block1/images/"
tries to load image from "res://scenes/blocks/block1/images/editorBar.png"
if not successful tries to load image from "res://scenes/blocks/block1/images/1.png"
if not successful tries to load image from "res://scenes/blocks/block1/images/unpressed.png"
if not successful tries to load image from "res://scenes/blocks/block1/images/ghost.png"
if not successful logs an error
if one replace rule fails, if the file is not found, to match the errors are saved and only shown if no later replace rules match.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Fancy-Folder-Icons icon image
rssaromeo
Fancy-Folder-Icons

allows using custom images for folders in the godot file system dock using rules to match folders/files.how to use:Rules instructionsfor match rules you can have the path be matched my string, or * for wildcard which matches any folder, or ** for wildcard that matches any amount of folders in a row.rules can be changed at project settings plugin/fancy_folder_icons/ruleseg:match rule "res://scenes/blocks/**/images/"matches "res://scenes/blocks/block1/images/"matches "res://scenes/blocks/block2/images/"matches "res://scenes/blocks/block3/nested_folder/images/"matches "res://scenes/blocks/block3/nested_folder/nested_folder2/images/"replace rule "res://scenes/blocks/image.png"loads image from "res://scenes/blocks/image.png"match rule "res://scenes/blocks/**/images/"replace rule "res://scenes/blocks/$1/images/editorBar.png||res://scenes/blocks/$1/images/1.png||res://scenes/blocks/$1/images/unpressed.png||res://scenes/blocks/$1/images/ghost.png"when match rule matches "res://scenes/blocks/block1/images/"tries to load image from "res://scenes/blocks/block1/images/editorBar.png"if not successful tries to load image from "res://scenes/blocks/block1/images/1.png"if not successful tries to load image from "res://scenes/blocks/block1/images/unpressed.png"if not successful tries to load image from "res://scenes/blocks/block1/images/ghost.png"if not successful logs an errorif one replace rule fails, if the file is not found, to match the errors are saved and only shown if no later replace rules match.

Supported Engine Version
4.4
Version String
1
License Version
MIT
Support Level
community
Modified Date
27 days ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers