gregkwaste / NMSMV

41 stars 7 forks source link

Help Retrieving Texture data for use with exported OBJ files #10

Closed hamax2468 closed 2 months ago

hamax2468 commented 2 months ago

im currently working on a project with a friend to bring my no mans sky player model into VrChat as an avatar, however while i have been able to successfully pull the required model files for this, the textures are proving difficult to find and extract.

ive looked around online for methods as to ripping the textures form the .pak files but to no avail, your program is able to access them seeing as the models when viewed have the appropriate textures (well, except _Head_Ast_2R which it cant find the textures for for some reason) so id like to know if there is already a way within the model viewer to export the textures as well as this will save me so much more effort than having to locate a method of finding these textures and then pairing them with the exported OBJ files.

anyways if there is no way to export the textures currently with NMSMV, id like to kindly request that you add a way to export the required texture files as well for usecases like mine.

hamax2468 commented 2 months ago

as a small update, i have found a way to get textures using a PSARC fork, but im having trouble mapping the textures i was able to find (and that is also an issue, i wasnt able to find all of them) to the submoddles of the exported OBJ file from NMSMV, i think with a boatload of time and effort i could map them, but i am very much not looking forward to that. anyways again id like to ask kindly that you find a way to export the texture files with the obj output, or even as additional folders for the subcomponents, as since you are already this deep in and able to access and display them correctly, surely adding an export for them would not be that hard. if it is too difficult, then all i ask for is some potential guidance as to how to map the textures to the models.

hamax2468 commented 2 months ago

i have figured out how to map them myself, it was a lot more plug and play than i thought, still, id suggest you add texture exports on top of model exports to expedite this process in future for people like me