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,766
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
998
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,766
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
    K3Nv2 @ K3Nv2: https://stockanalysis.com/stocks/ntdoy/market-cap/ I think they'll be alright