Hacking ext2/ext3/ext4 in USBLoader?

Would you use in ext2/ext3/ext4 USBLoader?

  • Yes

    Votes: 6 100.0%
  • No

    Votes: 0 0.0%
  • Maybe

    Votes: 0 0.0%
  • I dont know what that is

    Votes: 0 0.0%

  • Total voters
    6

OOPMan

Active Member
Newcomer
Joined
Mar 20, 2007
Messages
39
Trophies
0
XP
75
Country
As a Linux user I would love this. It really irks me that I had to reformat my drives to NTFS simply in order to use USBLoader.

Also, ext3 and ext4 are superior to NTFS in just about every way, especially with regards to sparse files (Well supported) and fragmentation (What fragmentation :-) )
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
320
Country
Gambia, The
Is there a ext2 libary for homebrew like the ntfs one? If yes, it could be changed in the same way the ntfs lib was changed for usb loading. You need a coder who is able to do a fake read of a .iso file and instead of reading the file, it fills an offset list with the HDD sectors that contain the .iso data. If you have that, contact oggzee, i hope he is willing to add it to CFG like he added the ntfs support. But don't bug him if you don't have the ability to create the required offset list!
 

oggzee

Well-Known Member
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
184
Country
Slovenia
As WiiPower said, if someone adapts ext2/3 to return a list of sectors i have no problem adding it to the loader.
But is there a devkitpro/wii port of extfs at all? I couldn't find it on wiibrew or devkitpro site. That would be the first step.
 

smf

Well-Known Member
Member
Joined
Feb 23, 2009
Messages
5,399
Trophies
1
XP
4,021
Country
United Kingdom
OOPMan said:
As a Linux user I would love this. It really irks me that I had to reformat my drives to NTFS simply in order to use USBLoader.

Also, ext3 and ext4 are superior to NTFS in just about every way, especially with regards to sparse files (Well supported) and fragmentation (What fragmentation :-) )

Please don't make this a religious thread, ext4 has changes to make it suffer from fragmentation than ext2/ext3. However all file systems will suffer from fragmentation after repeeated adding and removing files.

WBFS files are more convenient than sparse files. With sparse files you can burn the images straight to a DVD, which as you can load them from USB is unlikely to ever happen. However you'll have problems copying them around, which is more likely to happen.

FAT32 is the best file system to use on the Wii. Using anything else is more hassle than it's worth.
The only reason to have anything other than FAT32 is if you can't get a dedicated HD.
 

wishmasterf

Well-Known Member
OP
Member
Joined
Apr 20, 2009
Messages
167
Trophies
0
Location
Austria
Website
Visit site
XP
82
Country
Australia
Its nice to see that there are so many guys would use ext* - filesystem with wii. Im not a developer so i cant code anything more than a hello world. I see that there are really good developer in this thread. I believe ext* could be more stable then ntfs will ever be on wii and usb-loaders.

It is not because my religion is linux. I am the linux user and ext4 is the default filesystem on most linux distributions. So the best choice for me is ext4.

I will pray to my linux - god that there is anyone out there who will port ext4 (readonly would be enough) to devikitpro/wii .
biggrin.gif
 

Beige

Well-Known Member
Member
Joined
Nov 2, 2008
Messages
266
Trophies
0
Age
31
Location
Volcano Bakemeat
Website
Visit site
XP
195
Country
United States
I support ext* support in Wii development too. I am also a Linux user (an experienced one at that) and would love to use something that is better supported. FAT32 is not a good FS for Hard Drives anyways.
 

thesund0g

Well-Known Member
Member
Joined
Aug 6, 2009
Messages
452
Trophies
0
Age
42
Location
The Boonies
Website
Visit site
XP
115
Country
Yeah, ext2/3/4 have a lot of features that really aren't needed for the Wii. FAT32 has nearly every feature in a FS you'd need for the Wii, short of the 4GB file cap, and that's easily circumvented via WBFS files. Linux users -- unless you pulled it, your OS supports FAT32...as does nearly every other device on the market today (convenience!). If you want a complete, stable implementation of ext*, you'd have a lot of unneeded bloat. I wouldn't trust a partial implementation (hence why I don't use NTFS on the Wii disk), even if it's for read-only.
 

wishmasterf

Well-Known Member
OP
Member
Joined
Apr 20, 2009
Messages
167
Trophies
0
Location
Austria
Website
Visit site
XP
82
Country
Australia
thesund0g said:
Yeah, ext2/3/4 have a lot of features that really aren't needed for the Wii. FAT32 has nearly every feature in a FS you'd need for the Wii, short of the 4GB file cap, and that's easily circumvented via WBFS files. Linux users -- unless you pulled it, your OS supports FAT32...as does nearly every other device on the market today (convenience!).

I agree with you, but the limit of 4GB is bad.

