Giter VIP home page Giter VIP logo

agcremapper's Introduction

AGCRemapper


A simple tool that allow you to create GoldSrc textures that can have their colors remapped, for example, multiplayer player models. Made in Python using PySimpleGui and Pillow.

Screenshot

Work in progress!

Usage

  1. Have a BMP file that you want to convert. Example:

Base PNG

  1. Create 1 or 2 masks that have the same size as the original image. Non black (#000000) areas will be seen as the parts you want to recolor. Examples:

Mask 1 PNG (Mask 1) Mask 2 PNG (Mask 2)

  1. Start AGCRemapper and open your files
  2. Convert! The result file will be Remap!_128_191_255.bmp or thumbnail.bmp
  3. Rename your file to...
    • (model texture) Remap!_128_191_255 where ! should be replaced with a single number or capital letter of the English alphabet (0-9, A-Z). Make sure that your SMD and QC files uses the same texture names!
    • (thumbnail) make sure that the filename matches your MDL's name!
    • Preview thumbnails are WIP!
  4. Compile the model with the tool of your choice (e.g.: Crowbar) / copy the thumbnail to MDL's folder.
  5. Enjoy!

Result GIF

Tip: Make sure that your masks don't overlap for best resulst!

Known Issues

  • Thumbnail masks don't work if they are non-square black and white BMPs. Use other image formats, or just use another color instead of white.

Thanks to The303 for his tutorials!

agcremapper's People

Contributors

molteneq avatar

Watchers

 avatar

agcremapper's Issues

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.