[DiscordArchive] I was tired last night, but there's actually WMOAreaTable.dbc and AreaTable.dbc which you're probabl
[DiscordArchive] I was tired last night, but there's actually WMOAreaTable.dbc and AreaTable.dbc which you're probabl
Archived author: Rymercyble • Posted: 2024-06-29T10:53:47.773000+00:00
Original source
https://tenor.com/view/po-dies-dies-of-d...f-23885910
Archived author: Rymercyble • Posted: 2024-06-29T10:54:06.410000+00:00
Original source
if its 0 how do i know that it belongs to map ? and it can belong to it even if its 0 so i cant ignore it
Archived author: helenah1734 • Posted: 2024-06-29T10:57:21.413000+00:00
Original source
I'm reading the MODF data chunk in the ADT is what contains those IDs. Okay I got the struct library fired up.
Archived author: helenah1734 • Posted: 2024-06-29T11:05:43.544000+00:00
Original source
According to specification though, that's for M2s.
Archived author: helenah1734 • Posted: 2024-06-29T11:08:19.378000+00:00
Original source
From what I can see, ADT files don't store IDs for WMOs, they store file paths for WMOs.
Archived author: helenah1734 • Posted: 2024-06-29T11:09:48.706000+00:00
Original source
```MWMO chunk
split files: obj
List of filenames for WMOs (world map objects) that appear in this map tile.
struct MWMO {
char filenames[0]; // zero-terminated strings with complete paths to models. Referenced in MWID.
};```
Archived author: helenah1734 • Posted: 2024-06-29T11:10:12.519000+00:00
Original source
What's this MWID *checks*
Archived author: Rymercyble • Posted: 2024-06-29T11:10:24.982000+00:00
Original source
if there is no better way i will simply parse wmos themselves
Archived author: helenah1734 • Posted: 2024-06-29T11:15:52.582000+00:00
Original source
Well when I go to MWID,
```MWID chunk
split files: obj
List of offsets of WMO filenames in the MWMO chunk.
struct MWID {
uint32_t offsets[0]; // filename starting position in MWMO chunk. These entries are getting referenced in the MODF chunk.
};```
So MODF isn't just to do with M2s, but WMOs just like I read. And it seems MODF chunk holds coordination information. Perhaps this has something to do with it:
```/*0x00*/ uint32_t nameId; // references an entry in the MWID chunk, specifying the model to use.```
Archived author: helenah1734 • Posted: 2024-06-29T11:16:26.711000+00:00
Original source
So with an hex editor, you'd need to get the offset of these chunks, start at the offset, and seek.