An open API service indexing awesome lists of open source software.

https://github.com/xezno/zip2mat

Converts zip materials to Source 2 vmats
https://github.com/xezno/zip2mat

half-life-alyx source2 source2-engine

Last synced: 4 months ago
JSON representation

Converts zip materials to Source 2 vmats

Awesome Lists containing this project

README

          

# Zip2Mat

![Zip2Mat Screenshot](https://user-images.githubusercontent.com/12881812/115393441-9b468f80-a1d9-11eb-94cf-88bf91183fca.png)

## What?

Zip2Mat is a simple app that allows you to convert textures contained in zip files
(like [this one](https://cc0textures.com/view?id=Metal022)) 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](https://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](https://github.com/xezno/Zip2Mat/releases) with this repo's contents and compile it
yourself, or [download the zip](https://github.com/xezno/Zip2Mat/archive/refs/heads/main.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.