Pages: « 123
Posted on 02-07-16, 05:22 pm (rev. 2 by  MeroMero on 02-07-16, 07:59 pm)
Death by cuteness

Karma: 6554
Posts: 346/598
Since: 05-01-13
Hidden parameters on existing sprites found thanks to No$GBA Debugger:

Sprite 277
Nybble 4 is actually the Layer priority.
It can accept values between 0 and F, a modulo 3 is applied.
0: Model layer 1: Tileset layer 2: Foreground layer 3: Background layer


Sprite 93
Nybble 9:
A positive value means the sprite will be shifted by X pixels to the right.
A negative value means the sprite will be shifted by X pixels to the left.
To get the actual value used by the game, multiply by 4096 (0×1000).
0: 0 1: -32 2: +32 3: +8192 4: +393220 5: -393208 6: -131060 7: 0 8: -32 9: -64 A: -96 B: 0 C: -4 D: -8 E: -12 F: -16


Nybble 10:
A positive value means the sprite will be shifted by X pixels up.
A negative value means the sprite will be shifted by X pixels down
To get the actual value used by the game, multiply by 4096 (0×1000).
0: 0 1: -32 2: -64 3: -96 4: 0 5: -4 6: -8 7: -12 8: -16 9: -24 A: -20 B: 0 C: -4 D: 4 E: -8 F: 8
Posted on 02-07-16, 10:18 pm
Birdo


Karma: 2754
Posts: 1553/2091
Since: 06-26-11
Nice work! But what is with the 8-9 setting entered into the spritedb for the sprite 93?
Posted on 02-08-16, 08:17 pm
Death by cuteness

Karma: 6554
Posts: 347/598
Since: 05-01-13
Batch 3:

Sprite 28
Nybble 4: Behavior
0:Default,
4:Pipe generator,
2:Self-destructs (240 frames),
8:Self-destructs (241 frames)

Nybble 11: Pipe generator direction
0:Up,
1:Down,
2:Left,
3:Right



Sprite 34
Nybble 7: Switch mode
0:Do nothing,
1:P-Switch,
2:!-Switch,
4:Red Blocks only,
5:P-Switch + Red Blocks,
7:All

Nybble 8: Activation mode
0:During timer,
2:After timer



Sprite 37
Nybble 11: Cancelled out by the code, as far as I noticed.



Sprite 194
Nybble 11: Cancelled out by the code, as far as I noticed.

Posted by Hiccup
Nice work! But what is with the 8-9 setting entered into the spritedb for the sprite 93?

AFAIK this parameter was always like this since the 2nd revision.
Posted on 02-13-16, 03:47 pm (rev. 1 by  MeroMero on 02-14-16, 12:54 pm)
Death by cuteness

Karma: 6554
Posts: 357/598
Since: 05-01-13
Child Actors internal Data when spawned by Parent Actors:



Flame Chomp (Actor 108) when spawned by its spawner (Actor 107)
00 00 00 00 00 00


Flame (Actor 109) when spawned by Flame Chomp (Actor 108)
00 00 00 00 00 00


Cork (Actor 203) when spawned by Corked Pipe (Actor 204)
00 00 00 00 00 00


Pump (Actor 205) when spawned by Corked Pipe (Actor 204)
00 00 00 00 00 00


Mini Blooper (Actor 146) when spawned by Blooper Nanny (Actor 145)
00 00 00 00 0F F0
00 00 00 00 0F F1
00 00 00 00 0F F2
00 00 00 00 0F F3


Snowball (Actor 156) when spawned by Snow Spike (Actor 155)
00 00 00 00 00 00


Spiny (Actor 40) when spawned by Lakithunder (Actor 129)
00 00 00 00 90 01


Thunder (Actor 97) when spawned by Lakithunder (Actor 129)
00 00 00 00 00 00


Bowser Jr. (Actor 113) when spawned by Final Boss Controller (Actor 116)
00 00 01 00 00 00


Big Bowser (Actor 133) when spawned by Final Boss Controller (Actor 116)
02 00 00 00 00 01


Fireball (Actor 78) when spawned by Bowser (Actor 131)
00 00 00 00 00 00


Fireball (Actor 78) when spawned by Dry Bowser (Actor 132)
00 00 10 00 00 00


