Kuribo64
Views: 19,852,993 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
03-28-24 11:56 PM
Guest:

0 users reading obj2bdl - Convert Wavefront OBJ to BDL | 1 bot

Main - Archived forums - SMG hacking tools development - obj2bdl - Convert Wavefront OBJ to BDL Hide post layouts | New reply

Pages: 1 2 3 4
blank
Posted on 11-20-12 08:07 PM (rev. 5 of 12-02-14 04:21 PM) Link | #1207
obj2bdl is a command line program that converts Wavefront OBJ files to BDL files that can be used in SMG1/2.

Check the README for info on how to use the program.

The program also supports an extended version of Wavefront OBJ format that includes vertex colors. To export models to this format you need blender with the Extended Wavefront OBJ exporter add-on (which is included in the download) installed. To install this add-on place the io_scene_extened_obj folder in your blender add-on folder and enable it under the Add-On tab of the User Preferences window. For more information on how to do this look here.

I have only released the program as a python script, which you need Python 3 with PyQt4 installed to run.

Download: https://kuribo64.net/get.php?id=WTIHxhDguVLTi5J2

shibboleet
Posted on 11-20-12 09:47 PM Link | #1209
what? I thought JPEG didn't work at all. I thought it had to be .png :S

____________________
a

Arisotura
Posted on 11-22-12 09:11 PM Link | #1219
Thanks for those tools :)

Also, mind if I upload them to a stable place (like our uploader) while we have a working link? Those are currently a pain to find. All the links I've come across say 'file deleted'.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

blank
Posted on 11-22-12 09:50 PM Link | #1222
You mean the EXE? Yeah, all the links I could find were dead, which is why I didn't include a link in the post. It should definitely br uploaded somewhere more stable.

Arisotura
Posted on 11-22-12 09:52 PM Link | #1223
The EXE, yeah, but having the source Python script would be nice too. So we can have an idea how to write BDL's. And because closed source software has no place in ROM hacking.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

blank
Posted on 11-23-12 08:59 AM Link | #1228
Sure, the source can be uploaded as well. The link I gave should be stable, but having the EXE and source at same place might be a good idea.

blank
Posted on 07-06-13 08:33 PM Link | #27333
I've released a minor update to this. The new version allows for more triangles per model and fixes the inverted texture issue. The download link is in the first post.

Goembario
Posted on 07-08-13 09:45 AM Link | #27483
Nice blank!
I wonder if I'll be able to convert my whole model this time, instead of having to cut it in 3 pieces :P
Good job!

MK7tester
Posted on 07-26-13 09:09 PM Link | #29046
Can someone make a tutorial on how to effectively use to Python version? I use to use the exe but now it's outdated and it doesn't seem to work anymore.

NWPlayer123
Posted on 07-26-13 10:24 PM Link | #29058
Uhhhhhhh
https://kuribo64.net/?page=post&id=24413
Under Creating the BDL, and the way I export is above if you need that.

____________________
"I hate playing musical chats" ~ Quote of the month

MK7tester
Posted on 07-26-13 10:31 PM Link | #29059
But how do i set up python and everything...

NWPlayer123
Posted on 07-26-13 11:45 PM Link | #29068
Are you serious? You don't need to...just install it using the exe, and that will all work.

____________________
"I hate playing musical chats" ~ Quote of the month

shibboleet
Posted on 07-27-13 12:58 AM Link | #29081
Or use the exe, if you're really lazy.

____________________
a

MK7tester
Posted on 07-27-13 02:30 AM Link | #29083
I already said the exe doesn't work anymore. Blarg

shibboleet
Posted on 07-27-13 04:19 AM Link | #29088
uhh...what.
Yes it does.

____________________
a

NWPlayer123
(post deleted) #30731

FnarGod
Posted on 08-24-13 10:45 PM (rev. 4 of 08-24-13 11:04 PM) Link | #30732
Thank you :D Glad its fixed, im just testing an import.



____________________
(layout nuked; unclosed style tag)

blank
Posted on 08-25-13 05:43 AM (rev. 2 of 08-25-13 06:06 AM) Link | #30745
Arcanine, the fix you made does not work and in fact completely breaks the program. Also, what is a line material?

The exception is caused by faces that do not have texture coordinates, which shouldn't be a problem as the README states that the entire model has to be uv-textured.

NWPlayer123
Posted on 08-25-13 06:12 AM (rev. 3 of 08-25-13 06:15 AM) Link | #30746
I don't understand then. The value it's spitting out is because there's some form of lines because it's not 3 values (IE 1/2/3) instead what I've seen looking at the model file in a text editor is 2/3 or some form like that, and that's what makes it break. Or at least, that's what I understand it to be.

____________________
"I hate playing musical chats" ~ Quote of the month

blank
Posted on 08-25-13 06:21 AM Link | #30747
Vertices of the from 2/3 works for me. If you think you have an example where it doesn't, try uploading it and I'll take a look at it.
Pages: 1 2 3 4

Main - Archived forums - SMG hacking tools development - obj2bdl - Convert Wavefront OBJ to BDL Hide post layouts | New reply

Page rendered in 0.026 seconds. (2048KB of memory used)
MySQL - queries: 27, rows: 237/237, time: 0.010 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.