Spider ARcode to GW ARcode converter, anyone?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by tomx86, Nov 13, 2015.

  1. tomx86
    OP

    tomx86 GBAtemp Fan

    Member
    473
    67
    Jun 3, 2015
    Poland
    Guys, if someone could make a converter like this, because that would save time for creating new codes for GW, that already exist for Spider Browser.
    You can start wit this:
    Sonic Generations (0004000000062300)
    Spider ARcodes:

    Freeze timer
    03ba1928 00000000

    Max Rings
    13ba1934 000003e7

    Max Lives
    23ba15f4 00000063
    23ba1930 00000063

    GW ARcodes:

    [Freeze timer]
    00571928 00000000

    [Max Rings]
    10571934 000003e7

    [Max Lifes]
    20571930 00000063
    205715f4 00000063

    Thanks.

    PS. A memory dump for GW format would be good to:lol:
     
    Last edited by tomx86, Nov 13, 2015
  2. json

    json MUSCLEMAN

    Member
    693
    781
    Aug 9, 2013
    Burkina Faso
    The Spider AR code are using physical memory addresses.

    This is actually very bad, because these addresses will be different if:
    1. You are on a different firmware version than the code creator
    2. Will not work on both n3ds and o3ds, as the physical memory layout is different
    3. The physical memory will most likely not be linear, as the MMU table is normally used for the memory mapping


    That last point will make it difficult for people to write a simple converter from Spider AR code to GW AR code format. It's simply an impossible task unless you figure out the mapping algorithm and use this combined with the ROM .code data.
    The alternative is currently to find the cheats again, but this time using virtual addresses. As painstaking as it may sound, this is the only way to do it properly until the mapping algorithm is fully understood.
     
    Last edited by json, Nov 13, 2015
  3. tomx86
    OP

    tomx86 GBAtemp Fan

    Member
    473
    67
    Jun 3, 2015
    Poland
    Oh, so back to the basics:(. Thanks, for the reply.
     
  4. gamerboy1995

    gamerboy1995 GBAtemp Regular

    Member
    215
    33
    Aug 20, 2011
    United States
    Looked to me like the GW Codes were more like NTR CFW plugins / codes than ARCode, so an ARCode converter may not be possible. Someone can feel free to correct me if I'm wrong though.

    Reason I think that:
     
  5. dsrules

    dsrules GBAtemp Psycho!

    Member
    3,689
    515
    Sep 20, 2005
    the cheats should work on any 3ds and any firmware if the game is using the same version the cheats were created on

    and there is no 100% method to convert from ARCode to GW without looking at both memory dumps, like porting codes from one region to another

    the only convert method that works now is if the ARCode address is within the range 14000000-17000000 (00000000 - 03000000) ex. ALBW would be the same code on GW after defined D3000000 14000000