These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

[Tutorial] How to get models, textures, icons, etc. from EVE's files

Author
Uriel Paradisi Anteovnuecci
Itsukame-Zainou Hyperspatial Inquiries Ltd.
Arataka Research Consortium
#1 - 2017-05-26 23:01:46 UTC
There's a relatively easy way to get individual files from EVE, which will always be up-to-date and not require triexporter or having to download everything at once. This is a small tutorial on how to go about doing this, so that anyone who wants to look at things or maybe use them to make cool EVE fan creations is able to do so, since it can be quite a hassle to look around and try to find (usually outdated) models or textures etc. from other people:



1. Find the "resfileindex.txt" file under C:\Users\User\Documents\Sharedcache\tq (default sharedcache location, you might have it somewhere else)

2. Scroll through until you find the file you're looking for - ship models and their textures will begin with res:/dx9/model/ship followed by faction, then ship. For example: the Chimera model is res:/dx9/model/ship/caldari/carrier/cca1/cca1_t1.gr2

3. After the file name, there will be a string of characters - you'll need to copy from the beginning to the first comma - right now, for the Chimera, this is ec/ec903b32f573f93b_dbc43bec5d9c21cf770ee59efe98b67f

4. Now you'll go to https://resources.eveonline.com/ and paste the string onto the end of the address after a slash, e.g. https://resources.eveonline.com/ec/ec903b32f573f93b_dbc43bec5d9c21cf770ee59efe98b67f

5. That link will download the file you're requesting, but you'll have to rename it and put the filetype into the name - you already know what the file you're downloading is, though, so that part's easy.

6. If you're downloading a 3d model: EVE uses .gr2 files for all of its models, so you'll have to convert it from .gr2 to a more accessible filetype - there's an old .obj converter on EVEfiles that I use - http://dl.eve-files.com/media/0801/evegr2toobj.2.zip - and you may need to find a newer version of the granny.dll included in that download to convert some of the newer models.

7. Using that, I convert the file using the .exe through command prompt - type the evegr2toobj.exe location, then the location of the file you're converting, and then the location you want for the output file - e.g. C:\Users\User\Desktop\evegr2toobj.2\evegr2toobj.exe C:\Users\User\Desktop\cca1_t1.gr2 C:\Users\User\Desktop\cca1_t1.obj

8. That'll give you your requested model in a usable .obj format - textures are another issue, since CCP now uses a shader system they call spaceobjectfactory to color parts of a hull whatever they like, rather than having it built into a texture. You can request each model's textures (ar.dds, no.dds, pdmg.dds) just fine and you'll be able to apply them to the models, but you'll have to either figure out the shader system/get help with that elsewhere or rig something up yourself to get the color schemes you want.


This is how I've been doing things for a while, and it's worked great for me - I hope it can help some people who'd like to do the same.