Probably a dumb question, but does this mean we can put new saber models into TSL as well
No. Just to be mean I made sure that this version does not include replacer, so no more saber models.
Of course I am kidding! ;)
Everything you could do with MDLOps in kotor 1 you can now do with kotor 2. Replacer and renamer are there and work with both kotor 1 and 2.
Lets say I have a KOTOR 1 model I made but now I want to put it into KOTOR 2. how would I do this?
Originally posted by Zod
Lets say I have a KOTOR 1 model I made but now I want to put it into KOTOR 2. how would I do this?
Extract Mdlops and open up those text files in the same directory.
After that Check This Forum (
http://www.lucasforums.com/forumdisplay.php?s=&forumid=595)
^^^
Well, I better get to work then cchargin ;), thanks man awesome job, cheers :D
It seems that if you make K1 lightsaber work in K2 the saber blade is not displayed correctly.
I found that some "planes" for the blade were missing in the converted K2 saber model.
Is it suppose to be like this. I mean, is this feature not supported or is it a bug?
First I would like to say... bravo Cchargin! :D
Originally posted by maverick187
Well, I better get to work then cchargin ;), thanks man awesome job, cheers :D
Yup Mav, you are going to get saber requested to death from me now! :D
Originally posted by Fred Tetra
Great job, Chuck! I was just telling someone about how quickly you'd figure out the model differences!
BTW, for those curious individuals like me out there (I hope I'm not the only one geeky enough to want to know), what, technically, is the difference between the two binary formats?
Your not the only geek who wants to know. However your probably one of 2 geeks here who can do anything with that information at this time.:cool:
And yes by the way cchargin thank you very much.
So how soon till we get the segan sabers released for K2 Chainz.2da I want to get the segan guardian saber ASAP.
Also to everybody about to release saber models now can you guys use numbers outside of the 20's block. The reason being Jetstorm and I were about to release an Lightsaber crystal expansion pack that uses the entire 20's block.:p
It seems that if you make K1 lightsaber work in K2 the saber blade is not displayed correctly.
I found that some "planes" for the blade were missing in the converted K2 saber model.
For lightsabers you have to use the replacer function in MDLOps. Since lightsaber models have animations and other wierdness you can't do the following:
1) convert kotor 1 binary to ascii model
2) convert ascii model to kotor 2 binary
You have to do this:
1) Extract any kotor 2 lightsaber with Kotor Tool
2) convert kotor 1 binary to ascii model
3) use replacer to place hilt from ascii model into kotor 2 binary model
Or, you can wait for the author of the model you are working with to release a kotor 2 version. :)
What really needs to be done is we need the robes converted asap. I'm sick of obsidians robes. The texturing is awful, not a single robe out of their 10 even has a correct or matching contrast, most noticeably the cloaks contrast is waaayyy off.
Me love you long time!
By the way cchargin, while working on my helmetless Mandalore mod, I found that it seemed the actual model of Mandalore is what made his armor un-unequippable. By any chance, is there something in the mdl that eludes to this? Or must it be something else just related to the model?
Thanks again,
Shimaon
I bet everyone was never gonna here me say this, byt he comes DArthSMallz with some retextures! He got a paint program that supports tpc to tga! Thanks cchargin!
Originally posted by Darkkender
So how soon till we get the segan sabers released for K2 Chainz.2da I want to get the segan guardian saber ASAP.
Plans are in motion as we speak ;)
Keep an eye out for a WIP in the future with details.. hehe..
cchargin,
Thank you for this contribution to the modding community. :thumbsup:
*Smacks head* Great now I will have to try modeling again. Gulp... But thanks cchargin maybe I can make them better this time. Great work!
Ah I was wondering did 5.0 version have any progress on importing and exporting head model ? curious .
Or is it possible to use the replacer , to replace the faces of the head ?IF we can't edit the head model yet ?
Originally posted by cchargin
For lightsabers you have to use the replacer function in MDLOps. Since lightsaber models have animations and other wierdness you can't do the following:
1) convert kotor 1 binary to ascii model
2) convert ascii model to kotor 2 binary
You have to do this:
1) Extract any kotor 2 lightsaber with Kotor Tool
2) convert kotor 1 binary to ascii model
3) use replacer to place hilt from ascii model into kotor 2 binary model
Or, you can wait for the author of the model you are working with to release a kotor 2 version. :)
Thanks. It works like a charm now. :)
I wonder how many years it would take for me to model the Republic Commando Suit and Helmet.
http://img.kult-mag.com/photos/00/00/45/24/ME0000452470_2.jpg)
/drool :biggs:
New MDL Ops?!?!?!?!?!
w00t!!!
Now my head is stacked with mod ideas....
You are my hero cchargin.
Fantastic!
I remember I did a few small model changes in Neverwinter Nights. Now I really can't wait to see what I can do with this game between modeling and skinning.
I wonder where Prime has gone, it would be awesome to see his Clone Troopers mod from Kotor1 ported to Kotor2
EDIT
------
Well Ok I imported it myself, I guess I must have misread something. I figured the ascii model was entirely different and you didn't have to just read kotor write kotor2 :p
Originally posted by Arlen Treesong
I wonder how many years it would take for me to model the Republic Commando Suit and Helmet.
http://img.kult-mag.com/photos/00/00/45/24/ME0000452470_2.jpg)
/drool :biggs:
Well however many years it would take it would be nice to have but I am not even going to DARE try.
Does anyone know the difference between the models for the xbox version and the pc version for TSL?
I have had some success using some models on the xbox while others crash the game.
Would be cool to find a way to use all models on the xbox too.
You would think there isnt too much difference between the models.
Maybe cchargin could make an option in the mdlops to make models work on the xbox? That is if you have the time for it :D
I could send you some models from the xbox version to have a look and maybe find the difference between them.
Originally posted by Shimaon
Me love you long time!
By the way cchargin, while working on my helmetless Mandalore mod, I found that it seemed the actual model of Mandalore is what made his armor un-unequippable. By any chance, is there something in the mdl that eludes to this? Or must it be something else just related to the model?
Thanks again,
Shimaon
Save your work; there's already an (unused) Mandalore model without a helmet in the game...
Looks pretty good, too.
Woah, how could I have missed this! Superb job cchargin!:clap2:
Originally posted by Hive
Save your work; there's already an (unused) Mandalore model without a helmet in the game...
Looks pretty good, too.
^^;
I know that, but what I meant is I discovered as soon as I changed it to the helmetless model, the armor is locked in place.
Thanks though.
It works great with my TSL models now, but I've gotten a strange error when trying to import one.
MAXScript Rollout Handler Exception -- Unknown property: "frameEnd" in $Editable_Mesh:glas_brk @ [-148.685471,0.479004,160.577011]
I'm not sure if it's caused by the model conversion or NWmax since all of the others work just fine.
Error (
http://home.earthlink.net/~genz44/data/152har36_error.txt)
Hello,
It works great with my TSL models now, but I've gotten a strange error when trying to import one.
hmmm, I took a look at it and it seems to be an animation controller problem. I will look into it and try to figure out what the issue is.
A work around is to uncheck the "Extract animations" option before exporting to ascii. This should get you a model that you can import into nwmax
Is there any way to tell the program to convert all files in a given directory? I find it to be quite tedios to manually convert files 1 by 1...
Hello,
Is there any way to tell the program to convert all files in a given directory?
Sure! You can run MDLOps from a command line where you can use file globbing (i.e. c:\models\*.mdl)
Check the readme.
Originally posted by Hive
Is there any way to tell the program to convert all files in a given directory? I find it to be quite tedios to manually convert files 1 by 1...
If you're using Kotor Tool to extract your models before conversion, you can also just double-click on the first model you want to extract, specify how many total you want to process (including the clicked one), and Kotor Tool will extract each .mdl and .mdx pair, convert them (using Kotor Tool's own MDLOps) and put all the files in a directory for you. I wil also extract all of the required textures as well.
Originally posted by cchargin
Hello,
Sure! You can run MDLOps from a command line where you can use file globbing (i.e. c:\models\*.mdl)
Check the readme.
Oh I'm sorry, I didn't see that. I guess I should read more carefully. :o
Thanks for the answer. :)
Originally posted by Fred Tetra
If you're using Kotor Tool to extract your models before conversion, you can also just double-click on the first model you want to extract, specify how many total you want to process (including the clicked one), and Kotor Tool will extract each .mdl and .mdx pair, convert them (using Kotor Tool's own MDLOps) and put all the files in a directory for you. I wil also extract all of the required textures as well.
Yeah I already did that, an excellent feature you implemented. :)
Oh, and another question: is it possible to leave out the '-ascii-kx-bin' from the filenames? I'd love if it would - instead of adding 'kx-bin' after the '-ascii' part - that, instead, the '-ascii' part was removed...
Can this be done?
You can do it manually at least...
Originally posted by Prime
You can do it manually at least...
I know. But my latest conversion included 48 files (24 *.mdx and 24 *.mdl), so I would much appreciate if there was another way...:ewok:
Originally posted by Hive
I know. But my latest conversion included 48 files (24 *.mdx and 24 *.mdl), so I would much appreciate if there was another way...:ewok:
So which direction are you trying to go with your conversions? Game->Max or the other way around?
I say this because I am considering adding a drag-and-drop conversion feature to Kotor Tool that would do bunches of external files in one shot.
Please describe in more detail what it is you're trying to do and I'll see if this matches up with what I had in mind.
Originally posted by Fred Tetra
So which direction are you trying to go with your conversions? Game->Max or the other way around?
I say this because I am considering adding a drag-and-drop conversion feature to Kotor Tool that would do bunches of external files in one shot.
Please describe in more detail what it is you're trying to do and I'll see if this matches up with what I had in mind.
I was trying to convert some K1 models for K2. First, I use your program to mass-convert to the ascii format.
Then, I use MDLops to convert them to the K2 format. And then, the renaming begins (since I prefer them to have the original names).
If possible, an "extract and convert from Kx to Kx" option would be nice. But I do now know whether it's feasible...
Originally posted by Hive
I was trying to convert some K1 models for K2. Unfortuntely, porting assets from one Lucasarts game to another is again Lucasarts policy and Holowan Laboratory rules. Please do not discuss such topics on these boards. Thanks. :)
Originally posted by Prime
Unfortuntely, porting assets from one Lucasarts game to another is again Lucasarts policy and Holowan Laboratory rules. Please do not discuss such topics on these boards. Thanks. :)
I am aware of that. Jeez, calm down. I have noticed that some people here jump to conclusions a bit too much.
Could it be that I have some custom made models from K1 which I have permission to convert?
I haven't discussed porting anything in this thread. Yes, the method I'm asking about *can* be used that way - but it doesn't have to be.
Originally posted by Hive
I am aware of that. Jeez, calm down. I have noticed that some people here jump to conclusions a bit too much.
Could it be that I have some custom made models from K1 which I have permission to convert?
I haven't discussed porting anything in this thread. Yes, the method I'm asking about *can* be used that way - but it doesn't have to be.
When you begin to ask ambiguos questions that can get the members of these modding forums in trouble it is in the Authority of the Moderators such as Prime to reiterate the rules so as to protect the interests of the forums.
If it seems that many of us are quick to point out the rules concerning porting of resources it is because not a one of us wishes to get into legal trouble with the developers of these games.
That being said if when you phrase your questions from the beginning being as clear as possible that you intend to convert custom made models from one game to the other without using original game resources not a single person here could scold you for that.
I will at this time cease off-topic discussion and return control to cchargin.
hi,
I will at this time cease off-topic discussion and return control to cchargin.
Uh, did I miss something? ;)
Oh, and another question: is it possible to leave out the '-ascii-kx-bin' from the filenames? I'd love if it would - instead of adding 'kx-bin' after the '-ascii' part - that, instead, the '-ascii' part was removed...
A common question I get asked is "where did my file go?" It is usually in reference to nwmax which you are never quite sure where your file will end up, or what it will be named. So I decided to make MDLOps as unambigous as possible with naming.
If you want to mess around with Perl the scripts for MDLOps are in the same folder as the executable.
I will look into custom output names as a possible feature.
Originally posted by Hive
I am aware of that. Jeez, calm down. You should take your own advice.
Originally posted by Hive
I have noticed that some people here jump to conclusions a bit too much. We can only make conclusions from what you write. Surely you can see why moderators would get the impression that you were taking about converting KOTOR models to TSL when you wrote, "convert some K1 models for K2."
Originally posted by Hive
Could it be that I have some custom made models from K1 which I have permission to convert? Sure. But it doesn't come across that way, especially when you don't say that.
Originally posted by Hive
I haven't discussed porting anything in this thread. Yes, the method I'm asking about *can* be used that way - but it doesn't have to be. Yes you did. You discussed converting K1 models for K2. ;)
Look, it is a serious subject since technically we shouldn't really be modding KOTOR at all. Porting lucasarts material to other games is a serious violation that could potentially lead to Holowan Laboratories getting shut down. Thus, us moderators try to be vigilant about such discussion. So in the future, please be a bit more specific, so we can avoid any problems. We are not trying to be discussion nazis, we are just trying to avoid potential trouble.
Now, back on topic please. :)
Originally posted by Prime
You should take your own advice.
I'm sorry, I meant no offense. It's just that I personally feel there's a witch-hunt going on regarding this subject.
We can only make conclusions from what you write. Surely you can see why moderators would get the impression that you were taking about converting KOTOR models to TSL when you wrote, "convert some K1 models for K2."
I suppose that's true.
Sure. But it doesn't come across that way, especially when you don't say that.
It's just that I'm not used to such a modding environment. The games I usually mod have modding support from the developers, and no talk about sueing modders or shutting down anything ever comes up.
Yes you did. You discussed converting K1 models for K2. ;)
Again, you are right. But like I said: I'm not used to LucasArts unfriendly behaviour, so I didn't quite expect such reactions.
Look, it is a serious subject since technically we shouldn't really be modding KOTOR at all. Porting lucasarts material to other games is a serious violation that could potentially lead to Holowan Laboratories getting shut down. Thus, us moderators try to be vigilant about such discussion. So in the future, please be a bit more specific, so we can avoid any problems. We are not trying to be discussion nazis, we are just trying to avoid potential trouble.
You know LucasArts better than I - but if they would indeed be willing to try and shut down the entire forum because one member - against the forum rules - would do a port, then I have no respect for them at all. But I do not want to bring this forum into trouble, so I will try to think twice when phrasing another question that might be understood in more than one way.
Now, back on topic please. :)
Sir, yes sir!:)
Originally posted by Hive
You know LucasArts better than I - but if they would indeed be willing to try and shut down the entire forum because one member - against the forum rules - would do a port, then I have no respect for them at all. It wouldn't be because of one member, but we are just trying to enforce the rules equally with everyone. We feel it is better to avoid the topic all together.
WOW!!! Very Very Good job!!! it's lots of fun...
I'm afraid this topic is kind of...old. Old news, you know? Check out the dates. ;)
I've been making some changes to mdlops (mostly porting code over from Torlack's NWN model de/compiler) so we could add some custom animations for our project. I'm uneasy about posting changes to someone else's code without permission but cchargin hasn't responded to my email yet, and I'm about to get too busy to work on this for a while. (The program is GPL so technically it's okay to post changes but if you think this is inappropriate please let me know and I'll remove it).
We've successfully imported animations on s_male02 and hk47. I haven't had time to do much testing outside of what we needed.
If you want to try this, you'll need perl installed, plus a couple of optional packages (instructions in the zip, "installing perl.txt".)
You can download the modified mdlops perl scripts HERE (
http://www.geocities.com/jdnoa/mdlops.zip).
The usual caveats/issues:
- imported models may crash your game
- if you move skin mesh nodes the model in-game gets all weird and elongated and messed up, like something from Silent Hill
- we've only tried this with character models, and only a couple of those at that
- There's a bug somewhere in conversion to ascii that sometimes makes the last frame of an animation messed up. An example is in p_mira_bb at the end of CUT027. I think it's continuing a motion that should have been stopped... and if it's the last animation and you want to add a new one after, the motion keeps going into the beginning of the new one! I'm hopeful someone who knows more about animations will be able to tell why this is happening...
[edit:] - If you converted from binary to ascii with a previous version of mdlops, I'd re-convert. If you have an animation you want to save you can copy and paste it into the newly converted ascii model.
When testing, it's nice to name your animation pause1. That way you can see it as soon as you load the game.
I've been making some changes to mdlops so we could add some custom animations for our project... We've successfully imported animations on s_male02 and hk47...
:Open2:
What a nice surprise! Thank you JDNoa!
Since cchargin did cite the GPL license agreement, there's no reason to take this down and I think if we did, there'd be a good chance of starting a riot. :p
When testing, it's nice to name your animation pause1. That way you can see it as soon as you load the game.
Good to note that. :)
If you want to try this, you'll need perl installed, plus a couple of optional packages (instructions in the zip, "installing perl.txt".)If you like I could help package this into an EXE...? See first post of this thread for a link
Edit: what is the mdlops.tws?