MTM2 Online Truck Viewer
Kmaster's JS Utilities & Viewers
[ MTM2 Online Truck Viewer ]

Intro   -   [ MTM2 Online Truck Viewer ]   -   [ MTM1 & 2 Online Track Viewer ]   -   [ Online POD Viewer ]   -   [ POD Archive Utility (offline) ]    



Brief Description
A simple, pure browser javascript 3D viewer for Monster Truck Madness 2 (MTM2) trucks. Drop in a POD or ZIP file from your local storage, or point it at a CORS-enabled URL (aka another truck hosted on MTM2.com), and the viewer decodes the truck mesh, textures, and wheel placement entirely client-side.


Features
- Load .POD files from local disk or from MTM2.com
- Load .ZIP files from local disk or from MTM2.com by extracting every .POD entry
- Multi-POD ZIP and multi-truck POD support, pick any truck from a dropdown when an archive contains multiple TRUCK/*.TRK manifests
- OPFS-backed per-session extraction (no files leak between sessions)
- TRUCK/*.TRK manifest parsing (truck name, model references, wheel anchors, scrape points)
- Static BIN mesh decoding
- RAW + ACT texture decoding with fallback palette support
- Full truck assembly: body, dual axle bars, four independently positioned wheels, scrape-point markers
- Viewer controls: texture toggle, wireframe toggle, wheel visibility, axle bar visibility, camera reset


Access the Truck Viewer here
Click on the link to open the truck viewer.


Limitations
Whenever you open a truck from the website, you must use the full link like https://www.mtm2.com/~trucks/T2026/exampletruck.zip. (or at the very least /~trucks/T2026/exampletruck.zip)
The truck viewer is also accessible from the trucks page, where every truck has a premade link to its name, ready to be viewed.


Source code on GitHub
Kmaster has graciously offered the source code on his personal github.
Please note, the source code there does not work correctly with podzipped trucks.