ROM Hack Cheat Codes AMS and Sx Os, Add and Request

TomSwitch

Well-Known Member
Member
Joined
Jan 10, 2019
Messages
4,704
Trophies
1
Age
44
XP
15,277
Country
United States
@TomSwitch I have 2 questions.

First question:

When using a 0x9 code type to 'move' a register, does it still keep the old value in the old register? I need to use this value as an address for a register load code, and am unsure if it'll work because it is described as a 'move' operation and not a 'copy' one. If that won't work, this code in and of itself cannot work, as it is a loop code, and the loading of the register is looped, then the register is incremented at some point during each loop. I want to do the following:

  1. Set register 0xB with the original offset.
  2. 'Copy' register 0xB to register 0xC
  3. Set loop X times to register 0xF.
  4. Use register B as the base address to a 0x5 code type, writing to register 0xB again.
  5. Check if register 0xB is greater than 0.
  6. If yes, subtract 2 from register 0xC and store it in register 0xD.
  7. Write 0x0384 to the address in register 0xD.
  8. End condition.
  9. Add 0x8 to register 0xC.
  10. 'Copy' register 0xC to register 0xB.
  11. Loop
  12. End condition (for the loop, breeze seems to think it is needed, and will add it if missing, but AMS's documentation doesn't mention it).
This code is an all items code that sets the quantity to 900 only for the items you have. Currently it does not skip key items, but I will add that functionality next once I get the initial code working.

Second question:

In step 7, can I use negative values in register write offsets? If so, I can cut out step 6 altogether and not use register 0xD for anything, shortening the code by 1 line, and the overall operation significantly as a result.
code type 9 is math, you change the lhs
code type 5 is load register and of course change the register
you can use disassembly function of breeze and post it here for a look
 

Maq47

Lord of Pyro
Member
Joined
Jan 7, 2012
Messages
1,293
Trophies
1
Location
Your basement
Website
idont.have.one
XP
3,426
Country
United States
code type 9 is math, you change the lhs
code type 5 is load register and of course change the register
you can use disassembly function of breeze and post it here for a look
Okay, I am at my wit's end... Why isn't this code working? It's actually setting every owned item's ID AND quantity to 0 instead of what it should be doing...

Code:
[900x All Owned Items (Excludes Key Items)]
400B0000 00000000 40732676
400E0000 00000000 00000000
989CB0A0
300F0000 000000B5
C021B11E
981DC100 00000000 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 40732C56
300F0000 0000040C
989CB0A0
C021B11E
981DC100 00000000 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 40734D66
300F0000 00000002
989CB0A0
C021B11E
911DC100 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 40734D86
300F0000 00000002
989CB0A0
C021B11E
981DC100 00000000 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 407354DE
300F0000 0000009E
989CB0A0
C021B11E
981DC100 00000000 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
 

NeoGranzon

シュウ 「グラビトロンカノン 発射!」
Newcomer
Joined
Aug 4, 2019
Messages
3,124
Trophies
1
XP
8,467
Country
Italy
Arcade Archives TASK FORCE HARRIER
TID: 01007EB014716000
BID: 55CFD9282D41F276

[Inf.Credits]
[1P Inf.Lives]
[1P Invincibility]
[2P Inf.Lives]
[2P Invincibility]

Original Code by ネオ•グランゾン
 

Attachments

  • 55CFD9282D41F276.txt
    382 bytes · Views: 5

Maq47

Lord of Pyro
Member
Joined
Jan 7, 2012
Messages
1,293
Trophies
1
Location
Your basement
Website
idont.have.one
XP
3,426
Country
United States
Okay, I am at my wit's end... Why isn't this code working? It's actually setting every owned item's ID AND quantity to 0 instead of what it should be doing...

Code:
[900x All Owned Items (Excludes Key Items)]
400B0000 00000000 40732676
400E0000 00000000 00000000
989CB0A0
300F0000 000000B5
C021B11E
981DC100 00000000 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 40732C56
300F0000 0000040C
989CB0A0
C021B11E
981DC100 00000000 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 40734D66
300F0000 00000002
989CB0A0
C021B11E
911DC100 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 40734D86
300F0000 00000002
989CB0A0
C021B11E
981DC100 00000000 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 407354DE
300F0000 0000009E
989CB0A0
C021B11E
981DC100 00000000 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
Edit: I figured out my issue. I am posting the new code now.
 

TomSwitch

Well-Known Member
Member
Joined
Jan 10, 2019
Messages
4,704
Trophies
1
Age
44
XP
15,277
Country
United States
Okay, I am at my wit's end... Why isn't this code working? It's actually setting every owned item's ID AND quantity to 0 instead of what it should be doing...

Code:
[900x All Owned Items (Excludes Key Items)]
400B0000 00000000 40732676
400E0000 00000000 00000000
989CB0A0
300F0000 000000B5
C021B11E
981DC100 00000000 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 40732C56
300F0000 0000040C
989CB0A0
C021B11E
981DC100 00000000 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 40734D66
300F0000 00000002
989CB0A0
C021B11E
911DC100 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 40734D86
300F0000 00000002
989CB0A0
C021B11E
981DC100 00000000 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 407354DE
300F0000 0000009E
989CB0A0
C021B11E
981DC100 00000000 00000002
021D0000 00000000 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
I have no idea what you are trying to do. Show disassembled code. Most human can't read machine code.
 

Maq47

