How to re-encrypt Super Mario Maker 2 course data files?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Ice Bro
Posts: 9
Joined: Fri Jun 15, 2018 9:18 pm

How to re-encrypt Super Mario Maker 2 course data files?

Post by Ice Bro »

Recently I exported my Super Mario Maker 2 save data to look in which format the level files are stored and I found out that the files are encrypted. After a quick Google Research I found this program, which can decrypt the course data. https://github.com/simontime/SMM2Course ... r/releases
Unfortunately the program can only decrypt the course data, not re-encrypt them. So I would be very grateful if someone could write a script with which it is possible for me to re-encrypt the course data.
Here are same example files
Encrypted Course Data: http://www.mediafire.com/file/xr5vvcr8r ... 0.bcd/file
Decrypted Course Data: http://www.mediafire.com/file/51z1qgx9o ... _file/file