re: Omens Of War .TER File Format
This is a response to a thread I found in the archives, here: http://www.eqemulator.net/forums/showthread.php?t=15876
For my own purposes, I've been working on parsing some of the EQ files (mesh data mostly). It's kinda fun to try to figure them out, anyway I've made a bit of progress on the TER file beyond that listed in this thread, and figure I'd share it, in case anyone wanted to know. I will use the syntax of the original thread (C style), although I'm coding in Java myself. The salient points follow: 1) At this time there are 3 versions of the file format, with Header->version values of 1, 2, and 3. 2) After the Header is a section of Strings, and then a segment which the original thread was not able to figure out. I figured it out. :) Here's how to parse it:
At this time, outstanding items include:
For an example of the object data, I am able to extract the following information from the westkorlachb.eqg/ter_westkorlachb.ter file: Code:
Object 0: FailsafeShader |
For version 3 files, I was mistaken about there being additional data after the polygons. It appears there are an additional 12 bytes per Vertex. Something more like:
Code:
struct Vertex { gus |
just to make sure, you have looked at the code from openeq right? I suspect that it has more detail than the linked thread (ter.cpp/ter.hpp)
|
Hadn't check out that particular project. I shall. thanks.
|
The SVN repo listed in the archives for openeq appears to be dead, so I cannot find the code. It would also not appear to be hosted on sourceforge for eqemu, which is why I never found it before, and went forum archive-diving and subsequently posted this thread. Too bad, sounds like they made some great progress on understanding the game files.
|
here is the latest that I have:
http://www.projecteq.net/fathernitwit/OpenEQSVN.tgz |
The .ter parsing in this code is based on the original thread's understanding of the format. Everything I posted is an improvement upon that understanding. I've yet to determine if there's additional things done in the parsing, there does look to be something going on with triangle textures with pointer -1. This code should provide me with some insights on interpretting the file formats. Thanks for sharing! --gus
|
Prophecy of Ro and The Serpent's Spine do not use .TER files. Instead, it appears that a new file structure, .DAT, has surfaced. Arguably this may be of little interest to you folks, since they're not included in Titanium, so not supported yet by the emulator.
If you use S3DSpy to look through the .EQG files, you'll notice there are no .TER files in the PoR and TSS EQG's. I post this merely as an FYI, in case anyone might proactively start looking at the new files and deciphering their structure. |
PoR Useable?
So can we now gather items from PoR or not yet?
I mean can we install the PoR xpansion will i still be able to see the servers and will i be able to gather the gear that i summon?? |
Quote:
No you cant |
All times are GMT -4. The time now is 02:28 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.