Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-09-2022, 02:16 PM
jukkus
Fire Beetle
 
Join Date: Oct 2007
Posts: 6
Default Adventures in texture editing

First off, I'm not sure what forum to post in. But I wanted to modify some character textures on my server, so I thought why not share how I did it. I also won't share any textures or meshes (modded or not) due to rule 1. But this should help you get started.

For the sake of example, let's say I want to modify the shirt of the human female Luclin model.



Programs needed:
  • EQZip
  • 3d Ripper DX - I haven't used this program before, so I can't say how legit it is.
    But it's worked for me.
  • A 3D editor. I use 3DS max, but blender should work just fine. I won't be able to help with that tho.
  • An image editor. Photoshop, gimp etc...
  • Advanced: A 3d painting program like 3d coat or substance painter. Makes things a lot easier.

WARNING: BACK UP YOUR EQ s3d and eqg files before starting!

Unless what you want to edit is very simple (such as changing color), you'll likely want the 3d model of the NPC you want to edit. I haven't found a way to export characters post classic (such as luclin ones) reliably. Which is why I've relied on 3d ripper for it. But if anyone knows a way, please let me know. The method I'm using is buggy at best.



When running it, you'll have to point towards the eqgame exe and add the patchme command line parameter as usual. Make sure "Also capture to Wavefront .OBJ" is checked.

Launch the game, and go to a screen where you can see the character you want to modify. For the human female it's enough to go to the create new character screen. Then press F12 to take a 3d screenshot of the scene. This may take a while.

Close the game and go to the frames output folder you set in the 3D ripper launcher. You should have an obj file there containing the models.

Go to your favorite 3d editor and import the obj file. I use 3ds max. Note that it imports the whole scene, including the skybox. So the character may look rather small.



Another issue you'll quickly notice is that the scene has been squashed for some reason. So you'll have to scale it in your editor to look somewhat representable. Also note that the character is exported in its current pose, and not in a T-Pose which would be easier to work with. But it is what it is.



After deleting everything but the character meshes, I'm left with the human female model. Note that the luclin models have two sections on the mesh that have been detached for some reason (highlighted above). I usually just attach them back to the mesh. I don't link up the other sections of the body, because they have different textures applied.

Next you can extract the EQ textures from your game. Use the EQ Zip for this. For Luclin, (most of) the character textures are located in global<race><gender>_chr.s3d - Ex globalhuf_chr.s3d for human female, globalhum_chr for male etc. After a lot of searching I also found additional textures in lgequip.s3d and lgequip_amr.s3d. I still didn't find some textures like the high elf breastplate texture, so if someone stumbles upon them, let me know!

Anyhow, it should be pretty self explanatory how to extract textures using EQ Zip. In my case if I want to modify the naked chest piece, I'm looking for hufch0002 and hufch0003. The naming convention is basically
  • huf - human female
  • ch - chest
  • 00 - Armor type
  • 02 - Body part. 0002 = clavicle, 0003 = main torso


I've dragged the textures onto the character in max to verify their slots.

Texturing - The easy way

If you have a program such as 3d coat or substance painter, you can export the model to OBJ and import into that.



... Continued in the next post because of image limit
Reply With Quote
  #2  
Old 07-09-2022, 02:17 PM
jukkus
Fire Beetle
 
Join Date: Oct 2007
Posts: 6
Default



Imported into 3d coat. You can now start drawing freely on the model!



I'm no artist, but this should do. Making the shirt a little shorter, because why not?

Next, export to PNG and name it the same. In my case I only modified hufch0003.png, so I'll export that.

Now, MAKE A BACKUP OF YOUR s3d file if you didn't already!

Open up the texture s3d file in EQ-Zip (in this case globalhuf_chr.s3d) and click the import files button. Accept the overwrite, and if it looks right in the archive, save!

Fire up EQ again and your changes should now be visible.

Reply With Quote
  #3  
Old 07-09-2022, 02:23 PM
jukkus
Fire Beetle
 
Join Date: Oct 2007
Posts: 6
Default

Texturing - The not so easy way

If you don't have access to 3d painting software, you can do some stuff in a simple image editor.




In max I've rendered a UV template, which should help in the texturing.



With some basic image manipulation I've moved the waistline down a bit.

Next up is the same as before. Save as a PNG, and use EQ-Zip to overwrite the existing texture.



And tadaa. Texture modified! Next up will be to investigate if I can add NEW textures and get it to work in game for specific armor types.
Reply With Quote
  #4  
Old 10-31-2022, 07:02 PM
Vire70
Sarnak
 
Join Date: Apr 2010
Posts: 35
Default

That's very cool, thanks for sharing it.
Out of curiosity is there any possibility of altering the player model or its animations? I've always preferred the classic models aesthetic and animations, but the Luclin armors/robes/etc. are somewhat better & more detailed (I like the old designs too, but they're rather limited in scope and could be upscaled). I've often thought it would be cool if someone could convert the newer robes and whatnot onto the older models - I know luclin weapons work with the old models, though I guess that's because they don't actually have to fit the model in any way. Presumably if someone could use a method like this to refit the armors/robes/etc it would work. Kind of like how BodySlide works in Skyrim modding.
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 04:18 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3