Hacking Wiithon 1.0 - IMHO Best WBFS Manager for Linux

makiolo

Active Member
OP
Newcomer
Joined
Jul 2, 2009
Messages
31
Trophies
0
XP
46
Country
Basic Features
--------------------------------------------------------------
- Add ISO
- Extract a game
- Delete games
- See space in disk used / total
- See total number of games.

Advanced Features in 1.0
--------------------------------------------------------------
- GUI based on GTK, only for GNU/Linux
- Managing multiple partitions in a simple-WBFS Designed with MultiLanguage (i8n) for 16 languages.
- Wiithon uses a database (SqlLite) which allows display of all game and your covers WITHOUT HARD DISK
- Wiithon is ready to be associated with ISO files. A simple double click will add your ISO to the drive.
- Searcher of games
- Copy partitions between WBFS. (1:1 copy). Copy 1 game or all, avoiding any replacement to the destination.
- Refresh WBFS partitions without having to reopen the program.
- Option to avoid running Wiithon as root by giving the option to run in user space.
- Add ISO by Drag & Drop
- Add a directory, search for all ISO files recursively
- Rename NAME (maximum 128 characters)
- Rename IDGAME (up to 6 characters and letters and numbers)
- The table can be ordered by any of its columns.
- Download covers and disc-arts automatically.
- Allows synchronize our covers with a folder. (As your SD for usbloader)
- Version Cosole (CLI): wiithon --help
- Use of multithread and multiprocess for more high speed.

New changes in 1.1:
--------------------------------------------------------------
- Shows information on games (obtained from WiiTDB). This includes all information to be found in the boxed set (synopsis, number of players, online ...)
- Support integrated RAR. (with info progress). Work with RAR > 4 GB in FAT32 partitions.
- Format partitions WBFS.
- Download sure all the covers. It rotates until someone downloads the URL. (54 covers providers & 27 discs providers)
- Preferences categorized into tabs.
- Open the folder where you downloaded Wiithon cover artwork.
- Wiithon appears in Applications -> Games (instead of office)
- Remake CLI (console)
- Icons adapted to Karmic.
- Changed the 80% of source code. Many other minor functional changes.
- Created a PPA to receive updates automatically.

New changes in version development 1.2:
--------------------------------------------------------------
- Add & Extract in ISO, .WBFS(for usb loader FAT32 with split 4GB), and WDF
- Search info in Internet (WiiTDB, Google, Wikipedia, IGN, VGChartz, Youtube, Gamespot ...)
- Change language easy in preferences.
- Autologin in WiiTDB

New updates soon in 1.2:
--------------------------------------------------------------
- Convert ISO WBFS
- Convert ISO WDF

You have 2 options:

1º Install Wiithon version 1.1: (only update for bugfix)
Code:
grep "deb http://ppa.launchpad.net/wii.sceners.linux/wiithon-1.1/ubuntu karmic main" /etc/apt/sources.list || echo deb http://ppa.launchpad.net/wii.sceners.linux/wiithon-1.1/ubuntu karmic main | sudo tee -a /etc/apt/sources.list && sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1F882273 && sudo apt-get update && sudo apt-get install wiithon && sudo gpasswd -a $USER disk

2º Install Wiithon Version development 1.2: (high updates)
Code:
grep "deb http://ppa.launchpad.net/wii.sceners.linux/wiithon/ubuntu karmic main" /etc/apt/sources.list || echo deb http://ppa.launchpad.net/wii.sceners.linux/wiithon/ubuntu karmic main | sudo tee -a /etc/apt/sources.list && sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1F882273 && sudo apt-get update && sudo apt-get install wiithon && sudo gpasswd -a $USER disk

NOTE: if you have problems in autodetect partitions WBFS, reboot your session GNOME/KDE, only first time or with recent installation.

Homepage Wiithon
Report Bugs here
Post original in spanish

pantallazo1.png
 

xoinx

Well-Known Member
Member
Joined
Nov 9, 2008
Messages
175
Trophies
0
XP
50
Country
Senegal
gui looks sweet! i don't use any usb loaders with my wii, but i'd love something like that to manage my nds roms
tongue.gif
keep up the good work though!
 

