Jump to content

Gecko codes for [NTSC-U, 16:9] v1.01


Whai
 Share

Recommended Posts

Hello,

This is my first time creating cheat codes involving ASM so there might have side effects.

Gain x2 EXP (Univseral)

04120830 57E30E3E

Now it also works on skills (Sacrifice/Steal/...), galdr, etc...

 

Display other encounter (Push R and + on Wii Classic Controller)

283D79BA 00FF0600
0402CB68 40820004
001221CF 00000000
CC000000 00000000
0402CB68 408200E8
001221CF 00000001
E0000000 80008000

You will be able to observe the encounter between Other/Ally and Enemy units

Push R and + to toggle on/off

 

Can attack anyone

0003C96B 00000004

You will be able to attack every player/ally/other/enemy units except when they are pacifists to each other (e.g. Micaiah vs Ilyana, Haar vs Jill, ...)

Here is a demo :

 

Link to comment
Share on other sites

  • Replies 61
  • Created
  • Last Reply

Top Posters In This Topic

On 3/15/2023 at 12:44 PM, Whai said:

Hello,

This is my first time creating cheat codes involving ASM so there might have side effects.

Gain x2 EXP (Univseral)

04120830 57E30E3E

Now it also works on skills (Sacrifice/Steal/...), galdr, etc...

 

Display other encounter (Push R and + on Wii Classic Controller)

283D79BA 00FF0600
0402CB68 40820004
001221CF 00000000
CC000000 00000000
0402CB68 408200E8
001221CF 00000001
E0000000 80008000

You will be able to observe the encounter between Other/Ally and Enemy units

Push R and + to toggle on/off

 

Can attack anyone

0003C96B 00000004

You will be able to attack every player/ally/other/enemy units except when they are pacifists to each other (e.g. Micaiah vs Ilyana, Haar vs Jill, ...)

Here is a demo :

 

That is very nifty, I've actually been looking into that back when i was working on PvP. I got pvp working, but it's with an outside tool modifying live code. 
Do you have the address locations etc as i'd be keen to take a look at your notess to see if this can be implemented directly without codes.

Link to comment
Share on other sites

On 3/20/2023 at 1:49 AM, Vicious Sal said:

That is very nifty, I've actually been looking into that back when i was working on PvP. I got pvp working, but it's with an outside tool modifying live code. 
Do you have the address locations etc as i'd be keen to take a look at your notess to see if this can be implemented directly without codes.

To be honest, I am a total beginner about ASM. It is often trial and error.

I didn't name the functions because I didn't grasp the entire purpose of the functions but here are my notes :

0x800D5798 - Start of the menu function (Add items (Attack, Arrive, Gamble, etc...) to the menu)

  • The function call -> 0x80050248 - Start of the function that iterates all items' slots to check if you can attack

This is where it is being called :

659494911_MenuAddItem.png.304b97c72985d425da7dc88c77c8009c.png

  • The function call -> 0x80039AE4 - Start of the function that checks if it is a valid target (In range ? enemy ? ...)

This is where it is being called :

1122908202_MenuAddAttack.png.5fb46bff0b082819ceede4e859088da3.png

