Recommended Posts

Hello ladies and gentlemen. Does anybody know what the difference between saving a mdl file as a ascii or binary file and to batch convert a mdl file to a ascii or binary file?

Share this post


Link to post
Share on other sites
On 10/30/2021 at 12:25 AM, DarthParametric said:

Exactly what it sounds like. Batch does the operation on a group of selected files. The other option is for a single file.

I like to ask you a question DarthParametric. I've been converting certain PC .mdl/.mdx files to xbox format and this HK-47 model got glitches like this. I'm currently using a RGH Xbox 360 on BC. Is this a model issue, emulation issue, or both?

 

 

Model Error 2.png

Model Error 1.png

Share this post


Link to post
Share on other sites
10 hours ago, YourSoul1sMine said:

RGH Xbox 360 on BC

You say that like I'm supposed to know what it is, but I gather from your subsequent comment that the game is running under a 360 emulator. Assuming everything else is working correctly, it's mostly likely a MDLEdit issue with the conversion. Make sure you are using the most recent beta version, not the outdated one from the official release thread.

  • Thanks 1

Share this post


Link to post
Share on other sites
On 11/13/2021 at 11:35 PM, DarthParametric said:

You say that like I'm supposed to know what it is, but I gather from your subsequent comment that the game is running under a 360 emulator. Assuming everything else is working correctly, it's mostly likely a MDLEdit issue with the conversion. Make sure you are using the most recent beta version, not the outdated one from the official release thread.

Hello DarthParametic. I heeded what you said and I'm currently using the latest beta version of MDLedit and got results like this. I converted Fenharel's HK-47, ebmar's Janice Nall and Incomplete Droids, Selven, Rakghoul Fiend and VarsityPuppet's Ajunta Pall models and Rakghoul Fiend, Janice Nall, HK-47 and Incomplete Droids function just fine. But Selven and Ajunta Pall's models are having issues. Do you know if it's better to batch convert to ASCII first and then batch convert to binary or just save the .mdl as a binary? Also, do you know if MDLOps can export models to xbox binary?

20211121_010738.jpg

20211121_012138.jpg

20211121_010548.jpg

20211121_012333_HDR.jpg

20211121_012414_HDR.jpg

20211121_013042.jpg

Share this post


Link to post
Share on other sites

MDLEdit decompiles a binary model into memory when loaded, so there's no need to generate physical ASCIIs unless you intend to load them in Max/GMax.

I don't believe MDLOps supports the Xbox format, no.

Perhaps @seedhartha could be convinced to add Xbox support to KBlender (which now imports/exports binaries directly) if you ask nicely.

I'm not familiar with the differences between the PC and Xbox formats, so I couldn't really say what in particular could be causing issues. The only time I have seen something similar is with ye olde MDLOps mangling meshes, so my guess would be that MDLEdit is doing something incorrectly for those models for some reason.

Share this post


Link to post
Share on other sites

I have added Xbox model support to KotorBlender 3.4.2. @YourSoul1sMine, you might want to check if it handles your models better than MDLedit does. From my experience porting the code, some data in Xbox models is compressed, and MDLedit compression code is off and may result in integer overflow.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.