ROM Hack RELEASE EmuTool - Move partition Emu on another SD, Switch Emu type on SXOS and more

doc_gy

New Member
Newbie
Joined
May 8, 2021
Messages
2
Trophies
0
Age
42
XP
33
Country
Philippines
After 2 entinre days messing with it I finally found the right way to migrate my emunand to another micro sd for atmosphere. Probably theres a better way but I didnt found any place in the internet that explained well for a newbie. Ill try to explain but my primary language is not english sorry for any confusion.

  • For atmosphere you need to have the hidden partition be the last one instead of the first like sxos.

  • I used the tegraexplorer payload to format the new micro sd the way you need fat32+ emu
  • Then I used emutool with the original micro sd selected atmosphere hidden and the partition 1, this way you make the backup of only the hidden partition.
  • In the right side select atmosphere file and as target any folder on windows.
  • After its done you need to make a backup of the folder inside the original microsd, the partition that is visiblem put in any folder on windows.
  • Then you switch the micro sd on your pc and put the new micro sd that you want to use.
  • In the emutool you select atmosphere file, select the folder you put the emunand backup beforem you need to select the eMMc folder, and as target you select the new micro sd and partition 1 that will have the average size of 29gb.
  • After the process is done you can move the backup you made from the visible part of the other micro sd to the visible part of the new micro sd, just copy and paste it. Boot on hekate go on emummc, change emummc and click on fix raw.

I did this and it worked finally, I hope it helps anyone having the same problem as me.

hi! what visible folder did you back up?
 

doc_gy

New Member
Newbie
Joined
May 8, 2021
Messages
2
Trophies
0
Age
42
XP
33
Country
Philippines
After 2 entinre days messing with it I finally found the right way to migrate my emunand to another micro sd for atmosphere. Probably theres a better way but I didnt found any place in the internet that explained well for a newbie. Ill try to explain but my primary language is not english sorry for any confusion.

  • For atmosphere you need to have the hidden partition be the last one instead of the first like sxos.

  • I used the tegraexplorer payload to format the new micro sd the way you need fat32+ emu
  • Then I used emutool with the original micro sd selected atmosphere hidden and the partition 1, this way you make the backup of only the hidden partition.
  • In the right side select atmosphere file and as target any folder on windows.
  • After its done you need to make a backup of the folder inside the original microsd, the partition that is visiblem put in any folder on windows.
  • Then you switch the micro sd on your pc and put the new micro sd that you want to use.
  • In the emutool you select atmosphere file, select the folder you put the emunand backup beforem you need to select the eMMc folder, and as target you select the new micro sd and partition 1 that will have the average size of 29gb.
  • After the process is done you can move the backup you made from the visible part of the other micro sd to the visible part of the new micro sd, just copy and paste it. Boot on hekate go on emummc, change emummc and click on fix raw.

I did this and it worked finally, I hope it helps anyone having the same problem as me.

hi, what visible files did you back up?
 

kwanbis

Member
Newcomer
Joined
Jun 15, 2007
Messages
22
Trophies
1
XP
267
Country
United States
EDIT, ok, I was able to make it work by using hetake to make a backup of the EmuNAND partition to the SD Card.

I used this two tutorials which are similar but give you different clues about the process:

https://rentry.co/EmuNANDNewSDcard (Hekate section)

https://switch.hacked.us/extras/backup_restore_emummc/

--- ORIGINAL POST ---

Hey everyone. I have been trying to migrate from a 128GB MicroSD to a 512GB MicroSD.

I have an unpatched Switch with partition-based EmuNAND.

I tried to follow this guide, especially the part that says:

Thanks to @xalassa: Spoiler: Steps for Atmosphere, but I won't work.

It would boot into Hetake, and then if I try to boot to atmosphere it will give me an error about not being able to mount the emuNAND.

I tried looking for the NAND partition start sector and wrote it into the .ini, I also tried the option "Migrate EmuMMC" from Hetake. It never works.

Any ideas? I don't want to lose my son's advance in Super Mario, if not I would have started fresh. Is there any better guide? Any more modern tool? Any other ideas? Thanks.

PS: Now I am trying to do a full backup of the eNAND and then restore it.
 
Last edited by kwanbis,

Bimmel

~ Game Soundtrack Collector ~
Member
Joined
Jan 28, 2014
Messages
2,302
Trophies
2
Age
43
XP
3,771
Country
Gambia, The
Wow, this did cost me a lot of nerves. I changed from a 128 GB to a 400 GB SD card.

Please be aware, that if you want to transfer your Emunand, you don't have to copy your Nintendo into the backup of your Emunand, even if the program tells you to do.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
801
Country
Italy
Please be aware, that if you want to transfer your Emunand, you don't have to copy your Nintendo into the backup of your Emunand, even if the program tells you to do.
I don't understand this.
Nintendo folder contains all the installed NSPs, if you don't backup and restore that folder you have tho reinstall them.
when you backup your hidden partition emunand, Emutool create a working folder structure to use it as a file emunand, but if you want to have also your installed nsp, you have to copy the Nintendo folder.

When you restore the Emunand, Emutool create a fully working emummc folder and emummc.ini file in the target SD, but again, you need to copy back the Nintendo folder if you want to keep your installed programs.

--------------------- MERGED ---------------------------

Any ideas? I don't want to lose my son's advance in Super Mario, if not I would have started fresh. Is there any better guide? Any more modern tool? Any other ideas? Thanks.
Always better to backup your saves using checkpoint or Edizone HB when trying to migrate from one sd to another, regardless of the program or methodology you want to use.



--------------------- MERGED ---------------------------


I'm very sorry for long time waiting, but relooking at my (ugly) code I'm pratically rewriting it.

I'll check also the backup from Hekate via usb and the start sector number generation, but in all of my tests Emutool always generate correct and working files and folder, so the problem is how to correctly use the program.

For this reason I'm trying to create a step by step wizard menu to avoid all this confusions...
this is only a wip image, not the final...

upload_2021-6-18_13-36-3.png
 
Last edited by TheyKilledKenny,
  • Like
Reactions: impeeza

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
5,958
Trophies
3
Age
46
Location
At my chair.
XP
17,274
Country
Colombia
I really like the warning:

«DO NOT FORMAT Anything!» is a lot annoying the windows nagging dialog about the emuMMC partition on SD and if you touch it, then it will be damaged.
 

Bimmel

~ Game Soundtrack Collector ~
Member
Joined
Jan 28, 2014
Messages
2,302
Trophies
2
Age
43
XP
3,771
Country
Gambia, The
I don't understand this.
Nintendo folder contains all the installed NSPs, if you don't backup and restore that folder you have tho reinstall them.
when you backup your hidden partition emunand, Emutool create a working folder structure to use it as a file emunand, but if you want to have also your installed nsp, you have to copy the Nintendo folder.

When you restore the Emunand, Emutool create a fully working emummc folder and emummc.ini file in the target SD, but again, you need to copy back the Nintendo folder if you want to keep your installed programs.View attachment 267345
Wait, maybe I got it wrong. What Nintendo folder are you talking about? Or to phrase it in a different way: Where does this folder must be copied to? There are more than one, so it seems..
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
5,958
Trophies
3
Age
46
Location
At my chair.
XP
17,274
Country
Colombia
Hi, I am not an expert, but as far I know:

The normal Switch have:

A 32GB MMC which stores the firmware and games, saves and configuration
A SD card which stores a NINTENDO folder on root, on that folder you can store games if are moved or installed to SD.

When you create a emuMMC what you do is create a partition or a folder where a set of files are stored and these files emulates the function of the real MMC. So wen you use the emulated MMC stills should be a emulated NINTENDO SD folder for store the corresponding settings and games of the emulated MMC.

So in my case I have a emuMMC as partition but on my SD there is folder SD:/emuMMC/RAW1/Nintendo which is the corresponding NINTENDO folder of the emuMMC. but still having a SD:/Nintendo folder corresponding to the real MMC configuration.

If you have the emuMMC as a folder all files should be inside on the same folder SD:/emuMMC/ a subfolder for the emuMMC files an other subfolder for the «NINTENDO» folder itself.
 
  • Like
Reactions: TheyKilledKenny

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
801
Country
Italy
Wait, maybe I got it wrong. What Nintendo folder are you talking about? Or to phrase it in a different way: Where does this folder must be copied to? There are more than one, so it seems..
What @impeeza wrote is correct.
If you start from an Atmopshere/hekate partition emu, normally you'll find the Nintendo Folder inside sd:/emummc/RAW1/
If you start from an sxos emunand you'll find a folder called "Emutendo" on the sd root.
When you restore a partition emu in Atmosphere format, Emutool creates the needed folder named emummc/RAW9 (RAW9 and not RAW1 to avoid overwrite something).
To have a full copy of your emu on the new sd card, you have to copy from the old sd card the sd:/emummc/RAW1/Nintendo folder to the new sd card in sd:/emummc/RAW9/Nintendo, or (if it originally was an sx emu) from the root of the old sd card copy the Emutendo folder to emummc/RAW9/ and rename it in Nintendo on the new sd.

Depends on how many nsp you have installed this folder can be very big.

Ciao.
 
Last edited by TheyKilledKenny,
  • Like
Reactions: impeeza

kambeeeng

