Register - Login
Views: 99379374
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
04-23-22 10:54:52 PM
Jul - SM64 Hacking (Archive) - Changing a stage's sky texture New poll - New thread - New reply
Next newer thread | Next older thread
lookoverthere
Random nobody
Level: 5


Posts: 1/3
EXP: 361
For next: 168

Since: 01-28-09


Since last post: 13.2 years
Last activity: 13.2 years

Posted on 01-28-09 03:10:27 AM Link | Quote
I understand that Toad's Tool currently does not edit the sky's actual textures in the texture editor. But can a stage's sky texture be changed to another stage's sky texture?

For example, I want the slide areas of Tall, Tall, Mountain to have the same blue sky texture as Bob-omb Battlefield instead of pitch black.
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 1951/12211
EXP: 99235485
For next: 638086

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 01-28-09 05:10:20 AM Link | Quote

Time/Date

01-27-09 11:10:20pm

Posts

1951

Days Here

574

Level

63
Metal_Man88
Local Moderator
I can't find a relevant topic this should belong in, so it's okay. Although if someone knows of a larger topic it could be put in that is relevant, feel free to note it.

(It has been a while since anyone has asked a relatively 'unique' question, heh)

____________________
Original Layout © Tobias Kelmandia
Stevoisiak
Member
Level: 38


Posts: 209/283
EXP: 345476
For next: 24971

Since: 11-22-07

From: New York, Long Island

Since last post: 12.3 years
Last activity: 5.6 years

Posted on 01-28-09 01:45:52 PM Link | Quote
Originally posted by Metal_Man88
I can't find a relevant topic this should belong in, so it's okay. Although if someone knows of a larger topic it could be put in that is relevant, feel free to note it.


Theres an older topic called background swapping. That may be a suitable place.

http://jul.rustedlogic.net/thread.php?id=3469
Me-me
340
Level: 41


Posts: 61/341
EXP: 461679
For next: 18466

Since: 08-05-07


Since last post: 9.7 years
Last activity: 8.1 years

Posted on 01-28-09 06:27:05 PM Link | Quote
Originally posted by lookoverthere
I understand that Toad's Tool currently does not edit the sky's actual textures in the texture editor. But can a stage's sky texture be changed to another stage's sky texture?

For example, I want the slide areas of Tall, Tall, Mountain to have the same blue sky texture as Bob-omb Battlefield instead of pitch black.


Not possible at the moment. However you can use this tool:

http://www.mediafire.com/?jdtdlmmjwoz

It changes all backgrounds into the boo's haunt one. You can somehow change that option though.
And one more thing: It doesn't change the slide backgrounds because the slides
doesn't have a background. I am unable to answer if this could be changed however.

____________________
Wow! SM64 is totally turned upside-down!
lookoverthere
Random nobody
Level: 5


Posts: 2/3
EXP: 361
For next: 168

Since: 01-28-09


Since last post: 13.2 years
Last activity: 13.2 years

Posted on 01-28-09 08:13:58 PM Link | Quote
Okay, looking through that old thread I found this.

Originally posted by VL-Tone
I've been working on the BG importer/exporter today, and I've built a more extensive version of the list messiaen posted there.

The list might be useful to those wanting to change backgrounds before TT64 v6.0 is released someday.

## | Level name             |area| Bank 0x0A         | ROM add of Cmd 0x19 and data

