Homebrew WIP USB TO SD File Copier...For SX OS

frostii

Well-Known Member
Member
Joined
Jun 24, 2009
Messages
181
Trophies
1
Location
Brisbane, Australia
XP
1,028
Country
United States
Hi,
I'm using a USB flash drive formatted to exFat. I have an xci file in usb:/sxos/xci.

The program finds the xci file, but when I click X to copy, it instantly changes to a (null) value. I can see in NX Shell that a file was created on the sd card, but it is 0 bytes. In other words, it isn't copying!

Any thoughts? Is there suppose to be a progress bar of sorts to give an idea if anything is copying?

Thanks in advance.
 

marveldragon

Active Member
OP
Newcomer
Joined
Sep 23, 2018
Messages
42
Trophies
0
Age
33
XP
304
Country
United States
Hi,
I'm using a USB flash drive formatted to exFat. I have an xci file in usb:/sxos/xci.

The program finds the xci file, but when I click X to copy, it instantly changes to a (null) value. I can see in NX Shell that a file was created on the sd card, but it is 0 bytes. In other words, it isn't copying!

Any thoughts? Is there suppose to be a progress bar of sorts to give an idea if anything is copying?

Thanks in advance.

Sounds like corruption or a bug on my part.

Which value is null?
is it like usbhdd:/sxos/xci/(null) after you press X to copy?

There is a progression percentage that displays during the copying. If it is instant copying for a large file then something went wrong.

First, is your SD card full or close to full? I do not check if the destination is large enough to paste the file before trying to copy.

Can you play the xci off the hdd?

Finally, do you use a mac or windows to setup your sd card?



PS: Check out the new update and see if that helps.
 
Last edited by marveldragon,

frostii

Well-Known Member
Member
Joined
Jun 24, 2009
Messages
181
Trophies
1
Location
Brisbane, Australia
XP
1,028
Country
United States
Sounds like corruption or a bug on my part.

Which value is null?
is it like usbhdd:/sxos/xci/(null) after you press X to copy?

There is a progression percentage that displays during the copying. If it is instant copying for a large file then something went wrong.

First, is your SD card full or close to full? I do not check if the destination is large enough to paste the file before trying to copy.

Can you play the xci off the hdd?

Finally, do you use a mac or windows to setup your sd card?



PS: Check out the new update and see if that helps.

Hi,
Yep, exactly as you posted: "usbhdd:/sxos/xci/(null) after you press X to copy?".

I can play the xci off the hdd. Windows user.

I'll test the new version when I get a chance and report back. Thanks for making this all the same!
 

rafaelia

Well-Known Member
Newcomer
Joined
Feb 17, 2010
Messages
69
Trophies
1
XP
984
Country
I can't access sd card root, it takes me straight to the switch folder, is this a bug? Using latest version
 

frostii

Well-Known Member
Member
Joined
Jun 24, 2009
Messages
181
Trophies
1
Location
Brisbane, Australia
XP
1,028
Country
United States
Hi,
Yep, exactly as you posted: "usbhdd:/sxos/xci/(null) after you press X to copy?".

I can play the xci off the hdd. Windows user.

I'll test the new version when I get a chance and report back. Thanks for making this all the same!

Hi again,
Same result with v4, sorry...…
Although, now SXOS isn't reading my flash drives either. Tried 2 so far - not sure what's going on. I'll keep investigating.
 

marveldragon

Active Member
OP
Newcomer
Joined
Sep 23, 2018
Messages
42
Trophies
0
Age
33
XP
304
Country
United States
Hi again,
Same result with v4, sorry...…
Although, now SXOS isn't reading my flash drives either. Tried 2 so far - not sure what's going on. I'll keep investigating.

Sounds like the issue is with your hdd. Exfat's are prone to corruption.
 

jaysea

Well-Known Member
Member
Joined
Aug 17, 2009
Messages
279
Trophies
1
Age
46
XP
1,189
Country
Netherlands
i can browse my USB drive, but the sd it only shows the USBTODVD.NRO as if it was on the root of the sd and no other files there which I can then say to copy to.
If I do this, this results directly in a 2168-0002 error.

edit: I used the USBTOSDV4.zip
 

frostii

Well-Known Member
Member
Joined
Jun 24, 2009
Messages
181
Trophies
1
Location
Brisbane, Australia
XP
1,028
Country
United States
i can browse my USB drive, but the sd it only shows the USBTODVD.NRO as if it was on the root of the sd and no other files there which I can then say to copy to.
If I do this, this results directly in a 2168-0002 error.

edit: I used the USBTOSDV4.zip
Mine does this too, although doesn't result in an error. My file copies across to the sd card with a filesize of 0 bytes...….
 

jaysea

