Universal Model Converter - beta testing

Started by DarkPikachu, December 11, 2012, 07:55:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Would you like me to hold off on releasing UMC to work on SIDE??

Yes please, an IDE like that could really help me!
4 (57.1%)
Nah, just release UMC without SIDE.
3 (42.9%)

Total Members Voted: 7

After seeing the word non-programmer I am now interested at attempting to make a script for converting formats. Where do I go to look into this?   


The Dry Boney that needs canon to make sig with sense,
But has a image sig.
*has SD card now*

June 30, 2014, 05:13:14 PM #136 Last Edit: June 30, 2014, 05:14:11 PM by Tcll
Quote from: N64killer on June 30, 2014, 04:48:03 PM
After seeing the word non-programmer I am now interested at attempting to make a script for converting formats. Where do I go to look into this?  
unfortunately, the new documentation isn't very far...
I've got about 5 people working on the documentation, but have made no progress with adding anything to it...

all you need to know is the functions, and the structure.
UMC does all the work of format management and file handling for you, so all you need to do is convert the data in your script. :)

3.0a isn't very friendly as it expects a pre-transformed (T-Pose) model in it's format.
this means that for a format such as MDL0, you have to pull off all the conversions in the script.

in 3.0, the dual-buffered interface takes care of both untransformed and pre-transformed data, so that's something to look forward to. :)

3.0 also promises animation (since now I know how to build the dual-buffered interface

yea, 3.0a's interface can support animation, but there's no way of testing it because the interface itself can't render it.

anyways... here's what's available of the documentation so far:
http://tcll5850.proboards.com/thread/182/layout
not much... but at least you can tell what functions are in 3.0a vs 3.0

most functions will have only a single input, but only a few will have multiple inputs.
almost every function will have defaults. ;)

so basically, the interface is as smooth as GL programming...

# read your data from the file:
vertex = bf32( ['','',''] ) # vertex = [0.0, 0.0, 0.0]
# send your data to UMC:
ugeSetVert( vertex ) # assuming your vertex is in T-Pose position


sorry for 3.0a being a tad complex... I didn't know what I know now to fix this.
(unfortunately I had to entirely rebuild UMC to fix it)

if you find anything else that could be simplified even further, let me know. :)

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

I be honest with you is the documentation that I suppose to look at in the UMC download. Cause I'm starting to think I'm looking at the wrong place.


The Dry Boney that needs canon to make sig with sense,
But has a image sig.
*has SD card now*

Quote from: N64killer on June 30, 2014, 06:54:14 PM
I be honest with you is the documentation that I suppose to look at in the UMC download. Cause I'm starting to think I'm looking at the wrong place.
no, the only documentation I provide there is the SESv1 format... heh
the only documentation I really have is on my forum, though it's unfinished... sorry :(
http://tcll5850.proboards.com/thread/182/layout
^people were supposed to be working on this... >_>
(all they had to do was copy the comments from the 3.0 code, and write threads using them)

please be patient though, as this documentation will be written to be noob friendly ;)
I can only do so much by myself... heh

the current UMC download does not follow the standards of this documentation...
in fact... I didn't really have any standards defined until I started working on 3.0 ("dev5" at the time)

now I'm making ports of those functions
the export functions are pretty much finished except for materials currently (I'll have those when I release)
all I have left is the import functions to port.

I'm currently trying to run tests using the old SESv1 functions with the SESv1.1 export functions.
(just to make sure the export functions work before starting on the import functions)

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

The forum part is what confusing me because I went into this thinking it would be like mugen (a fighting game engine where you create the characters and stages) files like .cmd and .cns which have coding for whatever it is and your able to edit it using notepad. Take note I not trying to go off topic but using something that can be related to how the python thing your using for umc takes certain words to cue certain actions.
You understand what I mean right? 


The Dry Boney that needs canon to make sig with sense,
But has a image sig.
*has SD card now*

Quote from: N64killer on June 30, 2014, 08:03:29 PM
The forum part is what confusing me because I went into this thinking it would be like mugen (a fighting game engine where you create the characters and stages) files like .cmd and .cns which have coding for whatever it is and your able to edit it using notepad. Take note I not trying to go off topic but using something that can be related to how the python thing your using for umc takes certain words to cue certain actions.
You understand what I mean right? 
ah yea, and with the fact of my shelved 3D-MUGEN project, it comes as no surprize. :P

yeh, UMC is just nothing more than a basic model converter... heh

but yea, you do write and edit scripts using a text editor ;)
(IDLE preferred, till I release 3.0 with UMC_SIDE)

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

I'm about to download IDLE but since it packaged with python which version do I download? Since I'm pretty sure you use a certain one.


The Dry Boney that needs canon to make sig with sense,
But has a image sig.
*has SD card now*

Quote from: N64killer on July 01, 2014, 03:42:14 PM
I'm about to download IDLE but since it packaged with python which version do I download? Since I'm pretty sure you use a certain one.
the latest Python 2.7 ;)

