jivaros said:I'm am very glad to see a linux tool intensively developped !
Like i said before, a check function should be great, but i suggest another cool and unique feature :
importing an iso/wdf from a .rar (or .zip) file, without uncompressing the archive in a temporary directory ...
It seems with unrar-nonfree, it is possible to extract a file to stdin, but not with the unrar-free tool.
If you give me some pointers, (and if you wish) i could try to submit a patch for the rar2wbfs function !
wwt V0.03a r200 - 2009-10-08
- Enhanced error management again.
- Misspelling in --help: The shortcut for 'DUMP' is 'D' and not 'DP'.
- Make: Support of environment variable 'XFLAGS' -> 'XFLAGS=-march=x86-64 make'
- File handling: Support of open() and fopen() as alternatives for testing.
- Script test-wdf-tools.sh: Positive test is now done with >1 million files.
- New option for 'wdf-dump': --chunk: Print chunk header table.
- WDF specification is complete.
ÂÂREQUEST:
ÂÂÂÂI suggest another cool and unique feature:
ÂÂÂÂImporting an iso/wdf from a .rar (or .zip) file, without uncompressing the
ÂÂÂÂarchive in a temporary directory ...
ÂÂANSWER:
ÂÂÂÂThis is a hard job because the WBFS framework (written by others) needs
ÂÂÂÂrandom access and uses the seek() functions to address to the file. And
ÂÂÂÂthat means that the image must be decompressed completely before access.
ÂÂÂÂOn the other hand most (but not the header) of the seek access are at
ÂÂÂÂincreased offsets: A seek simulation is possible. In the next month i will
ÂÂÂÂgo deeper into the WBFS framework.
ÂÂANALYSIS:
ÂÂÂÂI have quickly tested 3 iso images:
ÂÂÂÂIt seems to be possible when 2 file ranges are cached:
ÂÂÂÂ-ÂÂÂÂÂÂ 0x0.. 0x200000 (len=0x200000 = 2 MiB)
ÂÂÂÂ- 0xf800000..0xfe00000 (len=0x600000 = 6 MiB)
ÂÂÂÂAll other file access is in sequential order.
ÂÂIMPLEMENTATION:
ÂÂÂÂDone but experimental. Use option --cache to enable it.
done.thza said:I really like this tool, but please follow the Linux Filesystem Hierarchy Standard (FHS). The titles.txt files should be stored under $PREFIX/share/wwt/titles.txt, not under $PREFIX/lib/titles.txt.
SCRUB is planned but not subject of interest in the moment. And answers about cISO are hard because I don't know what cISO is (missing technical info).gizmomelb said:Hi Wiimm, this looks like a very interesting tool.
I just wanted to clarify if your scrub ISO option produces files the same as the cISO format please (ie: as ripped by any USB loader) or is there another option which would produce the same output?
Thank you.
This is only the web view to the open parts off the svn. The svn itself is closed (account is needed).Bauldrick said:How can I obtain the source, I wish to compile on mips architecture. I try svn but get:
svn: Repository moved permanently to '/open/wii/trunk/wiimms-wbfs-tool/'; please relocate
Many thanks
CFLAGSÂÂÂÂÂÂÂÂ += -mtune=generic
cc1: error: unrecognized command line option "-mtune=generic"
wwt V0.05a r247 - 2009-10-14
- Complete new interface to the WBFS subsystem:
ÂÂÂÂ- unused source files removed.
ÂÂÂÂ- improved error messages of libwbfs
- WBFS file handling rewritten. It supports now file (using open() function)
ÂÂ and stream (using fopen() function) methods. Use --io to select method.
- New option: --ignore: Ignore non existing files/discs without warnings.
ÂÂ Can be used with: ADD, EXTRACT, REMOVE (replaces --force) and FILETYPE.
- The lib path moved from '/usr/local/lib/' to '/usr/local/share/wwt/'.
- New option --sector-size: Set logical hd sector size larger than 512
ÂÂ while formatting WBFS => The max disc count of a WBSF will be raised.
- Title database implemented.
- New command: TITLES: Print the internal title database to stdout.
- ADD: ISO image is acepted from stdin if a file is named '-'. For pipes
ÂÂ the experimental option --cache must be set.
be carefull: iso2wdf does not scrubbing the image.Bauldrick said:Hi Wiimm,
Thanks, I haven't tested it on my box yet, have only just got it to compile. The only way I could compile was to comment outCode:CFLAGSÂÂÂÂÂÂÂÂ += -mtune=generic
else I would getCode:cc1: error: unrecognized command line option "-mtune=generic"
This is on a mips cpu
Well, it appears to work - can find wbfs hdd and list games on it, great stuff...The option "-mtune=generic" has now moved to Makefile.local (a local makefile for each users.)
There is a script called scripts/test-ADD+EXTRACT.sh :
Just call it with a list of ISO or WDF files: it will add and extract the image with various options and compare the results. It needs much time ....
QUOTE(Bauldrick @ Oct 14 2009, 02:28 PM) This is awesome work, many thanks for this! iso2wdf (moreover wdf) is great