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 06-18-2014, 03:34 AM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

Quote:
Originally Posted by KLS View Post
Also are those ropes part of the TER or are they a placeable?
Was part of the main geometry S3D so I translated it into the TER.
Reply With Quote
  #2  
Old 06-18-2014, 02:58 AM
knowom's Avatar
knowom
Discordant
 
Join Date: Jun 2006
Posts: 371
Default

Quote:
Originally Posted by Scorpious2k View Post
Didn't Windcatcher have a program that converted a bmp to an image with transparency by adding the alpha layer? I think it came with OpenZone. Maybe it has some clues.
Wasn't done by Windcatcher to my knowledge, but is this what you were thinking of? Has to do with magic pink and alpha transparency.
http://www.project1999.com/forums/sh...ad.php?t=32380

Quote:
Originally Posted by Akkadius View Post
This is all crazy shit
I think we can fairly unanimously agree to that statement. This is rather technical stuff I believe to most of us with no backgrounds in this kind of shit. Even if you had one in this stuff it seems like EQ has it's own way of doing stuff especially early EQ where the common used API's were different Glide vs Direct X.

It's actually quite remarkable and a accomplishment that a game that was dominantly played based on Glide in infancy early days evolved into what it is today and testament to the staying power of the game itself.
__________________
"We are all on the same team, and I think not enough people realize this."
- Leetsauce
Reply With Quote
  #3  
Old 06-18-2014, 08:03 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
Finally got the chance to test. Definitely controlled by the material shader:

Opaque_MaxCB1.fx (tool default)


Alpha_MPLBasicA.fx


Maybe not that exact one since it seems to have made the alpha texture further away show in front of the closer one around the middle there. But, you know.
Quick question. How did you do that?
__________________
Packet Loss
Current project:
Dark Horizons

Formerly "Richardo"
Reply With Quote
  #4  
Old 06-18-2014, 10:51 PM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

Quote:
Originally Posted by Packet View Post
Quick question. How did you do that?
Hmm? Find material, type in shader name, save? Or did you mean something else? The original texture already had the transparent parts set to 0 alpha.
Reply With Quote
  #5  
Old 06-19-2014, 11:37 AM
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
Hmm? Find material, type in shader name, save? Or did you mean something else? The original texture already had the transparent parts set to 0 alpha.
Ok. So after about 60 accumulative hours of trying to figure out why my transparent materials were not coming in, I finally figured it out. I got the alpha masking in and it looks like I was completely wrong about texture transparency support (as you mentioned above). I imported .png's (4096x4096) with transparency while using the Alpha_VBS.fx shader on the material and it worked however, now my objects can be seen through other objects that share the same material. So I figured it was because my materials were being used on objects that need to be opaque so what I've done is separate the foliage leaves from the tree trunk(s) and created the same material using the default opaque shader. Now the tree leaves are masked and the trees/rocks/etc are no longer obscured (kinda).

With that being said, I've decided to attempt to separate the geometry which is being imported as .ter. Instead, I'd like to import the .mod files now. My terrain model is separate from all of the trees and rocks, etc... I imported the terrain without a hitch. I then navigated to the "Models" tab and right-click->imported the terrain objects obj file.

