Views: 22,896,704 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
10-07-24 10:36 AM |
Guest: |
0 users reading ASM requests | 1 bot |
Main - General SM64DS hacking - ASM requests | Hide post layouts | New reply |
Splatterboy |
| ||
Member Normal user Level: 13 Posts: 17/31 EXP: 9857 Next: 410 Since: 11-02-15 Last post: 1224 days ago Last view: 408 days ago |
I have trouble creating ASM hacks, this is because I understand nothing about code.
That's why I'm looking for kind people that are willing to create a few ASM hacks for my upcoming hack: Super Mario 64 DS 2: a new adventure. Here are a few things I need: 1. make it so that whenever you save and exit, you keep your lifes instead of reverting them back to 4. 2. for tiny huge island (and other levels with sub areas), make it so whenever you switch sizes, silver stars dont respawn 3. skip the intro cutscene 4. remove the 100 coin stars 5. add a 8th star to each of the 15 main courses 6. make it so that whatever character hits a ? block with a feather inside gets the feather, not Mario only. And you will be credited in all hacks that use the ASM code you created. |
Gota7 |
| ||
Paragoomba Star Wolf Level: 18 Posts: 63/66 EXP: 28054 Next: 1843 Since: 04-09-17 From: Same as above. ^ Last post: 2195 days ago Last view: 1440 days ago |
You can't just expect people to just make ASM for you, especially since a lot of these things are very ambitious. Here is what I know of so far:
1. That requires editing how the game saves and loads saves. A lot of work. Same goes for 5. 5 is even worse because the game will need to actually have to be able to count it, and another star would have to be added to the selection screen. 2. Kinda counter intuitive, but just use red-coins. Idk how this works at all. 3. Already has been done, you just haven't look hard enough. It's in the Additional Patches in the editor itself. 4. I'm sure this shouldn't be too hard, just overwrite some code somewhere. 6. I want this too, so if I do make it, I'll share the code. However, it requires object hacking which I don't know much about. But the best solution is to actually go and learn assembly. Look up some ARM assembly tools. Once you do that, you can learn how inserting custom code works with NSMBe's make and insert. Start out with simple hacks like changing the number of lives or coins, then make you lose a life when you get a coin, etc. Join the SM64DS Hacking Discord: https://discord.gg/PhpA9Wt |
Thierry |
| ||
Normal user Level: 50 Posts: 352/577 EXP: 901482 Next: 45835 Since: 03-08-13 Last post: 5 days ago Last view: 4 days ago |
Posted by Splatterboy rather than removing the 100 coins stars and adding another star to each level, how about changing the cue that spawns the star? |
Splatterboy |
| ||
Member Normal user Level: 13 Posts: 18/31 EXP: 9857 Next: 410 Since: 11-02-15 Last post: 1224 days ago Last view: 408 days ago |
Posted by Gota7 So 1 and 5 are too hard (especially 5). For 2 I can always use Red Coins I guess. 3 is already in the editor so no problems. For 4 I'm going to try and learn ASM sometime. And if you ever make and share code for 6, it would be really appreciated. And I've already watched some tutorials of you online on how to compile and insert code. |
StarPants |
| ||
Red Koopa Normal user Level: 24 Posts: 108/124 EXP: 76879 Next: 1246 Since: 04-12-16 Last post: 1535 days ago Last view: 2 days ago |
1. As others said, this is hard but i might want to try it in the future
2. Tiny and huge islands are different levels, so the silver stars kinda have to respawn unless you do some trickery. Even if they didn't, it wouldn't work so well. If you switched from huge to tiny, the stars would be too far away from the mountain to collect, and if you switched from tiny to huge they would be inside the mountain. You would have to make it so that their position vectors are divided and multiplied accordingly when changing the level. 3. As Gota said there's an additional patch for that, but i personally prefer asm patches so i've made a one that does the same thing: /*overwrite
ovr_02013df4: orr r1, r1, #0x88 overwrite*/ 4. I made a code for this because it felt interesting /*overwrite
ovr_020b1950_ov_02: add r13, r13, #0x18 pop {r4, r14} bx r14 overwrite*/ 6. dy has already found out what needs to be changed in here |
mibts |
| ||
Panser =Josh65536 (Programmer) Level: 39 Posts: 328/331 EXP: 383449 Next: 21322 Since: 08-31-13 Last post: 2112 days ago Last view: 89 days ago |
#1 should just be a matter of storing the life counter at a certain offset in the RAM save (there's a free byte) and loading it from there instead of loading a constant 4.
#2 is problematic because you can lose silver stars in SM64DS. If the silver stars respawn, you could collect a 6th silver star, which either true-softlocks (weird true softlock, as you can control the character!) or crashes the game, I forgot which. If they don't respawn, you could accidentally lock yourself out of a star. #3 is a patch, as others have mentioned. #4: Look at the above post. #5 would require adding a star to the star select (better be good at 3D graphics manipulation) and the hub pause menu top screen (better be good at 2D graphics manipulation), and removing all "starID == 0" checks that rely on it being a 100-coin star. In addition, any place where the star isn't counted (for being a 100-coin star) would have to actually count it. At least you wouldn't have to mess with save data. Adding a 9th star would be a whole nother story. #6: Look at the above post. ____________________ Current hack: Excerpt from Super Mario 256 |
Splatterboy |
| ||
Member Normal user Level: 13 Posts: 19/31 EXP: 9857 Next: 410 Since: 11-02-15 Last post: 1224 days ago Last view: 408 days ago |
1. Maybe I will add it later if someone figures this out
2. I'm going to use Red Coins. 3. StarPants code 4. StarPants code 5. is way too hard so I will scratch that. 6. I'm trying it right now. Edit: 6. is not working, could someone please help me? |
StarPants |
| ||
Red Koopa Normal user Level: 24 Posts: 109/124 EXP: 76879 Next: 1246 Since: 04-12-16 Last post: 1535 days ago Last view: 2 days ago |
Those images dy posted show what needs to be changed, but not excactly how. I made this code based of them since i'm probably gonna need it too at some point
/*overwrite @ Spawn a feather and not a power flower ovr_02149ab0_ov_66: mov r4, #0 b 0x02149ac4 @ Don't despawn it if the player isn't Mario ovr_020b2ed0_ov_02: cmp r0, r0 @ Give wings if collected ovr_020e03e4_ov_02: cmp r0, r0 overwrite*/ |
Gota7 |
| ||
Paragoomba Star Wolf Level: 18 Posts: 64/66 EXP: 28054 Next: 1843 Since: 04-09-17 From: Same as above. ^ Last post: 2195 days ago Last view: 1440 days ago |
Lol, StarPants Ninja'd me when I was making the code. :p
@ Make conditional check for Mario never despawn feather. ovr_020B2ED4_ov_02: nop @ Pretend Mario is getting the wings. ovr_020E03E4_ov_02: mov r0, #0x0 @ Same thing as above, but for ? boxes. ovr_02149AAC_ov_66: mov r4, #0x0 Join the SM64DS Hacking Discord: https://discord.gg/PhpA9Wt |
Thierry |
| ||
Normal user Level: 50 Posts: 353/577 EXP: 901482 Next: 45835 Since: 03-08-13 Last post: 5 days ago Last view: 4 days ago |
further commenting on #2
just saying, but even if it worked the mountain isn't a good place for silver stars as they can.. fall off into oblivion. also, a rookie player would not know about switching areas to respawn them, so they'd end up confused. even ASM aside, it's too much trouble for what it's worth. |
StarPants |
| ||
Red Koopa Normal user Level: 24 Posts: 110/124 EXP: 76879 Next: 1246 Since: 04-12-16 Last post: 1535 days ago Last view: 2 days ago |
he's most likely to replace the level model with something else, i was dumb writing my first post lol
but there's still a problem of silver stars getting stuck inside walls unless the two levels are gonna be the same model with different textures or something |
Splatterboy |
| ||
Member Normal user Level: 13 Posts: 20/31 EXP: 9857 Next: 410 Since: 11-02-15 Last post: 1224 days ago Last view: 408 days ago |
Thanks StarPants and Gota7!
I'm fine for now, thanks for the help. |
Shugabush |
| ||
Member Normal user Level: 19 Posts: 57/76 EXP: 33030 Next: 2747 Since: 12-18-17 Last post: 1424 days ago Last view: 342 days ago |
oh hey if no one else said skip intro is in the additional patches tab. it should be compatible with all versions. ____________________ check out my CLPS Document: https://docs.google.com/document/d/11tHJ77km4EPITucU9RMdhW5ImPEvCyxPxUAbxqzm6Ks/edit |
Main - General SM64DS hacking - ASM requests | Hide post layouts | New reply |
Page rendered in 0.036 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 223/223, time: 0.012 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |