Kuribo64
Views: 19,851,742 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
03-28-24 06:13 PM
Guest:

0 users reading Scrolling Textures (BTK stuff) | 1 bot

Main - Archived forums - General SMG hacking - Scrolling Textures (BTK stuff) Hide post layouts | New reply

Pages: 1 2
Jesse
Posted on 11-09-14 10:28 PM (rev. 2 of 11-09-14 10:28 PM) Link | #51055


So I tried some theories I saw on this board, and there you go its possible and its very VERY easy. The thing that sucks though is that I suck at going advanced. I found bytes at the end of this file which can change the direction and how the animation goes.


4A 33 44 31 62 74 6B 31 00 00 01 40 00 00 00 01 53 56 52 31 FF FF FF FF FF FF FF FF FF FF FF FF 54 54 4B 31 00 00 01 0C 02 01 01 68 00 03 00 01 00 01 00 10 00 00 00 60 00 00 00 98 00 00 00 9C 00 00 00 B0 00 00 00 B4 00 00 00 C0 00 00 00 C4 00 00 00 C8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 01 00 00 00 01 00 02 00 00 00 01 00 01 00 00 00 01 00 01 00 00 00 01 00 02 00 08 00 01 00 01 00 00 00 01 00 01 00 00 00 01 00 02 00 00 00 01 54 68 00 00 54 68 00 01 FF FF C7 07 00 08 53 61 6E 64 52 69 76 65 72 5F 76 00 00 54 68 69 3F 00 00 00 3F 00 00 00 3F 00 00 00 3F 80 00 00 00 00 54 68 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 B4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 BC 63 8E 39 43 B4 00 00 C0 A0 00 00 BC 63 8E 39 00 00 00 00 00 00 FF FF 01 01 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
The underlined part is what I can change to make the animation different.

I made this video to make people interested in advanced custom models in mario galaxy. I don't know if this is done before but I hope there is someone who can help me out on decoding this format.

KoopaTroopaMan
Posted on 11-09-14 11:12 PM (rev. 4 of 11-10-14 04:56 PM) Link | #51056
Yeah, I'm laughing so hard.
Just look:

Hey is there anyway to implement scrolling textures or texture animations. I am trying to make a water fall.

People have been asking that for years. No there isn't, and there probably never will be either. Nobody has shown that they could put it to good use by being able to make good quality levels. There's been no use.
People has said it's hard and it wouldn't be possible. Just see now what Jesse did and how simple it was.

Anyway, now I may have to do it with Hot Lava Galaxy. This would be useful for 2.5's lava and poison level.

Splitwirez
Posted on 11-10-14 12:23 AM Link | #51062
[image]
YES! YES! YES! WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO SCROLLING AWESOME!!!!!

Agent000
Posted on 11-10-14 12:44 AM Link | #51063
2.5 needs scrolling textures for moving water so this is really cool :D

____________________
[image]
[image]
|AgentSplaturn| if someone uses an external hard disk to store porn on
|AgentSplaturn| is it their sex drive? ( ͡° ͜ʖ ͡°)
|skyluigi| agent that's one of the best quotes I've ever seen on this IRC

blank
Posted on 11-10-14 06:24 AM Link | #51070
BTK files are almost identical to BCK files, so documenting their format is not that hard. Here's the TTK1 section header:

Offset[/td]Size[/td]Description[/td][/tr]
0x00[/td]4[/td]Magic (TTK1)[/td][/tr]
0x04[/td]4[/td]Section size[/td][/tr]
0x08[/td]1[/td]Loop mode[/td][/tr]
0x09[/td]1[/td]Angle scale exponent[/td][/tr]
0x0A[/td]2[/td]Duration[/td][/tr]
0x0C[/td]2[/td]3 times the number of texture matrix animations[/td][/tr]
0x0E[/td]2[/td]Scale count[/td][/tr]
0x10[/td]2[/td]Rotation count[/td][/tr]
0x12[/td]2[/td]Translation count[/td][/tr]
0x14[/td]4[/td]Texture matrix animation offset[/td][/tr]
0x18[/td]4[/td]Index offset[/td][/tr]
0x1C[/td]4[/td]Material name offset[/td][/tr]
0x20[/td]4[/td]Texture matrix index offset[/td][/tr]
0x24[/td]4[/td]Center offset[/td][/tr]
0x28[/td]4[/td]Scale offset[/td][/tr]
0x2C[/td]4[/td]Rotation offset[/td][/tr]
0x30[/td]4[/td]Translation offset[/td][/tr]