QUOTE(thesund0g @ Oct 3 2010, 05:12 AM) If you want a complete, stable implementation of ext*, you'd have a lot of unneeded bloat. I wouldn't trust a partial implementation (hence why I don't use NTFS on the Wii disk), even if it's for read-only.

I agree with you! I think a implementation of ext2 readonly isnt bloated an you will be able to read ext2/ext3/ext4 as i knew. Im not sure about ext4 .



I found this: http://ext2read.blogspot.com/. It also compiles well on powerpc. So as i understand it should also be portable to wii. Maybe that could be base for lib for wii. What do you think?
 

s3phir0th115

Well-Known Member
Member
Joined
Dec 31, 2008
Messages
728
Trophies
0
XP
803
Country
United States
I voted Maybe myself. I do like using openly documented file system formats and while I'm an avid Linux user, but I wouldn't currently use ext* on most partitions simply because there simply aren't drivers for Windows to read/write from ext4. It's sort of important to me for file systems I use to work with as many OSes as possible.

Of course, in the Wii's case, I don't see much call for it. FAT32 works just fine with my UNEEK Wii setup.
 

qwertymodo

Well-Known Member
Member
Joined
Feb 1, 2010
Messages
827
Trophies
0
Age
31
Website
qwertymodo.com
XP
490
Country
United States
I don't have any use for ext2 personally, but I think ext2 is just as useful (or useless) as NTFS (as it's been said, no need for the more advanced features of ext3/4, and I know you CAN access ext3 drives as ext2, not sure about 4), and therefore just as valid an option, just for different people. Not that my opinion matters, as I don't have anything USEFUL to add... but it's late and I'm tired, so there's my $0.02.
 

Richardarkless

Well-Known Member
Member
Joined
Dec 11, 2009
Messages
166
Trophies
0
XP
176
Country
I say yes

ntfs has the issue of needing to defrag every month or so and fat32 has a 4gb file size limit which is just annoying

Ext2/3/4 doesnt need defragmenting as much, faster than ntfs and has a much higher file size limit, plus the fact that its open source and we can modify it to meet our needs
 
General chit-chat
Help Users
  • phalk @ phalk:
    I only do anything in my life to allow me to be lazier
    +1
    Gift
  • mr_switch @ mr_switch:
    same
    Gift
  • Veho @ Veho:
    TRJ, I learned all those in school/college.
    Gift
  • Veho @ Veho:
    As part of some course or other.
    Gift
  • Veho @ Veho:
    I forgot to list Assembler, Pascal and Matlab scripting.
    Gift
  • phalk @ phalk:
    I know some pascal, c, php
    Gift
  • phalk @ phalk:
    and I'm a History teacher
    Gift
  • Veho @ Veho:
    Went over the basics in all of them, never took it anywhere.
    Gift
  • Veho @ Veho:
    I do use bash for my job though. It's useful.
    Gift
  • phalk @ phalk:
    Assembler is something I always wanted to learn
    Gift
  • phalk @ phalk:
    but.... nah
    Gift
  • Veho @ Veho:
    No point really.
    Gift
  • Veho @ Veho:
    Even the simplest device these days runs some sort of high level language.
    Gift
  • The Real Jdbye @ The Real Jdbye:
    @Veho all the IT stuff i've learned in school has been extremely basic... i knew most of it already
    Gift
  • The Real Jdbye @ The Real Jdbye:
    it's better to learn on your own, it goes much faster than the snail pace they teach you at in school
    Gift
  • Coto @ Coto:
    assembly is actually great, gets you to run everything about 80% faster than C massaged code
    Gift
  • Coto @ Coto:
    assembler syntax is dead easy, but "how to put pieces together" logic requires to have in mind the original idea, and the CPU layout, and that's like double the work of C stuff. It's best to write C first, add some unit tests, then go assembly, then run the unit tests
    Gift
  • The Real Jdbye @ The Real Jdbye:
    it can run faster than compiled code, but modern compilers are really good at optimization and you need to be even better at assembly to do a better job
    Gift
  • Coto @ Coto:
    with that all your assembler base will actually work
    Gift
  • Coto @ Coto:
    even on embedded systems, without a damned debugger
    Gift
  • The Real Jdbye @ The Real Jdbye:
    syntax is easy but the code is hard to read, you can't look at a piece of code and expect to understand it without looking at all the code around it to see how it all works together so it takes much longer to read the code, it takes longer to write it too because what might be 1 line of code in C might be 20 lines of assembly
    Gift
  • The Real Jdbye @ The Real Jdbye:
    the language is very simple to understand (because it's barely a language at all) understanding how all the instructions work together to form a whole is another matter, in general it's such a pain to work with that i would never recommend it unless you have a need for it. don't listen to this guy and learn assembly just because you want to make your code run faster, you are wasting your time, but if you run into a situation where your code isn't fast enough even after you enabled -Ofast and you NEED it to be faster, then you can consider assembly
    Gift
  • The Real Jdbye @ The Real Jdbye:
    @Coto have you tried -Ofast btw? ;)
    Gift
  • Gift
  • Psionic Roshambo @ Psionic Roshambo:
    I have o fast before but I suspect we are talking different Os lol
    Gift
    Psionic Roshambo @ Psionic Roshambo: I have o fast before but I suspect we are talking different Os lol