Views: 20,060,315 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-26-24 02:12 PM |
Guest: |
0 users reading Flying and Ice Mario | 1 bot |
Main - Archived forums - General SMG hacking - Flying and Ice Mario | Hide post layouts | New reply |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 9/709 EXP: 1239524 Next: 74665 Since: 07-07-12 Last post: 2218 days ago Last view: 593 days ago |
As some of you might know, one of my main goals in this project is to add Flying and Ice Mario into SMG2. I've managed to find the code that changes Mario's form, and with that knowledge, I was able to make the Fire Flower load Flying Mario. I've made a video, which can be seen here.
However, this is still imperfect, because it only works on Dolphin and is only a Fire Flower triggering Flying Mario. So if anyone has information that could help me get this working better, I would appreciate it. I'm also interested in getting Ice Mario working in SMG2. This is much harder, because Ice Mario's powers only work in levels with an Ice Flower. I was able to prove this by modifying brkirch's Spin to Fly code to give Mario the effects of the Ice Flower without collecting it. The video for that is here (sorry for the bad quality): The Ice Flower only worked in Beach Bowl, Freezeflame Star 1, and Freezeflame Star 3, all of which had Ice Flowers in the level. The code also worked in Deep Dark Star 2, and I was able to add an Ice Flower into Sea Slide, which allowed the code to work. So my goal is to add an Ice Flower into an SMG2 level. If anyone can help me with that, please feel free to help. |
Arisotura |
| ||
Star Mario in this room you have a pile of apple pies Level: 163 Posts: 490/9020 EXP: 56276866 Next: 210778 Since: 07-03-12 From: in a box Last post: 20 hours ago Last view: 20 hours ago |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 10/709 EXP: 1239524 Next: 74665 Since: 07-07-12 Last post: 2218 days ago Last view: 593 days ago |
That's because I changed the Fire Flower model to the Red Star. |
Arisotura |
| ||
Star Mario in this room you have a pile of apple pies Level: 163 Posts: 491/9020 EXP: 56276866 Next: 210778 Since: 07-03-12 From: in a box Last post: 20 hours ago Last view: 20 hours ago |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 11/709 EXP: 1239524 Next: 74665 Since: 07-07-12 Last post: 2218 days ago Last view: 593 days ago |
I explained in the description that I hacked the Fire Flower. |
Arisotura |
| ||
Star Mario in this room you have a pile of apple pies Level: 163 Posts: 492/9020 EXP: 56276866 Next: 210778 Since: 07-03-12 From: in a box Last post: 20 hours ago Last view: 20 hours ago |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 12/709 EXP: 1239524 Next: 74665 Since: 07-07-12 Last post: 2218 days ago Last view: 593 days ago |
It would definitely not be easy, but we could possibly figure out enough to add custom powerups. I already know where some of the powerup code is located, so we could work from there. |
Stygmax |
| ||
SMG2.5 Cartographer Level: 88 Posts: 78/2178 EXP: 6558162 Next: 92502 Since: 12-02-12 Last post: 398 days ago Last view: 398 days ago |
I hope this comes to fruition. We could really incorporate this into some level designs like Flarefrost for SMG2.5. Status: It was really, really fun, guys - thanks for the ride!
|
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 20/709 EXP: 1239524 Next: 74665 Since: 07-07-12 Last post: 2218 days ago Last view: 593 days ago |
I've thought of a possible reason why Flying Mario doesn't work on the Wii. Remembering how the Ice Flower only worked in levels that had an Ice Flower in it, how brkirch's code doesn't transform Mario into a new form unless the power-up is in the level, and how when I tried to make the Fire Flower load any power-ups besides Fire and Flying Mario, it didn't work, I thought of this possibility.
Flying Mario doesn't work on the Wii because there's no Red Star in the level. The reason that the hack worked on Dolphin is because Fire Mario and Flying Mario both use the same model but with different textures, so Dolphin's emulated processor sees them as the same power-up. The solution is to make the Red Star load in the level. |
Arisotura |
| ||
Star Mario in this room you have a pile of apple pies Level: 163 Posts: 551/9020 EXP: 56276866 Next: 210778 Since: 07-03-12 From: in a box Last post: 20 hours ago Last view: 20 hours ago |
I'd rather say that the powerup objects are what load the appropriate resources for a certain powerup to work.
Also, I fail to see how Dolphin's emulated processor could see models. All it sees is a flow of instructions. ____________________ NSMBHD - Kafuka - Jul melonDS the most fruity DS emulator there is zafkflzdasd |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 21/709 EXP: 1239524 Next: 74665 Since: 07-07-12 Last post: 2218 days ago Last view: 593 days ago |
The idea is that the code to transform them is probably the same function for both Fire and Flying Mario. |
Stygmax |
| ||
SMG2.5 Cartographer Level: 88 Posts: 117/2178 EXP: 6558162 Next: 92502 Since: 12-02-12 Last post: 398 days ago Last view: 398 days ago |
So how does one place the Red Star in a level? Status: It was really, really fun, guys - thanks for the ride!
|
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 22/709 EXP: 1239524 Next: 74665 Since: 07-07-12 Last post: 2218 days ago Last view: 593 days ago |
You would have to place MorphItemNeoFoo into the level. I've tried doing that before, but the Red Star hasn't shown up. However, it may be enough to just place that object in the level and use my hack to make the Fire Flower load Flying Mario. |
Stygmax |
| ||
SMG2.5 Cartographer Level: 88 Posts: 125/2178 EXP: 6558162 Next: 92502 Since: 12-02-12 Last post: 398 days ago Last view: 398 days ago |
But can you ASM hack to not replace the Fire Flower? If we want to use this in the final product than we need the Fire Flower too. Status: It was really, really fun, guys - thanks for the ride!
|
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 23/709 EXP: 1239524 Next: 74665 Since: 07-07-12 Last post: 2218 days ago Last view: 593 days ago |
I'll have to figure out how to make the Red Star load first. For now, we'll need to use the Fire Flower.
Also, it turns out that my theory is correct. In SMG1, I tried to make the Fire Flower load Ice Mario. This froze the game in Freezeflame Star 2, but in Freezeflame Star 3, which has both the Fire Flower and Ice Flower, the Fire Flower turned me into Ice Mario. This makes me believe that in SMG1, Mario can only change his model if the corresponding power-up is in the level. However, in SMG2, this changed so that Fire and Flying Mario also count as model changes. But despite this, Dolphin somehow manages to ignore this part of the code, allowing you to successfully make any power-up load Fire and Flying Mario. Thinking about this, it also means that either the power-ups in the level load the assets that are required, or Nintendo just didn't allow you to change your form unless the power-up was in the level. The first option seems more likely, because the game freezing seems to indicate that some sort of exception has occurred. A possibility is that every power-up loads the models for Mario's form ahead of time, so that the game won't have to read them from the disc while the level is loaded. |
Stygmax |
| ||
SMG2.5 Cartographer Level: 88 Posts: 126/2178 EXP: 6558162 Next: 92502 Since: 12-02-12 Last post: 398 days ago Last view: 398 days ago |
So, how will we put powerups in levels that weren't meant to have them? Because that's kinda a big part of many level designs. Status: It was really, really fun, guys - thanks for the ride!
|
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 24/709 EXP: 1239524 Next: 74665 Since: 07-07-12 Last post: 2218 days ago Last view: 593 days ago |
I'll first have to figure out what assets Flying and Ice Mario need. Once I know all of them, I'll be able to load them in the level. We should start by working on a list of every file that they need. |
Stygmax |
| ||
SMG2.5 Cartographer Level: 88 Posts: 128/2178 EXP: 6558162 Next: 92502 Since: 12-02-12 Last post: 398 days ago Last view: 398 days ago |
Maybe a special tag or a category in the ObjectDatabase so they'd be easier to search for? Status: It was really, really fun, guys - thanks for the ride!
|
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 201/4661 EXP: 20893372 Next: 337894 Since: 07-07-12 Last post: 1350 days ago Last view: 363 days ago |
You need:
-Textures -Animations -FooLine I'll think of more later. ____________________ a |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 25/709 EXP: 1239524 Next: 74665 Since: 07-07-12 Last post: 2218 days ago Last view: 593 days ago |
To keep it organized, post that information on the Power-ups Wiki page. |
Main - Archived forums - General SMG hacking - Flying and Ice Mario | Hide post layouts | New reply |
Page rendered in 0.034 seconds. (2048KB of memory used) MySQL - queries: 28, rows: 232/232, time: 0.010 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |