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

grootus

Member
Newcomer
Joined
Oct 23, 2018
Messages
23
Trophies
0
XP
106
Country
United States
Grazie for the Minitool tutorial. Does the emummc partition size have to be 30GB?
I saw another emummc guide use 29.16GB (29856 MB) for the partition size.

Rename rawnand.bin to 00 and choose "Hekate Backup Files" option did not work.
Rename rawnand.bin to 00 and choose "Atmosphere File" option work.
But it deletes everything in emuMMC\RAW1\Nintendo on SD card. Should that happen?
Maybe you should remove "Hekate Backup Files" option because it is currently not working.
 
Last edited by grootus,

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
Grazie for the Minitool tutorial. Does the emummc partition size have to be 30GB?
I saw another emummc guide use 29.16GB (29856 MB) for the partition size.

Rename rawnand.bin to 00 and choose "Hekate Backup Files" option did not work.
Rename rawnand.bin to 00 and choose "Atmosphere File" option work.
But it deletes everything in emuMMC\RAW1\Nintendo on SD card. Should that happen?
Maybe you should remove "Hekate Backup Files" option because it is currently not working.
Yes, the correct partition size is what you say (the sum of all emu files size), but Hekate take some free space at the beginning of the partition. If you say: "less than 30Gb" you are shure you fit in every situation.

Yes you are right, you have to choose atmosphere file. I have to correct that function and get the correct file names for hekate backup... as soon as I can find this 10 minutes to do it, sorry for this delay.

For who is interested here is a link for an Italian language translated version of Minitool Partition Wizard with some explaining image (I did it very fast).

Minitool guide (ITA)

Ciao!
 

shockme17

Member
Newcomer
Joined
Dec 14, 2003
Messages
20
Trophies
0
XP
262
Country
United States
Is it possible for this to remove the SX hidden partition without reformatting the drive? I no longer use emunand, as the switch is banned, and would like to not have it be the default when booting up the device.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
Is it possible for this to remove the SX hidden partition without reformatting the drive? I no longer use emunand, as the switch is banned, and would like to not have it be the default when booting up the device.
You can disable the Emunand using sxos start menu (keep pressing Vol+ soon after payload injection)
If you want to recover the partition un-used space, you can delete the emunand using the sxos menu or remove all partition and reformat the SD card or use Sd Card Formatter.
You can also use EmuTool if you only want SX to stop booting from partition: open EmuTool, select the SD card as source and click on Disable button that appears.
Now check you have nothing in sxos\Emunand folder on your SD and you have done.

Ciao!
 

grootus

Member
Newcomer
Joined
Oct 23, 2018
Messages
23
Trophies
0
XP
106
Country
United States
Yes, the correct partition size is what you say (the sum of all emu files size), but Hekate take some free space at the beginning of the partition. If you say: "less than 30Gb" you are shure you fit in every situation.

Yes you are right, you have to choose atmosphere file. I have to correct that function and get the correct file names for hekate backup... as soon as I can find this 10 minutes to do it, sorry for this delay.

For who is interested here is a link for an Italian language translated version of Minitool Partition Wizard with some explaining image (I did it very fast).

Minitool guide (ITA)

Ciao!

Do not work with Hekate split files: BOOT0, BOOT1, RAWNAND.BIN.00-14
Rename RAWNAND.BIN.00-14 to 00-14.
Choose "Atmosphere File", but EmuTool_v0.2.8 stops after 09 file.
"Hekate Backup Files" still broken.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
I made a tutorial on how to have more than one emummc per partition. You could improve this by making it so that you can specify the sector in order to transfer more than just the first emummc on the partition. https://gbatemp.net/threads/have-more-than-one-emummc-per-partition.552295/
Thank you, very useful.

Your tutorial set only a single partition, that is ok for hekate emummc loading, but in this way emutool is not able to find partitions.
With Emutools you can still choose the emummc partition and manually write the starting sector you want to backup or restore (the same number you write in emummc.ini)

If you use a one partition for one emummc instead of a single partition for all emummc and if you set Atmosphere as source or destination, you can see a partitions list to choose from, so you can backup or restore the partition you want.
I really not heavily tested in a multipartition environment, but it should work.

Let me know if not.

Ciao!

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

Do not work with Hekate split files: BOOT0, BOOT1, RAWNAND.BIN.00-14
Rename RAWNAND.BIN.00-14 to 00-14.
Choose "Atmosphere File", but EmuTool_v0.2.8 stops after 09 file.
"Hekate Backup Files" still broken.
I check it this weekend and I'll fix this issue definitively.
 
Last edited by TheyKilledKenny,

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
Windows defender says EmuTool_v0.2.8.zip has virus.
Is this wrong?

Your software seems most useful, I really need it right now but I am also hesitant about using it because there are viruses popping up from several antivirus scans.
Link to VirusTotal results
As I sayd in a previous post, It is a false.
EmuTool uses these functions of Windows Kernel32:
CreateFile
CloseHandle
DeviceIoControl
SetFilePointer
ReadFile
GetFileSize
WriteFile
FlushFileBuffers
LockFile
UnlockFile

And maybe this doesn't like to antivirus program.
The source code is availlable in the secondo post, you can check or ask someone to check for you.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
Finally fixed hekate backup and some other minor errors.
Now hekate backup single file or splitted up to 51 files (00 to 50) are supported.

The new Source code are in second Post.

Hope is ok now.
If anyone wants to rewrite this tool into another programming language (in C for HB for example), do not hesitate to ask me all the information you need, hoping that I will be able to answer it.
Your programming language/framework need to be able to read/write directly from/to SD Card sectors.

Happy New Year to all of you GBATemp people and users!!!

Ciao!
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,256
Trophies
4
Location
Space
XP
13,816
Country
Norway
Didn't notice this until now. I have been waiting for a tool like this, very useful since having to clone or image the entire card to move an emuNAND is a big hassle.
But why VB6?
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
But why VB6?
Keep in mind that this was originally born as personal tool for myself, so I used something that was a bit more then a batch file.

For this type of tools I still use vb6, both for the compactness and the speed of the generated compiled exe file and for the absence of dependencies (if not desired) that need installation packages that fill the PCs with unnecessary files and registry keys.
In the end you get a small, quick and completely portable tool from windows98 to windows10.
You can save it directly in the SD card and run it from there.

The concept at the base of this tool is very simple, you can do everything with a normal dd command, but windows user are not so familiar with it.
So if anyone wants to port it in any other programming language that can directly access SD sectors or use the kernel32.dll functions, do not hesitate to ask me for information if needed.

Ciao!
 
  • Like
Reactions: SpaceJump

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
Un'app del genere ci voleva proprio, fatta da un Italiano è anche più bello! :) Great job!
Thank you.
It's a very ugly and simple tool, but the growing number of questions from people who wanted to change SD and didn't know how to do it convinced me to release it to everyone.

If you need support in Italian, you can find me on Nintendo Modding Italia Telegram group (not my group and I am not an affiliate or a Mod)

Ciao!
 
Last edited by TheyKilledKenny,
  • Like
Reactions: Real.96

Velvis70

Well-Known Member
Newcomer
Joined
Oct 23, 2019
Messages
53
Trophies
0
Age
53
XP
446
Country
United States
Can this be used to simply clone one card to another? Im a bit confused. It seems like you have to convert the hidden partition to a file. Im not sure why or if I would want to do that? I am moving from a 256GB to 512GB.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night