Garry's Mod

Garry's Mod

1,906 ratings
Map Retexturizer
3
   
Award
Favorite
Favorited
Unfavorite
Type: Map, Addon
Tags: Build
File Size
Posted
Updated
0.604 MB
Apr 10, 2018 @ 10:14am
Aug 28 @ 12:16am
28 Change Notes ( view )

Subscribe to download
Map Retexturizer

In 3 collections by Xalalau
Brasil - Supremacia
81 items
GMod Gold Animator's Collection
98 items
Gravação
53 items
Description
-----------------------------------------------------------
BRASIL, Junte-se: https://discord.gg/ytkXGNU
GMBR, criadores BR de addons e vídeos e tudo.
-----------------------------------------------------------

Introduction

Hello, there!

I've created Map Retexturizer for players to play around, for server owners to make unique outdoors / advertisement / maps and for filmmakers to reinvent their scenes more freely.

Note: this process of changing materials consists of manipulating them in RAM and in custom backups, so the original files on the disk are always intact. Also, saving and loading are only associated with creating and reading texts files containing the modification structures. You can relax and use the tool at will, nothing will be destroyed or set on fire!

> TO-DO + Requests and bug reports
> Source code on GitHub[github.com]
> My other tools
> my HL1 mod, Hu3-Life



Features
  • Copy, paste and restore materials;
  • Manipulate materials of brushes, models and decals;
  • Change many material properties;
  • Tool gun and undo support for almost everything;
  • Works with any mounted game and manually installed vmt/vtf files;
  • Fully prepared for singleplayer, listen servers and dedicated servers;
  • Full support for GMod saves;
  • Save / Autosave / Load / Autoload;
  • Change all map materials at once (but water and models);
  • Full cleanup by categories;
  • Preview mode;
  • Material Browser;
  • Console commands.

Server Owners / Admins

Here are our commands:

mr_admin 1/0 = Turn on/off the admin protections; mr_materials = List all the map materials; mr_cleanup = Clean all the modifications; mr_list = List the saved game names; mr_load "name" = Load the saved game called "name"; mr_autoload "name" = Set a saved game called "name" to load when the server starts; mr_save "name" = Save the current tool modifications into a file called "name"; mr_autosave 1/0 = Enable/Disable the autosaving; mr_delete "name" = Delete the save called "name"; mr_delay = The delay between each materiall application on a load; mr_dup_cleanup 1/0 = Enable/Disable cleanup before starting a load; mr_progress_bar 1/0 = Enable/Disable the progress bar; mr_instant_cleanup 1/0 = Clear the map as fast as possible (may cause a temporary freeze); mr_add_disp "material" = Add displacement to the menu; mr_rem_disp "material" = Remove displacement from the menu.

Changing the Skybox

You can apply any material on the skybox using the tool gun.

If you want to use a 6-sided sky, install it and write the name in the skybox path, omitting the suffix. For example, on sigleplayer:

1) Download: https://gamebanana.com/textures/4446 2) Place in the addons folder; 3) Open the game (or disconnect, run reload_legacy_addons and restart); 4) Go to tool skybox textbox and write:
skybox/jungle_csgoft
Then you are going to see the material repeated. Just remove the suffix "ft" and try again:
skybox/jungle_csgo
Result: https://i.imgur.com/9LksdEa.jpg

Note: Check the documentation if you want to create your own sky materials
Note 2: if the map has a customizable skybox like the one in gm_construct, changing it has a noticeable impact on performance, otherwise the impact is null.

Adding Materials

You can use your own materials by correctly creating[gamebanana.com] and placing them in the folder:

[...]\steamapps\common\GarrysMod\garrysmod\addons\mystuff\materials

In the above path, change "mystuff" as desired.

