March 29, 2024, 06:10
bigger smaller reset     1020px Wide width Full width Reset   * *

Gildor's Forums

  Homepage Facebook Read news on Twitter Youtube channel Github page
Welcome, Guest. Please login or register.
Did you miss your activation email?

« previous next »
Print
Author Topic: How to find textures for .psk model?  (Read 640 times)
Adon1111222
Newbie
*
Posts: 6


View Profile
« on: October 29, 2022, 19:34 »

A normal search in the folder by the name of the model does not return answers, since the name of the texture is different. I would like to FIND the model via umodel (how?) to export to ANOTHER folder and find out the textures. Or find textures through .psk file data (HOW?)
HELP!
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 1901


View Profile
« Reply #1 on: October 29, 2022, 22:43 »

It's not quite clear what you're trying to do. When you export a model to psk and it has linked materials, all materials would be exported as props txt files along with all textures, used in those materials. You can open those txt files and take a look at textures used there (with paths to them) - alternatively, you can do the same in the viewer by pressing "M" when a mesh is open, and then clicking on respective materials names. Reverse operations are not possible, like finding model by knowing only texture used by it.
Logged
Adon1111222
Newbie
*
Posts: 6


View Profile
« Reply #2 on: October 30, 2022, 12:59 »

It's not quite clear what you're trying to do. When you export a model to psk and it has linked materials, all materials would be exported as props txt files along with all textures, used in those materials. You can open those txt files and take a look at textures used there (with paths to them) - alternatively, you can do the same in the viewer by pressing "M" when a mesh is open, and then clicking on respective materials names. Reverse operations are not possible, like finding model by knowing only texture used by it.
What are .txt files? I only found .props, but they don't have texture names. Here is the content:

BodySetup = None
UseSimpleLineCollision = false
UseSimpleBoxCollision = false
UseSimpleRigidBodyCollision = false
UseFullPrecisionUVs = false
Bounds =
{
    Origin = { X=36.0204, Y=-450.698, Z=339.379 }
    BoxExtent = { X=9.1354, Y=495.021, Z=65.0673 }
    SphereRadius = 499.363
}
CanCompressPositions = false
CanStripNormalsAndTangents = false
InternalVersion = 18
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 1901


View Profile
« Reply #3 on: October 30, 2022, 17:14 »

@Adon1111222: It also depends on engine used by the game. Aside from props there are mat files exported for materials with filenames of used textures only (which can be opened in any text editor as well), they're used for ActorX importer. Exported materials and textures are stored according to original file structure, but almost all games are placing them into different folders from meshes themselves - usually it looks like Char_Folder/Materials+Mesh+Textures subfolders.

If you don't want to search through all exported files, you can do two things:
1) Open mesh in the viewer and like it was already said above, switch to materials mode with "M", then click on material name -> click on texture name -> see internal full path to it.
2) Switch to flat view in umodel, find mesh by its name, click on it once (without opening it), then switch to normal view and look at current directory structure (file tree will expand to the folder with the mesh). You may see near folders where materials and textures may reside.

In case of some complex materials and particular games you may expect no actual textures at all for some materials, in that case only materials properties would be available.
Logged
Print 
« previous next »
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS