Disgaea Mayhem Modding Suite
============================

One window, two tabs, sharing one set of tools and one backup.

  Meshes    character mesh export, Blender editing, native replacement
  Textures  texture export and replacement

Run START_SUITE.bat, or:  python disgaea_mayhem_modding_suite.py


WHAT EACH TAB DOES
------------------

Meshes
  Exports a character to Blender-ready .glb with textures, skeleton and
  skinning, validates your edited file, recompresses it, and patches the
  archive. Every submesh has a fixed vertex and triangle budget; within it you
  can subdivide, merge, retopologise or delete freely. Exceeding it is refused
  before anything is written.

Textures
  Exports any character texture to PNG, converts your edit back to the game's
  format, and patches it in. Dimensions, pixel format and mip count must match
  the original — the tool checks all three and explains what is wrong rather
  than producing a file that hangs the game.

BACKUPS AND RESTORE
-------------------

The first patch creates model_1_00.dat.ORIGINAL. It is never overwritten.

Restore is shared. Meshes and textures live in the same archive, so restoring
removes both kinds of edit together. The warning bar in the window says so.

To see what is currently modded:  python checkmods.py


REQUIREMENTS
------------

Python 3.10 or newer. Texture previews and PNG conversion also want pillow and
numpy; the suite offers to install them on first run.