Well-Known Member
Member
Joined
Aug 17, 2009
Messages
279
Trophies
1
Age
46
XP
1,189
Country
Netherlands
Mine does this too, although doesn't result in an error. My file copies across to the sd card with a filesize of 0 bytes...….
It copies the file to the root as 0 bytes for me to, though it also crashes horizon.
ps. tried it running the built in homebrew loader of sx.
 

marveldragon

Active Member
OP
Newcomer
Joined
Sep 23, 2018
Messages
42
Trophies
0
Age
33
XP
304
Country
United States
It copies the file to the root as 0 bytes for me to, though it also crashes horizon.
ps. tried it running the built in homebrew loader of sx.

Do you guys put the app in a certain folder?

Could you try for me, to have it on the root of the card?
 

frostii

Well-Known Member
Member
Joined
Jun 24, 2009
Messages
181
Trophies
1
Location
Brisbane, Australia
XP
1,028
Country
United States
Do you guys put the app in a certain folder?

Could you try for me, to have it on the root of the card?
Hi,
I moved it to the root. It fixed up the folder/file structure at least (it could now see the contents of the sd card), however the same problem remains (copying a file of 0 bytes).
Tried with two different USB flash drives. One exFAT, one FAT32. Two different xci files.
Sorry.....
 

marveldragon

Active Member
OP
Newcomer
Joined
Sep 23, 2018
Messages
42
Trophies
0
Age
33
XP
304
Country
United States
Hi,
I moved it to the root. It fixed up the folder/file structure at least (it could now see the contents of the sd card), however the same problem remains (copying a file of 0 bytes).
Tried with two different USB flash drives. One exFAT, one FAT32. Two different xci files.
Sorry.....

I finally was able to reproduce your errors.
Still looking into the exact causes but for now try the following.

Before loading the app, try mounting a game from the usb drive and see if it boots. If it does, close it out and then try to copy a file. It could be an error is SX's usb driver code, as after doing that I was not able to get the error again until I formatted the drive.
 

Sigma_Guy

Member
Newcomer
Joined
Nov 13, 2018
Messages
13
Trophies
0
Age
26
XP
179
Country
United States
Any possibility of releasing the source of this? I'm really curious how SXOS deals with the USB device and am looking for anything at this point to give me a hint.
 
  • Like
Reactions: drizztbsd

jaysea

Well-Known Member
Member
Joined
Aug 17, 2009
Messages
279
Trophies
1
Age
46
XP
1,189
Country
Netherlands
Do you guys put the app in a certain folder?

Could you try for me, to have it on the root of the card?
I have the nro in the switch folder on my sd and not on the root. I have mounted xci from usb and that works. I have not tried to mount a game, eject the game and then copy though. Will try that later if that is the test scenario.
 

frostii

Well-Known Member
Member
Joined
Jun 24, 2009
Messages
181
Trophies
1
Location
Brisbane, Australia
XP
1,028
Country
United States
I finally was able to reproduce your errors.
Still looking into the exact causes but for now try the following.

Before loading the app, try mounting a game from the usb drive and see if it boots. If it does, close it out and then try to copy a file. It could be an error is SX's usb driver code, as after doing that I was not able to get the error again until I formatted the drive.
Hi,
Tried the above with Pokémon via USB - no change. Still copies 0 bytes.
 

marveldragon

Active Member
OP
Newcomer
Joined
Sep 23, 2018
Messages
42
Trophies
0
Age
33
XP
304
Country
United States
Hi,
Tried the above with Pokémon via USB - no change. Still copies 0 bytes.

try these steps:

copy over this new build I attached.

From the Horizon menu, plug in your USB drive.
Open SX Menu, goto homebrew, run the app and try to copy a file.

If it still copies 0 size files
Exit and mount the game you tried to copy.
Boot it and if it boots, close it.

Load the homebrew app again and try to copy.

Let me know the USB debug statuses you see at the top.
 

Attachments

  • SXFileManager.zip
    720.4 KB · Views: 206
Last edited by marveldragon,

frostii

Well-Known Member
Member
Joined
Jun 24, 2009
Messages
181
Trophies
1
Location
Brisbane, Australia
XP
1,028
Country
United States
try these steps:

copy over this new build I attached.

From the Horizon menu, plug in your USB drive.
Open SX Menu, goto homebrew, run the app and try to copy a file.

If it still copies 0 size files
Exit and mount the game you tried to copy.
Boot it and if it boots, close it.

Load the homebrew app again and try to copy.

Let me know the USB debug statuses you see at the top.
Hi,
When I first load up the app, it has:
Mount Status: Mounted
Mount State: 1
USB FS Status: Pass
USB FS init Status: Pass

As soon as I select usbhdd:/, it changes to:
Mount Status: Not Mounted
Mount State: 1
USB FS Status: Fail
USB FS init Status: Pass

The xci file does not copy. Booting the game then trying again makes no difference.
Hope this info helps.
 
Last edited by frostii,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: That counts as a software update :tpi: