Researching how the 3DS Theme Shop works

Eridion kiorai

Well-Known Member
OP
Member
Joined
Jul 30, 2016
Messages
130
Trophies
0
Age
47
XP
650
Country
Greece
So recently I got the idea to research how theme shop works to be able to host custom themes which will probably be hosted via pretendo network and so far I have found interesting stuff.
Here is the HTTPS requests


before opening the theme shop on theme select screen:
https://nppl.c.app.nintendowifi.net/p01/policylist/3/GR (requires CTR common certificate)
After opening the theme shop:
https://npdl.cdn.nintendowifi.net/p01/nsa/dMtiFHzm5OOf0y2O/thmtop/GR/en/top
clicking new themes:
https://npfl.c.app.nintendowifi.net/p01/filelist/dMtiFHzm5OOf0y2O/thmdtls?c=GR&l=en&a3=1(requires CTR common certificate)
https://npfl.c.app.nintendowifi.net/p01/filelist/dMtiFHzm5OOf0y2O/thmdtls?c=GR&l=en&a3=2(requires CTR common certificate)
https://npdl.cdn.nintendowifi.net/p01/nsa/dMtiFHzm5OOf0y2O/thmlist/GR/en/5180
clicking the simple colour set theme:
https://npdl.cdn.nintendowifi.net/p01/nsa/dMtiFHzm5OOf0y2O/thmdtls/GR/en/00000094


The first file it downloads is the BOSS Task policy in XML file format while the thmdtls are in txt format with contains the theme id, prices, and some other data. Now the rest of the data is BOSS data which are encrypted using the AES BOSS key located on keyslot 0x38 decrypting it we find that from "top" file we have 0x2BE which is the New theme entry witch the weird thing is by replacing the text to "Awesome theme it didn't change the text by opening the theme shop. The second thing I found is the banner that displays on the top screen with an image size of 408x176.
jpeg_00000397_XXXXXXXX.jpg

And finally, on offset 0x8466, I found an icon for the list entry at offset 0x396 which is 64x48 in size.
jpeg_00008467_XXXXXXXX.jpg
 
  • Like
Reactions: zoogie

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
So recently I got the idea to research how theme shop works to be able to host custom themes which will probably be hosted via pretendo network and so far I have found interesting stuff.
Here is the HTTPS requests


before opening the theme shop on theme select screen:
https://nppl.c.app.nintendowifi.net/p01/policylist/3/GR (requires CTR common certificate)
After opening the theme shop:
https://npdl.cdn.nintendowifi.net/p01/nsa/dMtiFHzm5OOf0y2O/thmtop/GR/en/top
clicking new themes:
https://npfl.c.app.nintendowifi.net/p01/filelist/dMtiFHzm5OOf0y2O/thmdtls?c=GR&l=en&a3=1(requires CTR common certificate)
https://npfl.c.app.nintendowifi.net/p01/filelist/dMtiFHzm5OOf0y2O/thmdtls?c=GR&l=en&a3=2(requires CTR common certificate)
https://npdl.cdn.nintendowifi.net/p01/nsa/dMtiFHzm5OOf0y2O/thmlist/GR/en/5180
clicking the simple colour set theme:
https://npdl.cdn.nintendowifi.net/p01/nsa/dMtiFHzm5OOf0y2O/thmdtls/GR/en/00000094


The first file it downloads is the BOSS Task policy in XML file format while the thmdtls are in txt format with contains the theme id, prices, and some other data. Now the rest of the data is BOSS data which are encrypted using the AES BOSS key located on keyslot 0x38 decrypting it we find that from "top" file we have 0x2BE which is the New theme entry witch the weird thing is by replacing the text to "Awesome theme it didn't change the text by opening the theme shop. The second thing I found is the banner that displays on the top screen with an image size of 408x176.
View attachment 362990
And finally, on offset 0x8466, I found an icon for the list entry at offset 0x396 which is 64x48 in size.
View attachment 362991
It's best to put dev related info/discoveries here
https://www.3dbrew.org/wiki/Home_Menu/Themes (or whatever category you see fit)
So it doesn't get lost in the GBAtemp jungle.
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
This URL only provides info about 3DS theme files not 3DS Theme shop files and structure
You can always make a new wiki page if nothing exists relating to the theme shop.
Edit: or just add it as a sub-category to the wiki's eShop page.

The actual code to the theme shop is contained within home menu, so my first suggestion isn't a bad one.
 

Eridion kiorai

Well-Known Member
OP
Member
Joined
Jul 30, 2016
Messages
130
Trophies
0
Age
47
XP
650
Country
Greece
I mean dumps of 3DS Theme Shop extdata note the data neads to be from a 3DS That Opened Theme Shop before March 27th 2023
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Materia_tofu @ Materia_tofu:
    hey sylv? do you know why gameyob crashes on the EZP?
  • Materia_tofu @ Materia_tofu:
    @SylverReZ forgor to tag lol
  • SylverReZ @ SylverReZ:
    @Materia_tofu, Maybe ask the EZ-Flash team.
  • Materia_tofu @ Materia_tofu:
    maybe tomorrow lol
  • SylverReZ @ SylverReZ:
    You can make a post on the DS forum about your findings, and they'll do their best to respond. They have a GBAtemp account here, you know.
  • Materia_tofu @ Materia_tofu:
    oh ye i made a post i did forget they had an account i prob shouldve tagged them in the post
    tbh
    +1
  • SylverReZ @ SylverReZ:
    @Materia_tofu, Would've been a great idea, because they'll notice.
    +1
  • Materia_tofu @ Materia_tofu:
    im not a very bright individual, but we live and we learn
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
    Veho @ Veho: Ah, you mean furries.