Hacking XorTroll working on USB HDD Feature

Intronaut

A star maker
Member
Joined
Nov 18, 2014
Messages
772
Trophies
0
Age
30
XP
1,005
Country
Chile
Some resources if anyone wants to try it:

-Goldleaf 0.9-dev autobuild: https://github.com/XorTroll/Goldleaf/actions/runs/81016275
-FSP-USB Atmosphere branch: https://github.com/XorTroll/Atmosphere/tree/fspusb
-How to compile Atmosphere: https://github.com/Atmosphere-NX/Atmosphere/blob/master/docs/building.md
-Github Desktop

If you want to make it work with AMS 0.12 (currently working with AMS 0.11):
-A text editor
-Atmosphere-master source code: https://github.com/Atmosphere-NX/Atmosphere
-Comparison between fsp-usb branch and master: https://github.com/Atmosphere-NX/Atmosphere/compare/master...XorTroll:fspusb (focus on the amsmitm_module_management.cpp file, as the other files are new)

rV5v9Qq.png


5JnrSYF.png


PgEn3nI

gGexNaN
 
Last edited by Intronaut,

Intronaut

A star maker
Member
Joined
Nov 18, 2014
Messages
772
Trophies
0
Age
30
XP
1,005
Country
Chile
Ok, sorry for the double post, but I'm really interested in this feature. I disabled the log function and now Goldleaf reaches an install speed of 17,13 MB/s , with an average of 15 MB/s (it depends of your SD card and HDD). I am moving the ams_mitm.kip file to my main sd setup.

Anyways, if you are interested, you can find the log function in the file fspusb_utils.hpp

Thanks @XorTroll for this amazing feature :)
 
Last edited by Intronaut,
  • Like
Reactions: tiliarou

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,376
Trophies
0
XP
2,773
Country
Colombia
Ok, sorry for the double post, but I'm really interested in this feature. I disabled the log function and now Goldleaf reaches an install speed of 17,13 MB/s , with an average of 15 MB/s (it depends of your SD card and HDD). I am moving the ams_mitm.kip file to my main sd setup.

Anyways, if you are interested, you can find the log function in the file fspusb_utils.hpp

Thanks @XorTroll for this amazing feature :)
Can you share the latest Atmosphere with fsp-usb support?
 

Jayinem81

Well-Known Member
Member
Joined
Apr 19, 2020
Messages
958
Trophies
0
Age
42
XP
1,008
Country
United States
This is a feature that's been in the works for a long time and they could have implemented Retroarch using usb with it for a long time now if they planned so yet nothing. So there's no real basis in assuming that just because this feature exists they'll add usb support for Retroarch. This feature has been in the works for at least a year.

If they wanted to use usb they probably wouldn't even need this feature they can just do it on their own.
 
Last edited by Jayinem81,
  • Like
Reactions: 8BitWonder

Raugo

Well-Known Member
Member
Joined
Nov 22, 2014
Messages
630
Trophies
0
XP
2,451
Country
Spain
This is a feature that's been in the works for a long time and they could have implemented Retroarch using usb with it for a long time now if they planned so yet nothing. So there's no real basis in assuming that just because this feature exists they'll add usb support for Retroarch. This feature has been in the works for at least a year.

If they wanted to use usb they probably wouldn't even need this feature they can just do it on their own.

No, they can't add usb support without it at least easely. Retroarch use the fs sysmodule to access the files and the fs sysmodule can't read from USB devices without another sysmodule like this. Without a implementation at OS level (from the CFW or a sysmodule) is really dificult to implement a USB support.
 
  • Like
Reactions: Deleted User

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,376
Trophies
0
XP
2,773
Country
Colombia
Xortroll merged the lastest Atmosphere branch to fsp-usb, so it's now compatible with AMS 0.13 without further coding. I compiled it in Debian, just removing the debugging function (in order to increase install speeds), and it works fine :)
Share your compilation.
 

Intronaut

A star maker
Member
Joined
Nov 18, 2014
Messages
772
Trophies
0
Age
30
XP
1,005
Country
Chile
Sorry, but I don't know if I can share the file already compiled. After all, it's not my code and @XorTroll hasn't decided to release it yet. Another problem is that I modified a file (fspusb_utils.hpp) in order to disable the log code (that makes USB speeds terrible). But if you need some help in order to compile the file, I can help you :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: @BigOnYa...