Homebrew [Q/Request] Moving ticket.db from LINKED emuNAND to sysNAND

sonic2756

Friendly Neighborhood Wolf
OP
Member
Joined
Feb 3, 2010
Messages
673
Trophies
1
Age
26
Website
www.keenbrigade.com
XP
1,205
Country
United States
Myself and other GBATemp users have quite a few eShop titles that don't work inside of emuNAND due to GW mode breaking it.

A way to remedy this would be having your emuNAND and sysNAND linked, downloading the eShop content in emuNAND, then copying the ticket.db to sysNAND.

Would something like this be possible with a custom Launcher.dat?
 

sonic2756

Friendly Neighborhood Wolf
OP
Member
Joined
Feb 3, 2010
Messages
673
Trophies
1
Age
26
Website
www.keenbrigade.com
XP
1,205
Country
United States

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,728
Trophies
2
XP
8,534
Country
Tuvalu
If you intend extdata nand, yes, ORGANIZ3D can access it.
extdata is only a small part of nand.
can you access both 'nands' in your app? emunand and sysnand?

sonic2756 - it would be very possible to do with a custom launcher.dat, i have done very similar things myself.
but, spending some time doing something for myself is different to doing work for other people, when you do not have lots of time... :(
 

sonic2756

Friendly Neighborhood Wolf
OP
Member
Joined
Feb 3, 2010
Messages
673
Trophies
1
Age
26
Website
www.keenbrigade.com
XP
1,205
Country
United States
extdata is only a small part of nand.
can you access both 'nands' in your app? emunand and sysnand?

sonic2756 - it would be very possible to do with a custom launcher.dat, i have done very similar things myself.
but, spending some time doing something for myself is different to doing work for other people, when you do not have lots of time... :(

I totally understand,

Which is why I was going to try liomajor's idea, since it seems to be exactly what I need to do.
 

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
I understand what you did except for steps 9, 10, and 11. Could you write out a quick guide? I have everything setup, just need to know what to do there.

1. I extracted my fat16 xorpad using launcher.dat from 3DS_Multi_Decryptor
2. Dumped emuNAND.bin using emuNANDTool
3. Extracted emunand.fat16.bin
4. xor'ed emunand.fat16.bin
5. Mounted emunand.fat16.bin.out with WinImage

6. Browsed to \data\<your unique id>\sysdata\00010038
7. Replaced 00000000 with another one i've extracted the same way that never had nnid


6/7 whatever needs to be done ;)

8. Renamed emunand.fat16.bin.out to test.bin

9. xor'ed test.bin

padxorer test.bin <name_of_fat16 xorpad>

10. Injected test.bin.out into emunand.fat16.bin with HxD

Opened test.bin.out that padxorer created with HxD
Opened emunand.fat16.bin
Switched the tab to test.bin.out and selected ALL by pressing ctrl+a, then ctrl+c to copy it
Switched back to emunand.fat16.bin and pressed ctrl+b to overwrite everything and saved the file

(emunand.fat16.bin is usualy bigger than the decrypted/re-encrypted, thats why i did two steps)

11. Injected emunand.fat16.bin @ offset B930000 with HxD

Opened emuNAND.bin and pressed ctrl+g to jump to offset B930000
Switchet to emunand.fat16.bin and selected ALL by pressing ctrl+a, then ctrl+c to copy it
Switched back to emuNAND.bin and pressed ctrl+b to overwrite everything and saved the file

12. Injected my new emunand.fat16.bin into my SD Card using emuNANDTool
 

sonic2756

Friendly Neighborhood Wolf
OP
Member
Joined
Feb 3, 2010
Messages
673
Trophies
1
Age
26
Website
www.keenbrigade.com
XP
1,205
Country
United States
1. I extracted my fat16 xorpad using launcher.dat from 3DS_Multi_Decryptor
2. Dumped emuNAND.bin using emuNANDTool
3. Extracted emunand.fat16.bin
4. xor'ed emunand.fat16.bin
5. Mounted emunand.fat16.bin.out with WinImage

6. Browsed to \data\<your unique id>\sysdata\00010038
7. Replaced 00000000 with another one i've extracted the same way that never had nnid

6/7 whatever needs to be done ;)

8. Renamed emunand.fat16.bin.out to test.bin

9. xor'ed test.bin

padxorer test.bin <name_of_fat16 xorpad>

10. Injected test.bin.out into emunand.fat16.bin with HxD

Opened test.bin.out that padxorer created with HxD
Opened emunand.fat16.bin
Switched the tab to test.bin.out and selected ALL by pressing ctrl+a, then ctrl+c to copy it
Switched back to emunand.fat16.bin and pressed ctrl+b to overwrite everything and saved the file

(emunand.fat16.bin is usualy bigger than the decrypted/re-encrypted, thats why i did two steps)

11. Injected emunand.fat16.bin @ offset B930000 with HxD

Opened emuNAND.bin and pressed ctrl+g to jump to offset B930000
Switchet to emunand.fat16.bin and selected ALL by pressing ctrl+a, then ctrl+c to copy it
Switched back to emuNAND.bin and pressed ctrl+b to overwrite everything and saved the file

12. Injected my new emunand.fat16.bin into my SD Card using emuNANDTool

Gettting out of memory with HxD trying to paste anything
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    Slower speeds for gen4
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=1hp24nDVKvY