Hacking QtWitGui

  • Thread starter Thread starter giantpune
  • Start date Start date
  • Views Views 29,202
  • Replies Replies 90
  • Likes Likes 1
@giant:
I you plan to update, try to use the --section output: They are machine readable and much more stable. And if you missing this option for any command: ask me.
 
that error was caused by changed output in "wit DUMP". this command doesnt support "--sections".
Code:
!! wit: ERROR #33 [SEMANTIC ERROR] in VerifySpecificOptions() @ ./src/ui/ui.c#155
!!ÂÂÂÂÂÂCommand 'DUMP' don't allow the option --sections.

however, i have change the parsing of the text. the latest svn of QtWitGui is able to parse the text from "wit DUMP" from wit r2260.
 
Could someone kindly (hopefully including giantpune), tell me how to compile this on ubuntu 11.04? Looks like giantpune left this for ps3 stuff.

Thanks
 
install the Qt SDK. there is a version in the ubuntu repos, and usually a newer version available at the qt website. either one should work.

there are a few other commands run at build time including chmod, svnversion, cat, echo, test, curl, and unzip. these are used to include the svn revision in the application and download/unzip wiitdb.xml and include it in the program. most of the programs should be working right out of the box. whichever ones you dont have, you will need to get from the repos.

use qmake to generate a makefile from the .pro file in the source. usually it is
Code:
qmake ./blablabla.pro
but sometime you need to specify the "-spec" argument. once you have the makefile, just type "make" and wait.
 
I installed it. It did not detect my wbfs partition: this is the log file.
Code:
QtWitGui r230
"Wiimms ISO Tool 1.28a r2336 i386" 
CMD: "/home/dummy/bin/wwt FIND" 
wiimms error "[sudo] password for dummy: " 2002
I changed the user name to dummy.
I gave password in quotes, without quotes, nothing works. What am I missing?
NM, it was stupid me and my reading comprehension.
It is working very nicely.
 
Everything works fine. Just two issues.
1) When I change the region to USA and save the file in the partition, how come it does not change the ID properly? (Even after the patch it shows game as PAL)
2) When I use uloader, it inserts a title with ID=__CFG__ and that cause qywitgui to give some errors. But after removing it with wwt rm ID=__CF_ it works fine.

It is a good application.
 
the region and the ID are not the same thing. there are 4 different copies of the ID and a region flag. they all serve different purposes. it would break things if some of them were automatically changed. instead i leave it to the user to select what they want changed.

that __CFG___ thing is the settings and crap for uloader. AFAIK, it will always create this file, with no way to turn it off. can you copy the command from the QtWitGui log window into a terminal and post the output? im not sure if the "file" is created in a way that you can tell wit/wwt to ignore it or if there would be an easy way to ignore these specific errors.
 
does uloader only put this settings file onto a WBFS partition? i dont know if it supports FAT32 or why it would even bother to create such a .wbfs file in this case, but you never know.

ok, i have added the --exclude=... stuff for "wit list". i am assuming that ignoring the uloader crap here would make it not necessary to have to use that for any of the other commands. please try it and see what it does.
 
Yes, it does. It create a game entry named __CFG_ and reserves some blocks of the WBFS drive. The great problem is that it is not compatible to any other data structure and also the header (inode) has no good setup.
 
I am not sure you needed my confirmation, but It does work smoothly now.

Thanks and thank you for clarifying region patching.
 
Now that I converted my game partition to ntfs from wbfs, I can't use this nice tool.
unsure.gif
It would be nice to have at least the coverflow part to list games in the ntfs partition. Also, having Gui just for "wimms wit" (without the support for wwt) alone would be nice.

Just a suggestion.
 
this tool works perfectly fine with a ntfs partition, on all supported operating system. the program itself has absolutely no filesystem code in it. it relies on the operating system and wit. ive been using with with ubuntu and a ntfs partition since i started writing it.
 
no, extracting/replacing single files got implemented in the gui, as i was expecting it to pop up in wiimms' tools. but it never did.

as far as "little more than a file browser", i have to say that that is a gross understatement. a think this program can hold its own against any of the other game managers around.
wholeapp.png
 

Site & Scene News

Popular threads in this forum