1. The function call -> 0x801107C0 - Start of the function that checks if the target is in range (item's max range)

2. The function call -> 0x801107A0 - Start of the function that checks if the target is in range (item's min range)

This is where both functions are being called :

374462335_isinrange.png.12a42628b652920af7a65cc5916e41f3.png

Notes : r23 -> Unit's position Y, r24 -> Unit's position X

3. The function call -> 0x8003C924 - Start of the function that checks if the target is an enemy

It is being called by the instruction bctrl

520863207_isenemy.png.5238317e6fe84bc653136eca6dfec1c5.png

Notes : r0 -> target's team

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
On 4/8/2023 at 11:38 PM, kmarin17 said:

I cannot for the life of me get any of these codes to work. Anybody have any tips? Mainly just want the perfect level up and 99xp but none seem to work even the newer 1.01 versions of the codes.

Check the version of the game you are running and what region it is. Right click on game, properties -> info. If you see in name "Disc 1, Revision 1" you are on 1.01. If you see revision 0, then you need the 1.0 codes. Then check country. These are for USA region. There have been some PAL ones posted around as well if thats the region you are on.

Link to comment
Share on other sites

  • 4 weeks later...
On 4/9/2023 at 4:38 AM, kmarin17 said:

I cannot for the life of me get any of these codes to work. Anybody have any tips? Mainly just want the perfect level up and 99xp but none seem to work even the newer 1.01 versions of the codes.

Are you playing in 16:9 or in 4:3 ? Because gecko codes in this thread work in 16:9

image.png.98b4b5d4f388f486657bd40421794d7f.png

Are you playing in Easy difficulty or Normal/Hard difficulty ? Gecko codes (in this thread) involving units don't work on easy difficulty

Link to comment
Share on other sites

Do you remember the code

Quote

Enable All Stats +5 Bonus (Easy Mode Only) [g6flavor]

003CB07D 00000085
023CB07E 0000A305 

I improved it !

Enable Stats Bonus [g6flavor, Whai]

2A3CB07E FFFB0004
82000000 803CB07F
86000000 00000004
84000000 803CB07F
E0000000 80008000

Amount of Stats Bonus [g6flavor, Whai]

Spoiler

Easy difficulty

04710DC4 HHSSMMKK
04710DC8 PPLLDDRR

Normal difficulty

04710DCC HHSSMMKK
04710DD0 PPLLDDRR

Hard difficulty

04710DD4 HHSSMMKK
04710DD8 PPLLDDRR

Instructions

Values are signed : [-128; 127], for example 0A = +10 and FE = -2

Replace the letters by the value you want
HH -> Max HP
SS -> Str
MM -> Mag
KK -> Skl
PP -> Spd
LL -> Lck
DD -> Def
RR -> Res

 

You can now filter which team get stats bonus and which stats bonus they get

Player's Units don't have stat bonus [Whai]

Spoiler
0412465C 38000000
04124FAC 38000000
041252B0 38000000
0412567C 38000000
04125C5C 38000000
04126120 38000000
041264A0 38000000
041267B0 38000000

Player but also Other and Renfort units

 

Each lines represent a stat from MaxHP to RES.

Feel free to remove any line(s) you don't want.

 

For example, if you want your units to only have SKL, SPD, LCK bonus then remove the 4th, 5th and 6th line.

 

Default Assembly Instruction : 54000FFE

Enemy's Units have stats bonus [Whai]

Spoiler
0012454B 00000001
00124E9B 00000001
0012519F 00000001
0012556B 00000001
00125B4B 00000001
0012600F 00000001
0012638F 00000001
0012669F 00000001

Each lines represent a stat sorted from MaxHP to RES.

Feel free to remove any line(s) you don't want.

 

For example, if you don't want ennemy's units to have MaxHP and RES bonus then remove the 1st and 7th line.

 

Here is an example :

Code used :

Spoiler

Enable Stats Bonus

2A3CB07E FFFB0004
82000000 803CB07F
86000000 00000004
84000000 803CB07F
E0000000 80008000

Amount of Stats Bonus (Normal difficulty)

04710DCC 07030002
04710DD0 00050000

+7 MaxHP +3 Str +2 Skl + 5 Lck

Player's Units don't have stat bonus

0412465C 38000000
041252B0 38000000
04125C5C 38000000
041264A0 38000000
041267B0 38000000

Player/Ally/Other's Units don't have Max HP, Mag, Spd, Def and Res bonus

Enemy's Units have stats bonus

0012454B 00000001
00124E9B 00000001
0012600F 00000001

Enemy's units have Max HP, Str and Lck bonus

 

Link to comment
Share on other sites

  • 2 weeks later...
Quote

 

Gain x2 EXP (Univseral)

04120830 57E30E3E

Now it also works on skills (Sacrifice/Steal/...), galdr, etc...

 

I'm really sorry...I have tired teacher brain, and I only learn enough tech and code stuff to do the things I want to accomplish, and all these numbers befuddle me to no end. Could anyone just let me know how I can change this to x3 or x4, etc.? I'd really appreciate it.

Edited by Asher Lightfoot
Link to comment
Share on other sites

I've been trying to get the Infinite Weapons Use Code (listed below) to work with no success whatsoever.

20B5411C 50320A46
A8000000 00000001
4A000000 80B5FE10
600000CA 00000000
3A000038 FFFE0001
92010000 00000039
86000000 00000001
94010000 00000039
E2000004 00000000
4A100000 00000050
62000000 00000000
E0000000 80008000

I've gotten most other codes I wanted to use to work after a little effort, but this one has left me stumped and I'm uncertain what to do to get it to function.

For reference, I'm on Dolphin 5.0, playing on 16:9 and on a 1.01 game.

It's not a lot to go off of, but hoping for a little help figuring it out. Cheers in advance.

Link to comment
Share on other sites

10 hours ago, LastSaber said:

I've been trying to get the Infinite Weapons Use Code (listed below) to work with no success whatsoever.

20B5411C 50320A46
A8000000 00000001
4A000000 80B5FE10
600000CA 00000000
3A000038 FFFE0001
92010000 00000039
86000000 00000001
94010000 00000039
E2000004 00000000
4A100000 00000050
62000000 00000000
E0000000 80008000

I've gotten most other codes I wanted to use to work after a little effort, but this one has left me stumped and I'm uncertain what to do to get it to function.

For reference, I'm on Dolphin 5.0, playing on 16:9 and on a 1.01 game.

It's not a lot to go off of, but hoping for a little help figuring it out. Cheers in advance.

Here is what I use to make Weapons and Items Infinite.

Spoiler

20B54158 8070F8BC
08B5FE49 00000001
01270050 00000000
E0000000 80008000

 

Link to comment
Share on other sites

On 6/6/2023 at 2:06 AM, Asher Lightfoot said:

I'm really sorry...I have tired teacher brain, and I only learn enough tech and code stuff to do the things I want to accomplish, and all these numbers befuddle me to no end. Could anyone just let me know how I can change this to x3 or x4, etc.? I'd really appreciate it.

To get x4 EXP add 0x0800 to the value :

Gain x2 EXP (Universal) :

04120830 57E30E3E

Now add 0x0800 :

04120830 57E30E3E -> 04120830 57E3163E

Gain x4 EXP (Universal) :

04120830 57E3163E

You can do it again :

04120830 57E3163E -> 04120830 57E31E3E

Gain x8 EXP (Universal) :

04120830 57E31E3E

You can only multiply by 2 (1 -> 2 -> 4 -> 8 -> 16 -> ...) so you cannot have x3 EXP.

On 6/6/2023 at 2:14 PM, LastSaber said:

I've been trying to get the Infinite Weapons Use Code (listed below) to work with no success whatsoever.

20B5411C 50320A46
A8000000 00000001
4A000000 80B5FE10
600000CA 00000000
3A000038 FFFE0001
92010000 00000039
86000000 00000001
94010000 00000039
E2000004 00000000
4A100000 00000050
62000000 00000000
E0000000 80008000

I've gotten most other codes I wanted to use to work after a little effort, but this one has left me stumped and I'm uncertain what to do to get it to function.

For reference, I'm on Dolphin 5.0, playing on 16:9 and on a 1.01 game.

It's not a lot to go off of, but hoping for a little help figuring it out. Cheers in advance.

Try this code

20B5411C 50320A46
4A000000 80B5FE10
600000CA 00000000
3A000038 FFFE0001
92010000 00000039
86000000 00000001
94010000 00000039
E2000001 00000000
4A100000 00000050
62000000 00000000
E0000000 80008000

 

Link to comment
Share on other sites

13 hours ago, pineapple21 said:

Here is what I use to make Weapons and Items Infinite.

  Hide contents

20B54158 8070F8BC
08B5FE49 00000001
01270050 00000000
E0000000 80008000

 

Tried your suggestion, no change. I know it's supposed to not only make weapons and items unbreakable but essentially remove the durability counter completely a la Ragnell or Alondite, and the durability is still behaving as normal, so it's really got me confused.

Edited by LastSaber
Quick typo fix.
Link to comment
Share on other sites

23 minutes ago, Whai said:

To get x4 EXP add 0x0800 to the value :

Gain x2 EXP (Universal) :

04120830 57E30E3E

Now add 0x0800 :

04120830 57E30E3E -> 04120830 57E3163E

Gain x4 EXP (Universal) :

04120830 57E3163E

You can do it again :

04120830 57E3163E -> 04120830 57E31E3E

Gain x8 EXP (Universal) :

04120830 57E31E3E

You can only multiply by 2 (1 -> 2 -> 4 -> 8 -> 16 -> ...) so you cannot have x3 EXP.

Try this code

20B5411C 50320A46
4A000000 80B5FE10
600000CA 00000000
3A000038 FFFE0001
92010000 00000039
86000000 00000001
94010000 00000039
E2000001 00000000
4A100000 00000050
62000000 00000000
E0000000 80008000

 

Like with the other suggestion offered to me, I tried yours and got similar results. The durability's still behaving as it normally would. Is it some kind of offset issue, maybe?

Link to comment
Share on other sites

On 6/6/2023 at 2:14 PM, LastSaber said:

[...]

I've gotten most other codes I wanted to use to work after a little effort, but this one has left me stumped and I'm uncertain what to do to get it to function.

For reference, I'm on Dolphin 5.0, playing on 16:9 and on a 1.01 game.

It's not a lot to go off of, but hoping for a little help figuring it out. Cheers in advance.

What kind of method did you use ? it might help.

Do you have "Enable Cheats" checked ?

 

Link to comment
Share on other sites

On 6/7/2023 at 9:18 AM, LastSaber said:

Tried your suggestion, no change. I know it's supposed to not only make weapons and items unbreakable but essentially remove the durability counter completely a la Ragnell or Alondite, and the durability is still behaving as normal, so it's really got me confused.

 

3 hours ago, Whai said:

What kind of method did you use ? it might help.

Do you have "Enable Cheats" checked ?

 

I agree with Whai. Knowing how you got them to work could help determine how to fix it. It also just could be a version / region difference. Could you screenshot the info tab under the game and send it here? 

Right click on game -> Properties -> info (Your save game file path is here so you may want to crop that out or blur it)

 

Also, another thought, are you adding these under the "Gecko Codes" section or the "AR Codes" section? I use all of mine under the "Gecko Codes" section.

Edited by pineapple21
Link to comment
Share on other sites

18 hours ago, Whai said:

What kind of method did you use ? it might help.

Do you have "Enable Cheats" checked ?

 

Yup, I've ensured that it's been checked off multiple times.

Honestly, there's nothing really scientific between just throwing one version or another of the code I'm looking for and seeing what sticks.
 

15 hours ago, pineapple21 said:

 

I agree with Whai. Knowing how you got them to work could help determine how to fix it. It also just could be a version / region difference. Could you screenshot the info tab under the game and send it here? 

Right click on game -> Properties -> info (Your save game file path is here so you may want to crop that out or blur it)

 

Also, another thought, are you adding these under the "Gecko Codes" section or the "AR Codes" section? I use all of mine under the "Gecko Codes" section.

Attaching the screenshot for reference.

I did add this particular code under the Gecko tab, yes. It seems to be a shared Notepad document that also hosts any AR codes I'm using, but I always do a check on what code I'm using and enter it under the appropriate tab.

RDFE INFO.PNG

Link to comment
Share on other sites

2 hours ago, LastSaber said:

Yup, I've ensured that it's been checked off multiple times.

Honestly, there's nothing really scientific between just throwing one version or another of the code I'm looking for and seeing what sticks.

It's weird.

This might be bothersome to you but I'm going to ask you to enable debug on Dolphin :

  1. Go to Dolphin's shortcut
  2. Right click on it
  3. Click "properties"
  4. Add "/d" (see the screenshot below) (It enables the debug)
  5. Debug.png.2add4e085adc7c77ce237466df2c84cb.png
  6. Now launch Dolphin from this shortcut
  7. Go to "View" and click on "Memory" (see the screenshot below)
  8. 30498748_Screenshot2023-06-09130908.thumb.png.289ca123876f482a8608a9989da2a20a.png
  9. Launch the game, start a savefile (or create one if you don't have any)
  10. Once the savefile loaded, go to Memory tab and look for the address "80B5FE10" (see screenshot below)
  11. 224776510_Screenshot2023-06-09131215.thumb.png.556c0e0b779724d141c2d095924a353d.png
  12. Now screenshot and send it to me (here or send it to me by DM)

If you want to remove the debug mod, remove the "/d"

 

 

Link to comment
Share on other sites

4 hours ago, Asher Lightfoot said:

Thank you Whai for your codes and your help. 🙂 🙂 🙂 

 

Last Question: Would it be possible to add Formshift to the list of skills laguz can learn using your Skills have no point cost and Can learn all skills cheats?

You are welcome.

Adding Formshift to the list might be difficult, because I think to achieve this you have to work with ASM instructions

Link to comment
Share on other sites

On 6/9/2023 at 3:17 AM, Asher Lightfoot said:

Thank you Whai for your codes and your help. 🙂 🙂 🙂 

 

Last Question: Would it be possible to add Formshift to the list of skills laguz can learn using your Skills have no point cost and Can learn all skills cheats?

I do not have a code to add this skill to the list of assignable skills, but I did make one to add formshift directly to all non-royal laguz. Before using this code, make sure you have done the following - 

1. Only use this code in base before launching into a map. This code adds based on ID of each character and when you do it after loading a map it can give it to enemies.

2. Make sure you do not have max skills on laguz. its better to make sure there is an open slot but i do not think it is essential. it may make it so your unit has more than max skills but you can always go and remove one after. I have not had any bugs or crashes when using this. Using it multiple times isn't an issue. the skill should still only appear once. if it shows up more than once, it should recalculate the skills on shifting.

I also added the code to be able to always assign all skills (not special ones) at all times for 0 cost.

Please let me know if you have issues as I have not done testing throughout the entire game. only a few chapters. 

Spoiler

$Add Formshift to Non-Royal Laguz (Start+Select+Down)
283D79BA 00005400
04885B14 8070FA48
04887A94 8070FA48
04889A14 8070FA48
04889E04 8070FA48
0488BD84 8070FA48
0488C174 8070FA48
0488ECC4 8070FA48
0488F0B4 8070FA48
0488F4A4 8070FA48
0488F894 8070FA48
04890074 8070FA48
04890464 8070FA48
048927D4 8070FA48
04892BC4 8070FA48
04892FB4 8070FA48
0489A9C4 8070FA48
0489ADB4 8070FA48
048A3B74 8070FA48
E0000000 80008000
*Adds Formshift to all Non-Royal Laguz.


$Add Formshift to Class
20B54158 8070F8BC
08B5C028 8070FA48
202A011C 00000000
08B5C02C 00000101
102A011C 00000000
E0000000 80008000
*Must be on

If you want the skills to be unlocked, you can change 0101 to 0200. However, this will also unlock it for the Royal Laguz as well. You will want to reuse the first code to reset it to be locked/unlocked.

 

$All Skill and Zero Cost
20B54158 8070F8BC
0870F8AB 00000000
0050002C 00000000
0870F8AE 00000000
0050002C 00000000
E0000000 80008000
*All Skills are always assignable and all skills cost are 0.

 

Edited by pineapple21
Added new code for getting formshift unlocked on units.
Link to comment
Share on other sites

On 6/9/2023 at 8:17 AM, Asher Lightfoot said:

Last Question: Would it be possible to add Formshift to the list of skills laguz can learn using your Skills have no point cost and Can learn all skills cheats?

On 6/9/2023 at 11:52 AM, Whai said:

Adding Formshift to the list might be difficult, because I think to achieve this you have to work with ASM instructions

Okay, turns out I was wrong, there is an easier way.

Thanks to :

Which means I improved the "Can learn all skills" :

Can learn literally all non-hidden skills

0870F8A8 00000000
2050002C 00000000
0870F8B0 00000002
0023002C 00000000
0870F8B4 80710B04
2023002C 00000000

Note : A character having either Tempest or Serenity ("dummy" skills) cannot have access to the list of non-assignable skills. You have to remove from the character these skills first.

RFEE01_2023-06-11_17-14-37.thumb.png.0f03cb6412823655b9441a2da38ef107.png

Link to comment
Share on other sites

6 hours ago, Whai said:

Okay, turns out I was wrong, there is an easier way.

Thanks to :

Which means I improved the "Can learn all skills" :

Can learn literally all non-hidden skills

0870F8A8 00000000
2050002C 00000000
0870F8B0 00000002
0023002C 00000000
0870F8B4 80710B04
2023002C 00000000

Note : A character having either Tempest or Serenity ("dummy" skills) cannot have access to the list of non-assignable skills. You have to remove from the character these skills first.

RFEE01_2023-06-11_17-14-37.thumb.png.0f03cb6412823655b9441a2da38ef107.png

This is incredible. So much better than what I had been doing 😅

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...