add option/script to extract all games

Bug #501858 reported by Carlo Mandelli on 2009-12-31
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
wiithon
Wishlist
Carlo Mandelli

Bug Description

Hi All,
thank you for the great software, I have to increase the WBFS partition, and considering that it is not possible I had to extract all the ISO and add them back. I hope that I could automate the process with the CLI but I figure out that the --ls command require user interaction to complete. So my wishes are:
1 - Avoid to ask for user interaction when invoked with --ls argument
2 - Add to wiithon package the script provided in https://answers.launchpad.net/wiithon/+question/92591 to help unskilled people
2.1 - Even better add such option to the CLI and to the GUI, instead of using an external script

Thank you!

Ciao,
Stefano "Kismet" Lenzi

Changed in wiithon:
importance: Undecided → Wishlist
Changed in wiithon:
status: New → In Progress
assignee: nobody → Carlo Mandelli (camandel)
Carlo Mandelli (camandel) wrote :

added script, in version 1.21-r456, to help people in massive games extractions (for now only from CLI):

/usr/share/wiithon/wiithon_extract.sh -h
wiithon_extract.sh -p <partition> [-l] [-t iso|wbfs|wdf] [-w <work dir>] [-f <filename>] [-h]

-p set WBFS partition
-l list games from WBFS partition
-t set output file type: ISO, WBFS or WDF
-w set working directory (if not specified is /home/carlo/src/wiithon-devel)
-f extract only games in filelist
-h this help page

Example 1: extract ALL games in WBFS format in the current directory
wiithon_extract.sh -p /dev/sdb1 -t wbfs

Example 2: create a new games list on file /tmp/filelist.txt
wiithon_extract.sh -p /dev/sdb1 -l > /tmp/filelist.txt

Example 3: extract only games from filelist in ISO format in /tmp
wiithon_extract.sh -p /dev/sdb1 -t iso -w /tmp -f /tmp/filelist.txt

Changed in wiithon:
status: In Progress → Fix Committed
Paul Tarjan (spam-paulisageek) wrote :

You might want to change the help message to not reference your home directory.

Also, is this script available without an install? Maybe a web svn path?

Carlo Mandelli (camandel) wrote :

Yes, and on your PC it will show *your* current directory :-)
I will fix it next days, thank you.

You can browse source files on r456:

http://bazaar.launchpad.net/%7Ewii.sceners.linux/wiithon/trunk/files/456

or download it directly from this link:

http://bazaar.launchpad.net/%7Ewii.sceners.linux/wiithon/trunk/download/head%3A/wiithon_extract.sh-20100103091257-f4ijxeltdvfup85n-1/wiithon_extract.sh

Paul Tarjan (spam-paulisageek) wrote :

:) Perfect, thank you. This is exactly how I would write it, but I didn't know of the keyword "extract". I was trying -e and it wasn't working.

Could you document how to issue these commands? Maybe a set of examples in the man page?

Carlo Mandelli (camandel) wrote :

wiithon_wrapper is one of the low level application used by CLI and GUI. You can see options with command "wiithon_wrapper -h"
Man pages are created only for the user application (man wiithon and wiithon -h).

Changed in wiithon:
status: Fix Committed → Fix Released

upload in deb:

stable 1.16-r400
dev 1.21-r460

On the wishlist is to do the same thing in the GUI. Good Job Carlo!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers