Homebrew Help with playing my own encoded flipnotes on the DSi

GhostProfessional897

New Member
OP
Newbie
Joined
Nov 27, 2020
Messages
3
Trophies
0
XP
40
Country
United States
I am working on a Windows application that lets you create flipnotes in their original format. My problem is that, even that those files seem playable, the DSi deletes them when I try to access them from the SD card, under the reason that they are corrupted. I took a closer look to the PPM format specification and learned about the RSA-1024 SHA-1 signature 144 bytes long at the end of each flipnote file. This is where I got stuck. I found on GBATEK that there is some private key that Flipnote Studio uses to sign those files and the page even provides the first 5 bytes of it, followed by "...". I also found that someone managed to find this key and created some "homebrew" flipnote files (here is the link youtube com watch?v=Ko5Pq655caY). I downloaded them to my DSi and worked like a charm. However, I failed finding this key for myself and I fell like I need some help. So... how exactly can one find the Flipnote Studio private key?

Thank you in advance!
 
  • Like
Reactions: Flame

arceus

Well-Known Member
Newcomer
Joined
Apr 18, 2019
Messages
91
Trophies
0
XP
253
Country
Canada
i found some info on the private key but its not the entire thing nor does it tell you how to get it
 

chainswordcs

Active Member
Newcomer
Joined
Mar 24, 2020
Messages
35
Trophies
0
Age
19
Location
USA
XP
94
Country
United States
From what I searched and understand, there are some related projects already, such as
gist github com jaames/1c0e1c59e65324bfe591f151d4149156
which is for signing flipnotes, but requires the user to input the key.
I don't know the key or how to get it, maybe it could be extracted from the rom.
I read something about extraction being the key obtaining method, but that was for Flipnote Studio 3D.
 

RinLovesYou

Member
Newcomer
Joined
Feb 19, 2021
Messages
8
Trophies
0
Age
19
Website
github.com
XP
50
Country
Germany
You have to memdump flipnote studio and look for the RSA header in there afaik
Then you also have to know how to sign them which is a process in and of itself
you can look at my homepage for a wrapper of dsiflipencode i wrote that'll autosign the flipnote on creation once you have the key.
 
Last edited by RinLovesYou,

arceus

Well-Known Member
Newcomer
Joined
Apr 18, 2019
Messages
91
Trophies
0
XP
253
Country
Canada
You have to memdump flipnote studio and look for the RSA header in there afaik
Then you also have to know how to sign them which is a process in and of itself
you can look at my homepage for a wrapper of dsiflipencode i wrote that'll autosign the flipnote on creation once you have the key.
idk what memdumping is but i decompressed it and theres nothing helpful
 

arceus

Well-Known Member
Newcomer
Joined
Apr 18, 2019
Messages
91
Trophies
0
XP
253
Country
Canada
Sorry, you have to decrypt "modcrypt" in the raw flipnote studio rom and look for the rsa header in there
you can also apparently find it by looking for the rsa header through memory viewing.
im looking in no$gbas memory viewer but its alien shit
 
  • Like
Reactions: banjo2

FoolishBoba

New Member
Newbie
Joined
Nov 29, 2021
Messages
4
Trophies
0
Age
17
XP
12
Country
United States
Dump it from your console using GodMode9i (DSi) or GodMode9 (3DS), or for a homebrew-less method use dsi_srl_extract. Dunno about decrypting modcrypt though, iirc dsi_srl_extract automatically decrypts modcrypt unless you tell it not to, otherwise I don't know how
How would i dump flipnote with godmode9?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    KennieDaMeanie @ KennieDaMeanie: https://youtu.be/RZAKlo4VYHA psi you on airlines again