Xenoblade Chronicles X cheats and mods

  • Thread starter Thread starter Ultimos54
  • Start date Start date
  • Views Views 637,768
  • Replies Replies 3,186
  • Likes Likes 57
Works great in citron 0.6.1 as well, definitely a bit better then ryubing which has terrible frame times in the city areas.
is citron mainly for phone emu or would switching from ryujinx to citron be a performance upgrade for XCX you reckon?
Post automatically merged:

Hello,
I'd like to make a cheat which increases just a bit the catch for collectibles (the "auto pickup collectibles" cheat has a too big radius for me) but I don't really get how the cheats are created (so far I suppose the 2ne 8 byte value is the memory address and the last 8 byte value is the ARM64 instruction in big indian format).
I made a lot of mods for the Wii U version, thanks to IDA, and I'd like to port some of them, but I can't see a way to do the same for the switch version (functions names are obfuscated).
Sounds like a dumb question but does anyone would have some information to share (eventually pm if this is not the topic for that).
Thanks.
also interested in a slightly bigger radius for pickups, lmk if you figure anything out mate! GL
 
  • Like
Reactions: lasyan3
can someone please fix these cheats to work on ryujinx or help me with it thanks in the mean time

this one works on ryujinx fine
[funds 1m, tickets 9k, miranium 6k]
580F0000 01DD0408
780F0000 0001B5CC
640F1000 72616C01 000F4240
640F1000 72616C01 00001770
640F1000 72616C01 00002328
________________________________________________________________
BUT NOT THESE
[mission qty display]
04000000 008C0C44 B9400140

[hp no dec everybody]
04000000 001CC4D4 1A89B029
04000000 001CC4D4 1A89C029

[hp tp full   kill enemy]
04000000 00410184 F9410016
04000000 00410184 151C5A7B
04000000 04B26B70 F9410016
04000000 04B26B74 18000154
04000000 04B26B78 794073F3
04000000 04B26B7C 6B13029F
04000000 04B26B80 540000A1
04000000 04B26B84 B9026AD4
04000000 04B26B88 B94256D4
04000000 04B26B8C B90252D4
04000000 04B26B90 16E3A57E
04000000 04B26B94 B94252D4
04000000 04B26B98 16E3A57C
04000000 04B26B9C 00009D70
80000300
04000000 04B26B94 B90252DF
20000000

[no cool down]
04000000 00253B7C BD000100
04000000 00253B7C B900011F

[coins watch]
04000000 00349ED8 B8696900
04000000 00349ED8 B8696900

[skill pts no dec]
04000000 0012101C 0B130108
04000000 0012101C 4B130108

[  hover moon jump]
C4000000 00000000 00000100
04000000 00241058 BD40942A
04000000 00241058 152396D2
04000000 04B26BA0 F0FFE535
04000000 04B26BA4 BD40942A
04000000 04B26BA8 BD0262AA
04000000 04B26BAC BD00942A
04000000 04B26BB0 16DC692B
04000000 04B26BB4 42340000
21000000
80000100
04000000 04B26BA8 BD4262AA
21000000
04000000 00241058 BD40942A
20000000
20000000
C4000000 00000000 00000102
58010000 047CD260
94A11110 41A00000
A4110400 047CD260
20000000

[ speed x4]
04000000 015342B8 4E20D420
80000100
04000000 015342B8 4E20D420
04000000 015342B8 140842C8
04000000 01744DD8 4E20D420
04000000 01744DDC 2A1F03E8
04000000 01744DE0 4E0C1D01
04000000 01744DE4 4E20D420
04000000 01744DE8 4E20D420
04000000 01744DEC 4E20D420
04000000 01744DF0 17F7BD33
04000000 01744DF4 00000064
20000000

[have 255 after viewing qty]
04000000 0065A8D0 39400D08
04000000 0065A8D0 1443A94E
04000000 01744E08 7940051E
04000000 01744E0C 321D1FDE
04000000 01744E10 7900051E
04000000 01744E14 39400D08
04000000 01744E18 17BC56AF

