1. Jonhy

    Jonhy GBAtemp Fan
    Member

    Joined:
    May 22, 2016
    Messages:
    334
    Country:
    United States
    You have to update your homebrew menu as well as your homebrew apps.
     
    almmiron likes this.
  2. Gamerjin

    Gamerjin GBAtemp Advanced Fan
    Member

    Joined:
    May 25, 2016
    Messages:
    692
    Country:
    United States
    Does anyone have a working 0xA code type examples? I'm having a hard time fully understanding the options of the code type...
     
  3. Gamerjin

    Gamerjin GBAtemp Advanced Fan
    Member

    Joined:
    May 25, 2016
    Messages:
    692
    Country:
    United States
    @SciresM,
    i think the end conditional codetype line "20000000" has a bug. If it is used with a loop code like in the example below, the switch hard freezes, so the only way out is to hold the power button for about 12-14 seconds. so after re-reading the Documents, i realized that i need to remove the 20000000 as the documents only mention it ends codetypes 1 and 8. it also did not mention not to use it with a loop code.
    Code:
    [my loop code]
    580D0000 037f0178
    780D0000 0000A2F0
    300E0000 0000004C
    610D0000 00000000 00000060
    780D0000 00000001
    310E0000
    20000000
    
    This is what the sxos code builder outputted when i filled the blanks. i know i cant be the only one using it, so others probably will find this out sooner or later.
    this is what worked:
    Code:
    [my loop code]
    580D0000 037f0178
    780D0000 0000A2F0
    300E0000 0000004C
    610D0000 00000000 00000060
    780D0000 00000001
    310E0000
    
    ------------------------------------------
    also, do you have a working loop code that increase the value as it goes?I tried to read the documentation, but im getting confused by it. is there example that i can use look at?
    ie. start @ Heap + A2ED1A6E => heap + A2ED1ABA, but with the 0xA codetype it should be to write:
    Heap + A2ED1A6E = 01
    Heap + A2ED1A6F = 02
    Heap + A2ED1A70 = 03
    .....
    Heap + A2ED1ABA = 4C
    etc
    its was to help find item offsets...
     
  4. masagrator

    masagrator The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    2,281
    Country:
    Poland
    I'm using 20000000 without issues also with C. Example to Xenoblade 2 2.0.2
    Code:
    [60 FPS (Auto)]
    58020000 00F82308
    78020000 008C4CEC
    54121000 00000000
    58030000 00BD7F40
    54131000 00000000
    94842030
    C0154400 00000000
    58010000 00b8f0d0
    78010000 00000078
    68010000 3C888889 3C888889
    08000000 00b74bc0 00000001 00000001
    58000000 00F82ED8
    78001000 000001E0
    78000000 00000BD4
    64000000 00000000 0000003C
    20000000
    C0164400 00000000
    58010000 00b8f0d0
    78010000 00000078
    68010000 3D088889 3D088889
    08000000 00b74bc0 00000002 00000002
    58000000 00F82ED8
    78001000 000001E0
    78000000 00000BD4
    64000000 00000000 0000001E
    20000000
    — Posts automatically merged - Please don't double post! —

    Loop is not conditional block

    — Posts automatically merged - Please don't double post! —

    300R0000 VVVVVVVV - start of loop
    310R0000 - end of loop
     
  5. Gamerjin

    Gamerjin GBAtemp Advanced Fan
    Member

    Joined:
    May 25, 2016
    Messages:
    692
    Country:
    United States
    i think you missed the point....

    is the system so strict that a out-of-place end conditional crashes the whole system?
     
  6. masagrator

    masagrator The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    2,281
    Country:
    Poland
    Cheat code is a primitive programming language. This is like asking for preventing any error in any language, when wrong code is obviously author's fault, not environment.
    IPS also is prone to crashing atmo if code is not written properly (f.e. using 3 bytes for offset in IPS32), but it's my fault when this happens.

    I don't think spending resources on trivial things (preventing crashes clearly because of user error) is not a good idea when many more important things are still to do. You are asking for idiotproof resolutions.

    If you still think this is crucial, this is better place for bugs:
    https://github.com/Atmosphere-NX/Atmosphere/issues
     
    Last edited: Jan 31, 2020
  7. Gamerjin

    Gamerjin GBAtemp Advanced Fan
    Member

    Joined:
    May 25, 2016
    Messages:
    692
    Country:
    United States
    ..........then how do you explain why sxos is able to run the example with the 20000000 and not crash the system? and please dont give me the whole "AMS is AMS and SXOS is SXOS" or "Dont talk about SXOS here" or even "SXOS is broken code, so of course that's going to work." lines. im not trying to be a troll, or start a flame war. My only intent was to relay what i thought to the author of the CFW. This is my last post on this matter, so if you respond to this, congratulations, you got the last word in...
     
  8. masagrator

    masagrator The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    2,281
    Country:
    Poland
    SX OS cheat engine has different structure. 20000000 in Atmosphere doesn't support loops, when SX OS supports it.
    https://sx.xecuter.com/download/cheathacker_guide.txt
    Code:
     # Code Type 2: End of conditional statement
    
      20000000
    
      This code type terminates an conditional block (Code type 3 or 8)
    And according to this guide it doesn't support code type 9, 10 and C0. So my cheat won't even work with SX OS. :D

    And my word - why even bother for 20000000 to support loop? It doesn't make sense. You are creating loop that will not be used...
     
    Last edited: Jan 31, 2020
  9. Nemix77

    Nemix77 GBAtemp Advanced Fan
    Member

    Joined:
    May 30, 2009
    Messages:
    684
    Country:
    Canada
    My launch day Switch is still on firmware 4.0.1 planning on modding with Atmosphere CFW soon.

    I've already bought the newer payload injector is battery and waiting for delivery.

    Is there anything I should do right after installing Atmosphere CFW?

    I'll be using YouTube guides to install the CFW on my Switch.
     
  10. masagrator

    masagrator The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    2,281
    Country:
    Poland
    God forbid.
     
    DarknessPlay3r likes this.
  11. BaamAlex

    BaamAlex (*(vu64 *)0x1FF81100)
    Member

    Joined:
    Jul 23, 2018
    Messages:
    1,981
    Country:
    Germany
    Please...don't follow video guides. They are really quick outdated
     
  12. Nemix77

    Nemix77 GBAtemp Advanced Fan
    Member

    Joined:
    May 30, 2009
    Messages:
    684
    Country:
    Canada
    Noted...

    Any guides on this forum to install Atmosphere correctly?
     
  13. BaamAlex

    BaamAlex (*(vu64 *)0x1FF81100)
    Member

    Joined:
    Jul 23, 2018
    Messages:
    1,981
    Country:
    Germany
    Try this one. You can thank me later.
     
    Nemix77 and Lumona like this.
  14. Nemix77

    Nemix77 GBAtemp Advanced Fan
    Member

    Joined:
    May 30, 2009
    Messages:
    684
    Country:
    Canada
    Cool, didn't know I do not require a RCM payload.
     
  15. BaamAlex

    BaamAlex (*(vu64 *)0x1FF81100)
    Member

    Joined:
    Jul 23, 2018
    Messages:
    1,981
    Country:
    Germany
    You always need a rcm payload when you turn on the console. Standby is okay and makes sense. But when you are in rcm, you need such a payload.
     
  16. Nemix77

    Nemix77 GBAtemp Advanced Fan
    Member

    Joined:
    May 30, 2009
    Messages:
    684
    Country:
    Canada
    Even with PegaScape (Caffeine) exploit?

    From what I gather, firmware 4.1.0 and below can inject fake news and get payload from PegaScape server?

    So what do I need a RCM payload for?
     
  17. Draxzelex

    Draxzelex GBAtemp Legend
    Member

    Joined:
    Aug 6, 2017
    Messages:
    10,846
    Country:
    United States
    Caffeine just lets you reboot to a payload from your SD card once you run the script via the Internet with PegaScape. RCM payloads are more convenient to send since you don't require an Internet connection or a specific firmware. As stated before, you always need to send a payload whether its through RCM or with Caffeine.
     
  18. Nemix77

    Nemix77 GBAtemp Advanced Fan
    Member

    Joined:
    May 30, 2009
    Messages:
    684
    Country:
    Canada
    My RCM payloader is on delivery, should I wait for it to arrive before I start the exploit on my Switch?

    I'm on firmware 4.0.1 but I may have to remove update nag before I can move on with the Caffeine exploit?

    Another question: Say I want to go with Caffeine exploit and loose internet connection one day, can I still use the RCM payloader without internet connection with Caffeine?
     
  19. Draxzelex

    Draxzelex GBAtemp Legend
    Member

    Joined:
    Aug 6, 2017
    Messages:
    10,846
    Country:
    United States
    If you have the supernag, you cannot use Caffeine to hack your Switch. The only way to remove it would be to use Fusee Gelee which at that point lets you hack the console anyways hence why Fusee Gelee is better than Caffeine. Fusee Gelee also doesn't require any Internet connection whatsoever which is another benefit it has over Fusee Gelee. Caffeine is the only exploit for the Switch that requires Internet.
     
  20. PHiLiPZ

    PHiLiPZ GBAtemp Regular
    Member

    Joined:
    Mar 8, 2019
    Messages:
    153
    Country:
    Slovakia
    Just use a pc or android phone to send the payload. No need to wait for the delivery.
     
    BaamAlex likes this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - development, Atmosphere, Firmware