But you should note that you can't use BTK animations with models created with obj2bdl as they don't use texture matrices.

Mixlas
Posted on 11-10-14 03:36 PM Link | #51075
This is fantastic!!!

BTW, how did you create the camera on the beautiful first planet?

cosmological
Posted on 11-10-14 03:40 PM Link | #51076
This is absolutely wonderful and will help out a ton with the One World Galaxy Hack. Now knowing that Scrolling textures are possible and have been implemented I think that will give a boost in moral to the 2.5 team.

Great job Jesse on getting this to work!

____________________
Long live the new Kuribo64

shibboleet
Posted on 11-10-14 04:12 PM Link | #51078
Posted by macdachs
This is fantastic!!!

BTW, how did you create the camera on the beautiful first planet?

noididlel

I'll make some editorz later on with this.

____________________
a

PaperplateismGuy
Posted on 11-10-14 06:54 PM Link | #51085
This is perfect! I will be able to use this for sure- especially on a few galaxies that plan to be released eventually :>

____________________
Remember, every user has to start out somewhere,- Every time I look back at my old posts, I cringe.



MK7tester
Posted on 11-11-14 04:55 PM Link | #51122
Looks pretty awesome! Finally we can make waterfalls!

Splitwirez
Posted on 11-11-14 05:03 PM Link | #51123
Posted by Silver
Looks pretty awesome! Finally we can make waterfalls!

And Trippy Rainbowy Disco planets!

KoopaTroopaMan
Posted on 11-11-14 06:04 PM Link | #51127
Posted by Splitwirez
Posted by Silver
Looks pretty awesome! Finally we can make waterfalls!

And Trippy Rainbowy Disco planets!

And quicksand, poison, water and slime!

Splitwirez
Posted on 11-11-14 06:57 PM Link | #51129
Posted by Rainbow Mario
Posted by Splitwirez
Posted by Silver
Looks pretty awesome! Finally we can make waterfalls!

And Trippy Rainbowy Disco planets!

And quicksand, poison, water and slime!

And Darkspore-inspired scrolling patterns!

Yeah, I'm the only one who gets that reference, aren't I?

TheSpeedyMouse
Posted on 11-12-14 03:13 AM Link | #51140
This... Is amazing!!! Man, so many things have been happening recently!

Glem3
Posted on 11-12-14 09:02 AM Link | #51142
Wow, awesome work! This can make for some really exciting new ideas.

Toadario64
Posted on 11-15-14 07:29 PM Link | #51218
Nice work!

KoopaTroopaMan
Posted on 11-15-14 07:34 PM Link | #51221
You could also tell us how to do it with hex editing in the BTK file Jesse.

Agent000
Posted on 11-29-14 06:38 PM Link | #51972
Posted by blank
But you should note that you can't use BTK animations with models created with obj2bdl as they don't use texture matrices.


Jesse is the planet in the video an existing one from the game or did you make it?

____________________
[image]
[image]
|AgentSplaturn| if someone uses an external hard disk to store porn on
|AgentSplaturn| is it their sex drive? ( ͡° ͜ʖ ͡°)
|skyluigi| agent that's one of the best quotes I've ever seen on this IRC

Marionumber1
Posted on 11-29-14 06:38 PM Link | #51973
Jesse, was your model custom? It looks like that, but blank said scrolling textures wouldn't work with imported models. And if it is custom, did it work on the Wii?

KoopaTroopaMan
Posted on 11-29-14 06:45 PM Link | #51975
The model was custom and he tested on Dolphin. I was there when he did.
Pages: 1 2

Main - Archived forums - General SMG hacking - Scrolling Textures (BTK stuff) Hide post layouts | New reply

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