Skip to content

Commit

Permalink
Start working on nfp:sys mitm support
Browse files Browse the repository at this point in the history
  • Loading branch information
XorTroll committed Feb 6, 2022
1 parent eb3c62f commit 3e6f23a
Show file tree
Hide file tree
Showing 7 changed files with 456 additions and 25 deletions.
31 changes: 14 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@
# Table of contents

1. [Usage](#usage)
2. [Controlling emuiibo](#controlling-emuiibo)
3. [Virtual amiibo creation](#virtual-amiibo-creation)
4. [For developers](#for-developers)
5. [Raw dumps and encryption](#raw-dumps-and-encryption)
6. [Amiibo format](#amiibo-format)
7. [License exemption](#license-exemption)
8. [Credits](#credits)
- [emuiibo](#emuiibo)
- [Table of contents](#table-of-contents)
- [Usage](#usage)
- [SD layout](#sd-layout)
- [Controlling emuiibo](#controlling-emuiibo)
- [Virtual amiibo creation](#virtual-amiibo-creation)
- [For developers](#for-developers)
- [Raw dumps and encryption](#raw-dumps-and-encryption)
- [Amiibo format](#amiibo-format)
- [Areas](#areas)
- [Per-game access IDs](#per-game-access-ids)
- [License exemption](#license-exemption)
- [Credits](#credits)

## Usage

Expand Down Expand Up @@ -101,15 +106,7 @@ An access ID is a unique ID/number each game has for amiibo savedata, used to ch

### Per-game access IDs

- Super Smash Bros. Ultimate: 0x34F80200

- Splatoon 2: 0x10162B00

- Breath of the Wild: 0x1019C800

- Link's Awakening: 0x3B440400

**NOTE**: if anyone is willing to make savedata editors for this amiibo saves, I'm pretty sure it would be extremely helpful for many users.
A list is maintained at [Switchbrew](https://switchbrew.org/w/index.php?title=NFC_services#Access_ID).

## License exemption

Expand Down
7 changes: 4 additions & 3 deletions emuiibo/src/amiibo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub struct VirtualAmiiboInfo {
mii_charinfo_file: String,
name: String,
uuid: Option<Vec<u8>>,
version: u16,
version: u8,
write_counter: u16
}

Expand Down Expand Up @@ -100,7 +100,8 @@ const EMPTY_MII_CHARINFO: mii::CharInfo = mii::CharInfo {
mii_sex: 0,
mii_height: 0,
mii_width: 0,
unk_2: [0; 2],
t_type: 0,
region_move: 0,
mii_face_shape: 0,
mii_face_color: 0,
mii_wrinkles_style: 0,
Expand Down Expand Up @@ -143,7 +144,7 @@ const EMPTY_MII_CHARINFO: mii::CharInfo = mii::CharInfo {
mii_mole_size: 0,
mii_mole_pos_x: 0,
mii_mole_pos_y: 0,
unk_3: 0
reserved: 0
};

const DEFAULT_MII_NAME: &'static str = "emuiibo";
Expand Down
3 changes: 3 additions & 0 deletions emuiibo/src/ipc/nfp/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub mod user;

// pub mod sys;
Loading

0 comments on commit 3e6f23a

Please sign in to comment.