djda

Well-Known Member
Member
Joined
Apr 15, 2009
Messages
240
Trophies
0
Website
Visit site
XP
31
Country
Barbados
If i still had linux then i would definitely give it a go.
May i suggest writing it in spanish then either using a translation site or someone who is fluent in both languages to proof read it but still kudos for the app.
 

sl33p

Well-Known Member
Member
Joined
Dec 7, 2008
Messages
192
Trophies
0
XP
188
Country
United States
I hope you don't mind but I cleaned up the English in your initial post as best as I could. There were some areas I didn't totally understand so please proofread my editing if you choose to use it. Thank you for all your work and best of luck in the development.


<!--quoteo(post=2095036:date=Jul 3 2009, 12:25 AM:name=makiolo)--><div class='quotetop'>QUOTE(makiolo @ Jul 3 2009, 12:25 AM) <a href="index.php?act=findpost&pid=2095036"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Hello!:

First, let me say that my language native is Spanish and I'm only an average writer. If you don't understand the text please let me know so that it can be corrected.

In April, I published an update the brought Wiithon from version 0.95 to 0.98. This version was in Spanish and only supported CLI. (GNOME ONLY: a GUI is available as a plugin for nautilus).
In June, after 2 months of work, I published Wiithon 1.0. This version is CLI as well but now also has a GUI based in GTK. It works in GNOME, KDE, and other windows managers that support GTK. I also implemented multiple language support(i8n) with the library "gettext". So far, Wiithon has been translated to Spanish / English and Brasilian.
In the future I plan to publish Wiithon 1.1 in August with new features such as classifying each game with tags. And if I get a hosting, I hope to create a database of all tags with functionality similar to that of Delicious. Some examples of tag fields would be "year" , "quarter" , "number of players", "online available", and "ranking 1-5" (as rhythmbox).
<!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo-->Table of Contents:<!--sizec--></span><!--/sizec-->

1. Features
2. Downloads
3. Installation
4. Run
5. Updated
6. Translate Wiithon
7. Acknowledgments.
8. Team Wiithon
9. Screenshots

<!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo-->1. Features<!--sizec--></span><!--/sizec-->

<!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo-->Basic Features<!--sizec--></span><!--/sizec-->
--------------------------------------------------------------
- Add ISO file with the usual file manager (Nautilus, Konqueror, etc.)
- Extract a game.
- Delete games
- See disk space used/total
- See total number of games.

<!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo-->Features that make wiithon "special"<!--sizec--></span><!--/sizec-->
--------------------------------------------------------------
- GUI based on GTK, only for GNU/Linux
- Manage multiple partitions in a simple user interface
- Translated into 1 languages
- Wiithon uses a database (SqlLite) which allows display of all game covers.
- Wiithon is ready to be associated with ISO files. A simple double click will add your ISO to the drive.
- Will efficiently search games via IDGAME and TITLE
- Copy partitions between WBFS. (1:1 copy). Copy 1 game or all, avoiding any replacement to the destination.
- Refresh WBFS partitions without having to reopen the program.
- Option to avoid running Wiithon as root by giving the option to run in user space.
- Add ISO by Drag & Drop
- Add a directory, search for all ISO files recursively
- Rename game name (maximum 128 characters)
- Rename idgame game (up to 6 characters and letters and numbers)
- The table can be ordered by any of its columns.
- Download cover and disc art automatically (stored in ~/.wiithon/caratulas and ~/.wiithon/discos)
- Maintains the CLI interface of Wiithon 0.98 by using the parameter "-c" or "-no-gui"
- For simple operations such as downloading covers up to 6 parallel threads will be used to spee dthe process.
- For complex operations, such as write / read WBFS, only a single operation is allowed so as to maximize throughput and avoid errors.

<!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo-->Known Issues<!--sizec--></span><!--/sizec-->
- Of the 16 language translations only 3 are complete
- libwbfs does not always accurately reflect the time remaining in the operation.

<!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo-->Unknown problems (aka bugs)<!--sizec--></span><!--/sizec-->
- The official website to report bugs: <a href="https://bugs.launchpad.net/wiithon" target="_blank">https://bugs.launchpad.net/wiithon</a>, but will also respond here.

<!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo-->2. Download<!--sizec--></span><!--/sizec-->
For downloading the source code, I opted to use the same repository used for development. This takes advantage of the features of launchpad hosted code including ease of upgrading.

First we need to install bazaar:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->sudo aptitude install bzr<!--c2--></div><!--ec2-->

Now in the folder you want to download the source code, type:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->bzr branch http://bazaar.launchpad.net/~wii.sceners.linux/wiithon/stable wiithon<!--c2--></div><!--ec2-->

The last command created a directory that we need to enter so type:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->cd wiithon<!--c2--></div><!--ec2-->
Now we turn to the installation

<!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo-->3. Installation<!--sizec--></span><!--/sizec-->

There are 2 options, depending on whether your distribution uses <b>apt-get or not</b>:

<!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><i>+ Option 1 (Automatic, with apt-get)</i><!--sizec--></span><!--/sizec-->

Unistall all previous versions. Then, its time to compile the code: (It will correct permissions to use wiithon without root)

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->sudo make install_auto_and_fix<!--c2--></div><!--ec2-->

First time that wiithon is installed you, <b>must reboot GNOME/KDE</b>, because your user was added to group "disk". This essential change will not take effect until the next session.

<!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><i>+ Option 2 (standard, without apt-get)</i><!--sizec--></span><!--/sizec-->

<b>1º</b> Uninstall previous versions of Wiithon:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->sudo make uninstall<!--c2--></div><!--ec2-->

<b>2º</b> Install these dependencies with your package manager:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->rar menu imagemagick intltool python-sexy python-sqlalchemy python-gtk2 python-glade2 gnome-icon-theme<!--c2--></div><!--ec2-->

if you have a 64-bit platform, you must also install this package:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->libc6-dev-i386<!--c2--></div><!--ec2-->

<b>3º</b> Install:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->sudo make install<!--c2--></div><!--ec2-->

<b>4º</b> Permissions (optional)
In order to avoid a password prompt with every use:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->sudo make permissions_fix<!--c2--></div><!--ec2-->

This added to our user to group "disk". You must now restart your session in order for this to take effect.
After that Wiithon will be executed in user space.

<!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo-->4. Run<!--sizec--></span><!--/sizec-->

The program will be located in Applications -> Office (in KDE and GNOME).

In console it can be launched with "sudo wiithon" (or "wiithon" if you can run without needing root)

<!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo-->5. Updated<!--sizec--></span><!--/sizec-->

<i><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo-->If you have a review <20:<!--sizec--></span><!--/sizec--></i>
If you see that "I have corrected this bug," or I have changed this, you can now easily update thanks to the repository. Therefore, it is essentialto keep the installation folder created in step 3.

In "wiithon" directory write:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->sudo bzr pull<!--c2--></div><!--ec2-->

If "No revisions to pull" is reported then there are no updates available.
However, if you see a progress bar Wiithon is currently being updated to the latest version.

Once you have updated the source code <b>just repeat step 3 to "Install".</b>

<i><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo-->If you have a review >=20:<!--sizec--></span><!--/sizec--></i>

In "wiithon" directory write:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->sudo make actualizar<!--c2--></div><!--ec2-->

<!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo-->6. Translate Wiithon<!--sizec--></span><!--/sizec-->

In "po/" there are 16 languages with each name in format locale.

There are still many languages without translation. It is very easy to translate using editors like "poEdit" GTK or Lokalized "Qt.

For example pt_BR.po translate.

To test the translation of the example you must run the following command:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->sudo make run LANGUAGE=pt_BR<!--c2--></div><!--ec2-->
Finally, you must send xx_XX.po to me for it to be integrated into the project. I will add your name to the credits as a translator.

<!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo-->7. Acknowledgments<!--sizec--></span><!--/sizec-->

I appreciate the feedback received in the previous version. Thanks to Sergio, LK2 and users!

<!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo-->8. Team wiithon<!--sizec--></span><!--/sizec-->

