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

Andalitez

Well-Known Member
Member
Joined
Jul 2, 2018
Messages
507
Trophies
0
Location
Final Space
XP
1,299
Country
United States
Awesome, thanks OP.
So basically you can create a split sysnand and get a 5gb emunand. Migrate it to SD as a file. Convert it to hidden partition and use atmosphere on 5gb hidden emummc
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
Awesome, thanks OP.
So basically you can create a split sysnand and get a 5gb emunand. Migrate it to SD as a file. Convert it to hidden partition and use atmosphere on 5gb hidden emummc
No!
This is just a copy utility, no compression or transformation is performed on the transferred data.

The Emunand is 29GByte always.
 
  • Like
Reactions: eco95

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,426
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,791
Country
United States
Does this tool support SD cards with more then one emunand partition? Can it backup emuand partition to a binary file on computer? (the images seem to suggest it only transfers emunand to other SD cards)

Would be nice to see some kind of backup/restore tool for making backup of emunand to a file on PC like I could with 3DS emunands. Hekate still hasn't gotten full support for setting up multiple emuMMCs yet. Was kind of a pain setting up a second emuMMC for it. :P

The tool doesn't give me an error on startup like a few others reported (maybe you had already pushed a fix for this). I too have Windows 7 64bit. I have UAC turned off though so I don't need to run things as administrator. I haven't actually attempted to do anything with it though has I'm unsure it does what I want at the moment. :P

I don't necessarily need to convert my emuMMCs to file format. Just want something that can just create a binary backup to a single BIN file of some sort like the 3DS emunand tools used to do. I imagine it can't be too complicated to do something like that for Switch emuMMCs. Unless your tool already does this via the Atmosphere file option on the "target" section of the dialog. Maybe the target doesn't have to be an SD card if I use that option.
 
Last edited by Apache Thunder,

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
Tried both new files, same error...

I couldn't find this damn overflow error!
In my Windows 7 Embedded installation I have a problem with the program icon (maybe an incorrect ico format) and the exe did not start, but the error was different.
Now the exe is able to work well on my Win7Embedded, but I still can't find a 64-bit Win7 to test.
I hope the problem is the icon for you too, try it.
Updated on the first post.

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

Does this tool support SD cards with more then one emunand partition? Can it backup emuand partition to a binary file on computer? (the images seem to suggest it only transfers emunand to other SD cards)

Would be nice to see some kind of backup/restore tool for making backup of emunand to a file on PC like I could with 3DS emunands. Hekate still hasn't gotten full support for setting up multiple emuMMCs yet. Was kind of a pain setting up a second emuMMC for it. :P

The tool doesn't give me an error on startup like a few others reported (maybe you had already pushed a fix for this). I too have Windows 7 64bit. I have UAC turned off though so I don't need to run things as administrator. I haven't actually attempted to do anything with it though has I'm unsure it does what I want at the moment. :P

I don't necessarily need to convert my emuMMCs to file format. Just want something that can just create a binary backup to a single BIN file of some sort like the 3DS emunand tools used to do. I imagine it can't be too complicated to do something like that for Switch emuMMCs. Unless your tool already does this via the Atmosphere file option on the "target" section of the dialog. Maybe the target doesn't have to be an SD card if I use that option.
This is exactly what EmuTool is supposed to do.
This tool was mainly born to copy a partition into a binary file.

EmuTool try to read the emummc.ini file to retrieve the starting sector of the current selected partition eMMC, but you can modify this value to set the starting sector you want to dump.
EmuTool did not check for the existence of a real Emu, so you can dump every sector of your SD card (quite 30Gbyte dumped from the starting sector).

So, the answer is Yes, you can backup into binary file every partition you have on your SD.

Ciao!
 

eco95

Well-Known Member
Member
Joined
Dec 3, 2014
Messages
126
Trophies
0
Age
45
XP
2,013
Country
Taiwan
I also got the same error: run time error '6' Overflow

Windows 10 64bit , using administrator mode, EmuTool 0.2.6


Thanks so much for making this awesome tool, hope the problem could be solved soon.
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,426
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,791
Country
United States
Hmm so it does indeed. Though the "Atmosphere File" option results in it generating the separate Boot0/Boot1 files along side the main partition. So it's not really a single bin file. Unless I use the SX OS option. But I don't use SX OS.... So I'd prefer not to use that option.

