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

Marax

Well-Known Member
Newcomer
Joined
May 19, 2017
Messages
92
Trophies
0
Age
34
XP
661
Country
Gambia, The
Ive tried to move my SD File Emunand to an Partition Emunand with this Tool. But now when i try to boot the new Emunand it just hangs on the Switch Logo

I saved my entire SD Card then formatted it with Hekate to Fat32 and Partition Emunand then i played back all the Data and the new Partition Emunand with this tool but no boot now ... I selected the right one in Hekate settings


I fixed it with migrate emummc on hekate he changed the path to raw1 instead of raw9 and i putted my Nintendo folder to raw1 but not it won’t regnozise my games … Is there a fix?

Do i need to reinstall all Games???
 
Last edited by Marax,

Jim_Sfetoudis

Active Member
Newcomer
Joined
Mar 23, 2023
Messages
37
Trophies
0
Age
37
XP
115
Country
Greece
I created a file-based emunand with the tool and what I see on the emummc.ini file is this:
[emummc]
enabled=1
sector=0x0
path=emuMMC/HPE0
id=0x0000
nintendo_path=emuMMC/HPE0/Nintendo

Did I do it correctly?
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,362
Trophies
3
Age
46
Location
At my chair.
XP
18,737
Country
Colombia
I can see 2 Nintendo folders on my SD card. Which one should I copy?
If you used the Tool to convert a RAW partition to file based, then you must move the old nintendo folder, could be on SDMC:/emuMMC/XX##/nintendo folder to SDMC:/emuMMC/HPE0/Nintendo.

But if you did make a sysNAND backup and then converted that sysNAND backup to emuNAND then you should copy the SDMC:/nintendo folder to SDMC:/emuMMC/HPE0/Nintendo.

Which one folders do you have on your SD Card?
 

Jim_Sfetoudis

Active Member
Newcomer
Joined
Mar 23, 2023
Messages
37
Trophies
0
Age
37
XP
115
Country
Greece
If you used the Tool to convert a RAW partition to file based, then you must move the old nintendo folder, could be on SDMC:/emuMMC/XX##/nintendo folder to SDMC:/emuMMC/HPE0/Nintendo.

But if you did make a sysNAND backup and then converted that sysNAND backup to emuNAND then you should copy the SDMC:/nintendo folder to SDMC:/emuMMC/HPE0/Nintendo.

Which one folders do you have on your SD Card?
On which partition?
Post automatically merged:

If you used the Tool to convert a RAW partition to file based, then you must move the old nintendo folder, could be on SDMC:/emuMMC/XX##/nintendo folder to SDMC:/emuMMC/HPE0/Nintendo.

But if you did make a sysNAND backup and then converted that sysNAND backup to emuNAND then you should copy the SDMC:/nintendo folder to SDMC:/emuMMC/HPE0/Nintendo.

