Kuribo64
Views: 19,855,952 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
03-29-24 12:03 PM
Guest:

0 users reading Editing Galaxy Banners | 1 bot

Main - Archived forums - SMG documentations and tutorials - Editing Galaxy Banners Hide post layouts | New reply


shibboleet
Posted on 08-03-14 07:17 PM (rev. 3 of 08-03-14 07:24 PM) Link | #45332
You know when you highlight a galaxy and it has a little banner that shows a image of the level? That's the galaxy banner. In this tutorial, you will learn how to extract them, or import your own.

You will need the zip with all of the tools.
Click here

Or if you want to convert it easier, use Anthe's converter.
Downoad

You also need a program that can read dds files (For just viewing) or one that can export TGA without RL Compression (I use GIMP 2.8)

Extracting


Open up the zip you have just downloaded. You should see btidump. (The other .cpp file for it is the source) Extract it to it's own folder.

Now, you have to go into ObjectData and find GalaxyInfoTexture.arc Extract it's contents and you should see a lot of btis, with the names corresponding to the galaxy. Now, drag the bti into btidump.exe, and you should get a DDS file. Now, find your image editor and open it up to view the amazing thing known as SMG2 banners. (It probably works the same way in SMG1, but I have to check.)

Importing Your Own


So you want to make your own, huh? Well don't worry, this is just as easy as extracting them.

You want to have a 256 x 72 image of your banner that you wish to convert. But take notice, that the left side of the banner fades to white in-game, so make sure to leave space to the left and keep most of your decor you want to show on the right.

Now, open your image editor. Once you have finished making your banner, you have to export it to TarGA (TGA) format. When you export, be sure to uncheck RL Compression.

Now, put the tga in the same folder as the tga2bti.exe.

Open up command prompt, and 'cd' to your directory with the tga and the program.
The syntax is this:

tga2bti.exe <flag> <inputTGA> <outputbti>
Although, outputbti is not required. It will just print the tga name.

The "flag" is the color format of the TGA. We want the 16-bit RGB, so our flag is -4A3. So, imagine I have a tga named "blarg"

tga2bti.exe -4A3 blarg.tga yaytutorial.bti

This would take the tga, and convert it to bti using 16-bit RGB. Then, name your BTI with it's corresponding galaxy and pack the GalaxyInfoTexture arc and test it out!


Or if you like stuff being easier, download Anthe's program and drag your PNG image into the exe, and pack as usual.

Any questions? Ask below.
~MrRean


____________________
a

SunakazeKun
Posted on 08-07-14 10:17 PM Link | #45841
The banner will be flipped verticaly when using Anthe's program...well that happend to me.



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


Anthe
Posted on 08-07-14 10:36 PM (rev. 2 of 08-07-14 10:42 PM) Link | #45842
lel lemme check that
[image]
This is the TGA the program creates before converting it. It is right side up. There must be some kind of issue on your side.

____________________
[image]

SunakazeKun
Posted on 08-07-14 10:45 PM Link | #45843
Okay, I thought there was something wrong with your program.
But I fixed it with flipping the images.



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


KoopaTroopaMan
Posted on 09-14-14 05:13 PM Link | #48185
Cannot you just open the BTI for the banner in SZS Explorer then import your own image that is 256 x 72 then save and repack?

NWPlayer123
Posted on 09-14-14 05:35 PM Link | #48187
Yes, that works too.


____________________
"I hate playing musical chats" ~ Quote of the month

KoopaTroopaMan
Posted on 09-14-14 05:47 PM (rev. 2 of 03-19-15 02:17 PM) Link | #48190
Yeah, much faster.

TheToxicRyu
Posted on 05-10-15 06:11 AM Link | #59681
tga2bti.exe crashes when i open it

____________________
NNID: Mariomon100
3DS Friend Code: 0473-8619-3062

KoopaTroopaMan
Posted on 05-10-15 06:21 AM Link | #59683
How do you open it? Just double clicking?

Anthe
Posted on 05-10-15 07:40 AM Link | #59686
How about learning how command line programs work first.

(call the program from command prompt, hint hint)

____________________
[image]


Main - Archived forums - SMG documentations and tutorials - Editing Galaxy Banners Hide post layouts | New reply

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