As for multiple partition support...seems it only accesses the currently selected emummc setup for Atmosphere so I'd have to boot up my Switch and select the other one in Hekate before I can dump that one too...That's kind of annoying. Hekate doesn't really store the partition locations on it's own. Seems to just auto detect them so that not be as simple for you to implement yourself. Well hopefully handling of more then one partition becomes easier in the future. I'll keep an eye on this one.

Oh and I did do a backup to Atmosphere File option. No error to report. Seems to run fine under my Windows 7 64bit OS.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
Hmm so it does indeed. Though the "Atmosphere File" option results in it generating the separate Boot0/Boot1 files along side the main partition. So it's not really a single bin file. Unless I use the SX OS option. But I don't use SX OS.... So I'd prefer not to use that option.

As for multiple partition support...seems it only accesses the currently selected emummc setup for Atmosphere so I'd have to boot up my Switch and select the other one in Hekate before I can dump that one too...That's kind of annoying. Hekate doesn't really store the partition locations on it's own. Seems to just auto detect them so that not be as simple for you to implement yourself. Well hopefully handling of more then one partition becomes easier in the future. I'll keep an eye on this one.

Oh and I did do a backup to Atmosphere File option. No error to report. Seems to run fine under my Windows 7 64bit OS.
When you create a partition Emu, Hekate creates a folder (RAW1, RAW2, etc.) with a raw_based file inside that contains the starting address of that specific partition in binary data, so Hekate stores the partition location. But Warning if you create an Emu with Hekate, the starting sector of the Emu is not the starting sector of the partition.
Hekate put some free space before the real Emu data, this is why I read it from emummc.ini file and not from disk info.
The sector field in EmuTool version 0.2.6 is freely editable, so if you know the real starting sector you can edit the field manually.
Keep in mind that if you are able to create multipartitions with different Emus, you probably don't need this Tool :)

The binary file are splitted for two reason: portability across different file system (Fat32 or exFat), and to be ready to be used for a File based eMMC.
They are simple raw data, so you can have a single file using a command like copy /b BOOT0 + BOOT1 + 00 + 01 ..... + 07 singleFile.bin or using joiner_scripts from Hekate's github.
I can add an option to have a single file, but is it really needed?

Thank you for let me know you can run the tool, I'm not able to figure out where is the bug.

Ciao!
 
  • Like
Reactions: eco95

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
select hekate backup files crashes the program with runtime error 76 after I select the sd card for the target (SX Hidden partition) and hit the select sd card

does this program create the hidden partition for either emu types?
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
select hekate backup files crashes the program with runtime error 76 after I select the sd card for the target (SX Hidden partition) and hit the select sd card

does this program create the hidden partition for either emu types?
I'm writing a minimum of error trapping (almost missing) to catch all exception.
Sometime the folder navigator crash because it is forced to start at Environ("USERPROFILE") \Desktop and in some windows installation that path is not returned as a correct string.
Not yet heard of a problem in the list of SD drives, now I also investigate your case.
I was hoping to spend much less time on such a minimal tool :cry:

This program does NOT create any partitions on SD, you have to do it yourself.
This program can write both type of Emu in a partition, for sxos must be the first on your SD, but this is how sx wants it.

Ciao!
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
I'
This program does NOT create any partitions on SD, you have to do it yourself.
This program can write both type of Emu in a partition, for sxos must be the first on your SD, but this is how sx wants it.

Ciao!

because of the way the interface its open it was hard to know what it can do. when i thought of hekate backup i thought I m supposed to choose where the backup is located. is it must be where hekate places it on sd card i m guessing now?

being able to choose the files for the source for any location would be good except for hidden partition, of course,
being able to choose where to place the files in any location to backup an existing emunand as well except for hidden partition of course
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
because of the way the interface its open it was hard to know what it can do. when i thought of hekate backup i thought I m supposed to choose where the backup is located. is it must be where hekate places it on sd card i m guessing now?

being able to choose the files for the source for any location would be good except for hidden partition, of course,
being able to choose where to place the files in any location to backup an existing emunand as well except for hidden partition of course
I know that the interface is not self-explanatory, is the reason why in the first post I wrote some instructions.
When you need to use file as source you have to select the exact folder where the real files are (i.e: where you find the file boot0), when you choose file as target you have to choose the "main" folder where EmuTool create the subfolders containing the data files, according to type of target Emu chosen.
About the partition, there are no checks. EmuTool read/write starting from the specified sector, so be careful using the sector value.

Ciao!
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia

These were suggestions, not grapes in how to give more functions and user-friendly but yes interface would need to be refined first too

being able to choose the files for the source for any location would be good except for hidden partition, of course,
being able to choose where to place the files in any location to backup an existing emunand as well except for hidden partition of course

PS: Love South Park I have a lot of versions of the collection lol including the Walmart/amazon blu-ray set (which has the remaster of seasons 1-12 version), shouldn't kyle hold that sign
 
Last edited by pcwizard7,

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
These were suggestions, not grapes in how to give more functions and user-friendly but yes interface would need to be refined first too
I take every suggestion into high consideration and I thank you very much for taking the time to discuss this topic.
This tool was originally born for me, in order not to have to remember and write the dd commands every time, so it is not intended to be developed more than this (maybe), but I like to explain the reason for my choices.

...shouldn't kyle hold that sign
Yes, but I've seen Kenny a little depressed in these last days and I wanted to allow him a little outburst :rofl2:

Ciao!
 

Muxi

Well-Known Member
Member
Joined
Jun 1, 2016
Messages
605
Trophies
0
Age
52
XP
2,118
Country
Germany
error '6' Overflow

Windows 7 64bit , using administrator mode, EmuTool 0.2.6
I get the same error message when starting the program under Win 10 64 bit....both with and without Admin.

Edit:
Strangely.....I downloaded the tool again and now it works...but at the end I get an error message that the backup failed and the tool should be run as admin, which was the case already.
 
Last edited by Muxi,

210modz

Well-Known Member
Member
Joined
Aug 11, 2017
Messages
352
Trophies
0
Age
40
XP
986
Country
United States
I get a error Everytime I try to copy to SX OS hidden emunand.

45602 - Error opening file.
Error 2
The system cannot find the file specified.
 
  • Like
Reactions: hooplah

Unkouh

New Member
Newbie
Joined
Sep 7, 2019
Messages
3
Trophies
0
Age
109
Location
Not Found
Website
twitter.com
XP
152
Country
Chile
Hi, maybe can help
I also had the same error error '6' Overflow in Windows 10 ltsc 64x

I looked deeper at your application and found that accessed the following files

Code:
==================================================
Index             : 1
Filename          : C:\Windows\SysWOW64\wbem\wbemdisp.TLB
Extension         : TLB
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 14
Write Count       : 0
Read Bytes        : 272
Write Bytes       : 0
Last Handle       : 0x00000364
Last Error Code   :
Opened By Module  :
Opened By Address : 0x80100080
==================================================

==================================================
Index             : 2
Filename          : C:\Windows\SysWOW64\stdole2.tlb
Extension         : tlb
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 16
Write Count       : 0
Read Bytes        : 282
Write Bytes       : 0
Last Handle       : 0x00000360
Last Error Code   :
Opened By Module  :
Opened By Address : 0x80100080
==================================================

==================================================
Index             : 3
Filename          : C:\WINDOWS\SYSTEM32\MSVBVM60.DLL
Extension         : DLL
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 16
Write Count       : 0
Read Bytes        : 352
Write Bytes       : 0
Last Handle       : 0x000002b0
Last Error Code   :
Opened By Module  :
Opened By Address : 0x80100080
==================================================

==================================================
Index             : 4
Filename          : C:\Windows\Fonts\staticcache.dat
Extension         : dat
Open Count        : 1
Close Count       : 0
Failed Count      : 0
Read Count        : 1
Write Count       : 0
Read Bytes        : 60
Write Bytes       : 0
Last Handle       : 0x00000378
Last Error Code   :
Opened By Module  :
Opened By Address : 0x80100080
==================================================

Then I tried to delete the cache of fonts and restart my computer (and remove all usb devices)... surprise now you can run the program

Search in Google "Windows 10 clean cache fonts"

thanks for your app ;)
(Yeah my english suck :rofl2:)

Edit:

45602 - Error opening file.
Error 2
The system cannot find the file specified.

Look your app try to access a file that does not exist [full.08.bin]

I'm using this app "ProcessActivityView" by nirsoft (32bit ver)

