Oké i've compiled it, tested it, and uploaded it:
http://rapidshare.com/files/15998359...i_sdhc.7z.html
Printable View
Oké i've compiled it, tested it, and uploaded it:
http://rapidshare.com/files/15998359...i_sdhc.7z.html
Hey does this work with dvds? and is there a channel version with the current(or newer) version? The reason why I wanted a channel is because my parents are using this app on my wii as a dvd player since the dvd player they usually use broke. I didn't want them going into the HBC as I feared they would go into the wrong app and somehow brick the wii accidentally.
edit: I forgot to mention that I was using the dvdlib version of mplayer that was released by the folks who did the HBC channel.
My kingdom for a good gui , it doesn't have to be xbmc with all the whistles and bells but just the basic stuff like options to calibrate the screen.
I've developed a patch as devoptab "plugin" to enable reading files
directly from wii DVD drive. It uses libdi library to read raw sectors.
Then it map to "dvd:/" path. For now it reads filenames as iso9660:1999
standard (long filenames but all uppercase and space->underscore
translation). Maybe in the future i'll add joilet/rr support.
I've also added a menu entry to access DVD files. I've tested it with a few
DVD containing video material and all worked fine.
See here: http://code.google.com/p/mplayerwii/issues/detail?id=32
That's great
Can you send to Marcan or publish in www.entuwii.net forum?
So marcan can add to libdi
A question,
do you know if is needed any extra installation (DVDX)
to use your dvd library?
Thanks a lot.
Edit: Marcan has told me that you need DVDX if you don't have a modchip.
Yes, i confirm you need DVDX, because this library uses libdi, and all libdi requirements must be satisfied.
I'm using PAL WII (italian version) with self-built YAOSM mod
Noticed you've already posted in www.entuwii.net, i'll also follow that thread :)
Can someone test my patch? Just to see if work correctly for everyone :thumbup:
Perfect www.entuwii.net is marcan's forum
He has passed your code to Erant so probably they are going to integrate with libdi.
I haven't my wii at now, but
can you upload a compiled version for other people?
So they can test your improvement.
I hope that you continue improving your code and implement Joliet.
Thanks for your code.
Hello tipolosko
I was studing your code and I think that you can improve your file reading using a cache.
You always read only 1 sector
retval=WIIDVD_ReadDVD(filestate->localsectbuf, 1, sectorneeded);
I'm not sure (I haven't my wii for test) but I think that if you read more sectors in one call (perhaps 32) and save in memory (cache) probably the next sector will be in cache so you needn't to read again. This is how libfat cache works more or less, and improve a lot the file access, because 1 call to read 32 sectors spend less time that 32 call to read 1 sector.
I'll try to do some test using a very simple cache system.
I prefer to have this conversation on www.entuwii.net because is a more technical forum, so if you want we can continue this conversation there, and we have marcan and hermes that are great programmers.
Thanks rodries,
the current code reads sector by sector.
The great suprise is that seems to work without problems as-is!
I know there is a lot of space for improvements, but i prefer to have a "stable" code before beginning optimizations.
Sure, we can continue on www.entuwii.net, in the already open thread? :)
Thanks for your interest!