New Blender Bin Import / Export Plugin

Downloads: www.mtm2.com/~mtmg/utilities.shtml
Post Reply
User avatar
OG_RuDeE
Member
Posts: 155
Joined: Fri Apr 28, 2023 4:11 pm

New Blender Bin Import / Export Plugin

Post by OG_RuDeE »

Finally, here it is: https://drive.google.com/file/d/1dAkJnl ... drive_link

A Blender Import and Export plugin based on James Pezold's Monvert bin converter: https://github.com/jpez1432/Monvert
Thanks James for making that open-source! I could not have made this without your code.

To install, just drag that zip onto your add-ins window in Blender: Edit >> Preferences >> Add-ons

The readme is long, but have a look as it explains basic usage and some potential troubleshooting should the need arise.

I felt it was finally ready for release when I successfully got this beast into the game (over 18k verts and 16k faces!):
Image

Looking forward to seeing what the limits are of Fila's new updates. The Hummer in the screenshot above runs just fine in game. So, I'm guessing quite a bit higher!

Enjoy! :D
User avatar
Fila
Member
Posts: 1821
Joined: Mon Jul 02, 2001 2:01 pm
Location: Lost in Translation
Contact:

Re: New Blender Bin Import / Export Plugin

Post by Fila »

Did the game suddenly combust?

I should re-add the truck flooding for *stuff* and giggles :D

Btw, a crazy test is on fila's adventure redux. Use complex scenery, there's a 30k vertices model hidden somewhere in there right at the beginning so the game draws it even if you can't visually see it, can test to see if the game explodes.

It was also why the truck flooded back in the day.
User avatar
OG_RuDeE
Member
Posts: 155
Joined: Fri Apr 28, 2023 4:11 pm

Re: New Blender Bin Import / Export Plugin

Post by OG_RuDeE »

Image
Image
Image

No problems whatsoever. :D

PS. Tried to use the [spoiler] tag on your secret model, but I guess this board doesn't have it. At least it doesn't give away the location.
User avatar
Fila
Member
Posts: 1821
Joined: Mon Jul 02, 2001 2:01 pm
Location: Lost in Translation
Contact:

Re: New Blender Bin Import / Export Plugin

Post by Fila »

Side note: I discovered a bug with that particular model and why it killed the fps. I fixed the bug and my FPS went flying past the moon.
User avatar
Jpez1432
Member
Posts: 119
Joined: Sun Apr 17, 2005 8:10 am
Location: U.S.A.
Contact:

Re: New Blender Bin Import / Export Plugin

Post by Jpez1432 »

Hey, glad to see you made a plugin with my code. I completely forgot I showed you that when you did Crazy98 for ROR I think. Maybe we can work on other model formats as well. Let me know what you think.
User avatar
Jpez1432
Member
Posts: 119
Joined: Sun Apr 17, 2005 8:10 am
Location: U.S.A.
Contact:

Re: New Blender Bin Import / Export Plugin

Post by Jpez1432 »

Alright, completely missed the title. BLENDER, haha. I read it as a plugin for BinEdit, I thought to myself since when does BinEdit have plugins... anyways, here is a updated version. Not trying to step on your toes OGRudeE.

https://drive.google.com/file/d/12HX9N5 ... sp=sharing

I implemented texture loading/conversion in blender with a resize option if importing from another model. I also included
the ability to repack the raw/acts and automatic art folder detection if not found. Included adding the ability to save only
selected objects. Hopefully this makes it even easier, haven't tested thoroughly but seems to work on stock trucks, loads MetalCr2 if
needed as well, Keep on truckin'

-Jpez1432

Two notes, if you are importing a different model format and the image is larger than 256 and option checked resize, exporting the raw/act conversion takes a good second.
and secondly if the material name is longer than 8 characters Binedit will ask for the texture, or shorten it correctly. Also noted if importing a GLB model and exporting it might
not look correctly in BinEdit due to how face culling works with GLB models.

Keep on truckin'
User avatar
Jpez1432
Member
Posts: 119
Joined: Sun Apr 17, 2005 8:10 am
Location: U.S.A.
Contact:

Re: New Blender Bin Import / Export Plugin

Post by Jpez1432 »

Hey, updated it again. Here is version 2.

https://drive.google.com/file/d/1YdFVvo ... sp=sharing

I moved some options to the export dialog, automatically resizing if necessary, default face type if created/loaded model. Manual face type setting in the propeties panel per mesh/texture.
User avatar
OG_RuDeE
Member
Posts: 155
Joined: Fri Apr 28, 2023 4:11 pm

Re: New Blender Bin Import / Export Plugin

Post by OG_RuDeE »

Awesome Jpez! Glad you're able to contribute too. I'll check out your changes soon. :D
Post Reply