-----------------------------------------------------------------------------------
01 | Haunted House | 01 | 00C3AFD5-00C4F915 | 003837E0 : 190000 06 802763D4
02 | Cool Cool Mountain | 01 | 00B5D855-00B7D995 | 003961DC : 190000 04 802763D4
02 | Cool Cool Mountain | 02 | 00B5D855-00B7D995 | 003962A8 : 190000 01 00000000
03 | Inside Castle | 01 | No texture bank | 003D04F0 : 190000 01 00000000
03 | Inside Castle | 02 | No texture bank | 003D0948 : 190000 01 00000000
03 | Inside Castle | 03 | No texture bank | 003D0D00 : 190000 01 00000000
04 | Hazy Maze Cave | 01 | No texture bank | 003E75B0 : 190000 01 00000000
05 | Shifting Sand Land | 01 | 00C12E95-00C32FD5 | 003FBFF8 : 190000 05 802763D4
05 | Shifting Sand Land | 02 | 00C12E95-00C32FD5 | 003FC17C : 190000 01 00000000
05 | Shifting Sand Land | 03 | 00C12E95-00C32FD5 | 003FC23C : 190000 01 00000000
06 | Bob-Omb Battlefield | 01 | 00B35715-00B55855 | 00405F08 : 190000 00 802763D4
07 | Snow Man's land | 01 | 00B5D855-00B7D995 | 0040EC08 : 190000 04 802763D4
07 | Snow Man's land | 02 | 00B5D855-00B7D995 | 0040ECE4 : 190000 01 00000000
08 | Wet Dry World | 01 | 00BC2C15-00BE2D55 | 0041A608 : 190000 02 802763D4
08 | Wet Dry World | 02 | 00BC2C15-00BE2D55 | 0041A6D4 : 190000 01 00000000
09 | Jolly Roger Bay | 01 | 00B85995-00B9A2D5 | 00424558 : 190000 08 802763D4
09 | Jolly Roger Bay | 02 | 00B85995-00B9A2D5 | 0042463C : 190000 01 00000000
10 | Tiny Huge Island | 01 | 00B35715-00B55855 | 0042CD08 : 190000 00 802763D4
10 | Tiny Huge Island | 02 | 00B35715-00B55855 | 0042CDD4 : 190000 00 802763D4
10 | Tiny Huge Island | 03 | 00B35715-00B55855 | 0042CE9C : 190000 01 00000000
11 | Tick Tock Clock | 01 | No texture bank | 004377D8 : 190000 FF 00000000
12 | Rainbow Ride | 01 | 00BEAD55-00C0AE95 | 0044AB30 : 190000 03 802763D4
13 | Castle Grounds | 01 | 00B35715-00B55855 | 00454D3C : 190000 00 802763D4
14 | Bowser 1 Course | 01 | 00C57915-00C77A55 | 0045C598 : 190000 07 802763D4
15 | Vanish Cap | 01 | No texture bank | 00461448 : 190000 01 00000000
16 | Bowser's Fire Sea | 01 | 00BA22D5-00BBAC15 | 0046B000 : 190000 01 802763D4
17 | Secret Aquarium | 01 | 00BEAD55-00C0AE95 | 0046C330 : 190000 03 802763D4
18 | Bowser 3 Course | 01 | 00C7FA55-00C9FB95 | 00478438 : 190000 09 802763D4
19 | Lethal Lava Land | 01 | 00BA22D5-00BBAC15 | 0048D7D0 : 190000 01 802763D4
19 | Lethal Lava Land | 02 | 00BA22D5-00BBAC15 | 0048D890 : 190000 01 00000000
20 | Dire Dire Docks | 01 | 00B35715-00B55855 | 00495F40 : 190000 00 802763D4
20 | Dire Dire Docks | 02 | 00B35715-00B55855 | 00495FF0 : 190000 01 00000000
21 | Whomp's Fortress | 01 | 00BEAD55-00C0AE95 | 0049E668 : 190000 03 802763D4
23 | Castle Courtyard | 01 | 00B35715-00B55855 | 004AF8A8 : 190000 00 802763D4
24 | Peach's Secret Slide | 01 | No texture bank | 004B8030 : 190000 01 00000000
25 | Metal Cap | 01 | No texture bank | 004BEBA0 : 190000 01 00000000
26 | Wing Cap | 01 | 00BEAD55-00C0AE95 | 004C28A8 : 190000 03 802763D4
27 | Bowser 1 Battle | 01 | 00C57915-00C77A55 | 004C42B0 : 190000 07 802763D4
28 | Rainbow Clouds Bonus | 01 | 00BEAD55-00C0AE95 | 004CDB40 : 190000 03 802763D4
29 | Bowser 2 Battle | 01 | 00BA22D5-00BBAC15 | 004CEB98 : 190000 01 802763D4
30 | Bowser 3 Battle | 01 | 00C7FA55-00C9FB95 | 004D18A8 : 190000 09 802763D4
31 | Tall Tall Mountain | 01 | 00B35715-00B55855 | 004EBC80 : 190000 00 802763D4
31 | Tall Tall Mountain | 02 | 00B35715-00B55855 | 004EBD6C : 190000 01 00000000
31 | Tall Tall Mountain | 03 | 00B35715-00B55855 | 004EBDFC : 190000 01 00000000
31 | Tall Tall Mountain | 04 | 00B35715-00B55855 | 004EBE94 : 190000 01 00000000


