Garry's Mod

Garry's Mod

Not enough ratings
Super Map Icon Maker
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Realism
File Size
Posted
Updated
74.988 KB
18 Jun, 2023 @ 1:11pm
1 Jul @ 12:41pm
111 Change Notes ( view )

Subscribe to download
Super Map Icon Maker

In 1 collection by Psychotrickser
Gmod - All Gamemodes and Addons for a multi-gamemode server
377 items
Description
BIG UPDATE: You can now upload your map icons to a central database to share them across all servers that have PerfectMapvote installed!

Tired of making addon packs for map icons? This will help you out!
This addon allows you to press a single button to take a screenshot. Then you can decide whether to keep it or take a new one. If you decide to keep it, it's saved in your gmod folder and named after the map you're currently on which makes the screenshot suitable for adding to a map icon pack. The next map from the maplist is loaded automatically and yet again you can take a screenshot in a single key stroke.

This is a very fast and convenient way for making map icons.

Chat Command: !SMM

Features
+ Graphical User Interface for easy use
+ generate a list of maps that don't yet have a thumbnail (receives the maplist from server)
+ automatically cycle through each map
+ activate screenshot mode for having all important functions available in a single key press
+ download map icons directly from the map's workshop page (only for workshop titles that match the mapname)

How do I contribute my self made map icons to the database for PerfectMapvote?
Open the !smm menu and switch to the 'Upload' tab. Select the icons you wanna upload and you're done. Your submitted icon will be reviewed by me and either approved or rejected. Note that your steamID will also be transmitted.
The 'Upload' Tab doesn't show all your map icons but only the ones that aren't available on the database yet. Also you can only send images that are smaller than 64kb.

How do I upload the screenshots that I've made to the server?
Your screenshots are saved in your /data/super_mapicon_maker/*x*/ folder on default. In order to send them to the server you can either use an external FTP Client or my FTP Client addon:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3476105169

How do I add these map thumbnails to the main menu so there's a preview for all maps?
Copy your made screenshots into garrysmod/maps folder and restart your game. Your main menu should have a map thumbnail for all maps now.
______________________________________________________________
SMM Menu
You can open up the Map Icon Maker Menu using the chat command !smm or console command smm_menu.

SMM Menu - Maplist
The Maplist is used for generating a kind of 'playlist' of maps that don't have a map icon. You'll automatically cycle through all of them to take a screenshot. You can change the order of those maps by clicking on them and using 'Move Up' and 'Move Down'. You can remove the selected maps by clicking on 'Remove'.
There's two options for generating a maplist. The first, regular one is the 'Generate' button. This generates a maplist based on the maps that are installed on the server which don't have a map icon on your client.
The second option is 'Generate maplist from most requested map icons for PerfectMapvote' which requests the top 50 most requested maps for the Perfect MapVote addon which don't have a map icon yet. It also tries to find the corresponding workshop objects and downloads them automatically. However, this doesn't work for most maps as their workshop name doesn't entirely match the map's name. In that case you'll have to edit the maplist manually or click on a line (which copies the mapname to your clipboard) and search it up on the workshop yourself. A red text color tells you which maps aren't installed on your client.
When using 'Generate' or modifying the maplist you need to save it by clicking on 'Save'. It will create a file for your maplist so that it persists through your game sessions. You can switch to singleplayer to start taking screenshots now.
Using 'Load Map' you can jump to a map in your maplist immediately.

SMM Menu - Your Maps
This tab contains all your installed maps. You can see right away which maps have map icons and which don't. By rightclicking on a map you'll see all available map icons and where in your files they're located.
There's a search bar and the option to select/deselect maps. The 'Add to Maplist' button adds marked maps to your maplist. The 'Download all Thumbnails from Workshop' button tries to download the workshop object's preview image to use that as the map icon. This doesn't work for most maps as the workshop name usually doesn't entirely match the map name.

SMM Menu - Options
The 'Screenshot Mode' enables the quick way for taking screenshots. In the top right it tells you the hotkeys for toggling the !smm menu (default: E), taking a screenshot (default R) and disabling the Screenshot Mode (default Tab).
In the top left you can see the screenshot you're about to take and it's size in pixels. Note that good map icons should be quite small (recommended: 312x312) so that also their file size is small.
You can adjust the screenshot size using the 'Screenshot Size' slider.
There are default paths where the Mapicon Maker looks for map icons. Usually there's no need to modify them. Should you wish to add or remove paths you can do that in the 'Search Locations of Map Thumbnails for this menu' section.

SMM Menu - Upload
The Upload Tab corresponds to the Perfect Mapvote addon. This tab compares your map with the map icons that are available in the central database. You can upload your own map icons to it by marking them and clicking on 'Upload'. Note that your steamID will be transmitted to prevent abusing this feature for spreading NSFW images.
Only those map icons that are smaller than 64kb can be uploaded. It can take up to 24 hours before the central database approves (or rejects) your submission. Should a map icon be too big you can mark it and click on 'Add to Maplist' to take a more suitable screenshot.

This work is licensed under CC BY-NC-ND 4.0 [creativecommons.org]
38 Comments
Psychotrickser  [author] 15 May @ 9:54am 
Ohh. Well anyway, it should be working fine now. I tested it with a fresh installation
cd0m 15 May @ 9:53am 
gmod update not this things updates
Psychotrickser  [author] 15 May @ 12:40am 
Oh yeah. Now you say it, I'll switch the base folder to a different one to prevent conflicts with the old files before rework
cd0m 14 May @ 3:53pm 
nvm I think these errors are due to the new update that's fucked everything up lol
Psychotrickser  [author] 14 May @ 3:23pm 
+fixed
I forgot to correctly create the base file directory /data/mapicon
cd0m 14 May @ 2:51pm 
Nope fresh install I just get a ton of issues in general
Psychotrickser  [author] 14 May @ 2:41pm 
Have you edited the map preview hierarchy file manually?
cd0m 14 May @ 2:21pm 
[Super Map Icon Maker] lua/autorun/client/cl_icon_maker.lua:693: bad argument #1 to 'ipairs' (table expected, got string)
1. ipairs - [C]:-1
2. createBrowser - lua/autorun/client/cl_icon_maker.lua:693
3. unknown - lua/autorun/client/cl_icon_maker.lua:1034
4. unknown - lua/dlib/modules/hook.lua:904
got this opening menu trying to do anything
Psychotrickser  [author] 14 May @ 1:43pm 
+fixed
cd0m 14 May @ 1:35pm 
[Super Map Icon Maker] lua/autorun/client/cl_icon_maker.lua:36: bad argument #1 to 'ipairs' (table expected, got boolean)
1. ipairs - [C]:-1
2. loadNextMap - lua/autorun/client/cl_icon_maker.lua:36
3. DoClick - lua/autorun/client/cl_icon_maker.lua:979
4. unknown - lua/vgui/dlabel.lua:253