Garry's Mod

Garry's Mod

Map Retexturizer
 This topic has been pinned, so it's probably important
Xalalau  [developer] 17 Apr, 2018 @ 9:30am
TO-DO + Requests and bug reports
Development stuff goes here


Dev. status: Development is stopped

Next Version Changelog ---- GitHub[github.com]

TO-DO:
[Add] Water and bumpmaps support: (I've tried a few times...) - Check https://wiki.facepunch.com/gmod/Shaders - Use IMaterial:GetShader() (is LightmappedReflective for water?) - Check https://wiki.facepunch.com/gmod/Material_Flags (Materials:GetFlags())

IDEAS:
[Add] Decal alignment grid? [Change] details: larger default list? use anything as a detail? [Change] further separate skybox code from map code (start with Materials:GetData(tr)) [Change] the way I apply materials to models isn't compatible with the Submaterial tool [Add] A way to stop a loading without cleaning the map [Add] Support for "type" material property (https://wiki.facepunch.com/gmod/Enums/MAT) [Add] try to modify map materials color again (Completely insane for me) [Add][Request] upset: support for material glowing bits (like buildings with lit windows / gm_bigcity_night has some glowing buildings up in the skybox, textures are selectable) [Check][Request] are animated vmts supported?

DUMP:
[Change] Improve models support: - Save/Load (Currently this is only done by GMod saves); - Submaterials; - Something is wrong with applying an alpha on models; - Check the alpha channel support. (The addon must retexturize the map, not the models.) [Add] render more information on the screen? (new material, old material, properties...) (It's not necessary) [Add] Favorites tab to the material browser (I don't want to) [Add] remove and copy decals (+undo +toolgun) (We can't[github.com]) [Add] Erik Panzer: textures applied in game to the VMF file of the map (= permanent and instant map changes) (Export vmf?) (check Momo's Map Manipulation Tool and the recommendations on the descriptions.) (Nope! I'd have to create VTF and VMT files with unique names and save them emembedded on the BSP, overwriting the informations. That sounds like a lot of work! I'll leave this idea here if I have the courage to do it someday. If you want to develop the solution, you can use my lua/mr/3rd/sh_bsp.lua file as a starting point. The map save files are in data/mapret/the_map. As of 4.0 saving format, they were extremely readable and easy to manipulate) [Add] Material randomize button (Nope. Too much work/workload just for a crazy moment) [Add] favorites section in the material browser (+ add button also in the general section) - tab under the browser preview image - add/remove buttons - save/load the list in a file (I'm not going to do this) [Request][Add] Sinzi: material groups (so we can apply/remove materials at once for each group) (This is a good idea, but it requires a lot of work and will be used by few people. Anyway, I added an option to not clear the entire map before a load, so the saves themselves can be used like groups. Besides that, I can add a button to remove from the map only the materials modified by a save, so if anyone wants this feature please let me know) [Request][Add] bomberman: model phong (no) [Fix] try again to destroy the invalid undos (what happens when I weld a prop on another, delete both and do a undo? Is the undo active yet? Or the delete tool does some magic?)

Feel free to comment.
Last edited by Xalalau; 3 Jun, 2024 @ 7:14pm
< >
Showing 1-15 of 119 comments
Xalalau  [developer] 17 Apr, 2018 @ 10:03am 
Up.
Is there a way to browse and share your saved map retextures? I've been converting various maps to look like CP_Orange, and I want other people to share in the pain.
Xalalau  [developer] 25 Apr, 2018 @ 11:51am 
The files are created in the "GarrysMod/garrysmod/data/mapret" folder. Just share these saves somewhere and tell people to place them in the same location.
Last edited by Xalalau; 25 Apr, 2018 @ 11:54am
Originally posted by Xalalau:
The files are created in the "GarrysMod/garrysmod/data/mapret" folder. Just share these saves somewhere and tell people to place them in the same location.

Thanks.
somario360 6 May, 2018 @ 4:30pm 
Maybe allowing changing textures through an URL would be good.
Originally posted by somario360:
Maybe allowing changing textures through an URL would be good.
If that were possible... Giant ♥♥♥♥♥ on the map for dayz.
SlenderMansApple 11 Jun, 2018 @ 4:54pm 
I used it for a while but then got "the client settings for this tool are invalid"
Last edited by SlenderMansApple; 11 Jun, 2018 @ 4:54pm
Xalalau  [developer] 4 Jul, 2018 @ 11:09am 
@somario360

Only VTF files work good enouth to be used.

@SlenderMansApple

I have no idea of what this error is.

@wonk

The support for skyboxes in my tool follows Valve's specifications: https://developer.valvesoftware.com/wiki/Skybox_(2D)

It's the same for Source:
<skyname>BK
<skyname>DN
<skyname>FT
<skyname>LF
<skyname>RT
<skyname>UP

And GoldSource (ex: map carrotjuice):
carrotjuicert.tga (Right)
carrotjuiceft.tga (Front)
carrotjuicelf.tga (Left)
carrotjuicebk.tga (Back)
carrotjuiceup.tga (Up)
carrotjuicedn.tga (Down)

The uppercase and lowercase don't matter, if I remember correctly.

What's happening with you? Have you tried renaming the files? It works if you have the right names.
Gafanhoto 11 Jul, 2018 @ 11:15am 
Cara, tem algum jeito de fazer as mudanças persistirem no save?
Xalalau  [developer] 11 Jul, 2018 @ 12:07pm 
Quando você dá save com as modificações, sai do jogo e mais tarde dá load, tudo volta. Aconteceu algum problema aí?
Et tu, B? 27 Jul, 2018 @ 11:14pm 
Working on a save and everytime I load one of my saves the retexture ends up turning into a defult texture!
Xalalau  [developer] 28 Jul, 2018 @ 1:42pm 
Don't use the tool on missing textures.
Et tu, B? 28 Jul, 2018 @ 9:40pm 
Originally posted by Xalalau:
Don't use the tool on missing textures.
Im not though
Xalalau  [developer] 29 Jul, 2018 @ 10:42am 
So this needs to be investigated. Send me your ".../garrysmod/data/mapret" folder and I'll take a good look as soon as I can.
Et tu, B? 30 Jul, 2018 @ 2:29am 
Heres the thing. I dont like looking into the files on games, I hope linking my subscribed items can work
https://steamhost.cn/steamcommunity_com/profiles/76561198071536703/myworkshopfiles/?appid=4000&browsefilter=mysubscriptions
< >
Showing 1-15 of 119 comments
Per page: 1530 50