While in the last version I was the only person responsible for the development, following version 0.98, LK2 offered me his help in creating this GUI. Therefore, the Team is as follows:

Ricardo Marmolejo Garcia <makiolo>
Jose Luis Segura <LK2>

<!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo-->9. Screenshots<!--sizec--></span><!--/sizec-->
And finally, I leave with you screenshots of wiithon:

<img src="http://blogricardo.files.wordpress.com/2009/06/wiithon_en.png" border="0" class="linked-image" />

Source: <a href="http://blogricardo.wordpress.com/2009/06/21/wiithon-1-0-liberado/" target="_blank">http://blogricardo.wordpress.com/2009/06/2...n-1-0-liberado/</a><!--QuoteEnd--></div><!--QuoteEEnd-->
 

raptor5001

Well-Known Member
Newcomer
Joined
Aug 4, 2006
Messages
58
Trophies
0
XP
357
Country
United States
Awesome program! Thanks for taking the time to program this!

I only use Ubuntu, so I've been waiting for an awesome WBFS program.

Kudos! Keep up the good work!
 

makiolo

Active Member
OP
Newcomer
Joined
Jul 2, 2009
Messages
31
Trophies
0
XP
46
Country
djda said:
If i still had linux then i would definitely give it a go.
May i suggest writing it in spanish then either using a translation site or someone who is fluent in both languages to proof read it but still kudos for the app.

In my blog its the post original (but in spanish).Dont worry i update both, my blog and here.

kLiNiKaL said:
working perfect on Lenny using Openbox so definatley no need for GNOME or KDE aslong as you have correct libs

very nice program dude thats a lot

biggrin.gif


thanks!! now can say: gnome, kde, openbox ...
biggrin.gif



sl33p said:
I hope you don't mind but I cleaned up the English in your initial post as best as I could. There were some areas I didn't totally understand so please proofread my editing if you choose to use it. Thank you for all your work and best of luck in the development.

Very thanks !! I modified it. I accepted almost all the changes. Some are wrong because I've understood correctly.

If you want REFix it and you tell me. please if you will not find errors, then edit your post with quote of main post. Thx again

QUOTE(WaRMarinE @ Jul 4 2009, 07:49 AM) I DEMAND A WINDOWS PORT NAOOOH!!

Very good stuff dude!

Buen material hermano! Sigue asi!

Porting to Windows is not in my plans. The reason is that I do not use windows (only for games). But this is open source and anyone can do it, but warn that it is not easy.

QUOTE(JohnnyCheeks @ Jul 4 2009, 08:57 AM)
Damn, that program alone almost makes me wanna switch to a Linux distro. (But I love my PC games too much
tongue.gif
)

Awesome work! Hopefully there will be ports to other systems in the future.
biggrin.gif

You can have more than ONE operative system. I love pc games too
biggrin.gif
 

wishmasterf

Well-Known Member
Member
Joined
Apr 20, 2009
Messages
167
Trophies
0
Location
Austria
Website
Visit site
XP
92
Country
Australia
i get the following error if i start wiithon? what i am done wrong? plz help!!


wiithon # wiithon
/usr/local/share/wiithon/juego.py:52: SADeprecationWarning: The 'transactional' argument to sessionmaker() is deprecated; use autocommit=True|False instead.
autoflush=True, transactional = True)
/usr/local/share/wiithon/preferencias.py:53: SADeprecationWarning: The 'transactional' argument to sessionmaker() is deprecated; use autocommit=True|False instead.
Session = sessionmaker(bind=motor , autoflush=True, transactional = True)
Traceback (most recent call last):
File "/usr/local/bin/wiithon", line 100, in
App()
File "/usr/local/bin/wiithon", line 83, in App
interfaz = WiithonGUI(core)
File "/usr/local/share/wiithon/gui.py", line 80, in __init__
self.uimgr.insert_action_group(actiongroup)
TypeError: Required argument 'pos' (pos 2) not found

after disabling the line it seems to work. i am no coder so i dont know whats wrong. plz help me.
 

makiolo

