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
814
Country
Italy
Can I use this to copy a hidden SX OS Emunand to a hidden Hekate emuMMC? Normally this can be done in Hekate through the migrate functionality but for me the options there are all greyed out. SX OS does show that the Emunand is enabled however and it also works perfectly fine.

Edit: what is strange is that Emutool says the SX OS Emunand partition is disabled while it is in fact working.
Are you sure you don't have emunand files in the /sxos/Emunand folder of your SD card?
Also check if the SD card drive you're selecting in Emutool is the correct drive.

Anyway, even if Emutool for some reason does not recognize the sx partition as active (which is quite bizarre, please check everything carefully), you can still proceed with the copy as per instructions.
The Sx partition activation info are only a few bytes in sector 1 of the SD card, which are not part of the real data of the emunand starting at sector 2.

Ciao.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
814
Country
Italy
I want to do a backup of my sx os emunand, but there is no option to do a backup with this tool
:O:O:O
When you convert your sxos hidden partition emunand in a (any) file format, you have the backup...
... or maybe I didn't understand your question.

Put your sxos SD card in your PC, select sxos hidden partition as source and what you want in file format as target, the resulting file are your emunand backup.
Remember to manually backup/copy on your PC also the Emutendo folder you find on the SD card root, Emutool doesn't copy that folder.

Ciao.
 

DbGt

Well-Known Member
Member
Joined
Jul 28, 2004
Messages
490
Trophies
1
Website
Visit site
XP
2,881
Country
Mexico
:O:O:O
When you convert your sxos hidden partition emunand in a (any) file format, you have the backup...
... or maybe I didn't understand your question.

Put your sxos SD card in your PC, select sxos hidden partition as source and what you want in file format as target, the resulting file are your emunand backup.
Remember to manually backup/copy on your PC also the Emutendo folder you find on the SD card root, Emutool doesn't copy that folder.

Ciao.

Thanks, after much experimenting during the weekend I learned how to use your app. At first i thought there should be a backup button or something....

Anyway, I was wondering if the app will be further updated or not? I discovered that if i tried to use a single file hekate backup, emutools will not work as it seems a multiple segment backup is required.

Also when i try to convert a resized nand with emutools I get an error message as it seems the app wants to continue doing the conversion but there is no more data, fortunately the final conversion works, but yeah, it throws an error that has to be clicked multiple times OK and then it says it finished.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
814
Country
Italy
Thanks, after much experimenting during the weekend I learned how to use your app. At first i thought there should be a backup button or something....

Anyway, I was wondering if the app will be further updated or not? I discovered that if i tried to use a single file hekate backup, emutools will not work as it seems a multiple segment backup is required.

Also when i try to convert a resized nand with emutools I get an error message as it seems the app wants to continue doing the conversion but there is no more data, fortunately the final conversion works, but yeah, it throws an error that has to be clicked multiple times OK and then it says it finished.
I confirm that modified size emunand does not work. Emutool assumes it is at a standard size, maybe I'll find a fast way to add this feature.
You're not the first that tell me about hekate single file problem, so I think I have to check this issue asap.
About future updates, surely I'll have to correct some errors, but unfortunately I will hardly be able to add all the functions that I wanted to include in Emutool.
I really don't have any more spare time, but I'm here when I can trying to support...

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

DbGt

Well-Known Member
Member
Joined
Jul 28, 2004
Messages
490
Trophies
1
Website
Visit site
XP
2,881
Country
Mexico
I confirm that modified size emunand does not work. Emutool assumes it is at a standard size, maybe I'll find a fast way to add this feature.
You're not the first that tell me about hekate single file problem, so I think I have to check this issue asap.
About future updates, surely I'll have to correct some errors, but unfortunately I will hardly be able to add all the functions that I wanted to include in Emutool.
I really don't have any more spare time, but I'm here when I can trying to support...

Ciao.

Thanks a lot, hopefully you will have some time in the near future.

Also, for some reason emutools cannot recognize the sd card when connected through hekate usb mass storage. It would be great to not have to remove the sd card from the switch to use emutools.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
814
Country
Italy
Thanks a lot, hopefully you will have some time in the near future.

Also, for some reason emutools cannot recognize the sd card when connected through hekate usb mass storage. It would be great to not have to remove the sd card from the switch to use emutools.
Emutool needs a physical device and not a mounted device because it writes directly to the sectors ignoring the mounted volumes. I'll check, but I don't think Hekate can mount empty partitions as usb disks.
This is true for writing/restoring on SD, maybe there is some features of Hekate that can help during backup/reading phase, I'll investigate.

Ciao.
 
  • Like
Reactions: DbGt and SpaceJump

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,364
Trophies
3
Age
46
Location
At my chair.
XP
18,741
Country
Colombia
for me, using Hekate USB Mass Storage mount works fine with Emutool, Windows see the Hekate as a USB SD reader:
upload_2021-4-21_19-37-13.png

and both partitions are presented to windows.
 
  • Like
Reactions: TheyKilledKenny

DbGt

