• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Melee Gecko Codes + Guide and Discussion

Uzima (Uzi)

Smash Lord
Joined
Apr 23, 2008
Messages
1,680
Location
Colorado Springs
$5 bounty on a Gecko code I can put into the Slippi replay viewer that makes all character invisible and removes all character sprites/models/anything so it is purely camera movement and the stage. I need it to make clean plates for Melee videos.
 

davidvkimball

blippi.gg, @MeleeHD Lead
Joined
Jun 21, 2013
Messages
400
Location
Tacoma, WA
Slippi.gg
D#0
NNID
davidvkimball
3DS FC
3196-5240-6546
Switch FC
SW-1880-0689-1110
$5 bounty on a Gecko code I can put into the Slippi replay viewer that makes all character invisible and removes all character sprites/models/anything so it is purely camera movement and the stage. I need it to make clean plates for Melee videos.
I might have something for you.
Code:
$Character Models Invisible [UnclePunch]
04030384 60000000
Code:
$No Character Shadows [Altimor]
040872f8 38600000
Code:
$Remove HUD [Achilles]
004d6d58 00000001
Code:
$Disable Camera and Item Spawn Overlay
040304c4 60000000
0405a634 48000094
Code:
$Disable DPad Up Camera Changes
042275f8 480000f0
Alternatively, try:
Code:
$X+D-Pad Down (P1 Only) Toggles HUD On/Off
000000ca 00000000
2846b108 00000404
004d6d58 00000000
cc000000 00000000
e2100000 00000000
004d6d58 00000001
e2000001 00000000
You may also be able to use:
Code:
$Disable In-Game GFX and Textures [UnclePunch]
0405fddc 4e800020
Code:
$Start Vs. With only 1 Player (set time to none) [UnclePunch]
c2263064 0000000c
7c0802a6 90010004
9421ff00 be810008
7c9f2378 3d808015
618ccc34 7d8903a6
4e800421 88830002
2c040000 40820018
88830003 2c040000
4082000c 2c1f0001
48000008 2c1f0002
ba810008 80010104
38210100 7c0803a6
60000000 00000000
Code:
$Move Camera with DPad Down + CStick
c22274f0 00000007
3c80804c 60841fac
1c7e0044 7c632214
80630000 5463077b
40820014 3d808022
618c75f4 7d8903a6
4e800420 c002c35c
60000000 00000000
c2227b70 00000006
3c80804c 60841fac
7c842a14 80840000
5484077b 40820014
3d808022 618c7b98
7d8903a6 4e800420
c002c35c 00000000
No payment needed, although I wouldn't mind a shout out in any of your videos and/or a follow on Twitch. lol
 

davidvkimball

blippi.gg, @MeleeHD Lead
Joined
Jun 21, 2013
Messages
400
Location
Tacoma, WA
Slippi.gg
D#0
NNID
davidvkimball
3DS FC
3196-5240-6546
Switch FC
SW-1880-0689-1110
Also, here's a proof of concept that it works:

 

Punkline

Dr. Frankenstack
Joined
May 15, 2015
Messages
423
Anyone else experience the curse of the crset instruction in Dolphin?


Here’s a reproduction of a bug I seem to be experiencing:

Rich (BB code):
-==-
  
Mew Hides from Debugger in CSS
[Punkline]
NTSC 1.02 --- 802640f8 ---- be21011c -> Branch
stmw  r17, 0x011C (sp)
# start of CSS loading function
  
crset 4
# this sets cr1.lt == TRUE
  
blt cr1, _return
# this skips over the SFX call if cr1.lt == TRUE
   
  li r3, 0x2729 # Mew
  li r4, 0xFE
  li r5, 0x80
  li r6, 0
  li r7, 7
  bl 0x8038cff4
  # This only plays if the logic above isn't working as intended
   
_return:
lis r4, 0x803F
.long 0

Loading the CSS with this code causes Mew to appear (in the form of a sound effect).

If you put a breakpoint on the injection hook (802640f8) and step through the code though, the SFX call will be skipped over...

crset is supposed to ‘set’ a bit as TRUE in ‘cr’, unconditionally, so the SFX call should always be skipped -- which I experience while stepping through the code. When I’m not looking at it with the debugger though, it seems to be reliably FALSE. It's very mischievous.


---

I don’t know why this is happening, but I’ve experienced it in the past and it’s quite confusing to deal with.
I just wanted to mention that you can override the instructions with macros to solve the issue using other operations:

Rich (BB code):
.macro crset, b, va:vararg; crorc \b, \b, \b; .endm
.macro crclr, b, va:vararg; crandc \b, \b, \b; .endm

crxor and creqv automatically get changed to crclr and crset when used to get around this, so I’ve used crandc and crorc instead. These seem to be more reliable.
 

LightningGear

Smash Rookie
Joined
Jan 9, 2021
Messages
1
Hey I looking for a way to make the cpus go after targets in target tests.Is it possible to do this?
 

Uzima (Uzi)

Smash Lord
Joined
Apr 23, 2008
Messages
1,680
Location
Colorado Springs
I might have something for you.
Code:
$Character Models Invisible [UnclePunch]
04030384 60000000
Code:
$No Character Shadows [Altimor]
040872f8 38600000
Code:
$Remove HUD [Achilles]
004d6d58 00000001
Code:
$Disable Camera and Item Spawn Overlay
040304c4 60000000
0405a634 48000094
Code:
$Disable DPad Up Camera Changes
042275f8 480000f0
Alternatively, try:
Code:
$X+D-Pad Down (P1 Only) Toggles HUD On/Off
000000ca 00000000
2846b108 00000404
004d6d58 00000000
cc000000 00000000
e2100000 00000000
004d6d58 00000001
e2000001 00000000
You may also be able to use:
Code:
$Disable In-Game GFX and Textures [UnclePunch]
0405fddc 4e800020
Code:
$Start Vs. With only 1 Player (set time to none) [UnclePunch]
c2263064 0000000c
7c0802a6 90010004
9421ff00 be810008
7c9f2378 3d808015
618ccc34 7d8903a6
4e800421 88830002
2c040000 40820018
88830003 2c040000
4082000c 2c1f0001
48000008 2c1f0002
ba810008 80010104
38210100 7c0803a6
60000000 00000000
Code:
$Move Camera with DPad Down + CStick
c22274f0 00000007
3c80804c 60841fac
1c7e0044 7c632214
80630000 5463077b
40820014 3d808022
618c75f4 7d8903a6
4e800420 c002c35c
60000000 00000000
c2227b70 00000006
3c80804c 60841fac
7c842a14 80840000
5484077b 40820014
3d808022 618c7b98
7d8903a6 4e800420
c002c35c 00000000
No payment needed, although I wouldn't mind a shout out in any of your videos and/or a follow on Twitch. lol
Sorry for the huge delay, I'll try that combination of codes later today.
I was having issues with a prior set that was causing desincs in the replays so it wouldn't work.
 

PickyIcky

Smash Rookie
Joined
Apr 7, 2021
Messages
1
Slippi.gg
pick#132
anyone have a code that turns IC's into just sopo on start?
 
Last edited:

hapyfaces321

Smash Rookie
Joined
Jul 1, 2016
Messages
2
After reading 5 pages of this I realized that asking would probably be faster. Is there a code that makes the C-stick do tilts? also a code for a frame buffer? Me and my friends are casuals and those two things are huge turnoffs for them coming from Ultimate. (like P+ with the 3 frame buffer)
 
Last edited:

OkayP.

Smash Apprentice
Joined
Mar 19, 2015
Messages
173
Location
Alpine, Ut.
Is there a code that allows me to force replays on slippi to show hit/hurtboxes? itd be really helpful
 

PKFreeZZy

Smash Cadet
Joined
Aug 21, 2016
Messages
60
Location
Hungary
Slippi.gg
VETR#758
Is there a code that allows me to force replays on slippi to show hit/hurtboxes? itd be really helpful
It's a built-in feature, in fact! Navigate to the Playback tab in Slippi Launcher -> Configure Dolphin...

2021-08-27.png


...then right-click on this banner and select 'Properties' ...

2021-08-27 (2).png


...navigate to the 'Gecko Codes' tab and tick "Optional: Enable Develop Mode!"

2021-08-27 (1).png


Once that's done, you'll be able to toggle hitbox display with the R + D-Pad Up button combo in replays.
 
Last edited:

BXBX

Smash Cadet
Joined
Nov 25, 2018
Messages
57
Is there a code that allows me to take control of of a CPU and switch back with a button combination for vanilla 1.02 or uncle punch version 2.0?
 

