Homebrew I permanently gave Wara Wara Plaza life again, injected it full of my personality, and you can too

GaryOderNichts

Well-Known Member
Member
Joined
Aug 9, 2018
Messages
792
Trophies
1
XP
5,503
Country
Germany
Yeah they're just bas64 encoded bytes. It is similar to the 3ds entry structure but not the same.
Take a look here: https://github.com/devkitPro/wut/blob/master/include/nn/ffl/miidata.h
All the Mii's have a checksum at the last 2 bytes. If that checksum doesn't match the Mii the Mii won't show up.
Give me a few minutes and I may be able to create a quick checksum calculator for the structure.
 

GaryOderNichts

Well-Known Member
Member
Joined
Aug 9, 2018
Messages
792
Trophies
1
XP
5,503
Country
Germany
Alright I made a quick fixer that fixes the checksum.
Sourcecode: https://garyodernichts.github.io/garyhax/docs/assets/files/plaza_fixer.c
I attached a windows build to this post.
To edit a mii you would need to
- extract the base64 string from the .xml
- convert it to bytes
- edit the structure according to https://github.com/devkitPro/wut/blob/master/include/nn/ffl/miidata.h
(Note that the variables are in bits not bytes)
- run the fixer fixer.exe bytes.bin
-
encode the data back to a base64 string and put it back in to the .xml

I haven't tried it yet but the fixer generates the same checksums that are in a valid Mii from the xml.
 

Attachments

  • fixer.zip
    82.4 KB · Views: 290
Last edited by GaryOderNichts,

MikaDubbz

Well-Known Member
OP
Member
Joined
Dec 12, 2017
Messages
3,854
Trophies
1
Age
36
XP
7,319
Country
United States
Alright I made a quick fixer that fixes the checksum.
Sourcecode: https://garyhax.tech/docs/assets/files/plaza_fixer.c
I attached a windows build to this post.
To edit a mii you would need to
- extract the base64 string from the .xml
- convert it to bytes
- edit the structure according to https://github.com/devkitPro/wut/blob/master/include/nn/ffl/miidata.h
(Note that the variables are in bits not bytes)
- run the fixer fixer.exe bytes.bin
-
encode the data back to a base64 string and put it back in to the .xml

I haven't tried it yet but the fixer generates the same checksums that are in a valid Mii from the xml.
Impressive! If I have some free time today, I'll give this a shot.
 
  • Like
Reactions: GaryOderNichts

GaryOderNichts

Well-Known Member
Member
Joined
Aug 9, 2018
Messages
792
Trophies
1
XP
5,503
Country
Germany
- edit the structure according to https://github.com/devkitPro/wut/blob/master/include/nn/ffl/miidata.h
(Note that the variables are in bits not bytes)
- run the fixer fixer.exe bytes.bin

--------------------- MERGED ---------------------------

What do i do
Alright I created a table for the structure: https://garyhax.tech/docs/#/nand-files/wiiu-menu/1stnup
You need to save the bytes from the decoded base64 string into a file. (I called that file bytes.bin)
Next you open the file in a hex editor. I'm using hxd for that.
You now need to look in the table above. The variables are in bits. So 8 bits make one byte.
You now need to go into your hex editor and count the bytes and bits until the variable you want to edit is reached.
You can then use the data inspector to edit the bits. To edit the gender you would need to change the according bit to a 1 or 0.
After that you can save the file and open a cmd window. Make sure you have the fixer in the same folder as the bytes.bin.
Now enter the following command: fixer.exe bytes.bin
This will set the correct checksum for your edit.
You can now encode the file as base64 and put it back into the .xml.

Edit:
You could also extract existing Mii's from your Mii Maker save.
You would need to use this file: https://garyhax.tech/docs/#/nand-files/mii-data/ffl-odb
Then you can extract 92 bytes after the 8 byte header and paste it into a empty file. Then add 4 bytes for the checksum to it.
After you can run the fixer on that file and encode it as base64.
 

J-Lin

Well-Known Member
Member
Joined
Feb 15, 2019
Messages
136
Trophies
0
Age
25
XP
532
Country
United States
so i could just oh

--------------------- MERGED ---------------------------