Well-Known Member
Member
Joined
Jul 28, 2004
Messages
490
Trophies
1
Website
Visit site
XP
2,881
Country
Mexico
for me, using Hekate USB Mass Storage mount works fine with Emutool, Windows see the Hekate as a USB SD reader:
View attachment 259529
and both partitions are presented to windows.

Yes, of couse windows sees the sd card when connected with hekate usb mass storage, and you can also see the partitions in disk management, but emutools does not detect the sd card
 

xalassa

New Member
Newbie
Joined
Apr 26, 2020
Messages
2
Trophies
0
Age
32
XP
48
Country
Brazil
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.
 

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
814
Country
Italy
Edit:

It looks like Hekate's usb tools produce invalid emunand.
I found a little bit of time to work on Emutool, so I'll check also hekate usb compatibility.

What I would like to achieve is:
- Fix the bug that prevents restore when using a single file hekate backup.
- Fix the error that prevents the SD drive from being detected if a large hard drive is connected to the PC
- Add a Wizard-style user interface so that people no longer need step-by-step guides
- Try implementing the partitioning function. If I succeed, you will no longer need to use a partitioning tool.
- Check what happens using USB Hekate driver

I'm sorry but there is no ETA and I'm not sure if I can really achieve all the goals stated here.

Ciao.
 

fvig2001

Well-Known Member
Member
Joined
Aug 21, 2006
Messages
933
Trophies
1
XP
2,934
Country
Philippines
I found a little bit of time to work on Emutool, so I'll check also hekate usb compatibility.

What I would like to achieve is:
- Fix the bug that prevents restore when using a single file hekate backup.
- Fix the error that prevents the SD drive from being detected if a large hard drive is connected to the PC
- Add a Wizard-style user interface so that people no longer need step-by-step guides
- Try implementing the partitioning function. If I succeed, you will no longer need to use a partitioning tool.
- Check what happens using USB Hekate driver

I'm sorry but there is no ETA and I'm not sure if I can really achieve all the goals stated here.

Ciao.
When using hekate usb with emutool, the backup generated does not work at all using file emunand or partition emunand. Like the non boot is shifted by some bytes and have slightly different values iirc.

My request would be partition to partition operation since it takes 2 operations to do that and I feel most people use emutool for that.
 
Last edited by fvig2001,

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,364
Trophies
3
Age
46
Location
At my chair.
XP
18,741
Country
Colombia
I found a little bit of time to work on Emutool, so I'll check also hekate usb compatibility.

What I would like to achieve is:
- Fix the bug that prevents restore when using a single file hekate backup.
- Fix the error that prevents the SD drive from being detected if a large hard drive is connected to the PC
- Add a Wizard-style user interface so that people no longer need step-by-step guides
- Try implementing the partitioning function. If I succeed, you will no longer need to use a partitioning tool.
- Check what happens using USB Hekate driver

I'm sorry but there is no ETA and I'm not sure if I can really achieve all the goals stated here.

Ciao.
Thanks a lot for your great effort
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,364
Trophies
3
Age
46
Location
At my chair.
XP
18,741
Country
Colombia
Yes, of couse windows sees the sd card when connected with hekate usb mass storage, and you can also see the partitions in disk management, but emutools does not detect the sd card
You can read past post, on my case, when I have a Huge HDD connected to PC none drive is displayed on the drop down list.

------------

Edit:

It looks like Hekate's usb tools produce invalid emunand.
When using hekate usb with emutool, the backup generated does not work at all using file emunand or partition emunand. Like the non boot is shifted by some bytes and have slightly different values iirc.

My request would be partition to partition operation since it takes 2 operations to do that and I feel most people use emutool for that.

I just make the next test:
  • Turn off the Switch.
  • Extract the SD Card.
  • Connect a USB 3.1 reader with the SD to my computer.
  • Make a Backup Using EmuTools (Takes 17 minutes 38 seconds)
  • Remove USB reader.
  • Put SD Card on Switch.
  • Start Switch, inject Hekate 5.5.5.
  • Connect Switch to computer using USB 3.1 to USB-C cable.
  • Go to tools -> USB -> mount SD Card.
  • Make a new Backup using EmuTools (Takes 18 minutes 14 seconds).
  • Compare bit to bit using TotalCommander the two folders.
The resultant folders are completely identical.

Note: you must have to run the Hekate's «nyx_usb_max_rate__run_only_once_per_windows_pc-.reg» file before connecting the switch to PC in order to achieve the max speed.
 
  • Like
Reactions: TheyKilledKenny

TheyKilledKenny

Well-Known Member
OP
Member
Joined
Dec 5, 2015
Messages
115
Trophies
0
XP
814
Country
Italy
Note: you must have to run the Hekate's «nyx_usb_max_rate__run_only_once_per_windows_pc-.reg» file before connecting the switch to PC in order to achieve the max speed.
Yes, this was my first guess. This probably helps also to have a good image

Thank you very much for your tests.

Ciao.
 
Last edited by TheyKilledKenny,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro