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

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
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.

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.

Thank you for reporting.
From what you tell me it seems that trying to solve some error, now there are bad errors at the base.
This weekend I will start all over again with the tests in order to check all the possible backups and restore combinations between files and partitions (it will take some time :sad:).

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
[...]
Wow! Thank you very much for spending your time, I was aware of wbemdisp.TLB, stdole2.tlb and MSVBVM60.DLL, but know nothing about C:\Windows\Fonts\staticcache.dat, I'm going to investigate.
Thank you also for the 08 file, which should not exist.

I'm sorry for these bugs.

Please wait for the new version, hoping it will be resolved.

Ciao!
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
thankyou for this taking the time to improve your app. if it any time u feel like its too much ask other developers for help as I see this as becoming an essential tool for switch homebrew
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
Hi, maybe can help

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)
I gave up and just used dd. I wish this worked for me. It saves a few clicks.
If you were trying to restore a file Emu in an partition Emu, maybe you can ignore this error.
The program try to find the next file (08) and fails, but the other files are well copied (I'm going to fix it)
Remember to enable the partition for sxos

Generally, if anyone is trying to restore from files (sx, atmo or hekate) to partition or to file, the same error will happen.
EmuTool try to load one file more then needed, but the partition should be restored correctly.

About the overflow error, seems that @Unkouh have found the problem, I'm still investigating...

Ciao!
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
is there already progress?
No progress about the font cache problem. I did not find a way to bypass that error, so today I'll release a version that solves the error at the end of a partition restore from file.
I'm going to add the ability to read a not splitted hekate bckup (in the current release only a splitted backup can be read) and then start again with final tests of backups and restores.
At the end of this day I'll release source and bin.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
Added a new version with partition selection.
For Atmosphere a 16Mbyte offset will be automatically added to the real partition starting sector number, I see that Hekate\Nyx do it everytime I create a new partition emu using hekate menu tool.
The text field is alway editable if you want to change sector, it accept decimal and Hex values using the 0xaaaa format.

Sources in the second post.

Please report errors if you have the time to test.

Ciao!
 

Muxi

Well-Known Member
Member
Joined
Jun 1, 2016
Messages
605
Trophies
0
Age
52
XP
2,113
Country
Germany
I want to backup an Atmosphere partition emuMMC and restore it to another SD card. First I saved the emuMMC as Atmosphere file variant on the PC. This also worked so far. Afterwards I prepared the new SD card with Mini Tool PW and then restored the previously saved emuMMC on the unformatted partition intended for the emuMMC data and reactivated it via Hekate. But it doesn't boot. What could be the reason?
In addition, I think the structure of the stored Atmosphere nand Image files is that of the SX OS (10 files). Wouldn't it have to be 17 files?
2019-11-18 22_02_50-eMMC.jpg


EDIT:
I have a guess why the emuMMC doesn't boot! The emuMMC partition is created on the back of my SD card. An emuMMC created by Hekate can read a partition that was created on the SD card at the back as well as at the front. The SX OS on the other hand can only read a front created partition.
But since the backup created with EmuTools v0.2.7 is an SX OS file variant, although it should be the Atmosphere file variant by selection, it is also restored as an SX OS partition. But since SX OS can only recognize the partition if it is on the front of the SD card, the emuMMC does not boot either.

But even if a SX OS File Backup was created (although it should have been an Atmposphere File Backup), this shouldn't really matter, because Atmosphere hidden Partiton was chosen as the target for the recovery, which doesn't seem to be the case either. Possibly v0.2.7 contains a bug that only performs SX OS based operations.

partition.jpg
 
Last edited by Muxi,

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
I want to backup an Atmosphere partition emuMMC and restore it to another SD card. First I saved the emuMMC as Atmosphere file variant on the PC. This also worked so far. Afterwards I prepared the new SD card with Mini Tool PW and then restored the previously saved emuMMC on the unformatted partition intended for the emuMMC data and reactivated it via Hekate. But it doesn't boot. What could be the reason?
In addition, I think the structure of the stored Atmosphere nand Image files is that of the SX OS (10 files). Wouldn't it have to be 17 files?
View attachment 187163


EDIT:
I have a guess why the emuMMC doesn't boot! The emuMMC partition is created on the back of my SD card. An emuMMC created by Hekate can read a partition that was created on the SD card at the back as well as at the front. The SX OS on the other hand can only read a front created partition.
But since the backup created with EmuTools v0.2.7 is an SX OS file variant, although it should be the Atmosphere file variant by selection, it is also restored as an SX OS partition. But since SX OS can only recognize the partition if it is on the front of the SD card, the emuMMC does not boot either.

But even if a SX OS File Backup was created (although it should have been an Atmposphere File Backup), this shouldn't really matter, because Atmosphere hidden Partiton was chosen as the target for the recovery, which doesn't seem to be the case either. Possibly v0.2.7 contains a bug that only performs SX OS based operations.

View attachment 187202
There are no difference between Emunand, emuMMC and hekate backup, they are all a byte copy of your nand, splitted in various ways.
You can boot an SX partition with Atmosphere simply using 0x2 as starting sector in emummc.ini file.
EmuTool didn't apply any trasformation to the data.
About your question of the 17 files, Atmosphere can read a file emu splitted in quite every way, but I used the same size that hekate use when it create a file Emu from emummc menu.
My last test before releasing 0.2.7 was from SX emu on file restored to an SX emu on partition, than dumped to Atmo files and at the end restored to Atmo partition and all 4 of them booted succesfully (all directly on SD card without passing from Hard Disks or other support)

Does your dumped files boot as emu on file with Atmosphere? (very slow compared to partition emu in Atmosphere)

I think the problem was generated when you tried to reactivate the new Emu via Hekate, two consideration about that:
1- there is no need to activate the emu, the generated emummc.ini file is ready to boot
2- even if EmuTool replicate exactly the folder structure, the file raw_based is ok and Atmosphere boot the emu correctly, sometime hekate is not able to recognize the emu in emuMMC selection menu, so you are not able to activate it from the menu if you deactivate it.
If you use the emummc migration feature of the hekate menu, most of the time it resolves.
I'm currently working on it.

Now, to not do the whole procedure again, first try with the migration tool in hekate menu, remember to copy your original emummc Nintendo folder.
If this not solve please check on Minitool the properties of the partition you created and write me the starting block and SD total size.
Please write me also the content of you current emummc.ini file you can find in sdcard, inside emummc folder.

Ciao!
 
Last edited by TheyKilledKenny,
  • Like
Reactions: Muxi

Legend Of Kay

Well-Known Member
Member
Joined
Oct 12, 2018
Messages
230
Trophies
0
Age
32
XP
900
Country
Australia
I use SXOS and currently have a ‘files on sysnand’ emunand and I want to move that to my sd card.
I tried using sx bootloader to do this but when it finished copying I could longer load games.
Can this tool do that? Or is it not able to access files on nand?
 

Muxi

Well-Known Member
Member
Joined
Jun 1, 2016
Messages
605
Trophies
0
Age
52
XP
2,113
Country
Germany
@TheyKilledKenny Thanks for this information. I have now set up a SX OS partition emuNand, because I want to use Atmosphere on it as well. A backup and restore worked great! So that Atmosphere has access to the shared content under this emuNand, I changed the path assignment for the Nintendo folder Path to Emutendo.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
I use SXOS and currently have a ‘files on sysnand’ emunand and I want to move that to my sd card.
I tried using sx bootloader to do this but when it finished copying I could longer load games.
Can this tool do that? Or is it not able to access files on nand?
No, sorry. This run on windows and Can't access the Sysnand.
I never had an Emu on sysnand, so I'm not able to help.
You told me about files on Sysnand, so if you can see Emunand files, maybe you can moount your sysnand using hackdiskmount and retrieve the files.
Maybe is better if you save your savegame with Checkpoint and redo from start your emu.
 

Legend Of Kay

Well-Known Member
Member
Joined
Oct 12, 2018
Messages
230
Trophies
0
Age
32
XP
900
Country
Australia
No, sorry. This run on windows and Can't access the Sysnand.
I never had an Emu on sysnand, so I'm not able to help.
You told me about files on Sysnand, so if you can see Emunand files, maybe you can moount your sysnand using hackdiskmount and retrieve the files.
Maybe is better if you save your savegame with Checkpoint and redo from start your emu.

thanks for the response. Yeah I ended up just backing up all my saves and starting fresh. Now everything works fine.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
@TheyKilledKenny Thanks for this information. I have now set up a SX OS partition emuNand, because I want to use Atmosphere on it as well. A backup and restore worked great! So that Atmosphere has access to the shared content under this emuNand, I changed the path assignment for the Nintendo folder Path to Emutendo.
I'm glad you succeed.
If your goal is only to be able to load a Partition Sx Emunand with Atmosphere, I suggest to not duplicate the emunand in 2 different partition (maybe I misunderstood what you wrote), but to load the same partition with the two CFW.
The best way to let Atmosphere boot the same SX partition is to customize the file emummc.ini as the following:

[emummc]
enabled = 1
sector = 0x2
nintendo_path = Emutendo

At the moment loading the SX partitition with Atmosphere (fusee-primary payload) is the only way I know to install incognito on an sx Emunand to 9.0.1

Ciao!
 

Muxi

Well-Known Member
Member
Joined
Jun 1, 2016
Messages
605
Trophies
0
Age
52
XP
2,113
Country
Germany
That's exactly what I did! Running two CFWs on a single partition emuNand.

At the moment loading the SX partitition with Atmosphere (fusee-primary payload) is the only way I know to install incognito on an sx Emunand to 9.0.1
I think this is basically possible on an emuNand/emuMMC partition, but only using Incognito_RCM!
 
Last edited by Muxi,

willhack

Well-Known Member
Newcomer
Joined
Apr 27, 2018
Messages
99
Trophies
0
Age
27
XP
263
Country
United States
i used the tool to transfer the hidden partition to a new sdcard it created a sxos/emunand folder hwoever my switch wont boot into it. how do i make it work.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
i used the tool to transfer the hidden partition to a new sdcard it created a sxos/emunand folder hwoever my switch wont boot into it. how do i make it work.
I need some more details...

Do you have an SX OS Emunand and you have tryed to backup to SX OS Files?
On the new SD, do you want to use SXOS?
If yes then repeat from start and follow this steps.
  • Start backup hidden partition Emunand Hidden partition SXOS as source and SXOS file as target.
  • Check you have selected the correct sd card reader as source.
  • If you have 30gb space on your old SD you can choose the root of SD as destination folder (slower, but there is no need to copy and past to/from hdd)
  • At the end of the process check that all file are present in sxos/Emunand (boot0.bin, boot1.bin, full.00.bin to full.07.bin)
  • Disable the SX Hidden partition Emunand on the old sd card using EmuTool and check if it boots. If yes the backup is good.
  • If you don't have enaugh space on the old SD, then format the new SD, copy boot.dat, license.dat and the sxos/Emunand folder created by EmuTool and check if it boots.
You can stop here and keep using Emunand on Files or...
Do you want to use the hidden partition Emunand on the new SD?
  • create a partition of more than 29GByte (30GByte is more than enough) as first partition
  • restore the files with EmuTool
  • remember to enable the hidden partition Emunand (select the new sd card as source and the buttons will appear).

If you do not have a tool to create the partition you can:
  • boot SX OS menu (keep vol+ pressed if menu does not appear at boot) and start a hidden partition Emunand creation using
  • hit cancel as soon as it start copyng boot0 and boot1.
  • Restore your previously backupped Emunand to SX OS Hidden Partition Emu as target in Emutool.

Please check if some file could be get corrupted during copy operation.

Let me know.

Ciao!
 
Last edited by TheyKilledKenny,
  • Like
Reactions: deSSy2724

grootus

Member
Newcomer
Joined
Oct 23, 2018
Messages
23
Trophies
0
XP
106
Country
United States
EmuTool v0.2.8 could not create emuMMC from Hekate NAND backup files: BOOT0, BOOT1, RAWNAND.BIN. Renaming to RAWNAND.BIN.00 still not work.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
802
Country
Italy
EmuTool v0.2.8 could not create emuMMC from Hekate NAND backup files: BOOT0, BOOT1, RAWNAND.BIN. Renaming to RAWNAND.BIN.00 still not work.

Rename rawnand.bin in 00 without extension.

Answering your other question about Minitool Partition Wizard:

WARNING!!!
Check and, after you are sure, check again that all operation are done on SD Card and NOT on your HDD!!!
If you select your hard disk, the PC will no longer work.


1 - Backup your SD content if needed
2 - Open Minitool Partition Wizard
3 - locate your SD card Drive in the bottom windows (pay attention!)
4 - if you have only one partition try to rightclick on the partition and use the Move/Resize tool to get a 30GB space AFTER the current partition, if yes skip to step 11
5 - If it not allow you to resize partition, then rightclick and delete partition
6 - Right click on SD empty space and select create
7- Create as primary partition, filesystem Fat32 or Exfat as you prefer at the beginning of SD card
8 - Leave 30 GB free space at the end of your SD card in the last field and click OK
9 - On the upper left menu bar click on Apply. WARNING!!! Double check you have choosen the SD card!!!!!
10 - Now Format the partition using right click and choose the Fat32 or Exfat and Apply
11 - Put sx, hekate or kosmos files
11 - Right click on the remaining empty space and select create.
12 - create a new Primary Partition with no drive letter assigned, Don't format this partition
13 - Apply
14 - again Don't format this partition
15 - Right click on the new partition, select property and go to Partition Info
16 - Copy the First Physical Sector number
17 - use this number when asked for destination Partition Sector in Emutool (or any other program you are using)

Ciao!
 
Last edited by TheyKilledKenny,
  • Like
Reactions: deSSy2724

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    ButterScott101 @ ButterScott101: +1