Homebrew Discussion Switchroot: HOS partiton on exfat?

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
Hi guys and gals.
First: Let's skip the "no you can't" or "exfat is super dangerous" -replies for now (been using exfat for years), I'd appreciate if we kept the discussion on subject :)

Goal: My goal is to have a neat little dongle-less setup focused on emulation w/ triple boot: HOS, Android and Linux from one SD-card which is now setup on a 512GB card.

Problem: Since I'm planning to emulate GC/Wii and many games are 4GB+ which is the limit of fat32, (as soon as I format HOS to exfat it can no longer boot into Android or Linux).

Question: Is there anyway I can have my HOS partition formatted to exfat and still keep the Switchroot boot intact?
If not, how come?

Thank you!
--------------------------------------------------------------------------------------
TLDR: Possible solution for exFat support for those interested:
For anyone interested in pursuing this further, I'll quote my post further down:
found out that the limitation of exfat support lies in the implementation of switch-uboot. Apparently this u-boot fork by shinyquagsire23 has exFat support
Merging or implementing his changes into the official repo and rebuilding switch-root might be your best bet.
 
Last edited by jacobsson,

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
@mathew77 Wow, the disrespect, sad to see to be honest. Please be constructive or refrain yourself from posting. I want to keep the thread on topic.
Any moderator that could help me?
 
Last edited by jacobsson,

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
@mathew77 I don't know what your problem is, browsing through your post history you seems like a reasonable person and I don't believe we ever spoke before? Your behavior seems very unprovoked. I believe people are under more stress than usual due to the pandemic so maybe you could rethink what you are doing and remove these posts, just to help another member out?
 

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
If you can't figure out how to do that on exfat you can split a file in to 4 gb chunks and place them in to a folder with the archive bit set, HOS will see it as a single file. I'm not 100% sure what tools you need to do it though.
That's very interesting, I'll look into this, thank you man!
 
  • Like
Reactions: CompSciOrBust
Joined
Sep 9, 2019
Messages
904
Trophies
1
Location
Switch scene
Website
github.com
XP
2,663
Country
Korea, North
  • Like
Reactions: jacobsson

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
1,189
Trophies
0
Age
47
XP
3,690
Country
Kazakhstan
split a file in to 4 gb chunks and place them in to a folder with the archive bit set, HOS will see it as a single file.
He wants to use 4GB+ ROM files with GC/Wii emulator under L4T Ubuntu / Switchroot, not under the HOS, and they don't use this splitting method with archive bit at all, so it's useless for non-HOS OSes, unfortunately.
 
Last edited by mathew77,
  • Like
Reactions: jacobsson

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
Put the GC/Wii games on a different partition, eg. the Android user partition? It's not like you can play them from HOS anyway.
Retroarch works pretty well currently under Atmosphere, another upside with using HOS partition that this is the one that shows when mounting the SD-card in windows and TWRP.

I found out that the limitation of exfat support lies in the implementation of switch-uboot. Apparently this u-boot fork by shinyquagsire23 has exFat support. I guess I need to learn the build process switch-root to achieve my goal.
 
Last edited by jacobsson,

kidkat210

Well-Known Member
Member
Joined
Nov 9, 2016
Messages
1,064
Trophies
0
Age
29
XP
2,337
Country
United States
I haven't messed with android a whole lot, I also haven't messed with Linux. But couldn't you plug in an external hdd/thumb drive and play it from that?
 
  • Like
Reactions: jacobsson

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,884
Trophies
2
XP
29,292
Country
United Kingdom
Retroarch works pretty well currently under Atmosphere, another upside with using HOS partition that this is the one that shows when mounting the SD-card in windows and TWRP.

I found out that the limitation of exfat support lies in the implementation of switch-uboot. Apparently this u-boot fork by shinyquagsire23 has exFat support. I guess I need to learn the build process switch-root to achieve my goal.
That's one thing you could do, but I bet it would take you less time to get a driver working on Windows to access the android/linux partitions than it would to build switchroot.

Either way, honestly I'm glad you're doing the research and seeing how you can achieve it yourself rather than just asking the devs to do more work. :yay:
 
Last edited by hippy dave,

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
I haven't messed with android a whole lot, I also haven't messed with Linux. But couldn't you plug in an external hdd/thumb drive and play it from that?
Absolutely, but that would unfortunately not achieve the all-in-1 goal of one SD-card.
Thank you for the suggestion though!
 

grabman

Well-Known Member
Member
Joined
Sep 25, 2018
Messages
359
Trophies
0
Age
43
XP
717
Country
United States
I feel that sometimes you spin your wheels and you keep spinning. This is a general life thing. But the key is to adapt. There is an obvious solution to your dilemma.

It's called usb.

I really don't know what to tell you if you want to insist on stuffing it all into one sd. That's like your deal ya know?

I hope this makes sense...

Trots off to continue enjoying his Android TV switch install with 256gb removable usb storage...
 

jacobsson

Well-Known Member
OP
Member
Joined
Oct 30, 2019
Messages
165
Trophies
0
Age
38
XP
769
Country
Sweden
I feel that sometimes you spin your wheels and you keep spinning. This is a general life thing. But the key is to adapt. There is an obvious solution to your dilemma.

Love your channel bro, good stuff! My USB-c port is already occupied by a USB-c BT transceiver and I love it.
If weren't spinning our wheels, new adaptions and iterations of stuff we use wouldn't surface.
In your case, If you really accepted the old way of thinking, how could you ever find a way to decrypt those emu files, bet those wheels where spinning pretty hard. Just a thought.

Anyway, since I now know what needs to be done I have contemplate if it's worth the time I need to invest.
 
Last edited by jacobsson,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • 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)
    Karma177 @ Karma177: @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really...