Fireball (Actor 78) when spawned by Big Bowser (Actor 133)
00 00 20 00 10 01

00 00 20 09 E0 03
00 00 20 08 B8 03
00 00 20 07 97 03
00 00 20 06 68 03
00 00 20 05 40 03

00 00 20 00 00 02
00 00 20 00 00 01
00 00 20 00 01 02
Posted on 02-18-16, 04:03 am
Red Paratroopa
Friend of N64s and DSes

Karma: 516
Posts: 96/171
Since: 07-26-15
I noticed something when placing the unused jungle effect in a view with poisoned water, it actually changed the poisoned water to regular looking water with the poisoned water visual effects(bubbling, etc.) and it behaved like regular water as well. Now, I'm not sure if this has actually been mentioned, but I think that it is worth saying if it hasn't.
_________________________
My Youtube Channel
Never use a flash drive unless you are transferring files...
Posted on 02-18-16, 06:53 am
Banned for being a complete idiot.

Karma: 529
Posts: 984/987
Since: 07-09-11
Posted by Hiccup
There is are links to tutorials in the first post. Class ID Tool doesn't work anymore, I recommend the manual (hex editing) method. Easy once you've got the hang of it, especially if you use a good hex editor.

I'm confused. Shouldn't ClassID Tool still work if the tutorial still applies? I'm willing to fix ClassID Tool if that's not the case.

Also, the ClassID Tool thread is the trash for some reason: http://nsmbhd.net/thread/665-nsmb-tools-classid-tool/. For those who still want the binaries, the download links still work (scroll to the last post in the thread).

Posted on 02-18-16, 10:34 am
Birdo


Karma: 2754
Posts: 1559/2091
Since: 06-26-11
Please do fix it. I'm not 100% sure what is wrong, but I think that it tries to read files off the web that don't exist.
Posted on 02-19-16, 12:09 am
Banned for being a complete idiot.

Karma: 529
Posts: 986/987
Since: 07-09-11
Posted by Hiccup
Please do fix it. I'm not 100% sure what is wrong, but I think that it tries to read files off the web that don't exist.


Here's the new thread for the updated Class ID Tool
Posted on 03-25-16, 05:20 pm
Fire Brother
Eugene

Karma: 3646
Posts: 688/1120
Since: 11-29-11
Could we somehow change the behaviour of Bowser Jr in the Final Boss Battle?

