Hacking How do I deactivate my account?

D

Deleted-442439

Guest
So I didn't even have to use dump_bis.js? Anyway, I dropped dumpArchives.js in the usefulscripts folder, and ran the command "evalfile usefulscripts/dumpArchives.js" on PegaSwitch. It created these bin files in "./pegaswitch/dumps/archives".
Oy38Cdm.png
Then, I extracted the 0100000000000800.bin with hactool. Here is what I got.
ssl_Crl.bdf
ssl_TrustedCerts.bdf

Now, how can I convert these files into ShopN.p12? I did some googling and searched on Reswitched's Discord channel, but couldn't find any info about these files.

.bdf? Why would SSL certificates be saved in a font file? Try to unpack the file by changing it to a .zip?
 
D

Deleted-442439

Guest
I finally figured it out. It's in the 'LibAppletShop.nso' file. Run 'DumpModules.js' in the usefulscripts folder, run hactool on the 010000000000100B.bin file, and voila!

Great research! I think it would be useful if you posted a tutorial in a new thread for people to use!
 

Foupen

Well-Known Member
Newcomer
Joined
Apr 28, 2017
Messages
69
Trophies
0
XP
154
Country
Taiwan
I finally figured it out. It's in the 'LibAppletShop.nso' file. Run 'DumpModules.js' in the usefulscripts folder, run hactool on the 010000000000100B.bin file, and voila!
Thanks for the research. Are you sure it's 010000000000100B.bin? Because when I run DumpModules.js on Pegaswitch, 010000000000100B.bin doesn't seem to be created. Instead, these 4 files are created in the "pegaswitch/dumps/LibAppletShop" folder.
0JdC5SM.png

ZRGspMy.png

I tried to decompress main.npdm with hactool, but it doesn't seem to be working though it says "Done!". Or maybe I'm doing something wrong.
Here's the output log.
https://pastebin.com/qxiV2D5R
 
Last edited by Foupen,

Maq47

Lord of Pyro
Member
Joined
Jan 7, 2012
Messages
1,242
Trophies
1
Location
Your basement
Website
idont.have.one
XP
3,292
Country
United States
Thanks for the research. Are you sure it's 010000000000100B.bin? Because when I run DumpModules.js on Pegaswitch, 010000000000100B.bin doesn't seem to be created. Instead, these 4 files are created in the "pegaswitch/dumps/LibAppletShop" folder.
0JdC5SM.png

ZRGspMy.png

I tried to decompress main.npdm with hactool, but it doesn't seem to be working though it says "Done!". Or maybe I'm doing something wrong.
Here's the output log.
https://pastebin.com/qxiV2D5R

You need to run this python script on the 'main' file (not the .npdm file). Do that, then tell me what you come up with.
 
  • Like
Reactions: Subtle Demise

Foupen

Well-Known Member
Newcomer
Joined
Apr 28, 2017
Messages
69
Trophies
0
XP
154
Country
Taiwan
You need to run this python script on the 'main' file (not the .npdm file). Do that, then tell me what you come up with.
Thakns, managed to decompress the "main" file and output it as a .bin file using nso.py
c:\Python27>python nso.py "E:\Nintendo Switch\LibAppletShop\main" out.bin
.text: 00000000-005E3B48
.rodata: 005E4000-008A9698
.data: 008AA000-00936290
However, I can't figure out how to extract it with hactool. Running "hactool -tromfs --outdir=out out.bin" causes hactool to crash. (Even though it works with other bin files such as 0100000000000800.bin). It's not a romfs file? If so, how can I extract it? I tried with other file types but it didn't work either. Since there's barely any info out there about this kind of stuff except for some Switchbrew's documentation, I'm at a loss what to do.:wacko:
 

Naxster

Well-Known Member
Member
Joined
Jun 10, 2009
Messages
656
Trophies
1
XP
1,515
Country
Sweden
So even though we have firmware version 3.0.2 we still won't be able to play Super Mario Odyssey? I thought that required firmware 3.0.0? Or maybe I'm wrong :/
 

Maq47

Lord of Pyro
Member
Joined
Jan 7, 2012
Messages
1,242
Trophies
1
Location
Your basement
Website
idont.have.one
XP
3,292
Country
United States
Thakns, managed to decompress the "main" file and output it as a .bin file using nso.py

However, I can't figure out how to extract it with hactool. Running "hactool -tromfs --outdir=out out.bin" causes hactool to crash. (Even though it works with other bin files such as 0100000000000800.bin). It's not a romfs file? If so, how can I extract it? I tried with other file types but it didn't work either. Since there's barely any info out there about this kind of stuff except for some Switchbrew's documentation, I'm at a loss what to do.:wacko:

I don't know the answer to this one. I'm asking in the ReSwitched Discord now.
 

Cuphat

Well-Known Member
Member
Joined
May 16, 2011
Messages
1,295
Trophies
1
XP
1,223
Country
United States
So even though we have firmware version 3.0.2 we still won't be able to play Super Mario Odyssey? I thought that required firmware 3.0.0? Or maybe I'm wrong :/
I'm confused as to what this has to do with this topic, but Odyssey requires 3.0.1, so long as you've got a first-run cartridge of it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: *yawn*