Sparkitus505

Smash Rookie
Joined
Jun 3, 2021
Messages
5
Slippi.gg
spar#334
Is it possible to have a code for a 2 frame buffer? im trying to get my friend into the game but thats the only thing they really want.
 

davidvkimball

blippi.gg, @MeleeHD Lead
Joined
Jun 21, 2013
Messages
400
Location
Tacoma, WA
Slippi.gg
D#0
NNID
davidvkimball
3DS FC
3196-5240-6546
Switch FC
SW-1880-0689-1110
Can choose % chance for Pokémon Stadium transformations (1.02) [flieskiller]

041d4638 38600063
C21D4640 00000008
38630001 2C030019
4181000C 38600000
48000028 2C030032
4181000C 38600001
48000018 2C03004B
4181000C 38600002
48000008 38600003
5460103A 00000000

^ Code with basic Vanilla Melee settings of 25% chance each transformations, but can be customized, explained below.

Always a certain Pokémon transformation (AR code version) (1.02) [flieskiller]
041d463C 3860000X
(x = transformation ID, choices below)

The first 04 number replaces the maximum random number when choosing a transformation. Instead of choosing between 0 and 3 (number for all 4 transformations), it will randomize between 0 and 99 (custom code adds +1 to that number so that 0 = impossible) for being able to choose between 0 and 100 (because it's easier to count probabilities on 100%)

The three green numbers are the probabilities between the transformations. Numbers are in hexadecimal, so:
0x19 = 25
0x32 = 50
0x4B = 75

The transformations ID are these:
0 = fire
1 = grass
2 = rock
3 = water

Here is how it works, and how you can decide which % you want for each transformations:
To choose the first transformation, it checks if the number is not greater than the first number (here is 0x19), so if the number is between 1 and 25, load the number 0 and resume normal code.

After that, it checks for the grass transformation, and compare with number 50 or above, which means it will select the grass transformation if the number is between 26 and 50. (It does not include between 0 and 25, because it wouldn't have reached there because of the first transformation being checked first)

Rock transformation for the number between 51 and 75 and water transformation if no other elements are chosen (which is between 76 and 100)

If you want to exclude a transformation, set that number to 00

Here are some example of combinations for different probabilities for stages:

fire 20%
grass 40%
rock 10%
water 30%

fire 0x14 (20)
grass 0x3C (60)
rock 0x46 (70)
water (100)

^ Comparing with the basic code, it means replacing 19 with 14, 32 with 3C and 4B with 46.

Second example:
fire 15%
Grass 50%
rock 0%
water 35%

fire 0x0F (15)
grass 0x41 (65)
rock 0x00 (impossible)
water (100)

^ Comparing with the basic code, it means replacing 19 with 0F, 32 with 41 and 4B with 00.

So that is it, I hope the explanation and examples help for those that has difficulty in these kind of things or are new to hexadecimal maths.
Is there a version of this code that will cycle through each of the transformations in a particular order? For example, normal, fire, grass, rock, water, normal, etc.
 

L3m0n

Smash Rookie
Joined
Sep 6, 2024
Messages
2
Slippi.gg
bongg#646
New Code

Change P1 Shield Color
- Colors are in RRGGBB format. Replace those letters below with color code.
[Achilles]

(Action Replay, 1.02)
444D650C RRGGBB00

(Gecko, 1.02)
48000000 804D650C
DE000000 80008180
14000000 RRGGBB00
E2000001 80008000

I was initially planning on having the shield change color during shieldstun, but then found out that the game only looks for a shield color everytime a shield is initially brought up (duh...). Nonetheless, you can still use this code with some sort of toggle to change the shield color midmatch (just not midshield).

As a reference, default shield colors are:
P1 - F25959
P2 - 6666FF
P3 - 66BF40
P4 - 4DE64D
Gosh i know this is old but ive been trying to change my shield color to have a green shield online on pc and i cant get this code to work even in trainging am i doing something wrong?
 

coolguy-69

Smash Rookie
Joined
Sep 9, 2022
Messages
2
Curious of an item code to modify the timer on Poison and Super mushrooms, and perhaps the size increase/decrease of them

My guess is there's a way to modify the "amount" somehow, such as changing the timer from 10s to 1000s, or changing the scale increase/decrease
 
Last edited:
Top Bottom