One thing that messiaen left out in his original list is the fact that sub areas can have different background settings. Most of the time though, the sub-areas have no background (The exception is Tiny Huge Island, where area 2 has the same bg as area 1).

Areas that have no background still have a 0x19 command in the level geo layout script, but the last four bytes are set to "00000000" instead of "802763D4", and the one byte parameter before that is set to "01", except in the case of Tick Tock Clock, that has "FF" as a parameter for some reason. My list also include the ROM address of the related 0x19 command for each area, so you can find it easily if you want to change it.

Edit: fixed the 0x0A banks addresses.



Now, if I understand correctly, if I change this.

31 | Tall Tall Mountain | 01 | 00B35715-00B55855 | 004EBC80 : 190000 00 802763D4
31 | Tall Tall Mountain | 02 | 00B35715-00B55855 | 004EBD6C : 190000 01 00000000
31 | Tall Tall Mountain | 03 | 00B35715-00B55855 | 004EBDFC : 190000 01 00000000
31 | Tall Tall Mountain | 04 | 00B35715-00B55855 | 004EBE94 : 190000 01 00000000

to this

31 | Tall Tall Mountain | 01 | 00B35715-00B55855 | 004EBC80 : 190000 00 802763D4
31 | Tall Tall Mountain | 02 | 00B35715-00B55855 | 004EBD6C : 190000 00 802763D4
31 | Tall Tall Mountain | 03 | 00B35715-00B55855 | 004EBDFC : 190000 00 802763D4
31 | Tall Tall Mountain | 04 | 00B35715-00B55855 | 004EBE94 : 190000 00 802763D4

Then the game should load the blue sky instead?

If thats right, how would I go about changing those values? Would I use a hex editor or is it more complicated than that?
Stevoisiak
Member
Level: 38


Posts: 210/283
EXP: 345476
For next: 24971

Since: 11-22-07

From: New York, Long Island

Since last post: 12.3 years
Last activity: 5.6 years

Posted on 01-28-09 08:25:40 PM Link | Quote
Originally posted by lookoverthere
Okay, looking through that old thread I found this.

Originally posted by VL-Tone
I've been working on the BG importer/exporter today, and I've built a more extensive version of the list messiaen posted there.

The list might be useful to those wanting to change backgrounds before TT64 v6.0 is released someday.

*Alot of code and tecnical stuff*



Now, if I understand correctly, if I change this.

*More code*

to this

*Still more code*

Then the game should load the blue sky instead?

If thats right, how would I go about changing those values? Would I use a hex editor or is it more complicated than that?


I'm no pro, but that looks like hex to me, but to be safe, make a copy of your rom before modifying it in hex.
lookoverthere
Random nobody
Level: 5


Posts: 3/3
EXP: 361
For next: 168

Since: 01-28-09


Since last post: 13.2 years
Last activity: 13.2 years

Posted on 01-28-09 09:00:50 PM Link | Quote
Hey!



It worked! Thanks for the help everyone.
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 1961/12211
EXP: 99235485
For next: 638086

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 01-29-09 03:40:52 AM Link | Quote

Time/Date

01-28-09 09:40:52pm

Posts

1961

Days Here

575

Level

63
Metal_Man88
Local Moderator
Guess this thread will supersede that old one then. I'll edit the title so people know to look in here.

____________________
Original Layout © Tobias Kelmandia
uberoe
User
Level: 11


Posts: 10/17
EXP: 4810
For next: 1175

Since: 05-31-09


Since last post: 12.0 years
Last activity: 11.9 years

Posted on 06-19-09 02:33:51 AM Link | Quote
Also for anyone who is wondering, to change a main levels sky texture you will have to edit the commands in the 0x0A Bank not just this byte 190000 [06] 802763D4 because if you just change the byte the textures are still pointing to the same background so it will stay the same
Next newer thread | Next older thread
Jul - SM64 Hacking (Archive) - Changing a stage's sky texture New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

31 database queries, 3 query cache hits.
Query execution time:  0.090833 seconds
Script execution time:  0.026707 seconds
Total render time:  0.117540 seconds


