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

0 users reading How to use BTK files [BETA TUTORIAL AVAILIBLE] | 1 bot

Main - Misc. ROM hacking - How to use BTK files [BETA TUTORIAL AVAILIBLE] Hide post layouts | New reply

Pages: 1 2
Super Hackio
Posted on 07-20-17 06:07 PM (rev. 3 of 07-20-17 09:29 PM) Link | #84864



BTK files... the files that Control Scrolling textures... Not many people know how to use...

They are easy though... see? VVVVVV

(Oh, And preview of Space War Star 2 ;))

So here you go, as requested by JakoNintenCraft, HOW TO USE BTK FILES!! (Scrolling textures)

To start, Download THIS template.

Once you have the template, you can open the ZIP file and edit the image inside. Looking at the grayscale image though, you might notice a upside-down triangle. the texture will move in the direction of the arrow, so make your texture accordingly! (BTW, rotating the arrow will NOT change the scrolling direction) Once you have your texture, you can make a model in blender. To assign your moving texture (image must stay in PNG format) add a material to the model with the texture assigned. Just be sure you name the material "SandRiver_v" Without quotes, obviously.

OBJExport your model and package it into an ARC alongside the BTK file. (which must be named according to your model)
Now add it to the PlanetMapDataTable and place it in the game.

ABOVE IS THE BETA TUTORIAL.^^^^

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

SunakazeKun
Posted on 07-20-17 06:08 PM Link | #84865
Interesting... Now we know how to use and edit BTK files!!



Youtube | Github | Neo Mario Galaxy | Super Mario Galaxy & Super Mario 3D Land Modding


TheSunCat
Posted on 07-20-17 06:40 PM Link | #84870
We will finally be able to make animated WorldMap icons!



Post++ ohgosh

Super Hackio
Posted on 07-20-17 07:07 PM Link | #84873



Updated with the alpha version. some things may not make sense...

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

JakoNintenCraft
Posted on 07-20-17 07:54 PM (rev. 2 of 07-20-17 09:53 PM) Link | #84876
Yes!!! Gracias señor, you have given me excitement and hope.

EDIT: ALSO you should probably set the scrolling water to the shallow water collision type. Just sayin'.

____________________
Irony is the spice of life.

You're inside a simulation, of a simulation, inside a simulation, of a simulation, inside the Matrix, inside a taco, inside a taco, within a Taco Bell, that's inside a KFC, within a mall, that's INSIDE YOUR BRAIN!; inside another giant simulation!


Super Hackio
Posted on 07-20-17 10:03 PM Link | #84881



Which one is that? I already tried waterlow

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Jesse
Posted on 07-20-17 10:28 PM Link | #84882
in this thread is some more info if you need it https://kuribo64.net/board/thread.php?id=1813

Super Hackio
Posted on 07-20-17 10:47 PM Link | #84883



I think he meant the KCL, but yeah.

If someone can figure out how to do more with the file, let me know and I'll update the tutorial. (Get enough info and I'll create a tool!)

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

SunakazeKun
Posted on 07-20-17 11:26 PM Link | #84884
https://github.com/blank63/j3dview/tree/master/j3d
You can find the information about most of the J3D formats here, including BTK and BRK. The only format that is missing is tlk1 (BLK file), I think,



Youtube | Github | Neo Mario Galaxy | Super Mario Galaxy & Super Mario 3D Land Modding


Super Hackio
Posted on 07-20-17 11:40 PM Link | #84885



Posted by SunakazeKun
https://github.com/blank63/j3dview/tree/master/j3d
You can find the information about most of the J3D formats here, including BTK and BRK. The only format that is missing is tlk1 (BLK file), I think,

Nice! I will read this while I wait for my USMB ISO to finish compiling.

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

MeTheMarioMan
Posted on 07-21-17 11:58 PM Link | #84934
So how exactly are you able to change the speed and direction?

