Game Icons
All the icons from https://game-icons.net
Meta data
Column Name |
Data |
Description |
Name |
Game Icons |
Name of the Pack |
Shortcode |
game-icons |
Shortcode of the pack used for filtering |
Github Link |
https://github.com/game-icons/icons |
Github Repository Link |
Total |
4170 |
Total Number of Icons |
Author |
Game Icons |
Author of the Icon Pack |
Author Link |
https://github.com/game-icons |
Link to the Author |
Icon SVG |
|
SVG for the Pack Logo, or |
Logo |
|
PNG or JPG for the Pack Logo |
Icons CSV |
|
CSV FIle of the Icons |
Has Categories |
Yes |
Are categories used to group icons within a pack. |
Transformations
Name |
Transform From |
Transform To |
1 |
path d |
path fill='{{BackgroundColor}}' d |
2 |
#fff |
{{IconColor}} |
PowerShell script to create csv from repository.
$counter = 1
$file = "D:AppzIconManagerPacksCSVgame-20250511.csv"
write-host "Game Icons "
$setName = "game-icons"
# Core
$path = "D:AppzIconManagerPacksicons*.svg"
$icons = get-childitem -File $path -recurse
ForEach($icon in $icons){
[string]$svg = Get-Content $icon.FullName;
# [array]$split = $icon.Name.Split('-')
[string]$path = $icon.DirectoryName.Split('')[-1]
$TextInfo = (Get-Culture).TextInfo
$string = $icon.Name.Replace("_"," ").Replace(".svg","").Trim()
# Capitalize the first letter of each word
$name = $TextInfo.ToTitleCase($string.ToLower())
$name
$path
$objResults = New-Object PSObject -Property @{
pp_id = $counter;
pp_name = $name
pp_svg = $svg.Replace("""","'");
pp_pack = $setName
pp_size = "24"
pp_category = $path
}
$counter++
$objResults | Export-CSV $file -Append -NoTypeInformation -force
}
write-host "Finished"