TidyHTML vomit below
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 2 column 300 - Warning: unescaped & or unknown entity "&page"
line 119 column 11 - Warning: <form> isn't allowed in <table> elements
line 118 column 10 - Info: <table> previously mentioned
line 120 column 11 - Warning: missing <tr>
line 120 column 119 - Warning: missing </font> before </td>
line 124 column 16 - Warning: plain text isn't allowed in <tr> elements
line 120 column 11 - Info: <tr> previously mentioned
line 125 column 68 - Warning: missing </nobr> before </td>
line 141 column 68 - Warning: missing </nobr> before <tr>
line 147 column 35 - Warning: missing <tr>
line 147 column 50 - Warning: missing </font> before </td>
line 148 column 37 - Warning: unescaped & or unknown entity "&id"
line 147 column 201 - Warning: missing </font> before </table>
line 149 column 35 - Warning: missing <tr>
line 149 column 50 - Warning: missing </font> before </td>
line 149 column 91 - Warning: missing </font> before </table>
line 156 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 158 column 9 - Warning: missing <tr>
line 176 column 13 - Warning: missing <tr>
line 177 column 99 - Warning: unescaped & or unknown entity "&postid"
line 184 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 186 column 9 - Warning: missing <tr>
line 204 column 13 - Warning: missing <tr>
line 205 column 99 - Warning: unescaped & or unknown entity "&postid"
line 207 column 73 - Warning: <style> isn't allowed in <td> elements
line 207 column 9 - Info: <td> previously mentioned
line 207 column 960 - Error: <z> is not recognized!
line 207 column 960 - Warning: discarding unexpected <z>
line 207 column 982 - Warning: discarding unexpected </z>
line 207 column 1008 - Error: <z> is not recognized!
line 207 column 1008 - Warning: discarding unexpected <z>
line 207 column 1015 - Warning: discarding unexpected </z>
line 207 column 1045 - Error: <z> is not recognized!
line 207 column 1045 - Warning: discarding unexpected <z>
line 207 column 1051 - Warning: discarding unexpected </z>
line 207 column 1077 - Error: <z> is not recognized!
line 207 column 1077 - Warning: discarding unexpected <z>
line 207 column 1082 - Warning: discarding unexpected </z>
line 212 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 214 column 9 - Warning: missing <tr>
line 232 column 13 - Warning: missing <tr>
line 233 column 99 - Warning: unescaped & or unknown entity "&postid"
line 243 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 245 column 9 - Warning: missing <tr>
line 263 column 13 - Warning: missing <tr>
line 264 column 99 - Warning: unescaped & or unknown entity "&postid"
line 279 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 281 column 9 - Warning: missing <tr>
line 299 column 13 - Warning: missing <tr>
line 300 column 99 - Warning: unescaped & or unknown entity "&postid"
line 382 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 384 column 9 - Warning: missing <tr>
line 402 column 13 - Warning: missing <tr>
line 403 column 99 - Warning: unescaped & or unknown entity "&postid"
line 430 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 432 column 9 - Warning: missing <tr>
line 450 column 13 - Warning: missing <tr>
line 451 column 99 - Warning: unescaped & or unknown entity "&postid"
line 460 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 462 column 9 - Warning: missing <tr>
line 480 column 13 - Warning: missing <tr>
line 481 column 99 - Warning: unescaped & or unknown entity "&postid"
line 483 column 73 - Warning: <style> isn't allowed in <td> elements
line 483 column 9 - Info: <td> previously mentioned
line 483 column 960 - Error: <z> is not recognized!
line 483 column 960 - Warning: discarding unexpected <z>
line 483 column 982 - Warning: discarding unexpected </z>
line 483 column 1008 - Error: <z> is not recognized!
Tidy found 236 warnings and 8 errors! Not all warnings/errors were shown.

The alt attribute should be used to give a short description
of an image; longer descriptions should be given with the
longdesc attribute which takes a URL linked to the description.
These measures are needed for people using non-graphical browsers.

For further advice on how to make your pages accessible
see http://www.w3.org/WAI/GL.
You are recommended to use CSS to specify the font and
properties such as its size and color. This will reduce
the size of HTML files and make them easier to maintain
compared with using <FONT> elements.

You are recommended to use CSS to control line wrapping.
Use "white-space: nowrap" to inhibit wrapping in place
of inserting <NOBR>...</NOBR> into the markup.

About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://www.w3.org/Consortium

Do you speak a language other than English, or a different variant of
English? Consider helping us to localize HTML Tidy. For details please see
https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md