[WIP] Team Kirby Clash Deluxe - Save Edition (OffSets)

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Asia81, Apr 16, 2017.

  1. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    5,134
    2,561
    Nov 15, 2014
    France
    Albi
    If anyone with C skills can make a save editor / NTR plugins of these offsets, feel free ;)

    All offsets here are found on the V1.1.0 update of the game.

    A dump of your decrypted save is needed. Its name is savedata.dat.
    The best and fatest way to dump/inject it is JKSM.


    TREE EDITING

    [​IMG]

    Offset of its level : 19B8-19B9

    Value to have the level 1: 0000 (It mean that you have bought 0 apple, the base level)
    Value to have the level 2: 0032 (It mean that you have bought 50 apples)
    Value to have the level 3: 0190 (It mean that you have bought 400 apples)
    Value to have the level 4: 03E8 (It mean that you have bought 1000 apples)
    Value to have the level 5: 06A4 (It mean that you have bought 1700 apples)
    Value to have the level 6: 0BB8 (It mean that you have bought 3000 apples)

    ITEMS EDITING

    Offset of Apples : 199C-199D
    Offset of Fire Fragments : 19BC-19BD
    Offset of Water Fragments : 19C0-19C1
    Offset of Ligh Fragments : 19C4-19C5
    Offset of Rare Fragments : 19C8-19C9

    Write 0F27 to set 9999 Apples, and E703 to set 999 of Fragments at their offsets.

    EXPERIENCE EDITING

    [​IMG] [​IMG] [​IMG] [​IMG]

    Offset of Role 01 "Sword Hero" = D54-D56
    Offset of Role 02 "Doctor Healmore" = D60-D62
    Offset of Role 03 "Hammer Lord" = D6C-D6E
    Offset of Role 04 "Beam Mage" = D78-D7A

    At these offsets, write 3F420F to set your EXP to 999'999.

    HIGH SCORES EDITING

    This is valid to all areas

    1) Maximum High Score is 99'999. Write 9F8601 at the indicated offset.

    2) There is 4 rank levels. Write, at the indicated offset, the rank you want.
    Bronze = 00 | Silver = 01 | Gold = 02 | Platinum = 03.

    3) The High Score for the time is shown like that in the game (Minutes:Secondes.
    HundredthOfASecond)
    . However, in the save data, minutes and seconds are converted to seconds. So if your time is (1:26.97), they will be in the form 8697 (where 1mn(60s) and 26s are summed, and 97). Then search the hexadecimal value for 8697, you'll find 21F9, reverse it, and you have F921. Replace this value with the time you want set doing the calcul above. As an example, if you want set (0:30.00), you have to write B80B at the indicated offset (where 0BB8 is 03000, as explained).
    Caution: Edit your time High Score won't trigger the bonus, you need to do it manually, unless I/we find how to clear them.

    4) Nothing found yet about missions editing.

    AREA 1
    The Grasslands
    Warning: Spoilers inside!

    AREA 2
    The Dunes
    Warning: Spoilers inside!

    AREA 3
    The Ruins
    Warning: Spoilers inside!

    AREA 4
    The Volcano
    Warning: Spoilers inside!

    AREA 5
    The Empyrean
    Warning: Spoilers inside!

    AREA 6
    Decisive Battlefield
    Warning: Spoilers inside!
     
    Last edited by Asia81, Apr 17, 2017
    CyberMario and Bangaio like this.
  2. Slattz

    Slattz Easygoing Fairy

    Member
    1,161
    1,267
    Nov 21, 2015
    Ireland
  3. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    5,134
    2,561
    Nov 15, 2014
    France
    Albi
    I will add it to the op once I finished to write all I have to x)
     
    Slattz likes this.
  4. dsrules

    dsrules GBAtemp Psycho!

    Member
    3,698
    518
    Sep 20, 2005
    you don't need to unlock all to finish the list, by looking at existing data
    from Area 1 quest1 to area2 quest1 is +0xA0
    from quest1 to quest2 is +0x10
    total quests in each area starting with Area1 8,8,8,7,6,5
    you can check gamefaqs for quest names
     
  5. novakirby

    novakirby Newbie

    Newcomer
    5
    5
    Jul 21, 2016
    United States
    Class Data at savadata.bin+0xD54:
    Code:
    (pseudo code)
    struct Heros{
        HeroData Data[0x4];
    };
    struct HeroData{
        unsigned int Exp;
        unsigned int EquipmentType; //Be aware that there is no exception handling.
        unsigned int HatType; //Be aware that there is no exception handling.
    };
    
    Mission Data at savadata.bin+0xD84:
    Code:
    (pseudo code)
    struct QuestHeader{
        unsigned char Flag[0x8];
        QuestData Data[0x3C];
    };
    struct QuestData {
        unsigned int Flag; // Bit field : 0x1:local?, 0x2:lock, 0x4:show, 0x10000:clear
        unsigned int HiScore;
        unsigned int MetalType;
        unsigned int BestTime; //In 0.01sec
    };
    
    Event Data at savadata.bin+0x119C:
    Code:
    (pseudo code)
    struct EventData{
        unsigned int Flag[0x200]; // 0x0:hidden?, 0x1:show? , 0x4:complete?
    };
    
    Item Data at savadata.bin+0x19D0:
    Code:
    struct ItemData{
        ItemFlag Flag[0x60];
    };
    struct ItemFlag{
        unsigned char ;
        unsigned char level; // EquipmentLevel(0x0 = '',0x1 = 'Z', else = '?') or BookLevel(0x0 - 0x3)
        unsigned char status; //0x0 = hidden, 0x1 = new?, 0x2 = appear, 0x3 = have, 0x4 = soldout
        unsigned char amount; //used by support items, books
    };
    
     
    Last edited by novakirby, Apr 18, 2017
  6. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    5,134
    2,561
    Nov 15, 2014
    France
    Albi
    I added offsets for editing scores, ranks, and time for all quests of all areas.
     
  7. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    5,134
    2,561
    Nov 15, 2014
    France
    Albi
    Added offsets for Tree, basic Items, and Experience editing.
    I will add missions
     
  8. Slattz

    Slattz Easygoing Fairy

    Member
    1,161
    1,267
    Nov 21, 2015
    Ireland
    @Asia81 Is the max Vigour amount linked to the level/exp? As in if I'm max level then hex edit myself back to level 1, will vigour get affected too or will it stay the same? I'm currently researching stuff for my plugin ;)
     
  9. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    5,134
    2,561
    Nov 15, 2014
    France
    Albi
    I don't for now,'ll check it later, I'm working on missions right now.
     
    Slattz likes this.
  10. Slattz

    Slattz Easygoing Fairy

    Member
    1,161
    1,267
    Nov 21, 2015
    Ireland
    After some testing, the max amount of Vigour isn't stored in the save file. So I believe vigour is linked to the current level rather than being seperate.

    Though heres the offset for the current amount of vigour: 0x1B98. Editing it to higher than your max amount will just set it back to your max once you load up the game rather than going higher.
     
  11. thelucap97

    thelucap97 Member

    Newcomer
    48
    4
    Nov 1, 2015
    Italy
    Where are the offsets of the Susie Armor and Sword? I don't have the Planet robobot but I want to unlock those without unlocking evrything with cheat code.
    What I have to do?

    PS: I cannot access to NTR because I have a non custom firmware N3ds
     
  12. lone_wolf323

    lone_wolf323 GBAtemp Advanced Fan

    Member
    741
    244
    May 27, 2011
    Canada
    hellos there. would you by chance know of any offsets for attack values themselves for powering past the max?
     
  13. soplaytk

    soplaytk Member

    Newcomer
    21
    5
    Jan 9, 2017
    United States
    can anyone hack my save file please i just want max exp and lvl 50 please
     
  14. Alexyogos

    Alexyogos Newbie

    Newcomer
    9
    8
    Apr 23, 2017
    Canada
    Don't worry, I'll update my program tonight and send it ASAP
     
  15. Brion

    Brion Cheating for yourself

    Member
    340
    155
    Oct 3, 2015
    France
    Hi, I can do a save editor if is needed
     
    Kyogre and Asia81 like this.
  16. Alexyogos

    Alexyogos Newbie

    Newcomer
    9
    8
    Apr 23, 2017
    Canada
    Well, I made a really basic PC save editor for this game. This is my first save editor, I could add more onto it if anyone is interested.

    If anyone wants to try it, here is it:
    [Download]

    I programmed it in Java so it should work on any OS with Java installed. (Runnable Jar File)

    ยป Things you can edit:
    - Fragments (Red, Blue, Yellow & Rare)
    - Gem Apples
    - Experience
    - Gem Apple Tree Level
     
  17. Jorbgamer

    Jorbgamer Member

    Newcomer
    35
    3
    Jan 21, 2016
    United States
    a couple of more offsets to easier get some medals:

    1B64 - number of adventurers encountered ( set to 96 for all the medals pertaining to adventurers)
    1B94 - number of wireless missions completed (set to 19 for all the medals pertaining to wireless missions)
     
  18. vowoqueoriginal

    vowoqueoriginal Newbie

    Newcomer
    1
    0
    Aug 27, 2016
    Cote d'Ivoire
    will it be possible to change the number of team members?