1. dsrules

    dsrules GBAtemp Guru
    Member

    Joined:
    Sep 20, 2005
    Messages:
    6,620
    Country:
    not about save manager, but please ask them to update their cheat engine to add support for the extra codetypes from Atmosphere cfw, cheats made using those codetypes will freeze the Switch on sx os when enabled. It is best to make the cheat engine universal.
    ### Code Type 9: Perform Arithmetic

    Code type 9 allows performing arithmetic on registers.

    #### Register Arithmetic Encoding

    `9TCRS0s0`

    + T: width of arithmetic operation (1, 2, 4, or 8 bytes)
    + C: Arithmetic operation to apply, see below.
    + R: Register to store result in.
    + S: Register to use as left-hand operand.
    + s: Register to use as right-hand operand.

    #### Immediate Value Arithmetic Encoding

    `9TCRS100 VVVVVVVV (VVVVVVVV)`

    + T: width of arithmetic operation (1, 2, 4, or 8 bytes)
    + C: Arithmetic operation to apply, see below.
    + R: Register to store result in.
    + S: Register to use as left-hand operand.
    + V: Value to use as right-hand operand.

    #### Arithmetic Types

    + 0: Addition
    + 1: Subtraction
    + 2: Multiplication
    + 3: Left Shift
    + 4: Right Shift
    + 5: Logical And
    + 6: Logical Or
    + 7: Logical Not (discards right-hand operand)
    + 8: Logical Xor
    + 9: None/Move (discards right-hand operand)

    ---

    ### Code Type 10: Store Register to Memory Address

    Code type 10 allows writing a register to memory.

    #### Encoding

    `ATSRIOxa (aaaaaaaa)`

    + T: width of memory write (1, 2, 4, or 8 bytes)
    + S: Register to write to memory.
    + R: Register to use as base address.
    + I: Increment register flag (0 = do not increment R, 1 = increment R by T).
    + O: Offset type, see below.
    + x: Register used as offset when O is 1, Memory type when O is 3, 4 or 5.
    + a: Value used as offset when O is 2, 4 or 5.

    #### Offset Types

    + 0: No Offset
    + 1: Use Offset Register
    + 2: Use Fixed Offset
    + 3: Memory Region + Base Register
    + 4: Memory Region + Relative Address (ignore address register)
    + 5: Memory Region + Relative Address + Offset Register
    ---

    ### Code Type 11: Reserved

    Code Type 11 is currently reserved for future use.

    ---

    ### Code Type 12-15: Extended-Width Instruction

    Code Types 12-15 signal to the VM to treat the upper two nybbles of the first dword as instruction type, instead of just the upper nybble.

    This reserves an additional 64 opcodes for future use.

    ---

    ### Code Type 0xC0: Begin Register Conditional Block

    Code type 0xC0 performs a comparison of the contents of a register and another value. This code support multiple operand types, see below.

    If the condition is not met, all instructions until the appropriate conditional block terminator are skipped.

    #### Encoding

    ```
    C0TcSX##
    C0TcS0Ma aaaaaaaa
    C0TcS1Mr
    C0TcS2Ra aaaaaaaa
    C0TcS3Rr
    C0TcS400 VVVVVVVV (VVVVVVVV)
    C0TcS5X0
    ```

    + T: width of memory write (1, 2, 4, or 8 bytes)
    + c: Condition to use, see below.
    + S: Source Register
    + X: Operand Type, see below.
    + M: Memory Type (operand types 0 and 1)
    + R: Address Register (operand types 2 and 3)
    + a: Relative Address (operand types 0 and 2)
    + r: Offset Register (operand types 1 and 3)
    + X: Other Register (used for operand type 5)
    + V: Value to compare to (operand type 4)

    #### Operand Type

    + 0: Memory Base + Relative Offset
    + 1: Memory Base + Offset Register
    + 2: Register + Relative Offset
    + 3: Register + Offset Register
    + 4: Static Value
    + 5: Other Register

    #### Conditions

    + 1: >
    + 2: >=
    + 3: <
    + 4: <=
    + 5: ==
    + 6: !=
     
    CompSciOrBust likes this.
  2. NeoTechni

    NeoTechni Newbie
    Newcomer

    Joined:
    Sep 17, 2020
    Messages:
    1
    Country:
    Canada
    "Install the SX Save Manager NSP with SX Installer"

    Care to go into more detail with that? What folder do I put it in?
     
  3. CompSciOrBust

    CompSciOrBust GBAtemp Regular
    Member

    Joined:
    Sep 9, 2019
    Messages:
    223
    Country:
    United Kingdom
    I'm able to install by putting it on the root of the SD card.
     
  4. lvlonkii

    lvlonkii Newbie
    Newcomer

    Joined:
    Jun 19, 2020
    Messages:
    4
    Country:
    United States
    I have a question. I saved backups on the cloud and sold the switch awhile back. Bought a new one and have sxos. I downloaded the save backup through ofw and want to use it in my cfw. Problem is it won't show in botw. Anyway to transfer it from ofw to cfw within the same switch?
     
  5. dsrules

    dsrules GBAtemp Guru
    Member

    Joined:
    Sep 20, 2005
    Messages:
    6,620
    Country:
    could you sent this to them and ask them again to add the extra cheat codetypes that atmosphere already have? It is unfair that some cheats could not be use on sx os lol

    ACA Neogeo Samurai Shodown base game v1.0
    tid: 01005c9002b42000
    bid: A980C9A9AA329EE2

    [ZL Player1 Recover 255 HP AMS CFW only]
    80000100
    580F0000 012adfa0
    520E0000 01221904
    980FF0E0
    780F0000 000000A6
    610F0000 00000000 000000ff
    20000000

    [Test code example]
    580F0000 XXXXXXXX //load address1 value 64bit
    520E0000 YYYYYYYY //load address2 value 16bit
    980FF0E0 //now address1a == address1 value + address2 value
    780F0000 WWWWWWWW //now address1a + ×× offset
    6X0F0000 VVVVVVVV VVVVVVVV //the code's value

    extra codetypes
    ### Code Type 9: Perform Arithmetic

    Code type 9 allows performing arithmetic on registers.

    #### Register Arithmetic Encoding

    `9TCRS0s0`

    + T: width of arithmetic operation (1, 2, 4, or 8 bytes)
    + C: Arithmetic operation to apply, see below.
    + R: Register to store result in.
    + S: Register to use as left-hand operand.
    + s: Register to use as right-hand operand.

    #### Immediate Value Arithmetic Encoding

    `9TCRS100 VVVVVVVV (VVVVVVVV)`

    + T: width of arithmetic operation (1, 2, 4, or 8 bytes)
    + C: Arithmetic operation to apply, see below.
    + R: Register to store result in.
    + S: Register to use as left-hand operand.
    + V: Value to use as right-hand operand.

    #### Arithmetic Types

    + 0: Addition
    + 1: Subtraction
    + 2: Multiplication
    + 3: Left Shift
    + 4: Right Shift
    + 5: Logical And
    + 6: Logical Or
    + 7: Logical Not (discards right-hand operand)
    + 8: Logical Xor
    + 9: None/Move (discards right-hand operand)

    ---

    ### Code Type 10: Store Register to Memory Address

    Code type 10 allows writing a register to memory.

    #### Encoding

    `ATSRIOxa (aaaaaaaa)`

    + T: width of memory write (1, 2, 4, or 8 bytes)
    + S: Register to write to memory.
    + R: Register to use as base address.
    + I: Increment register flag (0 = do not increment R, 1 = increment R by T).
    + O: Offset type, see below.
    + x: Register used as offset when O is 1, Memory type when O is 3, 4 or 5.
    + a: Value used as offset when O is 2, 4 or 5.

    #### Offset Types

    + 0: No Offset
    + 1: Use Offset Register
    + 2: Use Fixed Offset
    + 3: Memory Region + Base Register
    + 4: Memory Region + Relative Address (ignore address register)
    + 5: Memory Region + Relative Address + Offset Register
    ---

    ### Code Type 11: Reserved

    Code Type 11 is currently reserved for future use.

    ---

    ### Code Type 12-15: Extended-Width Instruction

    Code Types 12-15 signal to the VM to treat the upper two nybbles of the first dword as instruction type, instead of just the upper nybble.

    This reserves an additional 64 opcodes for future use.

    ---

    ### Code Type 0xC0: Begin Register Conditional Block

    Code type 0xC0 performs a comparison of the contents of a register and another value. This code support multiple operand types, see below.

    If the condition is not met, all instructions until the appropriate conditional block terminator are skipped.

    #### Encoding

    ```
    C0TcSX##
    C0TcS0Ma aaaaaaaa
    C0TcS1Mr
    C0TcS2Ra aaaaaaaa
    C0TcS3Rr
    C0TcS400 VVVVVVVV (VVVVVVVV)
    C0TcS5X0
    ```

    + T: width of memory write (1, 2, 4, or 8 bytes)
    + c: Condition to use, see below.
    + S: Source Register
    + X: Operand Type, see below.
    + M: Memory Type (operand types 0 and 1)
    + R: Address Register (operand types 2 and 3)
    + a: Relative Address (operand types 0 and 2)
    + r: Offset Register (operand types 1 and 3)
    + X: Other Register (used for operand type 5)
    + V: Value to compare to (operand type 4)

    #### Operand Type

    + 0: Memory Base + Relative Offset
    + 1: Memory Base + Offset Register
    + 2: Register + Relative Offset
    + 3: Register + Offset Register
    + 4: Static Value
    + 5: Other Register

    #### Conditions

    + 1: >
    + 2: >=
    + 3: <
    + 4: <=
    + 5: ==
    + 6: !=
     
    Last edited by dsrules, Sep 30, 2020
  6. CompSciOrBust

    CompSciOrBust GBAtemp Regular
    Member

    Joined:
    Sep 9, 2019
    Messages:
    223
    Country:
    United Kingdom
    I asked them and they said they might but they don't really care about maintaning compatability with Atmosphere unless it's critical because their cheat implementation is different to dmnt
     
  7. dsrules

    dsrules GBAtemp Guru
    Member

    Joined:
    Sep 20, 2005
    Messages:
    6,620
    Country:
    it doesn't has to be 1:1 , but if they could add some more codetypes to do the same functions then it would be great, because some cheats could no be made or crashes the game without those functions
     
    Last edited by dsrules, Sep 30, 2020
  8. CompSciOrBust

    CompSciOrBust GBAtemp Regular
    Member

    Joined:
    Sep 9, 2019
    Messages:
    223
    Country:
    United Kingdom
    @Muxi Just informed me over Discord that version 1.2 was leaked to him. It can be downloaded on his forum. The hash doesn't match the version I was given so I don't know if it's newer or older.

    Edit: Changlog
    • Added persistent login token support
    • Added option to back up all data to Google Drive
    • Fixed bug that would cause crash if the SXOS folder was not present on the SD Card
    • Under the hood changes to lay groundwork for future updates
    • Fixed off by one bug in file names
     
    Last edited by CompSciOrBust, Oct 3, 2020
    Muxi, livinitwarrior and hartleyshc like this.
  9. livinitwarrior

    Newcomer

    Joined:
    Apr 10, 2020
    Messages:
    33
    Country:
    United States
    what is his forum? not familiar with him
     
  10. Muxi

    Muxi GBAtemp Advanced Fan
    Member

    Joined:
    Jun 1, 2016
    Messages:
    531
    Country:
    Germany
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Introducing, Manager,