Code:
==================================================
Index             : 6
Filename          : e:\BACKUP SWITCH 29.10.2019\SD\sxos\emunand\boot0.bin
Extension         : bin
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 1
Write Count       : 0
Read Bytes        : 4.194.304
Write Bytes       : 0
Last Handle       : 0x00000454
Last Error Code   :
Opened By Module  :
Opened By Address : 0xc0100080
==================================================

==================================================
Index             : 7
Filename          : e:\BACKUP SWITCH 29.10.2019\SD\sxos\emunand\boot1.bin
Extension         : bin
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 1
Write Count       : 0
Read Bytes        : 4.194.304
Write Bytes       : 0
Last Handle       : 0x00000490
Last Error Code   :
Opened By Module  :
Opened By Address : 0xc0100080
==================================================

==================================================
Index             : 8
Filename          : e:\BACKUP SWITCH 29.10.2019\SD\sxos\emunand\full.00.bin
Extension         : bin
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 0
Write Count       : 0
Read Bytes        : 0
Write Bytes       : 0
Last Handle       : 0x00000480
Last Error Code   :
Opened By Module  :
Opened By Address : 0xc0100080
==================================================

==================================================
Index             : 9
Filename          : e:\BACKUP SWITCH 29.10.2019\SD\sxos\emunand\full.01.bin
Extension         : bin
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 0
Write Count       : 0
Read Bytes        : 0
Write Bytes       : 0
Last Handle       : 0x0000046c
Last Error Code   :
Opened By Module  :
Opened By Address : 0xc0100080
==================================================

==================================================
Index             : 10
Filename          : e:\BACKUP SWITCH 29.10.2019\SD\sxos\emunand\full.02.bin
Extension         : bin
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 0
Write Count       : 0
Read Bytes        : 0
Write Bytes       : 0
Last Handle       : 0x0000046c
Last Error Code   :
Opened By Module  :
Opened By Address : 0xc0100080
==================================================

==================================================
Index             : 11
Filename          : e:\BACKUP SWITCH 29.10.2019\SD\sxos\emunand\full.03.bin
Extension         : bin
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 0
Write Count       : 0
Read Bytes        : 0
Write Bytes       : 0
Last Handle       : 0x00000470
Last Error Code   :
Opened By Module  :
Opened By Address : 0xc0100080
==================================================

==================================================
Index             : 12
Filename          : e:\BACKUP SWITCH 29.10.2019\SD\sxos\emunand\full.04.bin
Extension         : bin
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 0
Write Count       : 0
Read Bytes        : 0
Write Bytes       : 0
Last Handle       : 0x00000470
Last Error Code   :
Opened By Module  :
Opened By Address : 0xc0100080
==================================================

==================================================
Index             : 13
Filename          : e:\BACKUP SWITCH 29.10.2019\SD\sxos\emunand\full.05.bin
Extension         : bin
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 0
Write Count       : 0
Read Bytes        : 0
Write Bytes       : 0
Last Handle       : 0x00000480
Last Error Code   :
Opened By Module  :
Opened By Address : 0xc0100080
==================================================

==================================================
Index             : 14
Filename          : e:\BACKUP SWITCH 29.10.2019\SD\sxos\emunand\full.06.bin
Extension         : bin
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 0
Write Count       : 0
Read Bytes        : 0
Write Bytes       : 0
Last Handle       : 0x00000480
Last Error Code   :
Opened By Module  :
Opened By Address : 0xc0100080
==================================================

==================================================
Index             : 15
Filename          : e:\BACKUP SWITCH 29.10.2019\SD\sxos\emunand\full.07.bin
Extension         : bin
Open Count        : 1
Close Count       : 1
Failed Count      : 0
Read Count        : 0
Write Count       : 0
Read Bytes        : 0
Write Bytes       : 0
Last Handle       : 0x00000480
Last Error Code   :
Opened By Module  :
Opened By Address : 0xc0100080
==================================================

==================================================
Index             : 16
Filename          : e:\BACKUP SWITCH 29.10.2019\SD\sxos\emunand\full.08.bin
Extension         : bin
Open Count        : 0
Close Count       : 0
Failed Count      : 1
Read Count        : 0
Write Count       : 0
Read Bytes        : 0
Write Bytes       : 0
Last Handle       : 0x00000000
Last Error Code   : 0xc0000034
Opened By Module  :
Opened By Address : 0xc0100080
==================================================
 
Last edited by Unkouh,
  • Like
Reactions: eco95

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    AncientBoi @ AncientBoi: :rofl2: