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

Development::Tools 3rd Party Tools for EQEMu (DB management tools, front ends, etc...)

Reply
 
Thread Tools Display Modes
  #1  
Old 08-31-2014, 05:01 AM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

Haven't been making any progress lately, but figured I'd put out what I have so far for the animated model tool I've been working on since it makes a decent EQG model and animation viewer. Link, src.

Can't save any kind of changes yet, only good for the viewer. Can press 's' in the viewer to display skeletons ('cept on the base pose), right and left arrow to cycle through animations, mouse buttons to move view around. Does not display a small number of models correctly (ones with alternate heads/pieces). There are one or two eqg files that will crash it, not sure why yet. Can view most EQG weapons correctly as well.
Reply With Quote
  #2  
Old 09-01-2014, 05:00 AM
Bonehard
Fire Beetle
 
Join Date: Feb 2011
Posts: 16
Default

Nice work Zaela!

Here is a link to a great 3d library i using in my projects:

http://assimp.sourceforge.net/

It supports alot of 3d formats. For none programmers there is also a nice viewer for 3d models on the website.

There also some api bindings for other language.

"There is a C API as well as bindings to various other languages, including C#/.net, Python and D."


Hope to see more of your nice work.
Reply With Quote
  #3  
Old 09-16-2014, 01:51 PM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

The model viewer now supports alternate "heads"/model parts (H key to cycle through them, if any) and texture sets (more or less -- T key to cycle through those).

I took a little time out to change how I was doing things a bit (LuaJIT's FFI is pretty nice) and re-wrote most of common code for my tools to be nicer. Should hopefully make it easier for me to expand and fix things in the future.

Related to that, made a new version of my S3DSpy replacement which now has an "Export as PNG" option to convert DDS images coming out. Also fixed a bug where having an s3d or eqg file open in multiple tools at the same time (i.e. EQGExport + one of my importer tools) would make changes made in one tool overwrite those made in the other; EQGExport (and other tools, as I get to them) will now check if the s3d/eqg file has been modified and reload if necessary before doing any Export or Import operations.

Quote:
Originally Posted by Bonehard View Post
Nice work Zaela!

Here is a link to a great 3d library i using in my projects:

http://assimp.sourceforge.net/

It supports alot of 3d formats. For none programmers there is also a nice viewer for 3d models on the website.

There also some api bindings for other language.

"There is a C API as well as bindings to various other languages, including C#/.net, Python and D."


Hope to see more of your nice work.
I might look into that, but I'm pretty happy using Irrlicht for now. Loading standard formats doesn't matter too much for these tool since they're mostly concerned with going to/from EQ's weird formats.
Reply With Quote
  #4  
Old 09-17-2014, 01:57 PM
Gnomish1987
Fire Beetle
 
Join Date: Dec 2010
Posts: 9
Default

Quote:
Originally Posted by Zaela_S View Post
Related to that, made a new version of my S3DSpy replacement which now has an "Export as PNG" option to convert DDS images coming out. Also fixed a bug where having an s3d or eqg file open in multiple tools at the same time (i.e. EQGExport + one of my importer tools) would make changes made in one tool overwrite those made in the other; EQGExport (and other tools, as I get to them) will now check if the s3d/eqg file has been modified and reload if necessary before doing any Export or Import operations.
Speaking of your newest version of EQGExport, Zaela, I am unable to get it to run. Previous versions open just fine for me, but attempting to open the one you've linked in the above quote gives me the following error:

Quote:
Runtime error:
.\lib\zlib.lua:11: cannot load module 'zlib1': The specified module could not be found.
I'm eager to see your latest additions, but this is preventing me from opening the program. Interestingly, I also get an identical error with your EQG Model Importer, though not with your EQG Weapon Model Importer. Am I doing something wrong?

EDIT: I might also inquire about the "Export as PNG" option. What becomes of the DDS image's alpha channel when this is done? I've found one of the biggest problems with converting DDS files manually to a more manageable format (always BMP in my case) is that an alpha layer can mess up the entire process unless I remember to remove it prior to conversion. Also, given that BMP is the standard format of pre-Luclin textures, is there an advantage to being able to instantly export PNG instead?
Reply With Quote
  #5  
Old 09-19-2014, 05:32 PM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

Quote:
Originally Posted by Gnomish1987 View Post
Speaking of your newest version of EQGExport, Zaela, I am unable to get it to run.
Hmm, I'm not sure what's up there. They work out of the box on both Windows machines I have access to (running 7 and 8). zlib1.dll should be a built-in system file since XP, I think; not sure why it might not be able to find it for you.

Quote:
Originally Posted by Gnomish1987 View Post
EDIT: I might also inquire about the "Export as PNG" option. What becomes of the DDS image's alpha channel when this is done? I've found one of the biggest problems with converting DDS files manually to a more manageable format (always BMP in my case) is that an alpha layer can mess up the entire process unless I remember to remove it prior to conversion. Also, given that BMP is the standard format of pre-Luclin textures, is there an advantage to being able to instantly export PNG instead?
Not sure! PNG has an alpha channel so I imagine it just gets converted over as-is.

I didn't have any particular use in mind when I added the PNG export option, I just know I get annoyed when I run into DDS files since I don't have anything to edit them with. There's no reason not to use PNG, at least, since EQ will load any of the common image formats for any purpose. I prefer to use PNG since BMP is a bit of a space-hog.
Reply With Quote
  #6  
Old 09-19-2014, 05:45 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

I don't believe zlib comes preinstalled with any version of Windows.

You can easily download zlib1.dll from the official website and drop it into the same folder as the program that needs it, and everything should work fine.

The current version is 1.2.8:

http://zlib.net/zlib128-dll.zip

Or you can always check the home page for the latest version:

http://zlib.net/
Reply With Quote
  #7  
Old 09-19-2014, 07:11 PM
Gnomish1987
Fire Beetle
 
Join Date: Dec 2010
Posts: 9
Default

Quote:
Originally Posted by Zaela_S View Post
I didn't have any particular use in mind when I added the PNG export option, I just know I get annoyed when I run into DDS files since I don't have anything to edit them with. There's no reason not to use PNG, at least, since EQ will load any of the common image formats for any purpose. I prefer to use PNG since BMP is a bit of a space-hog.
I fully agree about BMP being a space-hog. However, don't you end up having to convert your final work to BMP eventually anyway if you're dealing with a pre-Luclin zone (when all textures were solely in BMP format)? If one did use a PNG in lieu of a BMP, could one delete the parallel BMP files and the PNG ones would be loaded in their place even with an old zone/model? (For instance, if I wanted to make a brown Old Froglok to overwrite the base Old Froglok texture.)

As for the difficulty of opening DDS, I see what you mean. I managed to find a plugin for GIMP that allows me to open them with relative ease, so I don't mind as much these days. There may be a similar plugin for your image editor of choice.

Quote:
Originally Posted by Shendare View Post
You can easily download zlib1.dll from the official website and drop it into the same folder as the program that needs it, and everything should work fine.
Thanks! I believe this was the initial problem, as both programs now open just fine.

However, while I can get full use out of the Model Viewer, EQGExport still doesn't want to play nice. It simply opens, prompts for the S3D directory, populates the list of .s3d files, then does nothing further. I'm able to select a given .s3d file, but nothing comes up on the next column. Right-clicking does nothing.

I may simply have to make do with v1.1 for the time being. Didn't mean to hijack Zaela's thread and turn it into a troubleshooting session!
Reply With Quote
  #8  
Old 09-01-2014, 07:50 PM
Packet's Avatar
Packet
Hill Giant
 
Join Date: Jun 2010
Location: Omicron Percei-8
Posts: 106
Default

Quote:
Originally Posted by Zaela_S View Post
Haven't been making any progress lately, but figured I'd put out what I have so far for the animated model tool I've been working on since it makes a decent EQG model and animation viewer. Link, src.

Can't save any kind of changes yet, only good for the viewer. Can press 's' in the viewer to display skeletons ('cept on the base pose), right and left arrow to cycle through animations, mouse buttons to move view around. Does not display a small number of models correctly (ones with alternate heads/pieces). There are one or two eqg files that will crash it, not sure why yet. Can view most EQG weapons correctly as well.
That's really awesome Zaela. I was looking at a few model animations and it worked perfectly using left-right arrow keys. Sorry I haven't passed you anything yet for testing. School just started up again for me and on-top of work, my time has been extremely limited.
__________________
Packet Loss
Current project:
Dark Horizons

Formerly "Richardo"
Reply With Quote
Reply

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 06:06 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