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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 06-16-2003, 04:08 PM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default

You should take a look at my S3D.PAS file in OpenZone 1.3. There are some issues with writing the files:

- In the directory entries near the bottom of the archive, I found that all "canned" files (those that come with EQ) are sorted in increasing CRC order. The CRC for the filename list itself is always fixed at a magic value.

- As far as the data blocks goes, you can write the files in any order you wish, but bear in mind: in every .S3D file I've ever seen they're sorted by lowercase filename, and whatever order you use they have to match the filename list. That's why I have two sort routines in my source...first by filename, and then by CRC.

With my S3D class I could probably whip up a quick EQInside replacement in a couple of days, since the hard work is all done...but it would be in Delphi (i.e., Object Pascal). Is that useful?

Wind

P.S. When writing the data blocks, you *have* to break up each file into 8k blocks before compressing, or the client will refuse to load them.
Reply With Quote
 

Thread Tools
Display Modes

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 10:59 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