fringy 1 Posted June 13, 2019 (edited) Hi, I'm using a couple mods together https://deadlystream.com/files/file/485-bearded-pmhc01-head-replacement/ https://deadlystream.com/files/file/365-canon-revans-hair-for-defaults-faces/ But I get this weird patch on the face Would anybody here know how I might fix it? It only appears on that side of the face from what I can see. Thanks in advance. Edited June 13, 2019 by fringy Quote Share this post Link to post Share on other sites
DarthParametric 3,795 Posted June 13, 2019 The model has some bad deformation. It's nothing to do with mods, it's a base game issue. This will be fixed in the next version of the K1 Community Patch, but for now you can download a fixed model from this post. 1 Quote Share this post Link to post Share on other sites
fringy 1 Posted June 13, 2019 Thanks for the response! Unfortunately, The mod that adds the hair also uses the same files and I assume renaming them obviously isn't a fix. Will the community patch update include an alternative solution or is it possible for me to merge the files somehow? Quote Share this post Link to post Share on other sites
DarthParametric 3,795 Posted June 13, 2019 Ah, the second one adds a mullet. No, there is no alternative solution, since the model skin weights need editing. You'll need to contact the author of the second mod and advise them to fix it themselves, or choose between fixed deformation or changed hairdo. You could fix it yourself if you know what you are doing, but it would require either editing the model in Max/GMax, or possibly doing some swapping of nodes in an ASCII model. 1 Quote Share this post Link to post Share on other sites
fringy 1 Posted June 13, 2019 (edited) It seems the author of that mod hasn't been active in quite a while and I've never even heard of GMax, guess I'll have to suck it up. Thanks anyways and thank you for your contributions! Edited June 13, 2019 by fringy Quote Share this post Link to post Share on other sites
ebmar 893 Posted June 13, 2019 41 minutes ago, DarthParametric said: ...possibly doing some swapping of nodes in an ASCII model. Greetings! If I go with the ASCII route, should I only copy the hair mesh and paste it to the other model to transplant the hair? Many thanks for considering this. 1 Quote Share this post Link to post Share on other sites
DarthParametric 3,795 Posted June 13, 2019 You can either transplant the hair mesh node/s from the mod's model to my model, or transplant the head mesh node from my model to the mod's model. Should work either way. 2 Quote Share this post Link to post Share on other sites
ebmar 893 Posted June 13, 2019 (edited) On 6/13/2019 at 11:57 AM, DarthParametric said: ...can either transplant the hair mesh node/s from the mod's model to my model, or transplant the head mesh node from my model to the mod's model. Should work either way. Thank you for the insight - much appreciated. Edit: I managed to get the models merged - so, here's how things goes: Prepare your tools; MDLedit and Notepad++ Prepare the models from this post and the long-haired model Download this - K1Supermodels_Vanilla.7z We need the Supermodel for recompiling from ASCII to Binary to work [step 14] - so put all of them at the same folder with the head models I'm going to index 1 for DP's model and 2 for the long-haired/valten7's Organized the files [including make a backup] as you see them fit, just make sure you know which one is which We're going with the hair transplant method in this case we're going to copy the hair nodes to the other model Load 1 and 2 with MDLedit and save them as ASCII Open 2 ASCII with Notepad++ and find this node using find command - node trimesh Object01 That is the hair node's header we'd want to copy all the information to the other model Block and copy all the nodes until you find the end of the node - endnode You can transit them for temporary to a new opened tab on the notepad Open 1 ASCII with the notepad and find this node using find command - node skin head Stop right there - that's what we would use as a mark to where we'd want to paste the hair node we copied earlier Make a space above that node and paste all the hair node we copied earlier there so more or less this is what you'll get on screen - node trimesh Object01 parent head_g ... ... ... ...35 0.91469 endnode node skin head parent PMHC01 ... Them three-dots means the information inside the ASCII/model Save the ASCII Load the hair-transplanted 1 ASCII with MDLedit and save it as Binary - overwrite when prompted. Be advised that you'll get warnings if you don't have the Supermodels in the same folder with the ASCII Pretty much done - next is to copy the binary model -which should be named as PMHC01.MDL & PMHC01.MDX- and paste them to the Override, and overwrite when prompted I think if you're following the instruction very clear you can have the wanted result. Just let me know at which part you got stuck/that is confusing. I should apologize if indeed the instruction are not very clear and is confusing. 🙃 The end-result is not without [possible] issue. If our main-character went Dark-side the hair texture went back to PMHC01, which will show a broken appearance on the hair mesh. We can discussed about that later after the attempted result above is actually working. Edited June 14, 2019 by ebmar 1 Quote Share this post Link to post Share on other sites
fringy 1 Posted June 14, 2019 Thanks! I was able to edit the mdl without issue but I'm having an issue with the mdx, am I not reading this right? Do I make the mdx an mdl? Quote Share this post Link to post Share on other sites
ebmar 893 Posted June 14, 2019 (edited) 2 hours ago, fringy said: Do I make the mdx an mdl? Don't! The first rule of general modding is; never change the extension, hahah. Keep the extension as-is [on exporting] and only rename the file. Edit: apologize that I might have confused you with a / on MDL/MDX there. My intention was to have you read PMHC01.MDL & PMHC01.MDX. Edited June 14, 2019 by ebmar 1 Quote Share this post Link to post Share on other sites
fringy 1 Posted June 14, 2019 What i'm having an issue with is that the mdledit program won't let me open the mdx. Do I not need to convert those? Quote Share this post Link to post Share on other sites
ebmar 893 Posted June 14, 2019 (edited) 1 hour ago, fringy said: ...i'm having an issue with is that the mdledit program won't let me open the mdx. Ah! You should not load the MDX but instead the MDL from the menu; the app will load them both automatically. I'm still experiencing this few times, heheh - rookie-in-haste mistake. 😛 Quote Do I not need to convert those? The only converting process were when; Converting from Binary [MDL/MDX] to ASCII - to transplant the hair node Converting from ASCII back to Binary [MDL/MDX] a.k.a the in-game format model; because the game only accept MDL/MDX format for things to work Edited June 14, 2019 by ebmar 1 Quote Share this post Link to post Share on other sites
fringy 1 Posted June 14, 2019 And the patch is gone! You were correct on the dark side heads though 1 Quote Share this post Link to post Share on other sites
ebmar 893 Posted June 14, 2019 (edited) On 6/14/2019 at 3:13 PM, fringy said: And the patch is gone! Spoiler You were correct on the dark side heads though Spoiler Cool! Glad to see things are working very well in the end [minus the Dark-side transition issue]. I will then documenting and attaching the DS transition fix authored by @DarthParametric on Discord > r/kotor here; be back with an update later [or you can just sign-up there and see the post directly yourself]. Edit: to fix the UV you will need an additional tools which they're 3D modelling program -gmax and 3ds Max are most recommended for this- and KOTORmax. Steps are - Convert the latest PMHC01 binary to ASCII Run gmax with KOTORmax installed On the left toolbar there should be a button to load the ASCII, written as [+ MDL Loading] - choose Import Geom Only and Import then Spoiler To have the texture shown [with the model] I usually put the relevant texture/TGA with the same folder as the loaded model - so you'd want to do that too. There must be another [legit] way on doing that but I don't know how. 🙃 Don't forget to reference the hair mesh, which is Object01 to reference PMHC01 as the bitmap instead of PMHC04. You can do that by following this - Spoiler Done with collapsing stuffs we're going to export the model now. Select the blue box under the head model; it's called OdysseyBase that you'll see it's written on a box in the top right corner With OdysseyBase selected - you'll see Odyssey Base Params underneath and down below you'll find Export Geom only button. You know you're very close for a result so you'll know what to do, heheh The exported format [again] will be an ASCII. So you may want to convert them to binary with MDLedit, and rename as appropriate That pretty much sums it - just let me know at which part things are confusing or lack of necessary information. Edited June 15, 2019 by ebmar Edited some critical information 1 Quote Share this post Link to post Share on other sites
fringy 1 Posted June 14, 2019 Quote On the left toolbar there should be a button to load the ASCII - load it Sorry, could you go into more detail here? I have gmax and kotormax installed correctly but the only toolbar to the left looks like this Where do I go from here? Quote Share this post Link to post Share on other sites
ebmar 893 Posted June 14, 2019 21 minutes ago, fringy said: Spoiler Where do I go from here? Go with the [+ MDL Loading] - choose Import Geom Only and Import. I have edited mine as I realized there was lack of information there with the initial ones. 1 Quote Share this post Link to post Share on other sites
fringy 1 Posted June 14, 2019 I keep getting this error. I swear I did everything in the readme. Quote Share this post Link to post Share on other sites
ebmar 893 Posted June 14, 2019 4 minutes ago, fringy said: Spoiler I keep getting this error. Hmm, you could try with this - Open kotormax.ini from this path [by default] gmax \ scripts \ KOTORmax Try to make sure having this on your end usemax=0 Not really sure if it was set to 1 or already 0 but I recall having encountered that too. But again, vaguely remembering how it was. 1 Quote Share this post Link to post Share on other sites
gino_ 0 Posted June 29, 2020 Hello there, does anyone have ''K1's Supermodels'' uploaded somewhere? I'm trying to fix the same problem here and the link seems to be down. Quote Share this post Link to post Share on other sites
DarthParametric 3,795 Posted June 29, 2020 You can extract the binary supermodels from the game files yourself using KOTOR Tool. 1 Quote Share this post Link to post Share on other sites