Skip to content

NumatbGUI

C# edited this page Jul 7, 2022 · 2 revisions

Overview

This program is useful for beginners, or to just be able to quickly edit a numatb file without going into MatLab. It supports these features:

  • Rename Materials
  • Change Textures
  • Change Shader (experimental, requires separate download)
  • Delete Materials
  • Create a preset file, and save materials to that file on the fly
  • Edit said preset file
  • Export preset file to LazyMat and CrossMod

About Saving

When you save a file through NumatbGUI, it creates a backup numatb first, then saves your changes.

Editing Materials

Open a numatb file from the program, and a list of shaders will pop up on the left side. Click a shader to edit. You can also right-click an entry to rename, duplicate, delete or add/change to preset. On the right side is information about that material. Note that not everything is editable, at the moment you can only change textures. It is best to use CrossMod/ssbh_editor when editing these values so you can see their effects in real time. Here you can change the render pass, textures and even the shader (see below). Click the change textures button and you can fill in all the associated texture names, makes it much faster than scrolling through Crossmod!

Presets

Have you ever come across a material you like, but can't be bothered to open it up in CrossMod, export the xml and copy everything to the CrossMod preset file? Well you're in luck! When you open a numatb file, you can save a specific material to your very own preset file. This file is a numatb itself, so it can also be edited with this program! Simply right-click a material you want, and add to presets. If you want to change the name or the default values, you can go to the Presets tab, and select Open Preset File. This opens your preset file without forgetting your current working file. Simply make the changes you want, and head back to the Presets tab, and select Return to Working File. You can go from Battlefield ring, to preset file back to battlefield ring without too much navigation! Numatb GUI supports exporting preset files to LazyMat and CrossMod. At the time, it does not currently support exporting to ssbh_editor, but you can use smashdataToJson on the preset.numatb file in the program's folder.

Editing Shaders (experimental)

Note that this is entirely experimental. You'll also need to grab nufx.db and smush_materials_v13.0.1.db from here If you know the shader ID, click the box that has the current shader name. Now type in the shader name, without the renderpass suffix. This will use the database files to populate the material with the values that it should have. Not 100% sure on its accuracy, so make sure you double check in crossmod when you're finished.

Clone this wiki locally