Gildor's Forums

Author Topic: Throne and Liberty  (Read 16734 times)
gargon
Newbie
*
Posts: 13


View Profile
Re: Throne and Liberty
« Reply #15 on: April 29, 2025, 13:47 »

@gargon: umodel is using placeholders for materials in gltf export, because this format is quite strict and it not really possible to create proper output for all cases with custom materials. Though you should get respective mat and props files upon exporting materials with related to textures info. Not sure about this particular game, as it's using workaround to get materials loaded.

The thing is that it reads textures correctly, it exports them as separate files, with the correct names!
What doesn't work is that textures are not written into materials in gltf itself, and the same thing happens in Psx, I don't understand why this happens! Manually stretching textures is a routine task, with all the normals, defuses and ro. We need to automate this.

I use this build!
https://www.gildor.org/smf/index.php/topic,7906.0.html

With the props of the materials everything is fine too, it unloads all the necessary textures. The only question is to transfer it to the gltf model and not fill it with colors.

Or maybe make some separate importer for example for Unity so that it would tie all this up automatically


* Screenshot-6.jpg (121.78 KB, 1669x366 - viewed 904 times.)

* Screenshot-7.png (53.48 KB, 1766x713 - viewed 840 times.)
« Last Edit: April 29, 2025, 16:17 by spiritovod » Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2984


View Profile
Re: Throne and Liberty
« Reply #16 on: April 29, 2025, 16:49 »

@gargon: Please use modify button to edit your posts instead of creating new ones, at least if additions are related to the same post.

As for automating things - like it was already explained above, it's not really reasonable within umodel (although possible), because most such adjustments would work only for games using particular materials layouts. Doing this with all required checks and possible issues with custom materials will take too much time and knowledge, although there is an attempt by mdro on this matter (see this topic for more info).

Mat and props files were designed for psk export and ActorX importer for 3ds max (available in downloads section), which allows to apply textures from generic materials to the model. People using blender are probably automating things with some python scripts, but that's out of my knowledge.
Logged
gargon
Newbie
*
Posts: 13


View Profile
Re: Throne and Liberty
« Reply #17 on: April 30, 2025, 04:08 »

I listened to your advice, but apparently this exporter is also not working correctly!

see screenshot-8
see screenshot-9

upd
It may be that all materials have the same name, and this causes problems when importing.

see screenshot-10


* Screenshot-8.jpg (169.52 KB, 1916x761 - viewed 914 times.)

* Screenshot-9.jpg (51.58 KB, 798x471 - viewed 885 times.)

* Screenshot-10.png (62.38 KB, 797x612 - viewed 870 times.)
« Last Edit: April 30, 2025, 23:54 by spiritovod » Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2984


View Profile
Re: Throne and Liberty
« Reply #18 on: May 01, 2025, 00:19 »

@gargon: Like it was said, importer works more or less fine only for generic materials - like one unique material per mesh section, with one diffuse and one normal texture. Most materials are more complex than that though, especially PBR materials and materials created for anime style graphics, where a lot of things are done at runtime with shaders.

Mat file only addresses one diffuse texture and one normal texture, collected from material properties as most significant ones, and also other linked textures (which are not applied by default). In the same time, all parsed properties are exported to props file. In this case, as you've noticed by yourself, there is one material applied to all mesh sections, but there is only one mat file with one diffuse texture, because it's one material. In such cases with custom materials the only way is recreating them outside of umodel based on material properties and your own understanding how they can be used, including possible automating the process. Unfortunately I can't help with that.
« Last Edit: May 01, 2025, 00:22 by spiritovod » Logged
gargon
Newbie
*
Posts: 13


View Profile
Re: Throne and Liberty
« Reply #19 on: October 15, 2025, 13:52 »

Does anyone have exported models of the main characters?

I don't have the ability to download such a large client. If anyone could upload the models, I'd be very grateful!
Logged
Jump to:  

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