Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

MESSIAH MeshToOBJ [*.mesh/*.model]

Featured Replies

Solved by Durik256

  • Supporter
55 minutes ago, Jenny1367 said:

Thanks for the update! Wondering if you know any tools to properly read them tho? ><

Skeleton data are depth-first traversed structures and you need to parse their binary files to build tree files
There are four versions of animation files. Compression type 4 is bit compression. They have a fixed magic number head. The problem is that I lack research on animation files and am not sure what the structure of the compressed data is. For other types, although I fully understand their structure, it is difficult for me to write a script.

26 minutes ago, wq223 said:

Skeleton data are depth-first traversed structures and you need to parse their binary files to build tree files
There are four versions of animation files. Compression type 4 is bit compression. They have a fixed magic number head. The problem is that I lack research on animation files and am not sure what the structure of the compressed data is. For other types, although I fully understand their structure, it is difficult for me to write a script.

got it, thanks for replying!

Edited by Jenny1367

  • 2 weeks later...
  • Supporter

Completed animation construction for other versions for the first time, currently doing binary analysis on compression type 4

Image_1777059365460_142.gif

  • 7 months later...

Building on the header notes earlier in this thread (wq223 / shak-otay / Durik256), here's a full
account of the Where Winds Meet .MESSIAH mesh geometry. It reconciles the pieces and fixes the part
people got stuck on (vertices/indices "not working properly").

.MESSIAH is a generic serialized-object wrapper, not a mesh-only format: magic(8) ".MESSIAH"

  • a 4-byte sub-type, read as an int or a FourCC. Only some sub-types are geometry:

  • int 8 = static mesh (the bulk), HRMD / SEMC = large rigged meshes (multi-LOD).

  • int 1 = skeleton, int 3 = material, int 0 = texture stub, int 2 / int 5 / FourCCs
    DOMC/DOMD/ASCC = other object kinds (no vertex descriptor).

Per-block head (a container may hold several blocks = LODs/parts):

u16 identifier       (0 normal, 2 for this game)
u16 subgrid_count
u32 vertex_count
u32 index_count
4 × descriptor string   (u16 length + ASCII), vertex-stream layouts then "None" padding
6 × f32 bbox            (min xyz, max xyz) — slightly PADDED vs real vertices

vertex_count/index_count are the two u32 right before the first descriptor (anchor on the
descriptor and read back — this skips the extra fixed fields in the larger HRMD/SEMC heads).

Vertex format is self-describing via the descriptor strings. Each is one stream (ATTR_ATTR_…),
ATTR = <Semantic><Count><Format>:

  • Semantic: Pos Normal Texcoord Weight Index Binormal Color

  • Format: F=float32 H=float16 B=uint8 U=uint32; size = count × sizeof(format)

Examples: P3F_N4B_T2F(24B) / P3F_N4B_T2F_T2F(32B), optional C4B vertex color, T4H_B4H(16B)
tangent+binormal halves, W4B_I4B(8B) skin. Streams are planar (separate blocks), not
interleaved. Index buffer is index_count × u16. Normals: u8 / 127.5 − 1 (xyz); flip V for OBJ.

Why generic converters fail — the body layout is not fixed:

  • the index buffer sits before OR after the vertex streams depending on the mesh;

  • the subgrid (submesh) record size varies;

  • the stored bbox is inflated slightly, so an exact min/max match misses.

So hardcoded offsets only work for a subset. What works reliably is to locate the buffers: the
vertex offset is the one whose vertex_count positions fall inside the (padded) stored bbox and span
at least half its diagonal, with an in-range, mostly-non-degenerate u16 index buffer directly before
or after. If nothing fits, the mesh is rejected rather than emitted as garbage. A subgrid record's last
four u32 are start_index, index_count, start_vertex, vertex_count.

This decodes ~99.98% of the int8 meshes in a full-install sweep (rest safely rejected) and handles
HRMD/SEMC multi-LOD. Open-source decoder (.MESSIAH → OBJ): github.com/Zhincore/wwm-messiah-tools
(wwm-mesh), format notes in docs/messiah-mesh.md.

Doně mostly by an LLM agent, with me steering.

Edited by Zhincore

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.