arian_'s JSFiddle archive

Originally hosted at jsfiddle.net: https://jsfiddle.net/u/arian_/fiddles/
Also see on GitHub: https://github.com/ariankordi/my-jsfiddles

Mii Tools

Various tools for converting and working with Mii data.

wii remote eeprom reader from July 2025
wii remote eeprom reader from July 2025

still in WIP state

Mii body, accurate scaling, shaders, shadow, head from glTF
Mii body, accurate scaling, shaders, shadow, head from glTF

PLEASE CREDIT if you use + code from this was added to FFL.js

ffl resource header parsing using struct-fu sample
ffl resource header parsing using struct-fu sample

building block for a javascript mii renderer

3ds/wiiu mii de/encoding using struct-fu sample
3ds/wiiu mii de/encoding using struct-fu sample

the struct was taken from MiiPort mii_ext.h

mii DS -> Wii converter for mii data and tomo colle saves
mii DS -> Wii converter for mii data and tomo colle saves
get mii creation date from ffsd (wip)
get mii creation date from ffsd (wip)

this should probably be redone. also ffsd dates will start wrapping around in 2027

miitomo "mii_data" decode toy
miitomo "mii_data" decode toy

note that this is NOT the same data included in qr codes, read the fiddle for more

reader for mii db files
reader for mii db files

originally ES5 for david to use in nwf

store switch colors in ffsd unused space experiment
store switch colors in ffsd unused space experiment

also known as "eFFSD" - replaced in sep. 2025 with c++ impl in ffl_mii_patcher_plugin

Ver3 to (Switch) Common Color Reverse Mapping
Ver3 to (Switch) Common Color Reverse Mapping

helps visualize how eFFSD extra color mapping works

render mii and shader with mii-unsecure glTF and three.js
render mii and shader with mii-unsecure glTF and three.js

first time wii u shader was used in three.js, however FFL.js now contains updated shader materials

mii qr multi-tool for miitomo tomodachi miitopia
mii qr multi-tool for miitomo tomodachi miitopia

decodes/encodes QR codes including extra data from those games

amiibo to Mii Studio converter (maboii.js browser port)
amiibo to Mii Studio converter (maboii.js browser port)

parses NfpStoreDataExtention inside, maboii.js is inlined and included at the bottom

mii2studio in js ai slop attempt 1
mii2studio in js ai slop attempt 1

only wii (RFLCharData) and 3ds/wii u store data are supported

mii colors extracted from mii studio js
mii colors extracted from mii studio js

ripped straight from its JS. includes the switch common colors.......

display mii studio data from mii-unsecure nnid/pnid api
display mii studio data from mii-unsecure nnid/pnid api

does anyone actually use this?

Miscellaneous Tools

Other utilities I've made to help with miscellaneous tasks.

parsing kaitai ksy into struct-fu for jo
parsing kaitai ksy into struct-fu for jo

planned to display struct layouts or otherwise play with struct offsets using a known library

float 4x3 matrix array parser
float 4x3 matrix array parser

initially used to help with mii body scaling reversing

GLSL std140 Uniform Block Visualizer
GLSL std140 Uniform Block Visualizer
C Struct Alignment Visualizer
C Struct Alignment Visualizer
NNID password hasher (2023)
NNID password hasher (2023)

originally made 2023-12-14


Older / archived

Mii Experiments

Obsolete or one-off Mii tools that were superseded by newer tools.

OLDER eFFSD experiment (see one made on nov 22)
OLDER eFFSD experiment (see one made on nov 22)
wip potential mii2studio integration with mii-unsecure
wip potential mii2studio integration with mii-unsecure

started writing BY HAND too, separated the part that wasn't

Mii Studio URL to Base64 Mii data converter
Mii Studio URL to Base64 Mii data converter

de-obfuscated mii studio url, then encodes 3DS/Wii U data from the Kaitai struct.

Mii to QR Code converter
Mii to QR Code converter

using sjcl and qrjs, much lighter than the asmcrypto + qrcode.js combination everyone else uses

Mii QR Code scanner
Mii QR Code scanner

using sjcl + qr-scanner (FORK that allows binary data), with a PRIVATE method of sjcl

Mii Renderer (REAL) mockup (Feb. 2024)
Mii Renderer (REAL) mockup (Feb. 2024)
NNID Mii to Mii Studio format converter (2018)
NNID Mii to Mii Studio format converter (2018)

originally made 2018-12-10 + possibly first mii studio reverse engineering

Miscellaneous

Usually one-time mockups and experiments.

xor decoder for obfuscated java strings found in miitomo
xor decoder for obfuscated java strings found in miitomo

basically one-time use

ariankordi.net mockup (2018)
ariankordi.net mockup (2018)

originally made 2018-08-05

Cedar^2 logo mockup (2020)
Cedar^2 logo mockup (2020)

originally made 2020-09-01

this appeared in my dream (2023)
this appeared in my dream (2023)

originally made 2023-08-02

neet.host uploader mockup (2019)
neet.host uploader mockup (2019)

originally made 2019-01-14

zendesk/consumercomplaints.fcc.gov uploader (2020)
zendesk/consumercomplaints.fcc.gov uploader (2020)

originally made 2020-04-24?/26