Requirements:
- VTFEdit[nemesis.thewavelength.net] to edit/create .VTF; (OR Gimp[www.gimp.org] with the gimp-vtf[github.com] plug-in) - A nice text editor like Notepad++[http//Notepad%2B%2B] to edit/create .VMF.

Sharing Your Saves

The save files are organized per map and located in the folder:

[...]\steamapps\common\GarrysMod\garrysmod\data\mapret

You can zip them up and send them to others, that's it.

Note: in multiplayer save files are kept only with the server owner, that is, clients don't receive copies of them (only a list of names).

Limitations

Here is a list of the things that I'm struggling to do or I can't get to work:
  • Change many of the brushes material properties, including but not limited to color and bumpmap;
  • Get displacements texture paths with Lua[web.archive.org];
  • remove and copy decals (+undo +toolgun) (We can't[github.com])
  • Change map models (They are identified as **studio**)
  • The new material preview is very light but it requires a current map material (applied) to work, so I left it kind of disconnected and it affects the missing textures

OMG IT ISN'T WORKING

TL;DR; Disable the Shader Cache in your NVidia Control Panel or AMD Settings.

People are having some weird errors because of graphics cards configurations optimizing the materials storage, and for some reason it's only affecting dedicated servers.

If you are copying materials with the right mouse button and they aren't rendering correctly in the preview window, you are being affected by this.

Thanks

Support my work if you like it:
[www.paypal.com]

The testers:
  • Beckman;
  • BombermanMaldito;
  • duck;
  • le0board;
  • Matsilagi;
  • Nerdy
  • NickMBR;
  • twitch.tv/deekzzyy
  • XxtiozionhoxX;

Others
  • Lou;
  • Aliendude;
  • SMG5;
  • Gatíneo.
  • Kyle Calhoun

English errors, stupid text? Please, let me know!

More tags: video / cinema / youtube / vimeo / tool / addon

Made in Brazil. Valeu, pessoal!!!
Enjoy it! Hopefully, it'll be worth the weight. (Yes, WEIGHT!)
Popular Discussions View All (7)
61
Oct 11 @ 3:59pm
PINNED: TO-DO + Requests and bug reports
Xalalau
13
Apr 28 @ 4:56pm
tool laggy while running skyboxes...
Kyle Calhoun
6
May 24 @ 2:00pm
how to get custom skyboxes...
Kyle Calhoun
< >
625 Comments
Dr.Harkov Oct 21 @ 12:33pm 
Parabéns mano, você fez um ótimo trabalho!
MacoixIT Sep 24 @ 8:45am 
How I can replace for example road texture with one created by me in the mystuff folder?
Kyle Calhoun Sep 3 @ 11:11pm 
It was only on my friend's server once well thanks :)
Kyle Calhoun Sep 3 @ 11:11pm 
Alright thanks!
Xalalau  [author] Sep 3 @ 10:16pm 
Many problems... I'm taking a few days off, I'll try to solve them soon.
Kyle Calhoun Sep 3 @ 8:47pm 
Im having the same issue from one of the previous updates where the menu doesnt show but i have to open context menu to see the menus and it just started when i reloaded gmod...
Kyle Calhoun Sep 2 @ 4:22pm 
[Map Retexturizer] lua/mr/data/materials/sv_materials.lua:143: attempt to index a nil value
1. unknown - lua/mr/data/materials/sv_materials.lua:143

Timer Failed! [Simple][@lua/mr/data/materials/sv_materials.lua (line 91)]
Kyle Calhoun Sep 2 @ 4:16pm 
[Map Retexturizer] lua/mr/gui/panels/cl_displacements.lua:108: attempt to index a nil value
1. OnSelect - lua/mr/gui/panels/cl_displacements.lua:108
2. ChooseOption - lua/vgui/dcombobox.lua:95
3. DoClick - lua/vgui/dcombobox.lua:180
4. OnMouseReleased - lua/vgui/dlabel.lua:237
5. unknown - lua/vgui/dmenuoption.lua:77


[Map Retexturizer] lua/mr/gui/panels/cl_preview.lua:77: attempt to index local 'material' (a nil value)
1. RefreshPreviews - lua/mr/gui/panels/cl_preview.lua:77
2. SetPreview - lua/mr/data/materials/cl_materials.lua:155
3. unknown - lua/mr/gui/panels/cl_properties.lua:67

Timer Failed! [Simple][@lua/mr/gui/panels/cl_properties.lua (line 66)]
Kyle Calhoun Sep 1 @ 1:24pm 
I dont know what addon is conflicting with the addon
Kyle Calhoun Sep 1 @ 1:24pm 
when someone joins my game once they are in the tool breaks what i mean by that is like when someone is in, the textures are only seen from the player who changed a texture can only see it and cant be changed back...