Member
Newcomer
Joined
May 7, 2020
Messages
10
Trophies
0
Age
34
XP
68
Country
Indonesia
hi im new to this,
i have sxos, and i want to change my exfat sd card into fat32 format (same sdcard)
what is the best way to do it? do i need to backup my emunand?
thanks before
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
5,958
Trophies
3
Age
46
Location
At my chair.
XP
17,274
Country
Colombia
hi im new to this,
i have sxos, and i want to change my exfat sd card into fat32 format (same sdcard)
what is the best way to do it? do i need to backup my emunand?
thanks before
Hi, the best way: simple! read the instructions on this thread and/or on the OP and you will be able to migrate the emunand, then there is a very comprehensive tutorial here on gbatemp, just use the search button, you will find it.
 

kambeeeng

Member
Newcomer
Joined
May 7, 2020
Messages
10
Trophies
0
Age
34
XP
68
Country
Indonesia
Hi, the best way: simple! read the instructions on this thread and/or on the OP and you will be able to migrate the emunand, then there is a very comprehensive tutorial here on gbatemp, just use the search button, you will find it.
ok will try
thanks
 

Artyriaboy

Member
Newcomer
Joined
May 1, 2019
Messages
19
Trophies
0
Age
33
Location
Köln, Deutschland
XP
167
Country
Germany
Okay I finally got it to work so I'm going to post my process here in case anyone was confused about the steps for EmuTool that were initially posted or were running into partition issues with Hekate.


A brief explanation on why I did this in case someone is in the same predicament.

I was trying to upgrade my SD card to a larger size and during the process I accidently updated my switch to the new OFW 11.0.1, Since SXOS still hasn't come out with a new boot.dat file for Nintendo's newest firmware update I needed to transfer my old emunand and boot.dat on an old SD card (which I was using back on CFW 10.0.2) to my new SD card. Keep in mind I run SXOS so if you are not running SXOS most of these steps will not work for you.


Also, if you are doing this because you accidently upgraded to the latest firmware and you want to restore your emunand, this process will only allow you to boot into CFW, I never use OFW anyway so I personally don't mind but if you are looking for a way to boot into OFW through SXOS without performing a genuine boot you may need to wait until SXOS comes out with an updated boot.dat file.


To get this to work follow these steps


Generating the emunand Files with EmuTool

(If you want to use a NAND backup to generate the new emunand you can skip to step 1 of "Preparing the New SD card".)
  1. select SXOS Hidden Partition and select the SD card you want to pull the emunand from.
  2. "Enable Partition EMU" should be selected if you have a valid emunand on the sd card.
  3. Then select SXOS File as the Target and for the destination I just picked a random folder I generated on my desktop.
  4. Start the client and once it is finished make sure all the files are generated [Boot0,Boot1 and Full.00 - Full.07]
Prepare the New SD Card
  1. Download the Free Version of MiniTool Partition Wizard
  2. Right click the current partition on the SD card and delete it.
  3. Then Right click and hit "create". Leave the Partition label blank and select "File System" and choose unformatted.
  4. Make the partition size 30GB and hit okay. It is very important that this unformatted partition is First!!
  5. Right click the second partition and hit "create" leave partition label blank and selected exFat or Fat32 as the file System.
  6. click apply
  7. Once the Partition Wizard completes the process right click the first 30GB partition we created in step 4 and click "delete". This will change the partition Type to Logical and change the Partition type ID to 0x0 without having to upgrade to a paid version of MiniTool Partition Wizard and you will also see the Used space change from 30GB to 0GB. Click Apply
Transferring the emunand files to the new SD card
  1. Open EmuTool and Select "SXOS File" as the source and locate the file on the desktop containing the emunand files previously generated in step 4 of "Generating the emunand files" (or your NAND backup files if you have a NAND backup)
  2. Then as the target select the new SD card and start the client.
  3. Once the client is finished make sure to move over the old boot.dat, license.dat and Emutendo folder to the new SD card as well.
  4. Close the client and reopen it, select "SXOS Hidden Partition" as the source and select the New SD card that you just moved the hidden partition to and make sure to select "Enable Partition EMU" if it isn't already selected.
  5. Close EmuTool and remove the SD card from the computer and test it!

These are the Steps that worked for me, I hope this helps someone else!


Worked perfectly, thanks to this I was able to switch from a small to a larger SD.
 
Last edited by Artyriaboy,

Stack3r

Shizuo Heiwajima
Member
Joined
Jan 24, 2014
Messages
980
Trophies
0
Age
31
Location
Ikebukuro
XP
1,472
How long does it usually take to restore the Atmosphere file? The first time I did it, it took 5 minutes (idk if I clicked the right thing) now it's taking almost an hour and it's only on 2 of 7
 

Stack3r

Shizuo Heiwajima
Member
Joined
Jan 24, 2014
Messages
980
Trophies
0
Age
31
Location
Ikebukuro
XP
1,472

Site & Scene News

Popular threads in this forum

Recent Content

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Sorry for accidentally bending over