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.

Fate *.MDL

Featured Replies

  • Author
  • Localization

Anexenaumoon, posted Thu Jul 26, 2018 8:41 pm (37030)


So recently was looking at these static mesh based files and I definitely have most of the format figured out. The main issue I'm having is parsing over the material table. If I'm correct the whole format is laid out as so:

-Texture Material counts (0x4 = submesh count?)
-Material table. (possibly contains info of which triangles to apply the materials too.)
-face indice table as ints (0x4 before it = count)
-vertice count - 0x4 before it = count
-uint16 should = 1 (Refers to use the 1st face count provided in this mesh)
-uv indice table (ints, same count as faces)
-uv count uint32
-uv table

after that looks like some type of particle table or something, (don't know how that works). But the problem is, with models such as the statue, it has multiple textures to use. so that's the main problem. There has to be some way it interprets part of the table, because the statue definitely has at least two uv mapping layers. As well, the material entries all have different sizes (I don't know if the "FF"s pad it at all) but I'm a little stumped. Attached are samples below. If someone could look I would appreciate it!

~Eric




EDIT: Could the "brazier" model be possibly linked to the statue maybe?
  • Author
  • Localization

Anexenaumoon, posted Fri Jul 27, 2018 3:38 am (37032)


Once again, problem solved. Those two models were related. And I parsed out those headers now :).
  • Author
  • Localization

zabrak, posted Wed Jun 05, 2019 2:11 am (48455)


Didn't see this thread before I saw the other one, do you mind sharing your notes on the file format? I'm interested in parsing and rendering these models myself!
Guest
This topic is now closed to further replies.

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.