Talk:SRT0 (File Format)

From Custom Mario Kart
Jump to navigation Jump to search

@Wiimm, as you can see I know little about the implementation here, but I do know the structure. I spotted this all by hand with very few examples, so they're may be complete mistakes or misinterpretations. I'm sure you can work your usual statistics magic to try to shed some light on all of those unknowns. The unknown animation type may well be shear, but I've never even viewed an animation back yet, so I could have the others wrong and not realise. I dervied some of this by looking and BrawlBox's implementation of CHR0, which is a fairly similar format.

Chadderz 10:17, 28 June 2011 (CEST)

I can't figure out what part controls which material is being animated. There is no offset leading to the name of the material at the end if the BRRES, and there seems to be no offset leading to the material itself in the mdl0.
Guilmon35249vr 20:46, 30 September 2011 (CEST)

As far as i know SRT0s are only for the speed. The BRRES say "this Polygon use animations and must use XXX SRT0.
Tock 21:28, 30 September 2011 (CEST)

I changed a value which lead to the name of a material (I realized that CTools put another value in the file that was subtracted from this to make the correct pointer) but it still had no effect. I'm changing course.srt0 in old_koopa_64.szs.
The value was 0780 because I deleted course2.srt0 and course.clr0. It pointed to i_yougan (the name of the lava material). I changed it to point to M_checkyuka (The finish line? material), but the lava was still animated.
Guilmon35249vr 22:55, 30 September 2011 (CEST)

Thats because the MDL0 points to the SRT0 if it say "polygon 1337 use a SRT0" :P
Tock 00:36, 1 October 2011 (CEST)

Which is odd, because I deleted SRT0s and the track still ran without them, just with no animations :P --Guilmon35249vr 02:14, 1 October 2011 (CEST)

That's because course_model.brres can run without them. When the MDL0 say "this polygon use a SRT0" but there is no it will be animated BUT because the SRT0 say the speed of it it will be a speed of 0. And 0 looks like a static polygon :P
Tock 12:27, 1 October 2011 (CEST)