Super Hackio
Posted on 07-22-17 12:08 AM Link | #84935



that's... what I can't figure out. I'm not the best HEX editor. :P

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

Jesse
Posted on 07-22-17 06:46 AM Link | #84951
Thats why I meant you can find more info on that page, I wasn't even talking to a specific person. SunakazeKun also posted a link which reveals basically everything you need https://github.com/blank63/j3dview/tree/master/j3d

The guy is reading a translation vector here I think, so with a bit of effort I think you can figure this out by that source alone.

texture_matrix_animation.translation_x = component_animations[3*i].translation
texture_matrix_animation.translation_y = component_animations[3*i + 1].translation
texture_matrix_animation.translation_z = component_animations[3*i + 2].translation

blank also gave some info about the header in that thread I linked https://kuribo64.net/board/thread.php?pid=51070#51070

MeTheMarioMan
Posted on 07-22-17 03:56 PM Link | #84973
Okay well after fumbling with hex editing for a while I figured out what I was trying to do.

These values:

BC 63 8E 39 43 B4 00 00 C0 A0 00 00 BC 63 8E 39

which Jesse discovered indeed do change the direction and animation and all that. But I was only trying to edit those, and it wasn't until I changed values in the TTK1 header that I could actually get it to work and not look weird. Pretty sure I changed the translation count, section size, and duration according to blank's chart. I'll eventually post a video showing it off.

Super Hackio
Posted on 07-22-17 04:15 PM Link | #84984



Yay! More info about the file has come about! :D (This is good for the SMG hacking scene!)

It's good you managed to get it to work. My image would just not move at all when I tried. XD

____________________
SMG RUN Progress: Not available here, for more information, check my Youtube Channel

MeTheMarioMan
Posted on 07-23-17 05:37 PM Link | #85049
Posted by MeTheMarioMan
I figured out what I was trying to do.

Actually never fucking mind. Everything works fine on Dolphin, which is what I was testing on for convenience, but when I test on an actual Wii, the scrolling textures work fine, but Mario won't respawn when he dies. This happens with both my edited btk and the template btk.

JakoNintenCraft
Posted on 07-23-17 07:10 PM (rev. 2 of 07-23-17 07:11 PM) Link | #85061
Posted by MeTheMarioMan
Actually never ******* mind. Everything works fine on Dolphin, which is what I was testing on for convenience, but when I test on an actual Wii, the scrolling textures work fine, but Mario won't respawn when he dies. This happens with both my edited btk and the template btk.

Ummm, I don't think that's what's causing the respawn issue. Is this the only thing you changed when you tested this or did you add or remove objects from the level during the addition?

EDIT: Also when Jesse made that video showing off scrolling textures, didn't that happen on an actual console?

____________________
Irony is the spice of life.

You're inside a simulation, of a simulation, inside a simulation, of a simulation, inside the Matrix, inside a taco, inside a taco, within a Taco Bell, that's inside a KFC, within a mall, that's INSIDE YOUR BRAIN!; inside another giant simulation!


MeTheMarioMan
Posted on 07-23-17 07:33 PM Link | #85066
It was the only thing I changed. Mario doesn't respawn when I have the btk in my model's arc file, but I took the btk out and that caused the respawn issue to not be present.

And regardless if Jesse got his working on the Wii or not, I'm sure it's my model at fault. I'm sure there's some bytes that need to be changed to get it to work or something, but I just don't know.

Jesse
Posted on 07-24-17 08:07 AM Link | #85090
https://kuribo64.net/board/thread.php?pid=52014#52014

MeTheMarioMan
Posted on 07-24-17 04:56 PM Link | #85100
I fixed Mario not respawning because one of my models was being dumb.

But now, I have a conundrum that is explained in this video:
Pages: 1 2

Main - Misc. ROM hacking - How to use BTK files [BETA TUTORIAL AVAILIBLE] Hide post layouts | New reply

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