Skip to content

xezno/Zip2Mat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zip2Mat

Zip2Mat Screenshot

What?

Zip2Mat is a simple app that allows you to convert textures contained in zip files (like this one) to materials you can use with Source 2, allowing you to import materials at light speed.

Zip2Mat currently features:

  • Automatically extracts & moves all of your files into the right place so that you don't have to
  • Bulk importing: drag & drop multiple zip files so that you can batch import textures
  • Converts textures into .tga images (Source 2 likes these more than jpegs or pngs or whatever)
  • Support for the 'VR Simple' shader
  • A super simple, intuitive interface
  • Tested & works with CC0Textures, TextureCan, TextureHaven, among others (most of the 3dassets.one results should work without issue)
  • Normalize file names (so that your project folder isnt a mess)

Why?

Because I'm lazy and can't be bothered to link all of the maps up manually. And you probably don't either.

Where?

You can download the latest release with this repo's contents and compile it yourself, or download the zip.

As a quick note, don't bother using jpegs. Importing them into Source 2 causes the whole engine to hang for ~20 seconds, and they look like shit anyway.

How?

Zip2Mat simply searches for common aliases for the different map types (i.e. color -> colour, diffuse, col, albedo, etc.) and then generates a vmat file using the T4 text template system.