gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS homebrew announcements > NDS Model Exporter v1.0 Released

#150154 - Kasikiare - Wed Jan 30, 2008 6:31 pm

Hello all!

I have written this Java application which provides a graphic user interface for exporting 3D models in (.3ds, .X, .m2d, .mesh) format to .bin that I think is the most used in NDS Homebrew Software.
Furthermore I wanted to integrate another GUI for convert .bmp to .bin in the same application.

Here are the binaries of my NDSModelExporter at http://www.box.net/shared/ri2qblig48

For make 3D exports I use NDS Mesh Converter which is coded by PadrinatoR and you have the source code at this location http://www.box.net/shared/7hdxqq54c4

To make BMP2Bin conversions I have used bmp2bin which is in the binaries of DevKitARM toolkit.

Special greetings to Dark Knight Ez for open the source of his DisplayList library.

Bye!

#150183 - Dark Knight ez - Wed Jan 30, 2008 10:54 pm

Somehow I think I missed PadrinatoR's actual implementation...
Was fun to even see some main.c code reused in there, not to mention that it's actually all open-source.

More on-topic regarding your own contribution: I think its great to see these more versatile model tools becoming GUI capable like this, possibly being easier to use for some people. Good job to you both. And thanks for the mention. ;p

Edit:
On a sidenote: are these temporary download locations? Would you guys like me to put these up at the AmplituDS site in one package? Or perhaps only host them there without actually putting them on the site itself? Let me know.
_________________
AmplituDS website

#150185 - Kasikiare - Wed Jan 30, 2008 11:19 pm

Dark Knight ez wrote:

On a sidenote: are these temporary download locations? Would you guys like me to put these up at the AmplituDS site in one package? Or perhaps only host them there without actually putting them on the site itself? Let me know.


I've talked to PadrinatoR and he said me that box.net isnt temporary, but if you like to host a package in your site with the app and the source of PadrinatoRs program, or link them... you can do it without any problem. :D

And again, thank you for your source ;) Good Job!

#150202 - takieda - Thu Jan 31, 2008 5:11 am

Box.net has a policy against piracy that, while it *shouldn't* apply here, does seem to. I hosted a couple of batch files that simply appended a bootloader onto a homebrew application. Someone complained and they removed my files. Fortunately I had sent them to several different servers and kept copies on my own computer. Also note that Electronicfiles.net also did this to me (I'm thinking someone from the forum where I posted about them, wanted to do something to annoy me, or something).
_________________
Est Sularis Oth Mithas - My Honor is My Life
(\_/)
(o.o)
(> <) This is The Bunny. Copy The Bunny into your signature to help him on his way to world domination.

#150216 - Kasikiare - Thu Jan 31, 2008 1:08 pm

I never had any problem with my files permanency on Bot.net. But I have made a backup of my files... thanks for your warning.

#150295 - Dark Knight ez - Fri Feb 01, 2008 5:41 pm

Hosting it now, giving you both proper credit...
If you'd rather see something mentioned differently, let me know and I'll edit the text.
_________________
AmplituDS website

#150296 - LocalToast - Fri Feb 01, 2008 5:58 pm

EDIT: Okay, yeah, no idea how to use this. NDS_Mesh_Converter.exe won't load at all (I'm guessing that's the problem xD)

This is going to be fun!

I do a few "hobby" models in my spare time, and hopefully I can import them into Metroid Prime Hunters (uses .bin models as well) instead of doing boring model swaps.

#151025 - LocalToast - Sun Feb 17, 2008 10:38 am

Still can't get this to work... is there anything I have to have (other than Java) to get this to run? I've got the .NET framework and stuff... I'm really anxious to use this but I can't. :\

#151031 - PadrinatoR - Sun Feb 17, 2008 3:25 pm

You only need Java 1.6 and Irrlicht 1.4 dll which is included in the package.
Anyway you can use the command prompt to convert your models :P

Good luck!
_________________
DSAmp: control Winamp with your Nintendo DS

#151032 - LocalToast - Sun Feb 17, 2008 3:59 pm

PadrinatoR wrote:
You only need Java 1.6 and Irrlicht 1.4 dll which is included in the package.
Anyway you can use the command prompt to convert your models :P

Good luck!


Sorry for my noobism here... Do I do anything special with Irrlicht 1.4, and how do I use it with the command prompt?

Thanks ahead of time... xP

#158137 - AntonioND - Thu Jun 05, 2008 2:41 pm

Hello!

I have been using this converter to convert my models, but it exports colors too, so lights don't work. I've made this app to fix CallLists created with this program so that you can apply them light. (Yeah, I know, I could have modified source code of the converter, but I wanted to learn how CallList work :P).

