Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-28-2003, 10:12 AM
daeken_bb
Discordant
 
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
Default Data03 and Data04

Data03 fragments start with an unsigned long that has the count of chunks in the fragment. Each chunk has an unsigned short which is the length of the data stored in the chunk, and then that many bytes of data.
This data is encoded using the algorithm used for the nameHash in the WLD file header.

Data04 fragments start with an unsigned long containing flags, and then an unsigned long with the count of fragment references.
If the flags & 0x4 != 0, then there is an unsigned long containing "parameter" 1.
If the flags & 0x8 != 0, then there is an unsigned long containing "parameter" 2.
After the optional data is a number of fragment references, indicated by the count in the Data04 header.
Each fragment reference is unsigned long containing the fragment index it references.
__________________
Keep me unemployed and working on OpenEQ, PM me about donating

Check out my deviantART page at http://daeken.deviantart.com/
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:15 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3