Active Member
OP
Newcomer
Joined
Jul 2, 2009
Messages
31
Trophies
0
XP
46
Country
nl255 said:
So does this have CISO support, the same as the Intelligent WBFS Manager and wbfs_hermes.exe?

No. You add ISO (4.4GB) and extract ISO. but i want implement ciso.

Hermes does not respect the GPL, and not provided us with the work of others. I wrote emails requesting source, and got no response. Do you know if Hermes has released the source code somewhere?

wishmasterf said:
i get the following error if i start wiithon? what i am done wrong? plz help!!

wiithon # wiithon
/usr/local/share/wiithon/juego.py:52: SADeprecationWarning: The 'transactional' argument to sessionmaker() is deprecated; use autocommit=True|False instead.
autoflush=True, transactional = True)
/usr/local/share/wiithon/preferencias.py:53: SADeprecationWarning: The 'transactional' argument to sessionmaker() is deprecated; use autocommit=True|False instead.
Session = sessionmaker(bind=motor , autoflush=True, transactional = True)
Traceback (most recent call last):
File "/usr/local/bin/wiithon", line 100, in
App()
File "/usr/local/bin/wiithon", line 83, in App
interfaz = WiithonGUI(core)
File "/usr/local/share/wiithon/gui.py", line 80, in __init__
self.uimgr.insert_action_group(actiongroup)
TypeError: Required argument 'pos' (pos 2) not found

after disabling the line it seems to work. i am no coder so i dont know whats wrong. plz help me.

I think that you version of GTK is less than 2.14. I update tutorial with this info, but wiithon need GTK 2.14+

QUOTE(Elfish @ Jul 5 2009, 10:45 AM)
could u add a function to resize wbfs partitions?

Ask something that nobody has yet, however I am investigating.

Not if you ask, because the source code of wiithon (core.py), there are functions in attempts to resize partitions wbfs. But even without success.

In a Spanish forum, Hermes gave to understand that it is not possible to resize partitions WBFS. But I can not believe it.
 

Blue-K

No right of appeal.
Member
Joined
Jun 21, 2008
Messages
2,572
Trophies
0
Location
Helvetica
XP
199
Country
Swaziland
Finaly
smile.gif
. One of the last needs for me to switch sometimes to Windows is eliminted
biggrin.gif
(still remaining: IMGBurn & abgx360...-.-). Thank you so much!!! Great App, looks great, perfect
smile.gif
. But one question: Can it copy all the Partitions from the Wii Disc, like WBFS Manager (including VC, Update, etc..)? Would be nice to know...

Ubuntu FTW
tongue.gif
 

makiolo

Active Member
OP
Newcomer
Joined
Jul 2, 2009
Messages
31
Trophies
0
XP
46
Country
Blue-K said:
Finaly
smile.gif
. One of the last needs for me to switch sometimes to Windows is eliminted
biggrin.gif
(still remaining: IMGBurn & abgx360...-.-). Thank you so much!!! Great App, looks great, perfect
smile.gif
. But one question: Can it copy all the Partitions from the Wii Disc, like WBFS Manager (including VC, Update, etc..)? Would be nice to know...

Ubuntu FTW
tongue.gif

Wiithon have copy direct WBFS to WBFS from GUI
Wiithon have copy INdirect DVD to WBFS from CLI

If wiithon you can install from DVD. But only for CLI. This part will improve a lot the next version but now looks like this:

wiithon -c install

Asks the dvd wii. And automatically detect the device, dump it to iso, and add it to the wbfs keeping the ISO.
 

makiolo

Active Member
OP
Newcomer
Joined
Jul 2, 2009
Messages
31
Trophies
0
XP
46
Country
kLiNiKaL said:
Ubuntu FAIL
tongue.gif


Lenny - WIN
biggrin.gif


how Ubuntu can release so called Stable releases when its built from a unstable debian branch amuses me lol.

What version of ubuntu are you?
Think that need Ubuntu 8.10+, because ubuntu 8.04 have libgtk 2.12 and wiithon need gtk 2.14+
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sicklyboy @ Sicklyboy: *teleports behind you* "Nothing personnel, kiddo" +1