[Off enable]
04000000 00410184 F9410016
04000000 00253B7C BD000100
04000000 00349ED8 B8696900
04000000 0012101C 0B130108
04000000 001CC4D4 1A89B029
04000000 0065A8D0 39400D08

[Auto Pickup Collectibles]
04000000 001504D0 9457D238
04000000 001504F0 9457D230
04000000 00150510 9457D228
04000000 00150548 9457D21A
04000000 00150568 9457D212
04000000 00150588 9457D20A
04000000 001505AC 9457D201
04000000 001505CC 9457D1F9
04000000 001505E0 9457D1F4

[Infinite HP]
04000000 00414CB0 151C47B4
04000000 04B26B8C B900A101

[Infinite TP]
04000000 00414CB0 151C47B4
04000000 04B26B94 B900B901

[EXP Multiplier x10]
04000000 0006B0AC 145B673D
04000000 01744DA0 1E24900C

[Class Rank Multiplier x16]
04000000 0025CE68 0B021069

[Have 255 qty of items after viewing]
04000000 0065A8D0 39400D08
04000000 0065A8D0 1443A94E
04000000 01744E08 7940051E
04000000 01744E0C 321D1FDE
04000000 01744E10 7900051E
04000000 01744E14 39400D08
04000000 01744E18 17BC56AF

[Have 9999 held of item if you dont have any]
04000000 0013DBB8 2A1F03E0
04000000 0013DBB8 5284E1E0

[All stats 500]
04000000 00410184 F9410016
04000000 00410184 151C5A8D
04000000 04B26BB8 F9410016
04000000 04B26BBC 180001B4
04000000 04B26BC0 794073F3
04000000 04B26BC4 6B13029F
04000000 04B26BC8 54000121
04000000 04B26BCC 18000154
04000000 04B26BD0 B90272D4
04000000 04B26BD4 B90276D4
04000000 04B26BD8 B9027AD4
04000000 04B26BDC B9027ED4
04000000 04B26BE0 B90282D4
04000000 04B26BE4 B90286D4
04000000 04B26BE8 B9028AD4
04000000 04B26BEC 16E3A567
04000000 04B26BF0 00009D70
04000000 04B26BF4 000001F4


{master code}
04000000 00414CB0 B90D7680
04000000 0006B0AC 1E202908
04000000 00253B74 1E203820
04000000 0025CE68 0B020069
04000000 001504D0 1E230100
04000000 001504F0 1E230100
04000000 00150510 1E230100
04000000 00150548 1E230100
04000000 00150568 1E230100
04000000 00150588 1E230100
04000000 001505AC 1E230100
04000000 001505CC 1E230100
04000000 001505E0 1E230100
04000000 001CE1B8 4B1302F9
08000000 01744DA0 1E2C0800 1E2E100C
08000000 01744DA8 17A498C1 1E202908
08000000 01744DB0 1E230100 18000068
08000000 01744DB8 0098967F D65F03C0
08000000 04B26B80 B9009102 52A66662
08000000 04B26B88 D503201F B940A501
08000000 04B26B90 D503201F B940BD01
08000000 04B26B98 16E3B846 B90D7680
08000000 04B26BB0 B9409105 52A66666
08000000 04B26BB8 54000061 6B0600BF
08000000 04B26BC0 16DA9D7E 4B1302F9
08000000 04B26BC8 16DA9D7C 4B1302F9
 
Last edited by waraven,
w
can someone please fix these cheats to work on ryujinx or help me with it thanks in the mean time

this one works on ryujinx fine
[funds 1m, tickets 9k, miranium 6k]
580F0000 01DD0408
780F0000 0001B5CC
640F1000 72616C01 000F4240
640F1000 72616C01 00001770
640F1000 72616C01 00002328
________________________________________________________________
BUT NOT THESE
[mission qty display]
04000000 008C0C44 B9400140

[hp no dec everybody]
04000000 001CC4D4 1A89B029
04000000 001CC4D4 1A89C029

