Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
SUOlivia authored Jan 26, 2017
1 parent 6288368 commit edf987e
Show file tree
Hide file tree
Showing 5 changed files with 337 additions and 112 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ Based off the libctru NFC example
## Menu
Hack: Simple and quick way to buff your amiibo's stats to 200 everywhere

Restore backup: Restore a backup if previously backed up by the `Hack` function or the `Only dump appdata function`
Restore Backup / Bruteforce appdata writing: Restore a backup if previously backed up by the `Hack` function or the `Only dump appdata` function / Writes a modified appdata to the bruteforced amiibo

Only dump appdata: Only dumps a backup file
Only dump appdata / Bruteforce appdata dump: Only dumps a backup file / Dumps the appdate of the bruteforced amiibo

Custom file writing: Writes `/Smash amiibo cheat tool/write.amiibo` to the amiibo

Appdata Randomizing: Randomizes the appdata of your amiibo (bruteforcing supported), this can be used for grinding rewards in smash for example

## Tagstates
1: Stopped scanning for Amiibos/NFC tags

Expand Down Expand Up @@ -40,3 +42,5 @@ MarcusD: Helping me with some code issues
Thunder Kai: All the graphics

Yudowat, CloudedSun, Fug/leni, jasgx, Karma, LinkSoraZelda, Swiftloke and Y2K: Testing and ideas

## IT IS IMPOSSIBLE TO MODIFY THE AMIIBO'S IDENTITY
109 changes: 109 additions & 0 deletions source/LED.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,115 @@ void fixcolor(u8 r, u8 g, u8 b)
ptmsysmExit();
}

void rave()
{
RGBLedPattern pat2;

//marcus@Werkstaetiun:/media/marcus/WESTERNDIGI/dev_threedee/MCU_examples/RGB_rave$ lua assets/colorgen.lua
pat2.r[0] = 128;
pat2.r[1] = 103;
pat2.r[2] = 79;
pat2.r[3] = 57;
pat2.r[4] = 38;
pat2.r[5] = 22;
pat2.r[6] = 11;
pat2.r[7] = 3;
pat2.r[8] = 1;
pat2.r[9] = 3;
pat2.r[10] = 11;
pat2.r[11] = 22;
pat2.r[12] = 38;
pat2.r[13] = 57;
pat2.r[14] = 79;
pat2.r[15] = 103;
pat2.r[16] = 128;
pat2.r[17] = 153;
pat2.r[18] = 177;
pat2.r[19] = 199;
pat2.r[20] = 218;
pat2.r[21] = 234;
pat2.r[22] = 245;
pat2.r[23] = 253;
pat2.r[24] = 255;
pat2.r[25] = 253;
pat2.r[26] = 245;
pat2.r[27] = 234;
pat2.r[28] = 218;
pat2.r[29] = 199;
pat2.r[30] = 177;
pat2.r[31] = 153;
pat2.g[0] = 238;
pat2.g[1] = 248;
pat2.g[2] = 254;
pat2.g[3] = 255;
pat2.g[4] = 251;
pat2.g[5] = 242;
pat2.g[6] = 229;
pat2.g[7] = 212;
pat2.g[8] = 192;
pat2.g[9] = 169;
pat2.g[10] = 145;
pat2.g[11] = 120;
pat2.g[12] = 95;
pat2.g[13] = 72;
pat2.g[14] = 51;
pat2.g[15] = 33;
pat2.g[16] = 18;
pat2.g[17] = 8;
pat2.g[18] = 2;
pat2.g[19] = 1;
pat2.g[20] = 5;
pat2.g[21] = 14;
pat2.g[22] = 27;
pat2.g[23] = 44;
pat2.g[24] = 65;
pat2.g[25] = 87;
pat2.g[26] = 111;
pat2.g[27] = 136;
pat2.g[28] = 161;
pat2.g[29] = 184;
pat2.g[30] = 205;
pat2.g[31] = 223;
pat2.b[0] = 18;
pat2.b[1] = 33;
pat2.b[2] = 51;
pat2.b[3] = 72;
pat2.b[4] = 95;
pat2.b[5] = 120;
pat2.b[6] = 145;
pat2.b[7] = 169;
pat2.b[8] = 192;
pat2.b[9] = 212;
pat2.b[10] = 229;
pat2.b[11] = 242;
pat2.b[12] = 251;
pat2.b[13] = 255;
pat2.b[14] = 254;
pat2.b[15] = 248;
pat2.b[16] = 238;
pat2.b[17] = 223;
pat2.b[18] = 205;
pat2.b[19] = 184;
pat2.b[20] = 161;
pat2.b[21] = 136;
pat2.b[22] = 111;
pat2.b[23] = 87;
pat2.b[24] = 64;
pat2.b[25] = 44;
pat2.b[26] = 27;
pat2.b[27] = 14;
pat2.b[28] = 5;
pat2.b[29] = 1;
pat2.b[30] = 2;
pat2.b[31] = 8;

pat2.ani = 0x20;

if(ptmsysmInit() < 0) return;
ptmsysmSetInfoLedPattern(pat2);
ptmsysmExit();
}

void stfuled()
{
RGBLedPattern pat;
Expand Down
4 changes: 3 additions & 1 deletion source/LED.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

void fixcolor(u8 r, u8 g, u8 b);

void stfuled();
void stfuled();

void rave();
9 changes: 4 additions & 5 deletions source/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,22 @@
#include <stdlib.h>
#include <string.h>
#include <3ds.h>
#include <time.h>

#include "menu.h"
#include "LED.h"

#define VERSION "1.3" // Version string
#define VERSION "2.0" // Version string
#define FB_SIZE 230400 // Bottom framebuffer size

static SwkbdState swkbd;
char input_str[4];

int MenuIndex;

u32 amiibo_appid = 0x10110E00; // Hardcoded for Super Smash Bros. See https://www.3dbrew.org/wiki/Amiibo for more details
u32 amiibo_appid = 0x10110E00, bruteforce = 0x10000000, seconds;

static char *fb_buffer = NULL;


u8 attack=201;
u8 defense=201;
u8 speed=201;
u8 attack=201, defense=201, speed=201;
Loading

0 comments on commit edf987e

Please sign in to comment.