Hacking ShowMiiWads 1.1

Leathl

Well-Known Member
OP
Member
Joined
Aug 15, 2009
Messages
239
Trophies
0
Location
Berlin
Website
Visit site
XP
90
Country
Gambia, The
ShowMiiWads is a 'WAD File Manager' for Windows.
It is licensed under the terms of the GNU General Public License v2
The .NET-Framework 2.0 is required to run this application!
The (Common-)Key.bin is required for full functionality (Can be created using Tools -> Create Common-Key)

For further information or if you have suggestions, found bugs or anything else,
visit: http://showmiiwads.googlecode.com/
You can simply translate the application by editing the example.slang, if you
want to have your translation included into the application, contact me..

Please note: For some reason, the 64 bit version probably won't run, if you have a ShowMiiWads.cfg that was created with the 32 bit version in your application folder. Simply delete the cfg file.

Download: http://code.google.com/p/showmiiwads/downloads/list
(Please just link to this site and don't mirror the archive, thanks!)



QUOTE said:
Changelog:

Version 1.1b

  • Fixed a bug with slang files, so external translations can be loaded again
  • Fixed crashes caused by old ShowMiiWads.cfg Files

Version 1.1
  • 64 bit Version is now available
  • Improved speed. Now, information is loaded at application startup and saved in a file. Whenever it reloads, the information is read out of the file, only new files are added.
    If you need to completely refresh the whole list, use 'File -> Refresh' (F5). When the language is changed, only the Channel Titles column will be reloaded
  • Multiple selections are now possible. If you want to select a whole folder, just left click the header once.
  • Added Splash Screen with ProgressBar to show the loading status (can be disabled)
  • Added Option to remove all folders
  • Added Option to refresh single folders
  • New Icon (Thanks to NeoRame!)
  • Bugfixes and tiny improvements
  • Application will now ask you to download a new version, if available
  • Italian translation added (Thanks to Tetsuo Shima)
  • Spanish translation added (Thanks to putifruti) (Incomplete, 2 sentences still Eng)
  • Norwegian translation added (Thanks to pesaroso)
 

Leathl

Well-Known Member
OP
Member
Joined
Aug 15, 2009
Messages
239
Trophies
0
Location
Berlin
Website
Visit site
XP
90
Country
Gambia, The
jhoff80 said:
32 bit version crashed with an existing .cfg file as well, so it's not just the 64 bit version with that issue apparently.

Weird... Normally it should delete the old cfg file, if there's an error, and create a new one. I'll have a look what's wrong there... Thanks for the hint!

QUOTE(Wiiwu @ Oct 21 2009, 04:43 AM) Leathl, love your tool and if you can add in a function to check for bad or corrupted banner/wad that will be a great lifesaver.

I'm not sure how to determine if it's corrupt, cus there can be many ways for a wad to be corrupted and I'm sure you can't tell 100% (else, why isn't there a wad-check within the wad manager that checks before installing a title?).
 

Leathl

Well-Known Member
OP
Member
Joined
Aug 15, 2009
Messages
239
Trophies
0
Location
Berlin
Website
Visit site
XP
90
Country
Gambia, The
Updated to 1.1b
rolleyes.gif
 

beav1s

Well-Known Member
Newcomer
Joined
Aug 7, 2007
Messages
90
Trophies
0
XP
124
Country
United States
great job on this leathl
although i dont use this often, its a pleasure when i do, very nice looking
keep it up
yay.gif
 

SanGor

Witchhunter
Member
Joined
Aug 21, 2008
Messages
993
Trophies
0
Website
Visit site
XP
215
Country
United States
there is a bug when installing stuff to a NAND.
ShowMiiWad doesn't use hex for the name entries in the content.map i.e.:

CODE0000000000 30303030 30303030 F5DD17B3 200DD4D6 BE2B25B5 77C99E5F 941B7324 00000000.... ....+%.w.._..s$
000000001C 30303030 30303031 32B339CB BB507D50 2779259A 7866995D 030B1D88 000000012.9..P}P'y%.xf.]....
0000000038 30303030 30303032 5F1BB7B0 2794B14E 88B72269 A3376D23 051DAD1D 00000002_...'..N.."i.7m#....
0000000054 30303030 30303033 4FAD97FD 4A288C47 E0587F3B BD292379 F8709EB9 00000003O...J(.G.X.;.)#y.p..
0000000070 30303030 30303034 76ABFBEA CB2C4CA4 EB3F0364 13C7E001 FDAB7B26 00000004v....,L..?.d......{&
000000008C 30303030 30303035 2F28D4B6 DAEBEB15 801477C6 BEBC5F37 C0909EAE 00000005/(........w..._7....
00000000A8 30303030 30303036 260BE947 A08F57F6 EF510864 27FE222F D4040399 00000006&..G..W..Q.d'."/....
00000000C4 30303030 30303037 E78C7A45 BDE2B45B 1BA49518 83F69F84 F6BB1469 00000007..zE...[...........i
00000000E0 30303030 30303038 AD64238E D0185973 8EFB2CF0 BAB238ED 55A6D70B 00000008.d#...Ys..,...8.U...
00000000FC 30303030 30303039 3FD7D334 563A6A5F BDEAD142 18E08763 C49588E8 00000009?..4V:j_...B...c....
0000000118 30303030 30303130 6141C36F 825A6209 3B4BA28B 07054680 ECD469A7 00000010aA.o.Zb.;K....F...i.
0000000134 30303030 30303131 80D70496 E2834E11 6C15449E F1BE16DA A7CE6267 00000011......N.l.D.......bg
0000000150 30303030 30303132 6DEA00A8 1B6BC90C 8F693C95 A09341DA F23EA6DB 00000012m....k...i..

it should do 9,a,b,c instead of 9,10,11,12
 

Wiiwu

Well-Known Member
Member
Joined
Jan 21, 2009
Messages
209
Trophies
0
Age
58
Location
Asia
Website
mmm4wii.posterous.com
XP
54
Country
Hong Kong
Leathl said:
I'm not sure how to determine if it's corrupt, cus there can be many ways for a wad to be corrupted and I'm sure you can't tell 100% (else, why isn't there a wad-check within the wad manager that checks before installing a title?).

I'm not sure if this helps, craps does list a banner sanity check features, can be found at http://code.google.com/p/crapwii/
 

Wiiwu

Well-Known Member
Member
Joined
Jan 21, 2009
Messages
209
Trophies
0
Age
58
Location
Asia
Website
mmm4wii.posterous.com
XP
54
Country
Hong Kong
SanGor said:
there is a bug when installing stuff to a NAND.
ShowMiiWad doesn't use hex for the name entries in the content.map i.e.:

Strange when I tested, ShowMiiWads in fact does not update content.map at all, I installed a bunch of wad and only files/folders changed inside the ticket and title folder.

But if I used Wad Manager 1.5 to install a wad, content.map does get updated and the installation took a very long time too.
 

Leathl

Well-Known Member
OP
Member
Joined
Aug 15, 2009
Messages
239
Trophies
0
Location
Berlin
Website
Visit site
XP
90
Country
Gambia, The
SanGor said:
there is a bug when installing stuff to a NAND.
ShowMiiWad doesn't use hex for the name entries in the content.map i.e.:

CODE0000000000 30303030 30303030 F5DD17B3 200DD4D6 BE2B25B5 77C99E5F 941B7324 00000000.... ....+%.w.._..s$
000000001C 30303030 30303031 32B339CB BB507D50 2779259A 7866995D 030B1D88 000000012.9..P}P'y%.xf.]....
0000000038 30303030 30303032 5F1BB7B0 2794B14E 88B72269 A3376D23 051DAD1D 00000002_...'..N.."i.7m#....
0000000054 30303030 30303033 4FAD97FD 4A288C47 E0587F3B BD292379 F8709EB9 00000003O...J(.G.X.;.)#y.p..
0000000070 30303030 30303034 76ABFBEA CB2C4CA4 EB3F0364 13C7E001 FDAB7B26 00000004v....,L..?.d......{&
000000008C 30303030 30303035 2F28D4B6 DAEBEB15 801477C6 BEBC5F37 C0909EAE 00000005/(........w..._7....
00000000A8 30303030 30303036 260BE947 A08F57F6 EF510864 27FE222F D4040399 00000006&..G..W..Q.d'."/....
00000000C4 30303030 30303037 E78C7A45 BDE2B45B 1BA49518 83F69F84 F6BB1469 00000007..zE...[...........i
00000000E0 30303030 30303038 AD64238E D0185973 8EFB2CF0 BAB238ED 55A6D70B 00000008.d#...Ys..,...8.U...
00000000FC 30303030 30303039 3FD7D334 563A6A5F BDEAD142 18E08763 C49588E8 00000009?..4V:j_...B...c....
0000000118 30303030 30303130 6141C36F 825A6209 3B4BA28B 07054680 ECD469A7 00000010aA.o.Zb.;K....F...i.
0000000134 30303030 30303131 80D70496 E2834E11 6C15449E F1BE16DA A7CE6267 00000011......N.l.D.......bg
0000000150 30303030 30303132 6DEA00A8 1B6BC90C 8F693C95 A09341DA F23EA6DB 00000012m....k...i..

it should do 9,a,b,c instead of 9,10,11,12

You're right. Does that prevent things from running? Afaik the content name is determined by it's hash, so the Wii should get the right contents anyway, eh?

Wiiwu said:
I'm not sure if this helps, craps does list a banner sanity check features, can be found at http://code.google.com/p/crapwii/

I found a bannercheck function in Form1, however, it only checks the IMET header or rather the 'IMET' chars and the channel name. Any data within the banner could be destroyed.

Wiiwu said:
QUOTE(SanGor @ Oct 22 2009, 02:26 PM)
there is a bug when installing stuff to a NAND.
ShowMiiWad doesn't use hex for the name entries in the content.map i.e.:

Strange when I tested, ShowMiiWads in fact does not update content.map at all, I installed a bunch of wad and only files/folders changed inside the ticket and title folder.

But if I used Wad Manager 1.5 to install a wad, content.map does get updated and the installation took a very long time too.

When installing a wad to a nand backup, ShowMiiWads checks, if the shared contents exist (by hash) and if not, adds them to shared1 and updates the content.map.. For me it seems to work, are you sure there were any new shared contents in the wads you installed?
 

Wiiwu

Well-Known Member
Member
Joined
Jan 21, 2009
Messages
209
Trophies
0
Age
58
Location
Asia
Website
mmm4wii.posterous.com
XP
54
Country
Hong Kong
Leathl said:
When installing a wad to a nand backup, ShowMiiWads checks, if the shared contents exist (by hash) and if not, adds them to shared1 and updates the content.map.. For me it seems to work, are you sure there were any new shared contents in the wads you installed?

I installed around 10 wiiware wads and only changes appear in \title and \ticket, compared with a earlier snapshot with Beyond Compare (another nice tool). So it seems all these wads I installed have no shared content as no changes in \shared1 \shared2 as well as content.map.
 

Leathl

Well-Known Member
OP
Member
Joined
Aug 15, 2009
Messages
239
Trophies
0
Location
Berlin
Website
Visit site
XP
90
Country
Gambia, The
Choose an empty folder as nand backup path and install a ww/vc wad and it should created the shared1 folder including content.map and the shared contents. for me it works flawlessly
 

hany

Member
Newcomer
Joined
Aug 2, 2009
Messages
23
Trophies
0
XP
167
Country
Feature request: That it added the Title ID in the /sys/uid.sys file when you install wads to nand.

Nice app btw
 

Leathl

Well-Known Member
OP
Member
Joined
Aug 15, 2009
Messages
239
Trophies
0
Location
Berlin
Website
Visit site
XP
90
Country
Gambia, The
Slimmmmmm said:
hany said:
Feature request: That it added the Title ID in the /sys/uid.sys file when you install wads to nand.

Nice app btw

I second this too
smile.gif
If the uid.sys doesn't have the new games, then triiforce wont launch them.

people were stating that installation to nand works and noone yet said it doesn't
biggrin.gif

i'll add it to the next version though
biggrin.gif
 

Wiiwu

Well-Known Member
Member
Joined
Jan 21, 2009
Messages
209
Trophies
0
Age
58
Location
Asia
Website
mmm4wii.posterous.com
XP
54
Country
Hong Kong
Slimmmmmm said:
I second this too
smile.gif
If the uid.sys doesn't have the new games, then triiforce wont launch them.
Actually for me, uid.sys can have anything as long as its not corrupted triiforce will launch. In fact I remove uid.sys sometimes when some games don't run, and it get properly recreated afterwards automatically.

But it will be nice Leahl can add it so as to avoid future corruption by the games or triiforce.

Leahl, can you also add a option to remove selective folders as right now when I have different folders added I can't select more than one to remove, can only remove all if multiple folders selected.
 

Leathl

Well-Known Member
OP
Member
Joined
Aug 15, 2009
Messages
239
Trophies
0
Location
Berlin
Website
Visit site
XP
90
Country
Gambia, The
Just did the uid handling. It's just 12 bytes per title, won't be missed
wink.gif


@Wiiwu: Dunno, why I didn't do it
unsure.gif
Will be possible in the next release
Edit: I guess I was sleeping when I was doing this, removing one folder is even not possible, if multiple items of that folder are selected, hehe
biggrin.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: Good night