Lord of Pyro
Member
Joined
Jan 7, 2012
Messages
1,293
Trophies
1
Location
Your basement
Website
idont.have.one
XP
3,426
Country
United States
Soooo, I'm running into an issue where a moon jump code only works while standing still, but I want the player to be able to move while using it, otherwise it is useless. How do I make a 0x8 code type ignore the upper 16 bits of the code so that stick controls are ignored? This is really agitating. No other moon jump code does this in any other game I have played, so I'm at a loss...
Post automatically merged:


Edit: Okay, never mind. The character moving makes the gravity increase, so I just had to hold the button longer to get it to work. The code is working as intended.

Edit 06/28/2024 @ 6:42 PM EST:

Added the rest of the codes I wish to port, for now.

Edit 7/1/2024 @ 1:52 PM EST:

Added an item multiplier code.

Monster Hunter Stories 2: Wings of Ruin v1.5.3
TID: 0100E21011446000
BID: 52D3FBEF16F2D951

[Moon Jump(B)+ Walk Through Walls]
80000002
580F0000 02425070
580F1000 00000078
580F1000 00000148
580F1000 00000060
580F1000 00000008
780F0000 00000014
640F0000 00000000 42C80000
20000000

[Max 9999 Stats+Level 99 (Main Character)]
041D0000 4050AFEC 0000270F
081D0000 4050AFF0 0000270F 0000270F
011D0000 4050AFFA 00000063
021D0000 4050B028 0000270F
021D0000 4050B03E 0000270F
011D0000 4050B040 00000000

[Max 9999 Stats+Level 99 (Monsties)]
580C0000 0241C260
580C1000 00000038
580C1000 00000038
300D0000 000000FF
989EC0F0
580E1000 00000000
780E0000 00000078
680E0000 0000270F 0000270F
780E0000 00000008
620E0000 00000000 0000270F
780E0000 00000006
610E0000 00000000 00000063
780E0000 0000002E
620E0000 00000000 0000270F
780E0000 00000014
680E0000 270F270F 270F270F
780E0000 00000008
640E0000 00000000 270F270F
780C0000 00000008
310D0000 20000000

[Run Speed x1.25]
040C0000 010BC448 1E2E900D

[Run Speed 1.5x]
040C0000 010BC448 1E2F100D

[Run Speed 1.75x]
040C0000 010BC448 1E2F900D

[Run Speed Normal]
040C0000 010BC448 1E2E100D

[EXP Gained After Battle = 999,999]
580F0000 0241BF38
780F0000 00002304
640F0000 00000000 000F423F

[Max Money]
04100000 40732670 3B9AC9FF

[900x All Owned Items (Excludes Key Items)]
400B0000 00000000 40732674
400E0000 00000000 00000000
989CB0A0
300F0000 000000B5
C023E11B
021C0000 00000002 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 40732C54
300F0000 0000040C
989CB0A0
C023E11B
021C0000 00000002 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 40734D64
300F0000 00000002
989CB0A0
C023E11B
021C0000 00000002 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 40734D84
300F0000 00000002
989CB0A0
C023E11B
021C0000 00000002 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000
400B0000 00000000 407354DC
300F0000 0000009E
989CB0A0
C023E11B
021C0000 00000002 00000384
20000000
980CC100 00000000 00000008
989BC0A0
310F0000
20000000

Notes:

These codes were all ported from the originals by @Hazerou, @xtatu, and others whom I don't know the origins of their codes.

  • For the moon jump code, when you're on foot with your main character, you need to walk 'down' a slope wile holding B, and once you're 'high' enough, then the moon jump will start working.
  • The character stats code may only work in the first outdoor map outside Mahana Village; more testing needs to be done to confirm this.
  • The run speed codes cause your weapon to jiggle like crazy when on foot. This is purely visual, and to avoid it, ride a Monstie; the speed boost works on them as well!
  • The max money code was unchanged between v1.1.0 and v1.5.3, for some odd reason.

@Grendhy @ThiagoAdami Added another code, an item multiplier code. :grog:
 

xanny

Member
Newcomer
Joined
Mar 29, 2007
Messages
6
Trophies
1
XP
32
Country
Italy
[Breeze beta91c Beyond Good & Evil - 20th Anniversary Edition 1.0.0 TID: 0100E0A01DD20000 BID: 505D9B393FB14E66]

[credit 1m]
580F0000 019A2998
780F1000 00000190
640F0000 00000000 000F4240
Hi, thanks for your works and for the helps, I don't know i f someone wrote about it yet, but pearls code doesn't work, you just get 99 pearls showed, but you just can use the one you really own.
 
Last edited by xanny,

NeoGranzon

シュウ 「グラビトロンカノン 発射!」
Newcomer
Joined
Aug 4, 2019
Messages
3,124
Trophies
1
XP
8,467
Country
Italy
Arcade Archives HACHA MECHA FIGHTER
TID: 010068B014CC2000
BID: AA14DFB7E6129AB0

[Inf.Credits]
[1P Inf.Lives]
[1P Inf.Bombs]
[1P Invincibility]
[1P Always Max Shot Power]
[1P Always All Options]
[2P Inf.Lives]
[2P Inf.Bombs]
[2P Invincibility]
[2P Always Max Shot Power]
[2P Always All Options]

Original Code by ネオ•グランゾン
 

Attachments

  • AA14DFB7E6129AB0.txt
    689 bytes · Views: 1

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @MikeFoxtrot, welcome