r/recomps • • 1d ago

Discussion Python tool that rips textures, 3D models and level maps out of Normality (1996)

Post image

Normality is a 1996 Gremlin adventure that runs on Antony Crowther's True3D engine. Its data files are packed in a custom format that almost no tool understands. I wrote a single-file Python script called gizmo that opens them and converts everything it recognizes into normal formats.

Drop gizmo.py into a folder with the game's .MGL and .RAW files and run it. You get:

  • every texture and sprite as GIFs, with animations and transparency kept
  • the 3D models hidden in the packs, such as the sofa and the broken pipe, as OBJ with MTL and PNG textures
  • top-down floor plans of the levels as PNGs, with floors, walls, steps and portals between sectors
  • the full-screen pictures, inventory icons and bitmap fonts

The cool part is that the game has real 3D models from 1996 with no standard format. They are tables of 16-bit vertices and polygons that reference either a texture or a flat palette colour. gizmo turns them into files you can open straight in Blender. The levels are not tile grids either, they're a sector and portal engine, and gizmo draws their layouts.

It's an independent implementation that builds on earlier work by Denzquix and msikma, who first cracked the MGL compression and the texture pack format. The map and model parts were worked out from the files and from the game executable. It needs Python 3.7+ and Pillow, and it's MIT licensed.

Known limits: ceilings aren't drawn on the maps, objects aren't placed on them, and the UV scale on exported models is an approximation because the game stores no texture coordinates.

GitHub: https://github.com/hohmalow/gizmo

Feedback, bug reports and other Normality files that break it are welcome.

4 Upvotes

0 comments sorted by