Which one folders do you have on your SD Card?
[/QUOTE
On which partition?
No,I will not bother with sysnand for the time being
 
Last edited by Jim_Sfetoudis,

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,362
Trophies
3
Age
46
Location
At my chair.
XP
18,737
Country
Colombia
Hekate, Atmósphere and HOS will use only the first one for data, any other partition will be ignored.

Any NAND have a partner "nintendo" folder.

SysNAND have SDMC:/nintendo

EmuNAND have the one configured on the file SDMC:/emuMMC/emummc.ini

normally if you have several file based EmuNAND, each emuNAND is stored on a folder like

SMDC:/emuMMC/XX##/eMMC

Then normally the partner nintendo folder will be

SMDC:/emuMMC/XX##/Nintendo

And then the SDMC:/emuMMC/emummc.ini should point to that path.
 

Jim_Sfetoudis

Active Member
Newcomer
Joined
Mar 23, 2023
Messages
37
Trophies
0
Age
37
XP
115
Country
Greece
Hekate, Atmósphere and HOS will use only the first one for data, any other partition will be ignored.

Any NAND have a partner "nintendo" folder.

SysNAND have SDMC:/nintendo

EmuNAND have the one configured on the file SDMC:/emuMMC/emummc.ini

normally if you have several file based EmuNAND, each emuNAND is stored on a folder like

SMDC:/emuMMC/XX##/eMMC

Then normally the partner nintendo folder will be

SMDC:/emuMMC/XX##/Nintendo

And then the SDMC:/emuMMC/emummc.ini should point to that path.
My emunand is partition based my friend.Also ok,I will copy the Nintendo folder if I go with the tool,but this tutorial lacks and I lost quite some time to find out what should be done especially with the partitions and how to make them.I decided to go with the backup and restore option in Hekate instead
 
  • Like
Reactions: impeeza

Jim_Sfetoudis

Active Member
Newcomer
Joined
Mar 23, 2023
Messages
37
Trophies
0
Age
37
XP
115
Country
Greece
I followed the process and I now see a new hekate.ipl file different from the previous. Why?i tried overwriting it with the previous and emunand doesn't boot.I get an error about something pkg1 error in red letters.Maybe the cause is with the partitioning.I did it from disk management in windows.Any ideas?
 

Mii09

Active Member
Newcomer
Joined
Sep 11, 2018
Messages
28
Trophies
0
XP
145
Country
United States
EmuTool
Move, Copy, Convert, Backup and Restore your SXOS and Atmosphere Emunand/emuMMC.

View attachment 187157
(Art by @CrazyKing93)​

(Emunand or emuMMC are the same concept, below will be referred to simply as Emu)

Italian language guide here
For support in Italian or a little bit of English you can reach me on Telegram group http://t.me/gamesandconsoleschat

Warning!

Antivirus program can block and delete EmuTools.
EmuTool uses these functions of Windows Kernel32: CreateFile, CloseHandle, DeviceIoControl, SetFilePointer, ReadFile, GetFileSize, WriteFile, FlushFileBuffer, LockFile, UnlockFile
Check source code in second post if you need.


1. What is it for?

  • Move the Hidden partition Emu (Atmosphere\SXOS) on a new (bigger?) SD
  • For SXOS it allows to switch from Emu on partition mode to Emu on file and vice versa, so you can have two Emunand on the same SD card.
  • Change your Emu format from Atmosphere to SX OS and viceversa and from Hidden partition Emu to Emu on file
  • Backup and restore of every type of Emu.
  • Create a new Emu (for experiments?) starting from you current Hekate/SXOS backup or from your current Emu
  • Split an Hekate backup in multiple files ready for fat32 partitions
  • Create the relevant configuration files to boot the Emu (emummc.ini, raw_based, file_based and folder structure)

The following are simple steps posted by users in this thread

Thanks to @Kazrael :

Thanks to @xalassa :

Original English language guide

1. What is it for?

  • Move the Hidden partition Emu (Atmosphere\SXOS) on a new (bigger?) SD
  • For SXOS it allows to switch from Emu on partition mode to Emu on file and vice versa, so you can have two Emunand on the same SD card.
  • Change your Emu format from Atmosphere to SX OS and viceversa and from Hidden partition Emu to Emu on file
  • Backup and restore of every type of Emu.
  • Create a new Emu (for experiments?) starting from you current Hekate/SXOS backup or from your current Emu
  • Split an Hekate backup in multiple files ready for fat32 partitions
  • Create the relevant configuration files to boot the Emu (emummc.ini, raw_based, file_based and folder structure)


2. Using the Tool
To access the SD partitions run EmuTool.exe with administrator rights, it should already request it, if not please do a right click and choos Run as Administrator...
To start, double click on the EmuTool.exe file and confirm the administrative rights if necessary
EmuTool requires that you select a source (Source), ie where to read the Emu, and a destination (Target), ie where to write the copy of the Emu.
Both Source and Target support Partition and Files.
When Source and Destination are set press the Start button to start copying.
(I apologize for the UI quality. This was a tool created just for me and I wanted to keep it lightweight, free of dependencies, no installation and easily usable, as I think a tool so limited and specific should be)​

fefd4f169c294b50ab045.png




3. How to Select SD card and File
After selecting the type of Emu you want as a Source or Target, click on the "white" box with the words "Click to select SD Card" in the frame relating to the Emu type selection.
A navigation window will appear depending on the Emu type selected
In case of Partition type, the following window will appear​
2f2820ee5df6c9f967084.png
Selecting the drive containing the SD shows a list of the partitions present on the SD card.
The Sector field located at the bottom right is important.
The first value is read by emummc.ini if it is correct, check the emummc.ini file in the emummc folder of the SD card if this value is incorrect. If you are using Kosmos simply select the Emu from the emuMMC menu.
If you select a partition from the list, then the initial sector of the partition, added to the 16Mbyte offset, will be shown in the Sector field.
No partition selection for SXOS as it is fixed to 0x2 on the first patition.
If something is wrong then you can correct the value, in hex (with notation 0x as in 0x02AC2300) or in decimal (for example the value read from Minitool Partition Wizard)

Confirmed with Ok the main screen displays the data related to the Emu to read
2ddc5984d870dcf2e91c2.png


If you choose The File Type Emu the following window will appear
8332cd2bcd1ae3168afb9.png


Select the destination folder and the path will be shown on the main screen in the white box

d50f510cc9fecee6194f1.png

When everything is set as desired press Start.​


4. Enabling / disabling Emunand SXOS on partition (allows to start emunand on file)
Select Source SXOS hidden partition and click the white box to select the SD card drive. When SD is selected two new buttons will appear in the main window

299a5edf2d615d4f3db76.png


WARNING!!!
No check is made on the actual existence of Emunand, so you can enable emu on partition even if this partition does not exist.

The state of the buttons indicates the current status of Emunand on partition.
Click on "Enable Partition Emu" to enable reading the Emunand from the hidden partition.
Click on "Disable Partition Emu" to disable it. In this case the File Emunand will be loaded if there is a valid SXOS File Emunand on SD in the sxos\Emunand folder.
You can now prepare a SXOS Emunand file.
Select the SXOS File type as Target, select the SD root as the path and press Start to create a copy of your Emunand partition in Emunand file, without the need to use hard disk and without having to reload the cfw files on the SD.
EmuTool Create the sxos/Emunand folder starting from the point you choose as the destination folder. Inside the Emunand foledr you will find the Emunand files.

5. Change SD for those who have Emu on partition
To bring the Emu to the new SD there are two possibilities:
1 - Copy the Emu to file and use it in File mode (see section 6)
2 - Create a special partition of at least 30GByte on the new SD and transfer the Emu on it, however, requires the passage at point 1 (first go to section 6 and then to section 7)
6. Convert partition Emu in Emu on File
Select as Source the type of partiton Emu, Atmosphere or SXOS, you want to read/copy and then select the SD card by clicking on the white box.
Select as Target the type of Emu on file you want to get and click on the white box to select a destination path.
The Emu-related folders will be created, ready to be copied to the SD root. In the case of the Atmosphere type, the emummc.ini and file_based files are also created.
For SXOS the sxos folder is created and within it the Emunand folder is created. For Atmosphere the emuMMC folder is created, the emummc.ini file compiled and the HPE0 folder which will contain the eMMC folder with the Emu files and the file_based file needed by Kosmos\Hekate\Nyx.

Press Start to begin.
7. Transfer of the Emu to partition
Select as Source the Emu File type and select the folder that contains the Emu files, not the root folder (ie choose sxos\Emunand or emummc\HE0\eMMC folders).
Select as Target the type of partition Emu that you want to restore, in case of Atmosphere type you will also have to indicate the initial sector of the partition you created to host the Emu. Please check the other tutorial on how to create a suitable partition for emuMMC (you can use the free minitool partition software).

Press the Start button to start copying.​

6. Conclusion
For any other operation you can think of, the way to select the SD reader and browse through the folders does not change, so I guess I shouldn't bother you with unnecessary chatter ;-)

I do not offer any guarantee for the use of this software. I am a very bad programmer, so if you use EmuTool it will be at your own risk.
If using this software the processor should start like a rocket and cut your head off (Hey They killed kenny! ... You Bastard!), I'm not responsible.

With this software you can do whatever you want (copy, distribute, decompile, write the user TheyKilledKenny is idiot, etc.), but NOT SELL in any ways. If you recover even a single penny with this software you must immediately donate to charity, otherwise you are a thief.


Thanks to the user @GraFfiX420 for pointing me in the right direction with his tutorial
https://gbatemp.net/threads/moving-from-sx-os-sd-emunand-to-sd-hidden_emunand.526587/




Ciao!



Changelog:
Version 0.2.9
Fixed restore from Hekate backup file, now rawnand.bin or rawnand.bin.xx are supported as single file backup or up to 51 files splitted backup (rawnand.bin.50)
Added partition selection for Atmosphere
Minor fixes in partition selection for Atmosphere

Version 0.2.8
Solved bad starting sector report when Atmosphere hidden partition was chosen as Source
Fixed some minor bugs found during more tests

Version 0.2.7
Added a minimum of error trapping, useful to debug errors
Added partition selection, 16MByte offset will be added to the real partition start sector because Kosmos\Hekate do it when I create a new emu on partition from starting menu. Text filed is always editable to correct if needed.
Some other minor error traping and correction around.
Not solved overflow error that someone reported, maybe the error trap can be useful.

Version 0.2.6
Added different file size for Amosphere eMMC and SXOS size, it should solve some slowness problem during eMMC boot.
Trapped an overflow error during SD read at the start if not executed as Admin
Sector field for Atmosphere partition is now always editable
Changed the icon of the main form that caused crashes on some Windows7 systems.

Version 0.2.5
Test Version

Version 0.2.4
First public release
Idk if it's already been mentioned before but, for the atmosphere guide at the VERY last step, I believe the proper step is to go to Migrate emuMMC, not Change emuMMC.
 

Mii09

Active Member
Newcomer
Joined
Sep 11, 2018
Messages
28
Trophies
0
XP
145
Country
United States
Which guide?
The "Steps for Atmosphere" one by xalassa, all the way at the very end.

"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."

It's just the change emuMMC part, should be Migrate emuMMC instead.
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,362
Trophies
3
Age
46
Location
At my chair.
XP
18,737
Country
Colombia
The "Steps for Atmosphere" one by xalassa, all the way at the very end.

"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."

It's just the change emuMMC part, should be Migrate emuMMC instead.
I can not give my oppinion on a guide I don't know and really do not know what are you trying to do.

EmuTool allows you to read a RAW partition based EmuNAND and backup it on a set of files (Which can be used as a file based EmuNAND)

Or Read a Set of Files for a File Based EmuNAND and write to a SDcard starting on a sector to create a Raw partition Based EmuNAND.

So you can use EmuTool to backup any EmuNAND or convert between Raw partition and file based ones.

Is up to you which process to do.
 

John135

Member
Newcomer
Joined
Jun 9, 2019
Messages
8
Trophies
0
XP
61
Country
United States
HI!
I have a question:
I tried to use the tool EmuTool (v0.2.9), selected 'Atmosphere hidden Partition' but the only drive it sees in source is my OS SSD, so can't select my old mSD card at all. They (both old and new mSD cards) show up just fine in my computer and Computer Management.
Is there something I'm missing?
I'm just trying to upgrade from 400GB to a 1.5TB mSD card.
Thanks in advance!
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,362
Trophies
3
Age
46
Location
At my chair.
XP
18,737
Country
Colombia
HI!
I have a question:
I tried to use the tool EmuTool (v0.2.9), selected 'Atmosphere hidden Partition' but the only drive it sees in source is my OS SSD, so can't select my old mSD card at all. They (both old and new mSD cards) show up just fine in my computer and Computer Management.
Is there something I'm missing?
I'm just trying to upgrade from 400GB to a 1.5TB mSD card.
Thanks in advance!
May be you are experiencing a know bug when there is «big» disks on your pc, please try this version and let us to know how works for you.
 

Attachments

  • EmuTool_v0.2.9_BigDisks.zip
    63.9 KB · Views: 1
  • Like
Reactions: Maupiti

John135

Member
Newcomer
Joined
Jun 9, 2019
Messages
8
Trophies
0
XP
61
Country
United States
@impeeza
Thank you for the file, it works, unfortunately it only worked part-ways!?
I can select/see both mSDs in the 'pick source' option, but after I select my old mSD card, the 'target' field option for 'Atmosphere hidden Partition' is grayed out, so trying to select the new mSD card is impossible.

I re-checked, technically those options gray out in target, right after I click 'Atmosphere hidden Partition' on source side.

In the target field, I can only select 'Atmosphere File' or 'SXOS File' and then can select someplace on my Windows OS SSD to save it to, but I'm not trying to do that.
I'm just trying to copy/move all my settings/games/etc from one mSD card to a bigger mSD card so I don't have to try and download/re-install anything, am I missing something again?
Thanks for the help, I need it still ;/
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    S @ salazarcosplay: @Skelletonike first time I hear of stellar blade