ANoob's Brres Material Tool

From Custom Mario Kart
Jump to: navigation, search
ANoob's Brres Material Tool
Author: ANoob
Operating system: Windows, Mac, Linux
Programming language: Python
File Formats: BRRES, OBJ, DAE
Version: v0.7.4
Date of latest release: 2020-09-27
Download: Github


ANoob's Brres Material Tool (also known as abmatt) is a Python command line tool created by ANoob. This is used for creating, editing and exporting BRRES models. It was created with the intention of making the process of material editing and model creation easier.

Main Features

  • Conversion to and from OBJ and DAE file formats.
  • Automatically uses previous material settings on model replacement.
  • Copy and pasting of materials, shaders, and animations.
  • Regular expression pattern matching.
  • Interactive mode.
  • Text file commands.
  • Custom configuration (etc/abmatt/config.conf).
  • Presets (etc/abmatt/presets.txt)
  • Automatically checks and fixes.
  • Automatically detects model name of course, map, and vrcorn models.
  • Automatically adds map model bones.

Model Creation Geometry Details

  • Automatically detects encoding format to use, guaranteeing 6 decimals of precision.
  • Uses tristrips to create model geometry, saving file space.
  • Removes super small triangles that become lines.

Abmatt facepoint compare.png


The tool uses Wiimms Image Tool (wimgt) to convert images, which must be on the system's path.


v0.7.2 Demo

Version History

Version Date of release Information
v0.4.0 2020-06-15 First release
v0.5.0 2020-06-28
  • Added support for copy/paste commands.
  • Added feature for editing animations.
  • Added auto-fixing and checks.
v0.6.0 2020-07-20
  • Added installer for Windows and Linux.
  • Added configuration file.
  • Fixed a bug with copy/paste SRT0 layer.
v0.6.1 2020-07-20
  • Adjusted output for bug notification.
  • Added some options to configuration file.
v0.7.0 2020-09-19
  • Added convert command supporting conversion to and from 'dae' and 'obj' files.
  • Added image conversion and editing using WIMGT and pillow.
  • Added ability to directly input a command on command-line in addition to the command-line options.
  • Changed installer to improve speed, now binaries are all put in one directory instead of one file.
  • Fixed numerous bugs that would cause crashes in game.
v0.7.1 2020-09-21
  • Fixed Collada matrix parsing.
  • Fixed an issue that Windows Defender treated as a virus.
v0.7.2 2020-09-23
  • Updated to handle exporting multiple models.
  • Updated argument parsing.
v0.7.3 2020-09-24
  • Fixed compatibility issue with calling image converter on Linux systems.
  • Changed export of floats to avoid scientific notation.
v0.7.4 2020-09-27
  • Added Collada file units detection, which are converted to meters.
  • Applied bone transformation when exporting to OBJ.
  • Fixed a bug with importing textures beginning with the "file://" semantic.
  • Fixed a maximum recursion bug with large models.