Hacking Theme dump in the wild

tjexp

Happy New Year!
Member
Joined
May 20, 2012
Messages
743
Trophies
1
Location
England
XP
409
Country
actually it seems your right i must of deleted my cat one and now with the link one installed i cant access the theme shop :(
I have the mario one running, I'll try installing the zelda one and seeing if I can access
Edit:
Still working, I can see they added a smash bros theme :lol:
Also I didn't download the halloween one
 

ernilos

Well-Known Member
Member
Joined
Aug 28, 2013
Messages
145
Trophies
0
Location
CAT
XP
280
Country
United States
I'm having errors parsing the body_LZ.bin file, I can't figure the * draw algorithm, some help would be nice :C
e047da498686d8809e72fa461e487de3.png

(It's the mario theme, colours seems to be working at least)
 
  • Like
Reactions: Margen67

GorTesK

Mad Hatter
Member
Joined
Jan 29, 2013
Messages
1,099
Trophies
0
Age
35
Location
Down The Rabbit Hole
XP
611
Country
Gambia, The
actually it seems your right i must of deleted my cat one and now with the link one installed i cant access the theme shop :(
YOU didnt delete the cat theme, it gets deleted, when you install another theme via .cia ... apparently for some reason, we can only have 1 theme there right now (dunno if its due to .cia installation or if it is a design choice by default, as I only have 1 theme from the shop - cat halloween)
I could imagine, that the .cia themes automatically install into "theme slot 1", where your cat theme was, so it got overwritten
if you want your cat theme back, go to design shop, it will try to verify your link theme, delete the theme and fail to connect, then just go to theme shop again (you will notice, link theme is gone and theme has changed back to standard theme) and it will successfully connect, you can redownload your cat theme
thats what I did, have my lovely cat back


edit: oh forgot to mention, the theme shop might ask you for an update... it is safe to do that, it is no system update, just some theme thingy related, don't ask me for the details, don't know em XD just know, it is safe, have tested it
it basically is saying something like "there is updated information for your purchased themes" or something similar... if it says that, then it is fine to update
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,580
Country
Tuvalu
YOU didnt delete the cat theme, it gets deleted, when you install another theme via .cia ... apparently for some reason, we can only have 1 theme there right now (dunno if its due to .cia installation or if it is a design choice by default, as I only have 1 theme from the shop - cat halloween)

no, we can have more than one theme at a time, surely you can't imagine that would be a design choice!
interesting about the 'update' you got prompted... hmm
 

GorTesK

Mad Hatter
Member
Joined
Jan 29, 2013
Messages
1,099
Trophies
0
Age
35
Location
Down The Rabbit Hole
XP
611
Country
Gambia, The
no, we can have more than one theme at a time, surely you can't imagine that would be a design choice!
interesting about the 'update' you got prompted... hmm

well like I said, since I only have 1 theme shop design (da cat :D), there was no way for me to know, thanks for clarifying :D
so I guess, the .cia themes just automatically install into the first slot and overwrite whatever theme is stored there, in my and gamesquests case the cat
you actually get that update promt every time you redo this, yes I tried it multiple times lol, I mean installing link theme, then cat theme, then link, then cat and every time, when it deleted link theme and I wanted to re-download cat, I had to do this "update", no idea what it's for, but it doesn't reset the console or anything... and it just takes a few secs... if somebody really WANTS to see it, I guess I could make a video of it or take a pic of the prompt

edit: I dont want to create confusion, it is NOT a real firmware update or anything, just some stupid theme shop update, that you have to do every time, you want to redownload an old theme after installing a .cia theme...
just wanted to mention it, so nobody gets scared of that "update" prompt, it is safe
 

Reisyukaku

Onii-sama~
Developer
Joined
Feb 11, 2014
Messages
1,534
Trophies
2
Website
reisyukaku.org
XP
5,422
Country
United States
I'm having errors parsing the body_LZ.bin file, I can't figure the * draw algorithm, some help would be nice :C
e047da498686d8809e72fa461e487de3.png

(It's the mario theme, colours seems to be working at least)
The blob is made up of several images.. the pointers to them are in the header.. what i did was copy/pasted the chunks and made bclim headers for them.. you should get this for the first chunk:

2RVaRLj.png

the second chunk is the peach images for the bottom screen
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,580
Country
Tuvalu
well like I said, since I only have 1 theme shop design (da cat :D), there was no way for me to know, thanks for clarifying :D
so I guess, the .cia themes just automatically install into the first slot and overwrite whatever theme is stored there, in my and gamesquests case the cat
you actually get that update promt every time you redo this, yes I tried it multiple times lol, I mean installing link theme, then cat theme, then link, then cat and every time, when it deleted link theme and I wanted to re-download cat, I had to do this "update", no idea what it's for, but it doesn't reset the console or anything... and it just takes a few secs... if somebody really WANTS to see it, I guess I could make a video of it or take a pic of the prompt

edit: I dont want to create confusion, it is NOT a real firmware update or anything, just some stupid theme shop update, that you have to do every time, you want to redownload an old theme after installing a .cia theme...
just wanted to mention it, so nobody gets scared of that "update" prompt, it is safe

well, i think when you install a cia, yes, it overwrites the old content. as in - i do not think it merges the content.
BUT - i think on the sd cards, the different theme are in different .app files, so, if it were possible to merge them, it should work. (maybe devmenu does not overwrite, maybe it does merge, i could be wrong - but i do not think this is a case of replacing a different theme file with another, i think devmenu simply replaces the whole folder)
i was going to try it - dump one theme, dump another theme, and rebuild them both into 1 cia, and see if i get both themes at once. i think it will work.
 

Riku

Well-Known Member
Member
Joined
May 3, 2009
Messages
288
Trophies
0
XP
1,491
Country
United States
well, i think when you install a cia, yes, it overwrites the old content. as in - i do not think it merges the content.
BUT - i think on the sd cards, the different theme are in different .app files, so, if it were possible to merge them, it should work. (maybe devmenu does not overwrite, maybe it does merge, i could be wrong - but i do not think this is a case of replacing a different theme file with another, i think devmenu simply replaces the whole folder)
i was going to try it - dump one theme, dump another theme, and rebuild them both into 1 cia, and see if i get both themes at once. i think it will work.
It's may be issue with ContentID, possible they simply failed to repack it properly so new theme and old have the same ContentID and thus overwrite each other. Basically, every theme contains 0000000.app which lists every theme that exists for specific region and includes icon and name for any other theme out there. The rest *.app files in folder is actual themes, as long as they have different ContentID they won't overwrite each other.
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,580
Country
Tuvalu
It's may be issue with ContentID, possible they simply failed to repack it properly so new theme and old have the same ContentID and thus overwrite each other. Basically, every theme contains 0000000.app which lists every theme that exists for specific region and includes icon and name for any other theme out there. The rest *.app files in folder is actual themes, as long as they have different ContentID they won't overwrite each other.

so, we dump and decrypt 2 different themes, merge them into one folder, and rebuild cia and it should work? :)
 

Riku

Well-Known Member
Member
Joined
May 3, 2009
Messages
288
Trophies
0
XP
1,491
Country
United States
so, we dump and decrypt 2 different themes, merge them into one folder, and rebuild cia and it should work? :)
Merging definitely should work. It also may work if you repack every theme CIA individually and make sure they doesn't share same ContentIDs.
 

ernilos

Well-Known Member
Member
Joined
Aug 28, 2013
Messages
145
Trophies
0
Location
CAT
XP
280
Country
United States
Somewho know's how to repack the CFA's files with MakeRom? It's the last thing what I need for custom theme's
 

morph95

Well-Known Member
Newcomer
Joined
Jun 6, 2014
Messages
56
Trophies
0
Age
39
XP
162
Country
France
Hello,
I try to dump Zelda theme on 3DS EUR
Code:
makerom_x86 -f cia -major 0 -minor 5 -micro 0 -content 00000007.app.out:0:7 -content 00000020.app.out:1:32 -o ZeldaEUR.cia

The cia file is created but i have:
Code:
[CIA WARNING] Common Key could not be loaded, CIA will not be encrypted
[NCCH ERROR] Failed to load ncch aes key

What's wrong? Thanks
 

tjexp

Happy New Year!
Member
Joined
May 20, 2012
Messages
743
Trophies
1
Location
England
XP
409
Country
Hello,
I try to dump Zelda theme on 3DS EUR
Code:
makerom_x86 -f cia -major 0 -minor 5 -micro 0 -content 00000007.app.out:0:7 -content 00000020.app.out:1:32 -o ZeldaEUR.cia

The cia file is created but i have:
Code:
[CIA WARNING] Common Key could not be loaded, CIA will not be encrypted
[NCCH ERROR] Failed to load ncch aes key

What's wrong? Thanks
That error is normal it seems
 
  • Like
Reactions: cearp

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if that was the point of game streaming
  • Psionic Roshambo @ Psionic Roshambo:
    But it's a dead end
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, people who cant download it can still play the game
  • BigOnYa @ BigOnYa:
    If your internet speeds are fast enough. Streaming 4k takes alot. I used to only have 20mb sec, and 4k struggled. Now I have 300mb sec and 4k plays fine.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only have like 1 or 2 mb sec
  • BigOnYa @ BigOnYa:
    Did you feed the hamster in your internet router? It prob died and is running slow now.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why did you start saying my pc has a hamster in the first place?
    +1
  • BigOnYa @ BigOnYa:
    Its actua!ly just a old joke, meaning its slow. Was just kidding around with you.
    +1
  • BigOnYa @ BigOnYa:
    I bet @AncientBoi has some hamsters hidden somewhere tho....
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I think Game streaming should work like this.... Local Hardware able the run the game fine, game engine and common assets stored locally, all FMV and music and textures could be streaming
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Some temporary storage
  • Xdqwerty @ Xdqwerty:
    also @BigOnYa im making some progress on my gdevelop project, implemented various mechanics
  • Psionic Roshambo @ Psionic Roshambo:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
    BigOnYa @ BigOnYa: That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to... +1