It seemed to process them all just fine and now I have a terrain_objects.mod in the model list. I then right-clicked the next box and hit "add placement", selected the terrain_objects and left the x y z and scale alone since it should match the terrain (as I didn't move anything from its original location). Now my client crashes. Without the .mod, it works fine.

Here's the eq client error log:
Quote:
2014-06-19 10:51:45 fatal error in main thread Code = c0000005 ADDR=0x02c43713
2014-06-19 10:51:45
2014-06-19 10:51:45 EAX=00000001 EBX=18a96a36 ECX=00000000 EDX=0018d00c
2014-06-19 10:51:46
2014-06-19 10:51:46 ESI=00000000 EDI=18a96a02 EBP=18a96a4e ESP=0018cf9c
2014-06-19 10:51:46
2014-06-19 10:51:46 Process was trying to READ invalid data.
2014-06-19 10:51:46
2014-06-19 10:51:46 Invalid access occurred at virtual address 0x00000000.
2014-06-19 10:51:46
2014-06-19 10:51:46 Fatal error occurred in mainthread! (Release Client #630)
2014-06-19 10:51:46
2014-06-19 10:51:46 Client Version: Oct 31 2005 10:33:37
2014-06-19 10:51:46 Skin Directory: UIFiles\Default\
2014-06-19 10:51:46
2014-06-19 10:51:46 Graphics DLL Loaded: Graphics DLL Version 2.00.0258
2014-06-19 10:51:46 Graphics Build Date: Oct 25 2005 17:11:03
2014-06-19 10:51:46 Video Card: NVIDIA GeForce GTX 570 , 9.18.13.1106
2014-06-19 10:51:46
2014-06-19 10:51:46 Crash (char = Packet, zone = nexus)
2014-06-19 10:51:46
2014-06-19 10:51:46 Local Player's World location at time of crash: -62.000000, 55.625000, -99.250000.
2014-06-19 10:51:47
2014-06-19 10:51:47 Gamestate at crash = 253
2014-06-19 10:51:47
2014-06-19 10:51:47 Processor: 8 of type 586
2014-06-19 10:51:47 Physical memory: 0 Megs
2014-06-19 10:51:47 CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz 3395837
This is just a note that importing as .mod didn't work for me. Importing it all as terrain did though however, there is another issue regarding UV mapping. When I imported the objs, the UV mapping is off by an inch. It's not precise however if I view my .obj's in a model viewer, the UV mapping is spot on. I can deal with uv mapping not being as precise but I'd prefer it not to be. I did also notice that after importing an obj as terrain, all of the textures were flipped upside down. This didn't effect how they looked (other than the shifting by an inch) however, it's likely the culprit. Any ideas?

Edit: It looks like OBJ exporting via 3ds Max produces obscured UV's. I'm going to try Maya or Blender instead, I'll post results.

__________________
Packet Loss
Current project:
Dark Horizons

Formerly "Richardo"
Reply With Quote
  #6  
Old 06-19-2014, 01:43 PM
Packet's Avatar
Packet
Hill Giant
 
Join Date: Jun 2010
Location: Omicron Percei-8
Posts: 106
Default

Normal maps (bump mapping) working well. Hurray! I added way too much depth to my normal maps for testing.

__________________
Packet Loss
Current project:
Dark Horizons

Formerly "Richardo"
Reply With Quote
  #7  
Old 06-19-2014, 01:44 PM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

Quote:
Originally Posted by Packet View Post
It seemed to process them all just fine and now I have a terrain_objects.mod in the model list. I then right-clicked the next box and hit "add placement", selected the terrain_objects and left the x y z and scale alone since it should match the terrain (as I didn't move anything from its original location). Now my client crashes. Without the .mod, it works fine.
Found bug for MOD import, should be fixed. Last place I thought to look, didn't occur to me until I had just left the house of course ;p

That stuff looks pretty nice!
Reply With Quote
  #8  
Old 06-19-2014, 04:27 PM
knowom's Avatar
knowom
Discordant
 
Join Date: Jun 2006
Posts: 371
Default

Damn this looks great never really seen EQ looks so atmospheric in a outdoor zone the level of detail in terms of objects and the style is impressive.

I can imagine it populated with mobs hidden around different nooks and crannies of it shadowmen that path the jungle area's or ncps that are simply invisible or buff themselves with it and walking along triggering a trap that spawns mobs or does something else entirely poisons, snares, debuffs, or ports you ect.

Doing this same MOBA inspired map style, but with a mountainous with rocky terrain with lots of over passes bridges similar to like kingspass meets gfay (wood elf village with the bridges) would be incredible I bet. I love the potential all this adds to EQ it's new and refreshing it's kind of like experiencing the game new all over again at least in terms of exploring the new zone area's that are quite different in design which is entertainingly different.
__________________
"We are all on the same team, and I think not enough people realize this."
- Leetsauce
Reply With Quote
  #9  
Old 06-22-2014, 03:17 PM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

In the meantime I got around to writing an export to .obj (it's under the "utility" menu).

The output files are a bit huge (~20mb) and it exports any referenced images at the same time. I dunno how to even navigate such huge models in Blender ;p Probably not useful to anyone but nice to have there for the sake of completeness.
Reply With Quote
  #10  
Old 06-23-2014, 05:10 PM
Packet's Avatar
Packet
Hill Giant
 
Join Date: Jun 2010
Location: Omicron Percei-8
Posts: 106
Default

Oh awesome! I'll be able to kidnap models and shove them places where they shouldn't be. *waits for Secrets to read this*


* I found another crash-on-import bug. Can I send you an obj file so that you can see it for yourself? It seems like it's directly related to UV's. If I unwrap a model and assign a new material to it (as of the latest version and a couple of versions ago), upon importing (as terrain, haven't tested .mod yet) it causes the "nil" error and corrupts the eqg.

Quote:
Originally Posted by Zaela_S View Post
Blah. The map_bump property is one of only two things it even reads from there, it ought to work :| Will have to take a look at that. I'm thinking of adding some kind of quick error dumping to the tool after that MOD import bug.
Actually, error logs would be amazing because I'm running into issues where certain models cause the entire import to fail and it's hard to pin point where the problem actually is. I have to manually remove everything first and then attempt imports until I get one that works.
__________________
Packet Loss
Current project:
Dark Horizons

Formerly "Richardo"
Reply With Quote
  #11  
Old 07-14-2014, 08:45 AM
Packet's Avatar
Packet
Hill Giant
 
Join Date: Jun 2010
Location: Omicron Percei-8
Posts: 106
Default

Hey Zaela. Have you noticed any issues with UV Maps being off?
__________________
Packet Loss
Current project:
Dark Horizons

Formerly "Richardo"
Reply With Quote
  #12  
Old 07-14-2014, 10:59 AM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

Quote:
Originally Posted by Packet View Post
Hey Zaela. Have you noticed any issues with UV Maps being off?
I had noticed something when working on weapons. I used the 2.0 epics to test and noticed that the green gem texture on the necro one would end up in the wrong place after exporting and importing back in. Details on enchanter one were off all over as well.

Think I just figured it out while tinkering with a model viewer thingy. Apparently the V values in UVs need to be inverted, but only if they are positive. For whatever reason. I think I remember seeing something like that in the context of wld-based stuff, should have realized it sooner :|

Will try to get fixes up later today or tomorrow ... once I figure out what to do to cancel it out properly. Too tired to think right now ;p

edit: Might be something peculiar to DDS format, even just fixing that weirds up my PNG stuff. May just need to stop automatically flipping PNGs/whatever-non-DDSes on import. Hopefully.
Reply With Quote
  #13  
Old 07-15-2014, 08:20 AM
Packet's Avatar
Packet
Hill Giant
 
Join Date: Jun 2010
Location: Omicron Percei-8
Posts: 106
Default

Ahh good. I'm glad it's not just me exporting models with screwy uv's.

The 3ds max OBJ exporter allows me to modify the precision of the UV's which I assumed that was the likely culprit.
__________________
Packet Loss
Current project:
Dark Horizons

Formerly "Richardo"
Reply With Quote
  #14  
Old 07-16-2014, 07:56 AM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

In the meantime...

The material shader field now has a dropdown with all the combinations KLS listed available to select.

And the tool now has a barebones zone viewer. Use Viewer > Start Viewer to launch the independent viewer window after you have a zone loaded up in the tool. Does not account for alpha textures and whatnot. Also currently does not show placeable models, but I expect to add those in soon. May not load all textures/display everything correctly in every zone, probably some bugs, etc. Not particularly efficient either. And, of course, it only works with zone files that the tool understands, which is to say earlier EQG-based ones, and any S3D-based ones that you convert up with it.

Reply With Quote
  #15  
Old 07-16-2014, 11:20 AM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

I may not post, but I think this thread is cool to watch
Reply With Quote
Reply


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 12:35 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3