Home Gallery Resources The Team Rules chat Login Register
  Show Posts
Pages:  1 ... 267 268 269 [270] 271 272 273 ... 276
4036  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 24, 2010, 06:04:47 PM
Kewl. I'm still working on getting the verts from the xml...
4037  Super Smash Bros. Brawl Hacking / General Hacking Discussion / Re: Nel Tu Model Import - Download for v0.3 is up! on: December 24, 2010, 05:19:49 PM
Added download for v0.3 Grin Wanted to work on it a little bit more though Sad I've got too many projects going on right now
4038  Help & Tutorials / Help / Re: Is it possible to combine models together? on: December 23, 2010, 07:28:11 PM
I believe it's possible. I'm attempting to merge some models to make Haruhi from Haruhi No Gekidou. I'll post if it works
4039  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 23, 2010, 02:55:33 PM
ok, now I gotta turn it into C#
4040  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 23, 2010, 12:39:49 PM
I figured out how the modifier works  AWESOME 2.0!

the modifier is only for 8bit or 16bit conversions
here's the vector conversion code:

def vec(dtyp,mult): #decide the type of conversion to use
            if dtyp==0 :return ui( fr.read(1) ) / ( float(2)^mult ) #fixed point ui8
            if dtyp==1 :return si8( fr.read(1) ) / ( float(2)^mult ) #fixed point si8
            if dtyp==2 :return ui( fr.read(2) ) / ( float(2)^mult ) #fixed point ui16
            if dtyp==3 :return si16( fr.read(2) ) / ( float(2)^mult ) #fixed point si16
            if dtyp==4 :return fl32( fr.read(4) ) #floating point fl32

'fr' is the mdl0
'dtyp' is the data type
'mult' is the modifier (multiplier)

when calling the code:
Quote
...
data_type = ui( fr.read(4) )
modifier = ui( fr.read(1) )

X = vec(data_type,modifier)
Y = vec(data_type,modifier)
Z = vec(data_type,modifier)

btw, this is for any vector (verts, normals, and UV's)

and yes, I comment like that in the code constantly

Holy -blam!- so I can use that in reverse to write the floats for the verts/normals/uvs in the hex?

hey BJ...
you were talking about animation converters...

well...
collada and directx(ascii) support animations,
and of course blend

I suppose I could write a converter for those...
blend files will have to be library-linked to be imported...
DAE and X files will have to be injected...

I brought that up because I need them...

Ok heck yeah do eet!

Btw, I got this collada loader to help me... I got it to read all the verts, materials, bone structure, etc from the xml!!!!!1
4041  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 22, 2010, 04:30:17 PM
Here I posted. You can post moar Tongue
Tell me how you converted it when it's done btw
(Where you read the bytes and where you put them in the xml and stuff)
4042  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 22, 2010, 11:29:18 AM



What's that relocation table for

apperently Pharrox was also working on dae to mdl0 conversion...


As stated in the OP

and I can read C++ better now Cheesy
everything is starting to make sense now Cheesy


It'd better Im srs here
lol

It's gonna be freakin' insane to build the bone structure... and everything in the mdl0 is linked to one another by an id... gonna have to use lots of variables in mah codez
4043  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 21, 2010, 11:07:50 PM
Yeah. You'll be able to import rigged characters.
4044  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 21, 2010, 12:42:33 PM
Well my main focus right now is DAE to MDL0. But hopefully I'll be able to add support for more formats later.
4045  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 20, 2010, 09:45:32 PM
Yep.
4046  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 20, 2010, 09:36:10 PM


lololololololololol

I gotz me the PMD editor source, so I should be able to get the offsets for everything from that... Luckily C# can't be written in Japanese Im srs here
4047  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 20, 2010, 09:22:19 PM
lol, gonna add .pmd to mdl0 after I finish .dae to mdl0 completely Grin
4048  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 20, 2010, 08:53:10 PM
You'll have to convert the 3ds to dae... Pretty sick tho

The release date is as soon as possible. I'm gonna give myself until Jan. 1st at minimum
and August 31st at latest. Any time between there I guess, it depends on how much time I have.

idk what Tcll's release date is
4049  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 20, 2010, 08:46:00 PM
so I'm gonna go through with it (:<


Haha that's my trademark smiley (:<
Yeah I've been waiting on it, but nobody stepped up.

4050  Super Smash Bros. Brawl Hacking / Programming / Re: About DAE to MDL0 Conversion on: December 19, 2010, 07:25:58 PM
Yep. Grin
Pages:  1 ... 267 268 269 [270] 271 272 273 ... 276