It would be nice if we could make him jump (as in W8's Towers) to make the boss battle harder.
Posted on 08-22-16, 03:47 pm (rev. 1 by  MeroMero on 08-22-16, 03:49 pm)
Death by cuteness

Karma: 6554
Posts: 550/598
Since: 05-01-13
Thanks to the nsmb ida database, I compiled the list of all Actors with their corresponding overlays, and thus by proxy their corresponding SpriteSet(s).

For the curious ones, this table is located at offset 0x3997C in the arm9.

This was done to get the remaining actors ID that could be useful.











Actor ID Friendly Name Overlay Actor Set Overlay 2 Actor Set 2
0 Boot Scene 1 Boot    
1   arm9      
2   2      
3   0 Miscellaneous    
4   9 Titlescreen    
5   52 MvsL menu    
6   52 MvsL menu    
7   8 Worldmap    
8   8 Worldmap    
9   8 Worldmap    
10   52 MvsL menu    
11   5      
12 Stage Intro Scene 8 Worldmap    
13   54 Level2    
14   4      
15 MvsL Stage Intro Scene 52 MvsL menu    
16   6      
17   7      
18   10 Level    
19   10 Level    
20   54 Level2    
21 Player 10 Level    
22   10 Level    
23 Pipe Piranha Plant (up) 32 2-1    
24 Pipe Piranha Plant (down) 32 2-1    
25 Pipe Piranha Plant (right) 32 2-1    
26 Pipe Piranha Plant (left) 32 2-1    
27 Bullet Bill 42 5-1    
28 Cheep Cheep 25 1-4    
29 Giant Cheep Cheep 67 4-2    
30 Coin Trail Cheep Cheep 25 1-4    
31 Item handler 10 Level    
32 Toad House Jumping 1-Up 10 Level    
33 MvsL Battle Star 20 16-9    
34 MvsL Battle Star 20 16-9    
35 Bob-Omb 42 5-1    
36 Goal Pole Flag 12 16-1    
37 Thwomp 24 1-3    
38 Giant Thwomp 24 1-3    
39 Lakitu 66 4-1    
40 Spiny 42 5-1    
41 Boo 71 4-6    
42 Balloon Boo 71 4-6    
43 Monty Tank 19 16-8    
44 Chain Chomp Log 57 3-2    
45 Chain Chomp 57 3-2    
46 Fire Snake (dup.) 23 1-2    
47 Flip Fence 100 8-5    
48 Flip Large Fence 100 8-5    
49 Zoom 10 Level    
50 Pipe Bubbles (up) 87 7-2    
51 Pipe Bubbles (down) 87 7-2    
52 Pipe Bubbles (right) 87 7-2    
53 Pipe Bubbles (left) 87 7-2    
54 Buzzy Beetle 68 4-3    
55 Dry Bones 24 1-3    
56 Giant Dry Bones 24 1-3    
57 Podoboo 48 5-7    
58 27 spawner 42 5-1    
59 39 spawner 66 4-1    
60 28 spawner 25 1-4    
61 74 spawner 78 6-3    
62 Mega Pound actor spawner 54 Level2    
63 117 spawner 80 6-5    
64 Enemy-in-pipe spawner 22 1-1    
65 Firebar 24 1-3    
66 Coin in Bubble 10 Level    
67 Star Coin 54 Level2    
68 Hammer Brother 56 3-1    
69 Hammer Brother from map 54 Level2    
70 Sledge Brother 56 3-1    
71 Falling Donut Lift 54 Level2    
72 Falling Log Platform 54 Level2    
73 Whomp 34 2-3    
74 Sushi 78 6-3    
75 Unagi 79 6-4    
76 Giant Unagi 79 6-4    
77 Arrow Panel 12 16-1    
78 Bowser Fireball 13 16-2    
79 Dorrie 47 5-6    
80 Red Coin 54 Level2    
81 Skeeter 35 2-4    
82 Expandable Block 111 9-6    
83 Goomba 10 Level    
84 Paragoomba 10 Level    
85 Mini Goomba 10 Level    
86 Event Block 54 Level2    
87 Warp 54 Level2    
88 Fire Brother 56 3-1    
89 Boomerang Brother 56 3-1    
90 Swooper 27 1-6    
91 Snailicorn 36 2-5    
92 Falling Coin 54 Level2    
93 Boss Key 40 2-9    
94 Koopa Troopa 10 Level    
95 Koopa Paratroopa 10 Level    
96 Koopa Troopa on Fence 36 2-5    
97 Thunder 17 16-6    
98 Pokey 23 1-2    
99 Piranha Plant 81 6-6    
100 Giant Piranha Plant 81 6-6    
101 Fire Piranha Plant 81 6-6    
102 Giant Fire Piranha Plant 81 6-6    
103 Spiked Ball 121 10-6    
104 Spiked Ball Activator 121 10-6    
105 Slow Purple Tilting Mushroom 90 7-5    
106 Fire Snake 23 1-2    
107 108 spawner 70 4-5    
108 Flame Chomp 70 4-5    
109 Flame 70 4-5    
110 Amp 68 4-3    
111 Wiggler 33 2-2    
112 Cheep Chomp 46 5-5    
113 Bowser Jr. 28 1-7    
114 Boss Activator 40 2-9    
115 Princess Peach 40 2-9    
116 Final Boss 43 5-2    
117 Scuttlebug 80 6-5    
118 Money Bag 80 6-5    
119 Petey Piranha 15 16-4    
120 Broozer 108 9-3    
121 Volcanic Debris 54 Level2    
122 Skeeter Bomb 35 2-4    
123 Roof Spiny 42 5-1    
124 Underwater Bounce Ball 110 9-5    
125 Arrow 117 10-2    
126 Squiggler 77 6-2    
127 Splunkin 71 4-6    
128 MummiPokey 16 16-5    
129 Lakithunder 17 16-6    
130 Ball 'N' Chain 101 8-6    
131 Bowser 13 16-2    
132 Dry Bowser 13 16-2    
133 Big Bowser 13 16-2    
134 Toadsworth 123 10-8    
135 Cheepskipper 18 16-7    
136 Jumping Cheep Cheep 50 5-9    
137 Flag controller - "And" (If X AND Y, do Z) 54 Level2    
138 Flag controller - "Or" (If X OR Y, do Z) 54 Level2    
139 Flag controller - "Random" (If X, do Y OR Z) 54 Level2    
140 Flag controller - "Chainer" (If X, do Y) 54 Level2    
141 Flag controller - "If" (uses zones) 54 Level2    
142 Flag controller - Multi-chainer (If X, do Y THROUGH Z) 54 Level2    
143 Blooper 25 1-4    
144 Blooper Nanny (Actor 144) 25 1-4    
145 Blooper Nanny + Baby Bloopers 25 1-4    
146 Baby Blooper 25 1-4    
147 Spike Top 68 4-3    
148 Crowber 38 2-7    
149 Kab-omb 26 1-5    
150 Spike Bass 58 3-3    
151 Red Coin Ring 54 Level2    
152 Phantom Hand 71 4-6    
153 Invisible Podoboo 71 4-6    
154 148 spawner 38 2-7    
155 Snow Spike 82 6-7    
156 Snow Spike Snowball 82 6-7    
157 150 spawner 58 3-3    
158 Vertical Midway point 54 Level2    
159 Horizontal Midway point 54 Level2    
160 Exists but unknown ? 54 Level2    
161 Vertically Moving Platform 10 Level    
162 Horizontally Moving Platform 10 Level    
163 Horizontally Moving Platform (Unused? Actor 163) 10 Level    
164 Spinning Log (Unused) 100 8-5    
165 Vertical moving stone block 10 Level    
166 Horizontal Moving Block 10 Level    
167 Horizontally Moving Block (Unused? Actor 167) 10 Level    
168 Moving Block Platform 20 16-9    
169 Hanging Metal Platform 48 5-7    
170 Wobble Rock 48 5-7    
171 See-saw Platform 89 7-4    
172 Scale Platform 106 9-1    
173 Fall-when-touched platform 89 7-4    
174 One-way moving platform 88 7-3    
175 Rotating Wheel Platform (stays in place) 86 7-1    
176 Static Platform 10 Level    
177 178 spawner 20 16-9    
178 Platform 20 16-9    
179 Rotating Rectangle Platform 100 8-5    
180 Rotating Triangle Platform 100 8-5    
181 Rotating Square Platform 100 8-5    
182 Line-controlled Moving Platform 12 16-1    
183 Four-platform Waterwheel 96 8-1    
184 Line-controlled(able) Swinging Pole 97 8-2    
185 Big Spiked Ball 121 10-6    
186 Giant four platform spinner (stays in place) 88 7-3    
187 Ground-Pound Panel 98 8-3    
188 Bump Platform 97 8-2    
189 Mushroom Platform 90 7-5    
190 Purple Tilt Mushroom 90 7-5    
191 Rising/Lowering Mushroom Platform 90 7-5    
192 Rising/Lowering Metal Platform 49 5-8    
193 Streching Mushroom 90 7-5    
194 Bouncy Mushroom 90 7-5    
195 Moving Mushroom 90 7-5    
196 Rope 107 9-2    
197 Swinging Vine 107 9-2 96 8-1
198 Manual Control Platform 88 7-3    
199 Groundpound-able Goo 118 10-3    
200 Sinking Snow 116 10-1    
201 Soft Cloud Platform 60 3-5    
202 Pipe Cannon 10 Level    
203 Swelling Pipe Pump 59 3-4    
204 Swelling Pipe and Pump 59 3-4    
205 Swelling Pipe Cork 59 3-4    
206 Tile Creator/Destroyer 54 Level2    
207 Ghost House Goo 91 7-6    
208 Small Barrel 96 8-1    
209 Line-Controlled Wall-Jump Platform 88 7-3    
210 Rotating carry-through-wall platform 118 10-3    
211 Smashed pipe sprite 10 Level    
212 Snowy Branch 116 10-1    
213 One-Way Door 117 10-2    
214 Snake Blocks 109 9-4    
215 Ghost House Elevator 118 10-3    
216 Spike Pillar - Down 120 10-5    
217 Spike Pillar - Up 120 10-5    
218 Spike Pillar - Left 120 10-5    
219 Spike Pillar - Right 120 10-5    
220 Fast Spike Pillar - Down 120 10-5    
221 Fast Spike Pillar - Up 120 10-5    
222 Fast Spike Pillar - Left 120 10-5    
223 Fast Spike Pillar - Right 120 10-5    
224 Giant Wiggler 119 10-4    
225 Tornado / Tweester 86 7-1    
226 Whirlpool 87 7-2    
227 Giant pink floating log 87 7-2    
228 Pendulum Platform 88 7-3    
229 ? 99 8-4    
230 Drawbridge 88 7-3    
231 Swelling ground 97 8-2    
232 Tightrope 98 8-3    
233 Unused Wobbly Bricks 99 8-4    
234 Flamethrower (Small) 101 8-6    
235 Flamethrower 101 8-6    
236 End-of-Level Castle Flag 12 16-1    
237 Springboard 54 Level2    
238 Banzai Bill 42 5-1    
239 Mega Goomba 14 16-3    
240 Self-activating brick/block 10 Level    
241 Block shards 10 Level    
242 Event Controller - "?" Switch (Orange) 54 Level2    
243 Brick with Event Controller (? Switch) 54 Level2    
244 Event Controller - "P" Switch (Blue) 54 Level2    
245 Brick with P-Switch 54 Level2    
246 Event Controller - "!" Switch (Red) 54 Level2    
247 Brick block with red ! switch 54 Level2    
248 Bullet Bill launcher 42 5-1    
249 Banzai Bill launcher 42 5-1    
250 Hanging bouncing ? block 98 8-3    
251 Rotating spiked ? block (unused duplicate) 54 Level2    
252 Rotating spiked ? block 54 Level2    
253 Rotating spiked ? block (unused duplicate) 54 Level2    
254 Spin Block 10 Level    
255 Spin Block 10 Level    
256 Spin Block 10 Level    
257 Roulette Block 54 Level2    
258 Hanging ? Block 98 8-3    
259 Blockhopper 69 4-4    
260 Winged Block 54 Level2    
261 Red Winged Block 54 Level2    
262 Rotating Bullet Bill cannon 42 5-1    
263 Flag Triggered Door 118 10-3    
264 Toad House Block 123 10-8    
265 Bowser battle switch 13 16-2    
266 Boss battle key location 40 2-9    
267 Some kind of pipe 10 Level    
268 Invisible Coin Block 10 Level    
269 Warp Cannon 89 7-4    
270 In air scroll up the camera 10 Level    
271 Scroll up the camera 10 Level    
272 0 Stick to bottom length activator left 10 Level    
273 0 Stick to bottom length activator right 10 Level    
274 In air vertical scroll stop left 10 Level    
275 In air vertical scroll stop right 10 Level    
276 Auto-scrolling Controller 10 Level    
277 Scroll and Mario stop sideways 10 Level    
278 Water 54 Level2    
279 Lava 54 Level2    
280 Jungle FG Effect (Unused) 54 Level2    
281 Poison Water 54 Level2    
282 Horizontal camera offset 10 Level    
283 Touching ground vertical scroll stop left 10 Level    
284 Touching ground vertical scroll stop right 10 Level    
285 Final Castle Create Loop 54 Level2    
286 Final Castle Wrong Path 54 Level2    
287 Fog FG effect 10 Level    
288 Cloud FG effect 10 Level    
289 Water FG effect 1 10 Level    
290 Water FG effect 2 10 Level    
291 Snow FG effect 1 10 Level    
292 Snow FG effect 2 10 Level    
293 Snow FG effect 3 10 Level    
294 Fire FG effect 1 10 Level    
295 Fire FG effect 2 10 Level    
296 Fire FG effect 3 10 Level    
297 Light FG Effect 1 10 Level    
298 Light FG Effect 2 10 Level    
299 Grassland Clouds FG effect 10 Level    
300 Small Grassland Clouds FG effect 10 Level    
301 Seaweed 25 1-4    
302 ? Unknown Actor 302 54 Level2    
303 ? Behind-the-scenes Actor 303 0 Miscellaneous    
304 ? MvsL Actor 304 52 MvsL menu    
305 ? Menu Actor 305 9 Titlescreen    
306 ? Menu Actor 306 9 Titlescreen    
307 ? Menu Actor 307 9 Titlescreen    
308 ? Menu Actor 308 9 Titlescreen    
309 ? Menu Actor 309 9 Titlescreen    
310 ? Menu Actor 310 9 Titlescreen    
311 ? Menu Actor 311 9 Titlescreen    
312 ? Menu Actor 312 9 Titlescreen    
313 ? Menu Actor 313 9 Titlescreen    
314 ? Behind-the-scenes Actor 314 8 Worldmap    
315 ? Unknown Actor 315 4      
316 ? Unknown Actor 316 10 Level    
317 ? Unknown Actor 317 8 Worldmap    
318 ? Unknown Actor 318 8 Worldmap    
319 ? Unknown Actor 319 8 Worldmap    
320 ? Unknown Actor 320 8 Worldmap    
321 ? Unknown Actor 321 8 Worldmap    
322 ? Unknown Actor 322 8 Worldmap    
323 ? Unknown Actor 323 9 Titlescreen    
324 ? 'StageIntroScene' Actor 324 8 Worldmap    
325 Nothing 10 Level    


Posted on 08-22-16, 06:40 pm (rev. 4 by  Hiccup on 08-28-16, 05:03 pm)
Birdo


Karma: 2754
Posts: 1751/2091
Since: 06-26-11
I should probably combine that with this, this http://nsmbhd.net/thread/1594-nsmb-class-hierachy/ and the sprite numbers sometime. But it might be a waste of time if an the sprite database is turned into an actor database sometime
Posted on 08-23-16, 07:11 pm (rev. 13 by  Hiccup on 08-28-16, 05:02 pm)
Birdo


Karma: 2754
Posts: 1759/2091
Since: 06-26-11
Actor 21
Nybble 5: Entrance
0:Default,
1:Pipe facing up,
2:Pipe facing down,
3:Pipe facing left,
4:Pipe facing right,
5:Door,
6:Same as 0?,
7:Ground Pound,
8:Same as 0?,
9: Swimming

Nybble 7: Unknown 7
0:Default,
1:Uses the floaty physics
2:Autojump on edge of block, Fast jump & fall, permanent jump until cancelled with g-pound,
3:Go up all the time,
7:Can't go up or down and other weird limits

Nybble 11; Character
0:Mario,
1:Luigi

Nybble 12: Unknown 12
0:Default,
1:Clone not present, Mario warps to world map,
2:Clone not present, freezes,
3:Clone not present, Game Over triggered,
4:Same as 3?,
5:Clone not present, freezes in a different way,
6:Same as 3 but with wonky camera?
Posted on 08-23-16, 07:47 pm
Mariomaster

Karma: 8528
Posts: 646/1681
Since: 06-09-12
 MarioFanatic64 would've had fun with this when he made CTT(2)
_________________________
GitHub - Kuribo64 - YouTube
Posted on 08-23-16, 07:57 pm
Death by cuteness

Karma: 6554
Posts: 554/598
Since: 05-01-13
 Hiccup, you might also want to grab this, assuming a numerical system from 1 to 12:
Nybble 11:
0=Mario
1=Luigi
Posted on 08-23-16, 08:12 pm (rev. 1 by  Hiccup on 08-23-16, 08:14 pm)
Birdo


Karma: 2754
Posts: 1760/2091
Since: 06-26-11
I'm kinda confused.
Is that assuming that there are 12 nybbles and you count them like this; 1, 2 [...]11, 12? Or starting at 0 and ending at 11?
I've corrected my post to be starting at 1 by adding 1 to the numbers.
Posted on 08-23-16, 08:14 pm
Death by cuteness

Karma: 6554
Posts: 555/598
Since: 05-01-13
Posted by Hiccup
Is that assuming that there are 12 nybbles and you count them like this; 1, 2 [...]11, 12? Or starting at 0.

The former.
Posted on 08-28-16, 05:02 pm
Birdo


Karma: 2754
Posts: 1791/2091
Since: 06-26-11
Fixed... I think.
Pages: « 123