[hp tp full   kill enemy]
04000000 00410184 F9410016
04000000 00410184 151C5A7B
04000000 04B26B70 F9410016
04000000 04B26B74 18000154
04000000 04B26B78 794073F3
04000000 04B26B7C 6B13029F
04000000 04B26B80 540000A1
04000000 04B26B84 B9026AD4
04000000 04B26B88 B94256D4
04000000 04B26B8C B90252D4
04000000 04B26B90 16E3A57E
04000000 04B26B94 B94252D4
04000000 04B26B98 16E3A57C
04000000 04B26B9C 00009D70
80000300
04000000 04B26B94 B90252DF
20000000

[no cool down]
04000000 00253B7C BD000100
04000000 00253B7C B900011F

[coins watch]
04000000 00349ED8 B8696900
04000000 00349ED8 B8696900

[skill pts no dec]
04000000 0012101C 0B130108
04000000 0012101C 4B130108

[  hover moon jump]
C4000000 00000000 00000100
04000000 00241058 BD40942A
04000000 00241058 152396D2
04000000 04B26BA0 F0FFE535
04000000 04B26BA4 BD40942A
04000000 04B26BA8 BD0262AA
04000000 04B26BAC BD00942A
04000000 04B26BB0 16DC692B
04000000 04B26BB4 42340000
21000000
80000100
04000000 04B26BA8 BD4262AA
21000000
04000000 00241058 BD40942A
20000000
20000000
C4000000 00000000 00000102
58010000 047CD260
94A11110 41A00000
A4110400 047CD260
20000000

[ speed x4]
04000000 015342B8 4E20D420
80000100
04000000 015342B8 4E20D420
04000000 015342B8 140842C8
04000000 01744DD8 4E20D420
04000000 01744DDC 2A1F03E8
04000000 01744DE0 4E0C1D01
04000000 01744DE4 4E20D420
04000000 01744DE8 4E20D420
04000000 01744DEC 4E20D420
04000000 01744DF0 17F7BD33
04000000 01744DF4 00000064
20000000

[have 255 after viewing qty]
04000000 0065A8D0 39400D08
04000000 0065A8D0 1443A94E
04000000 01744E08 7940051E
04000000 01744E0C 321D1FDE
04000000 01744E10 7900051E
04000000 01744E14 39400D08
04000000 01744E18 17BC56AF

[Off enable]
04000000 00410184 F9410016
04000000 00253B7C BD000100
04000000 00349ED8 B8696900
04000000 0012101C 0B130108
04000000 001CC4D4 1A89B029
04000000 0065A8D0 39400D08
what does coins watch do?
 
can someone please fix these cheats to work on ryujinx or help me with it thanks in the mean time

<snip>

Half these codes are toggle, which rewrite the assembly mid-execution. They are impossible to work as-is on most emulators. It would be possible to have them in an 'always on' state, but things like jump and speed codes would absolutely be a nightmare. Some codes might have side effects for being on all the time, and thus the reason for them to be toggle.
 
  • Like
Reactions: Nucleardomson
Half these codes are toggle, which rewrite the assembly mid-execution. They are impossible to work as-is on most emulators. It would be possible to have them in an 'always on' state, but things like jump and speed codes would absolutely be a nightmare. Some codes might have side effects for being on all the time, and thus the reason for them to be toggle.
ok so which codes can you help me with and which are no go because i know a little code editing im just not familiar with how to do this for this game using a emulator and my switch is stupid out of date and i dont like fooling with it since i can play on a superior pc...
 
[Chest Scale x5.0]​
580F0000 01DD0408​
780F0000 00000164​
300E0000 00000003​
640F0000 00000000 40A00000​
780F0000 00000004​
310E0000​

Can someone test this? It should work on at least Switch and Ryujinx, so hopefully should work on all emulators as well. Just activate the code, save game while code is active, deactivate code, and reload save. If boobs are bigger then it works and I'll upload the rest.
Kind of a schizo question but, I had saved my game with this one cheat enabled, which is the one that didn't work because it had those weird characters at the end. Is there any chance that It might've messed something else up in my save since it had some wrong stuff in it? I do have a backup save but it's from like 3 in-game hours before.
 
  • Like