thank you! but i did a golden pants mii and they dont have golden pants
 

J-Lin

Well-Known Member
Member
Joined
Feb 15, 2019
Messages
136
Trophies
0
Age
25
XP
532
Country
United States
On WaraWara Plaza yes. but when i import into mii maker it has golden pants.
Also did anyone archive the xml file with nintendo tvii
 

JGSHEW

Member
Newcomer
Joined
May 16, 2020
Messages
20
Trophies
0
Age
19
XP
284
Country
United Kingdom
Can someone help me? I deleted 1stNUP on the nand then put my version on. As you might expect, I got question marks due to the whole permissions thing. However, I've tried the chmod thing, I got on my screen "chmod returned 0x0" which I assume means success, yet I still get the question marks. Inspecting the properties of the file with ftpiiu, I can see that whenever I try to change the permissions of the file, it immediately switches back.

EDIT: Nvm, I figured it out. After running chmod, you have to run exit(), you can't just close python. I also tried with python 3 instead of 2.7, I don't know if that makes a difference though.
 
Last edited by JGSHEW,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Ironic this was posted today lol
  • BigOnYa @ BigOnYa:
    I think the tv series has boasted play of, I did see they said playing of it Is up, way more than norm
    +1
  • BigOnYa @ BigOnYa:
    I've been playing the next gen version on Series X all day, I love it. :wub:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Downloading some random stuff, damn almost 400GBs in like 4 hours lol
  • Psionic Roshambo @ Psionic Roshambo:
    Gonna be over 1TB this month.... damn lol
  • Xdqwerty @ Xdqwerty:
    good night
    +1
  • BigOnYa @ BigOnYa:
    At least you have some fast speeds. What a drag that used to be, I remb downloading 1 pic back in the day, and seeing line by line show
    +1
  • BigOnYa @ BigOnYa:
    Nighty night.
  • BigOnYa @ BigOnYa:
    Or worse, you downloading something, and someone calls your phone and interupts the download, good ole AOL. Of course that's before most you guys even were born yet.
  • Psionic Roshambo @ Psionic Roshambo:
    Lol I think my first modem was 48K but it had some sort of firmware or software update that let me get 56K
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I had EarthLink lol
  • Psionic Roshambo @ Psionic Roshambo:
    A bunch of NetZero accounts that I used for things... Lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    So glad I'm not in prison lol
  • BigOnYa @ BigOnYa:
    Yea marriage is a bitch sometimes...
  • Psionic Roshambo @ Psionic Roshambo:
    I legit think they passed the cyber terrorism laws from some of my hmm pranks lol
  • Psionic Roshambo @ Psionic Roshambo:
    I knocked the east coast backbone of EarthLink offline for like 6 hours one time, was on the news and everything well I mean I wasn't on the news.... Just they where having "technical difficulties" lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Was just one single custom packet. I miss when Internet security was an afterthought lol almost all modems and network hardware operated in promiscuous mode.
  • Psionic Roshambo @ Psionic Roshambo:
    Now these days they do sanity checks.... The source IP can't also be the destination IP lol
  • Psionic Roshambo @ Psionic Roshambo:
    They did end up using some of my stuff in the first Gulf war though lol
  • BakerMan @ BakerMan:
    GUYS I JUST COMMENTED A YOUR MOM JOKE ON A GACHA YT COMMUNITY POST (the algorithm has cursed me in terms of community posts, bc I fuck around on that sort of community post, just commenting and being a jackass)
    +1
  • BakerMan @ BakerMan:
    IT FELT SO GOOD
    +1
  • BakerMan @ BakerMan:
    the OP made a couple vocaloid characters, and the post had the caption "Guess who I did 💙💛❤️

    hint: they're from vocaloid"
    +1
  • BakerMan @ BakerMan:
    to which I responded:
    "Guess who I did 💙💛❤️

    hint: it's uremum"
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I studied IPV6 if they hadn't passed the cyber terrorism laws omg.... In theory I have some awesome pranks but I'm afraid to test them lol
  • BigOnYa @ BigOnYa:
    Thank goodness for VPN nowadays
    BigOnYa @ BigOnYa: Thank goodness for VPN nowadays