Garry's Mod

Garry's Mod

86 ratings
Map Icon Downloader
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Map
Addon Tags: Fun, Scenic
File Size
Posted
Updated
4.853 KB
Sep 13, 2021 @ 10:30am
Sep 25, 2021 @ 12:48pm
2 Change Notes ( view )

Subscribe to download
Map Icon Downloader

In 2 collections by Blechkanne
Blechkanne Addons
8 items
Prophunt LAN
16 items
Description
Automatic Map Thumbnail / Icon Downloader

Tutorial
  1. Subscribe to the addon
  2. Get on any Map for example gm_construct
  3. Now the Addon created a thumbnail folder under garrysmod/data/map_thumbnails/maps/thumb
  4. Copy the Folder into your garrysmod/maps Folder
  5. Restart your Game
  6. Now subscribed maps should have thumbnails

Description
The Addon automatically creates a folder with missing .png map thumbnails by searching through your subscribed maps.

Works 100% clientside, no need to add it to your server


This is also works as an extension for the Partly Adequate Mapvote (PAM) LEGACY


map_icons_help
Shows a tutorial ingame how to use the Addon



Checkout my Github[github.com]
4 Comments
Blechkanne  [author] Sep 17, 2023 @ 11:59pm 
Will try it out ! Ty for the idea:steamthis:
EntranceJew Sep 17, 2023 @ 6:42pm 
In the code you write that you don't know how to work around addons that don't match the mapname:
- build a filetable of all the addons by doing file.Find with the addon.title from engine.GetAddons() as the scope
- look through each file table and find the one with the highest wsid
- now that you know the wsid, you already know how to get the image

here's some code I happened to be working on coincidentally github gist [gist.github.com] that you might find useful
Blechkanne  [author] Jun 26, 2022 @ 11:32am 
Thanks and good idea! Sadly there is no way to automate that process since gmod only allows to write into the data folder
lucasm Jun 26, 2022 @ 11:22am 
This works pretty well, I found it more useful to symlink the garrysmod/data/map_thumbnails/maps/thumb folder to garrysmod/maps, that way I only need to restart and not manually move/copy the thumbnails.