GithubHelp home page GithubHelp logo

dustinslane / texture_magic Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 0.0 2.41 MB

Automated DDS and YTD resizing and cropping for GTAV & FiveM files.

Home Page: https://dustinslane.nl/

License: GNU General Public License v3.0

C# 100.00%
clothing dds fivem gta-5 gta-v gtav sims tools ytd

texture_magic's Introduction

Texture Magic

Texture magic is a handy tool to quickly crop and trim textures, scale and compress them to optimized defaults for FiveM and GTAV.

Features

  • ✂️ Automatic cropping and trimming of DDS textures
  • ⚙️ Works on YTD files and DDS files so you don't have to extract the files first!
  • 📐 Automatic rescaling
  • 📐 Supports 1x1 textures and 1x2 textures
  • 🎨 DXT-1 and DXT-5 support
  • 🚀 Multithreaded! Will work on 4 textures at the same time speeding up conversions!

Screenshots

An image of the application.

Example

Before

Before image

After

After image

System Requirements:

✅ Windows 10 or Windows 11, 64 bit operating system required.
❌ Windows 8.1, Windows 7, Linux/Mac or 32-bit not supported.

.NET 8.0 is required. You may already have this installed. If you don't, you can get it here:
https://dotnet.microsoft.com/en-us/download/dotnet/8.0

Disclaimer

This software is distributed free of charge, as-is, without any warranty. May it help you resize textures.

Download

Find the latest release here. Download the ZIP file and extract where convenient. Run the program.

Support me

If you like this program, please support me here so I can dedicate time to projects like this!

Usage

This list will go through the steps, and down the list of things on the screen.

  1. Open the application
  2. Click SELECT FILES. Select the files you want to convert.
    • You MUST only select textures that have the same UV-mapping at a time.
    • Example: only textures for jbib_023.ydd
  3. Decide if you want a background color. It is gray. #1F2020.
  4. Decide if you want a border around your texture. Select one from the dropdown.
  5. (EXPERIMENTAL) You can have the program attempt to rearrange your texture in a more optimized arrangement. This probably won't work but it might?
  6. Decide if the texture is square. Some textures (shoes) won't be.
  7. Set the width you want.
  8. If not square, set the height here.
  9. IMPORTANT: select DXT-1 for textures without transparency. Select DXT-5 for textures with transparency.
  10. Click start!

Credits

Libraries

Application Icon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.