Reactions: JBbHvV
ok so which codes can you help me with and which are no go because i know a little code editing im just not familiar with how to do this for this game using a emulator and my switch is stupid out of date and i dont like fooling with it since i can play on a superior pc...

I can't. I don't know where you got those codes from, or what version of the game they are for. It's not included on the OP of working codes, so I don't even know if they work on the switch. It's possible that these codes have already been reviewed and confirmed not working. You also have at least one code that doesn't look like arm code at first glance, but I also don't own the game yet and I don't have hardware to work with the assembly.
 
I don't care about emus, this is what I have so far for hardware itself. Everything was modified to run at dynamic speed, only QTE was not fixed and cutscenes running on separate engine are locked to 30 FPS because they have weird issues running above 30

This will be available exclusively in FPSLocker so you can play at 45Hz with dynamic resolution properly adjusted to target 45 FPS if you don't want to play with charger plugged as 1963/844/2233 is still not enough to get locked 60 FPS. Video was made with 1963/1267/2233



I'm afraid your current 60fps code breaks jumping, the speed is doubled and the jump is smaller.
 
Sorry if this is an inappropriate way to talk and ask about this. I was looking to edit a code, but I was having trouble understanding what was happening to make the changes I want. I'm specifically looking at changing the "have 255 after viewing qty" to a lower value, like 90, but as I said I don't understand the specifics in the code. Can anyone help with this?

have 255 after viewing qty
04000000 0065A8D0 39400D08
04000000 0065A8D0 1443A94E
04000000 01744E08 7940051E
04000000 01744E0C 321D1FDE
04000000 01744E10 7900051E
04000000 01744E14 39400D08
04000000 01744E18 17BC56AF
 
I can't. I don't know where you got those codes from, or what version of the game they are for. It's not included on the main page of working codes, so I don't even know if they work on the switch. It's possible that these codes have already been reviewed and confirmed not working. You also have at least one code that doesn't look like arm code at first glance, but I also don't own the game yet and I don't have hardware to work with the assembly.
actually i got the codes from working codes from here and on clickswich made by tomswitch all the codes but but like 3 are from clickswitch which is on the working codes and the rest are straight from here on the working code section
 
is citron mainly for phone emu or would switching from ryujinx to citron be a performance upgrade for XCX you reckon?

Nah it's not mainly for phones it's the most active yu zu fork atm, they support windows, linux and android and yes the game runs a bit better in it then in ryu forks.
 
actually i got the codes from working codes from here and on clickswich made by tomswitch all the codes but but like 3 are from clickswitch which is on the working codes and the rest are straight from here on the working code section

In the OP? I'm not seeing them...?

Edit: I've already fixed auto pickup for ryujinx

[Auto Pickup Collectibles]
08000000 001504D0 1E230100 18000068
08000000 001504F0 1E230100 18000068
08000000 00150510 1E230100 18000068
08000000 00150548 1E230100 18000068
08000000 00150568 1E230100 18000068
08000000 00150588 1E230100 18000068
08000000 001505AC 1E230100 18000068
08000000 001505CC 1E230100 18000068
08000000 001505E0 1E230100 18000068
 
Last edited by asmoranomar,
for those who are interested in C_H_E_W er...."special" mod. the offset formula is:
[main+01DD0408]+( ((character_id-1) * 0x7F8)+0x164 )
emma is id C so her offset is ((C-1)*7F8)+164 = 0x590C
so emma's offset is @ [main+1DD0408]+0x590C
For those of you here that aren't that familiar with hex code and modifying instruction sets, here is the code for Elma based off of the calculations made by Gamerjin:

Code:
[Chest Scale x5.0]
580F0000 01DD0408
780F0000 0000590C
300E0000 00000003
640F0000 00000000 40A00000
780F0000 00000004
310E0000
 

Site & Scene News

Popular threads in this forum