http://www.mediafire.com/?gmj1njtey1m

It's a pretty simple program, but works very well. ^^

#158207 - Dark Knight ez - Sat Jun 07, 2008 1:06 pm

That's a pretty big workaround for just commenting out the code inside the function glColor3fDL, but nice job nevertheless. It's always good to know the details of everything you use, such as DS display lists in this case.
_________________
AmplituDS website

#158212 - AntonioND - Sat Jun 07, 2008 1:59 pm

That's right. If you know how things work you can find errors easier, and know how to avoid them. I like to do this kind of things, it's interesting. :P

#159106 - Izhido - Wed Jun 25, 2008 3:26 pm

Kasikiare: Congrats :)

WinterMute has mentioned many times the toolchain is in desperate need of a 3D mesh conversion tool to be integrated into it. I think if you can recode your app to be in C/C++, it would be a great addition to devkitPro. What do you think?

- Izhido

#159155 - Dark Knight ez - Thu Jun 26, 2008 9:47 am

His app is a GUI in Java for another program, called NDS Mesh Converter by PadrinatoR.
I don't see why the GUI should be in C/C++. I think the actual NDS Mesh Converter already is in C/C++ so it should be possible to integrate into the devkitPro distribution as it is one way or another.
_________________
AmplituDS website

#159164 - tepples - Thu Jun 26, 2008 12:16 pm

Dark Knight ez wrote:
His app is a GUI in Java for another program, called NDS Mesh Converter by PadrinatoR.
I don't see why the GUI should be in C/C++.

I would guess that devkitPro doesn't want to have to bundle the Java player or .NET framework with any package.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#159167 - Dark Knight ez - Thu Jun 26, 2008 1:01 pm

The frontend/GUI is optional in use, one can directly use the NDS Mesh Converter via command-line. Seeing as how almost everything in the devkitPro package is command-line only (correct me if I'm wrong), I don't see the issue here. Including the Java frontend would just be a bonus to people who do have Java and would like a GUI. Or the frontend can not be included in order to avoid (silly) questions about why the Java app won't work on some PCs.

Edit:
Replaced most occurences of GUI with frontend to avoid confusion.
_________________
AmplituDS website

#163580 - sarachiel - Sun Oct 05, 2008 8:15 pm

Hey all

I can't get rid of the colours when using the mesh converter. The link to Antonio's work does not seem to work anymore.
I Grabbed the whole NitroEngine he released, and I can't make the DLfixer.exe work :/

#163582 - AntonioND - Sun Oct 05, 2008 8:36 pm

sarachiel wrote:
Hey all

I can't get rid of the colours when using the mesh converter. The link to Antonio's work does not seem to work anymore.
I Grabbed the whole NitroEngine he released, and I can't make the DLfixer.exe work :/


I think you have to install .NET framework. I don't now what version exactly since I have versions 1.1, 2, 3 and 3.5. If you can't make it run, compile it on your computer. I did so under Microsoft Visual C++ 2008 Express Edition (it's free).


Last edited by AntonioND on Mon Oct 06, 2008 2:35 pm; edited 1 time in total

#163604 - sarachiel - Mon Oct 06, 2008 10:21 am

Getting the dotnet framework 3 didnt have it work :(
Where can I find sources to compile it ? Every link I can find is dead :/
And I really need to get rid of these colours and have lights work on my models !
Just a question while I'm at it. If I apply textures on the mesh, will they 'overwrite' the colours instructions in the display list ?
Thanks

#163609 - AntonioND - Mon Oct 06, 2008 2:42 pm

sarachiel wrote:
Getting the dotnet framework 3 didnt have it work :(
Where can I find sources to compile it ? Every link I can find is dead :/
And I really need to get rid of these colours and have lights work on my models !


Here you are:
http://antoniond.drunkencoders.com/files/dlfixer.rar

sarachiel wrote:
Just a question while I'm at it. If I apply textures on the mesh, will they 'overwrite' the colours instructions in the display list ?
Thanks


No, they won't. The only way to overwrite a color or a normal command is another color or normal command.

#163615 - sarachiel - Mon Oct 06, 2008 4:53 pm

Thank you very much. I owe you one :)

#176007 - Stryker - Thu Mar 17, 2011 4:28 pm

LocalToast wrote:
I do a few "hobby" models in my spare time, and hopefully I can import them into Metroid Prime Hunters (uses .bin models as well) instead of doing boring model swaps.
That sounds interesting. How exactly do you do that?
_________________
- Stryker