Page 1 of 1

Importing EQ2 files into blender thread

Posted: Fri May 09, 2008 7:50 am
by Andrew
Is there anyone that has any experience in either 3dsMax Scripting or Blender Python scripts?
I'm currently working on an importer/exporter for the levels, characters, objects, etc but it's been an uphill battle. If anyone would like to help out I'd be most welcome.

Posted: Thu Jun 05, 2008 5:53 am
by Andrew
Started working on a script to import models into blender. You can get it from http://openzone2.googlecode.com/svn/tru ... Q2_draw.py
Put the script in your blender/scripts folder and run blender. If done correctly you'll have a new option under file->Import
Image

Posted: Thu Jun 05, 2008 1:00 pm
by chrrox
just download 3driperdx. It rips eq2 models perfectly and it can save as waveform .obj files and its free.

Posted: Fri Jun 06, 2008 5:40 am
by Andrew
It doesn't import to blender and it also can't save back into eq2 format or do bones, etc.

Re: Importing EQ2 files into blender thread

Posted: Sun Oct 18, 2009 2:34 pm
by Tiger
I'm not at all a programmer, but I am able to import the meshes along with the texture UV coordinates by manually using a hex editor with the .draw files and copying and pasting the core components (the Vertexes, The UV coordinates, The Face list, The Normals) into a blank base file that I know the format of (ogre 3d Binary .mesh). Then I convert the .mesh binary format in to the .mesh.xml ASCII format (using a command line program someone else made) that blender can import via a script someone else made.
ToothSaber.jpg
The basic format of the .draw files is just:
at byte 0hx14 a 4byte integer that represents the number of 12byte vertexes (3-4byte floats {X,Y,Z}
Then after that Another 4byte integer (in most cases the same integer as before) followed by that many 12byte Normals
Then after that Another 4byte integer (in most cases the same integer as before) followed by that many 8byte UV coordinates.
Then somewhere (file specific) is the Face array list. The faces are the polygon of the Nth set of 3 faces.

Re: Importing EQ2 files into blender thread

Posted: Sat Feb 24, 2018 5:05 pm
by tyrbo
[mention]Tiger[/mention]

Hey, I spent some time trying to import models into Blender, but I could never get the colors right.
It'd be awesome to be able to render models to take screenshots so there's a collection of them for reference, but doing so by hand in-game is quite tedious. Jumping to Blender or some other tool seemed like one step toward a better solution.

100% new to 3D modeling stuff, so once I got to the texture UV stuff I was pretty lost. Haven't revisited it yet.

Would love any insight you might be able to provide.