GameObject models in Legion? menu

User Tag List

Results 1 to 6 of 6
  1. #1
    ioctl's Avatar Active Member
    Reputation
    23
    Join Date
    Jan 2013
    Posts
    35
    Thanks G/R
    2/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    GameObject models in Legion?

    Does anybody have a lead on how to map game object IDs to models? I used to go through gameobjects.dbc -> gameobjcectdisplayinfo.dbc -> filedata.dbc. Filedata is gone, and it doesn't look like gameobjectdisplayinfo has enough unaccounted for fields to be hiding a 16byte checksum to identify CASC files.

    GameObject models in Legion?
  2. #2
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    gameobjectdisplayinfo has filedataid (int), that's enough and that's what game uses to open most of the files...
    Last edited by TOM_RUS; 08-02-2016 at 04:23 PM.

  3. #3
    ioctl's Avatar Active Member
    Reputation
    23
    Join Date
    Jan 2013
    Posts
    35
    Thanks G/R
    2/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    gameobjectdisplayinfo has filedataid (int), that's enough and that's what game uses to open most of the files...
    What's that an index into? Like I said, filedata.db(c|2) appears to be gone.

  4. #4
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ioctl View Post
    What's that an index into? Like I said, filedata.db(c|2) appears to be gone.
    FileData is an integral part of WoW's CASC implementation. Each file has it's unique 32 bit FileData ID and 64 bit name hash (that same hash was used in MPQ archives before) that are used to open a file.

  5. Thanks ioctl (1 members gave Thanks to TOM_RUS for this useful post)
  6. #5
    shauren's Avatar Established Member
    Reputation
    65
    Join Date
    Feb 2009
    Posts
    60
    Thanks G/R
    2/28
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    https://github.com/ladislav-zezula/CascLib
    Supports using FileDataId to open files - you have to format name with sprintf(str, "File%08X.xxx", fileDataId) // this is an implementation detail of CascLib, will not work like that if you are using something else

    Also with FileData.dbc being gone, it means you no longer instantly know whether the model is a wmo or m2, you need to poke the contents to find out

  7. Thanks ioctl (1 members gave Thanks to shauren for this useful post)
  8. #6
    ioctl's Avatar Active Member
    Reputation
    23
    Join Date
    Jan 2013
    Posts
    35
    Thanks G/R
    2/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    FileData is an integral part of WoW's CASC implementation. Each file has it's unique 32 bit FileData ID and 64 bit name hash (that same hash was used in MPQ archives before) that are used to open a file.
    Oooh. I had been ignoring that whole segment of the root file. I'd been mapping straight from filename -> 8byte hash -> 16byte md5. No 32-bit numbers in the mix. Thanks!

Similar Threads

  1. [Sql/Patch] All buildings, models, etc. as Gameobjects
    By Dark_Spyro_003 in forum WoW EMU General Releases
    Replies: 216
    Last Post: 04-10-2023, 10:03 AM
  2. Anduin Model from Legion (request)
    By DrSandwich in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 11-23-2015, 12:24 PM
  3. [question] Model editing (not items or gameobjects)
    By mantorkel in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 02-20-2010, 12:01 AM
  4. Gameobjects and Model Viewer
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 02-29-2008, 12:28 PM
  5. Making GameObjects from World Models?
    By Herleybob in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 10-17-2007, 02:29 PM
All times are GMT -5. The time now is 04:49 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search