yea, in IDLE, it's only good for the syntax highlighting...
UMC_SIDE by 3.0 will help builders be able to test their scripts. ;)

if you want to be a hardcore script builder, you can spend some time learning Python in codecademy :)
http://www.codecademy.com/en/tracks/python

basically, a UMC script IS a python script, but you don't use import or open()/file(), and everything needed is already handed to you in it's simplest form. :)
there are some occurrences where you may need to import, but file management is entirely done in UMC. ;)

I'm trying to work on simplifications for everything, so tell me if something's a little too complex for comfort. ;)

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

July 01, 2014, 07:43:32 PM #143 Last Edit: July 01, 2014, 07:58:23 PM by N64killer
Okay I'm looking at the python 2.7.7 shell thing right now. And I noticed in umc there is a mld0 format somewhat done I just wondering where that is at in function and that it what i should be editing/figuring out since I was going for a mdl0 format.  

EDIT: Just to point out when i press ctrl + e to export i keep getting this in umc on the python.exe i can't copy/paste this.

Something about traceback on these 2 files API.py in line 56, viewer.py in line 881, and COMMON.

saying UnboundLocalError: local variable 'COMMON' referenced before assignment
press enter to exit.



The Dry Boney that needs canon to make sig with sense,
But has a image sig.
*has SD card now*

Quote from: N64killer on July 01, 2014, 07:43:32 PM
Okay I'm looking at the python 2.7.7 shell thing right now. And I noticed in umc there is a mld0 format somewhat done I just wondering where that is at in function and that it what i should be editing/figuring out since I was going for a mdl0 format.


ah, you can find that in UMC/scripts/NTDO_MDL0.py
though with the current release, you can't export well enough...
(nothing more than what the OBJ format supports really)

this next release here soon should fix that as I've ported the export functions and am currently working on the import functions.
though right now I'm porting the OBJ script to test that the export functions at least work.

in the current version you have, the scripting interface didn't follow any standards, and as such it was designed horribly.


as for the error, I'll be sure to look into that ;)
not sure why that hasn't happened to me :/

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

So you already have it figured out have to fix the mdl0 for exporting into brawlbox? If so I'm not really needed then. Because I be honest i really wasn't sure on what I needed to do. 


The Dry Boney that needs canon to make sig with sense,
But has a image sig.
*has SD card now*

Quote from: N64killer on July 01, 2014, 08:29:44 PM
So you already have it figured out have to fix the mdl0 for exporting into brawlbox? If so I'm not really needed then. Because I be honest i really wasn't sure on what I needed to do. 
oh so that's what you wanted to learn the scripting for.
well, I havn't really been able to work on MDL0 exporting as I didn't have a solid interface.

if you want to help out with finishing the script, I can add you to my box :)
though it may take a bit before I have anything to test out the script on. >_>
(for one, the pointer system in 3.0 will help to do it properly)

but in any case, you lead me into believing you wanted to add a format to UMC. :P
again, please wait until the next release, where I'll have a solid scripting interface. ;)

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

update: (progress being made on the interface down-port)
http://tcll5850.proboards.com/thread/144/public-umc-discussion-thread?page=1&scrollTo=1042

once this gets fixed, I can start work on the material, texture, and image export functions, and then hit up the import interface as well as the header function.
(everything should work the same as it should (and more) in the 3.0 release) ;)
I also have to work on the data functions, which unfortunately won't be able to type-check like in 3.0...
the interface there is a bit complex to simply merge

so I can promise a release soon, but I can't say how soon :P

Post Merge: July 21, 2014, 02:56:03 PM

I... am an idiot *facepalms*
update:
http://tcll5850.proboards.com/thread/144/public-umc-discussion-thread?page=1&scrollTo=1043

and my last update is included with me being an idiot :P

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

September 27, 2014, 12:51:25 AM #148 Last Edit: September 27, 2014, 07:33:51 PM by Tcll
just switched to Linux :3
expect Wine support by the update ;3

*hopes this doesn't break windows support*
(I'll need to install a VM before I'll be able to test on XP64 again)

Why XP64 and not 7 or 8?
even through VM, I will never support MS's new RAT (Vista, 7, and 8).

other info:
apparently XP (x86 builds) also had a RAT interface that I just learned about...
csrss.exe, which provides network access to remote administration and allows processes to be started and overridden anonymously.

if it can be patched, great :)
I think XP64 already has it patched, and does not include the newer RAT.
(XP64 works on x86 systems)


EDIT:
already managed to get it working :3
http://tcll5850.proboards.com/thread/143/official-universal-converter-development-thread
though it's not very friendly as-is

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

so in other words... ur program wont work for Win7 or 8 users? if so, then thats an issue ur gonna have to handle as most ppl dont use XP anymore... as for me, I don't even know any1 that uses XP anymore lol
https://privateladyescorts.com - Free Local Dating - No Selfie - Anonymous Casual Dating -   Video Chat Private Lady