Hacking WIT: Wiimms ISO Tools / beta test

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
@giantpune:
please try these patches:

1.)
Code:
Index: src/libbz2/Makefile
===================================================================
--- src/libbz2/Makefile (revision 2154)
+++ src/libbz2/Makefile (working copy)
@@ -8,7 +8,7 @@
LDFLAGS=

BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-Wall -Winline -O2 -g $(BIGFILES) $(XFLAGS)
+CFLAGS=-Wall -Winline -O2 $(BIGFILES) $(XFLAGS)

# Where you want it installed when you do 'make install'
PREFIX=/usr/local

2.)
Code:
Index: src/libbz2/Makefile
===================================================================
--- src/libbz2/Makefile (revision 2154)
+++ src/libbz2/Makefile (working copy)
@@ -8,7 +8,7 @@
LDFLAGS=

BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-Wall -Winline -O2 -g $(BIGFILES) $(XFLAGS)
+CFLAGS=-Wall -Winline -O2 -fno-stack-protector $(BIGFILES) $(XFLAGS)

# Where you want it installed when you do 'make install'
PREFIX=/usr/local
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
here is the errors using patch 1
Code:
***ÂÂhelper gen-uiÂÂÂÂÂÂÂÂÂÂÂÂ
Undefined symbols:
ÂÂ"___strcat_chk", referenced from:
ÂÂÂÂÂÂ_bzopen_or_bzdopen in libbz2.a(bzlib.o)
ÂÂÂÂÂÂ_bzopen_or_bzdopen in libbz2.a(bzlib.o)
ÂÂ"___stack_chk_guard", referenced from:
ÂÂÂÂÂÂ___stack_chk_guard$non_lazy_ptr in libbz2.a(bzlib.o)
ÂÂÂÂÂÂ___stack_chk_guard$non_lazy_ptr in libbz2.a(compress.o)
ÂÂÂÂÂÂ___stack_chk_guard$non_lazy_ptr in libbz2.a(blocksort.o)
ÂÂÂÂ (maybe you meant: ___stack_chk_guard$non_lazy_ptr)
ÂÂ"___stack_chk_fail", referenced from:
ÂÂÂÂÂÂ_bzopen_or_bzdopen in libbz2.a(bzlib.o)
ÂÂÂÂÂÂ_BZ2_compressBlock in libbz2.a(compress.o)
ÂÂÂÂÂÂ_BZ2_blockSort in libbz2.a(blocksort.o)
ÂÂ"_fopen$UNIX2003", referenced from:
ÂÂÂÂÂÂ_bzopen_or_bzdopen in libbz2.a(bzlib.o)
ÂÂ"_fdopen$UNIX2003", referenced from:
ÂÂÂÂÂÂ_bzopen_or_bzdopen in libbz2.a(bzlib.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [gen-ui] Error 1

and heres from patch #2
Code:
***ÂÂhelper gen-uiÂÂÂÂÂÂÂÂÂÂÂÂ
Undefined symbols:
ÂÂ"___strcat_chk", referenced from:
ÂÂÂÂÂÂ_bzopen_or_bzdopen in libbz2.a(bzlib.o)
ÂÂÂÂÂÂ_bzopen_or_bzdopen in libbz2.a(bzlib.o)
ÂÂ"_fopen$UNIX2003", referenced from:
ÂÂÂÂÂÂ_bzopen_or_bzdopen in libbz2.a(bzlib.o)
ÂÂ"_fdopen$UNIX2003", referenced from:
ÂÂÂÂÂÂ_bzopen_or_bzdopen in libbz2.a(bzlib.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
Darwin Mac.local 10.0.0 Darwin Kernel Version 10.0.0: Sat Nov 21 23:51:18 EST 2009; anappirtrvh:xnu-1456.1.26/BUILD/obj/RELEASE_I386 i386
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
@giantpune:
I have edited the libbz2 sources and added "#define _GNU_SOURCE 1". The compiler flags are now similar to the main project. No problems on Darwin 9, Linux32, Linux64 and cygwin found.

I have committed these changes as beta3. Please test it.

BTW: Can anyone offer me an OS X (Darwin 10) account for testing?
This would make it much easier to solve the problem.
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
still no luck. maybe somebody else with my version of OSx can try this and see if its something wrong with my system or the way its setup.
Code:
Undefined symbols:
ÂÂ"___strcat_chk", referenced from:
ÂÂÂÂÂÂ_bzopen_or_bzdopen in bzlib.o
ÂÂÂÂÂÂ_bzopen_or_bzdopen in bzlib.o
ÂÂ"___stack_chk_guard", referenced from:
ÂÂÂÂÂÂ___stack_chk_guard$non_lazy_ptr in blocksort.o
ÂÂÂÂÂÂ___stack_chk_guard$non_lazy_ptr in bzlib.o
ÂÂÂÂÂÂ___stack_chk_guard$non_lazy_ptr in compress.o
ÂÂÂÂ (maybe you meant: ___stack_chk_guard$non_lazy_ptr)
ÂÂ"___stack_chk_fail", referenced from:
ÂÂÂÂÂÂ_BZ2_blockSort in blocksort.o
ÂÂÂÂÂÂ_bzopen_or_bzdopen in bzlib.o
ÂÂÂÂÂÂ_BZ2_compressBlock in compress.o
ÂÂ"_fopen$UNIX2003", referenced from:
ÂÂÂÂÂÂ_bzopen_or_bzdopen in bzlib.o
ÂÂ"_fdopen$UNIX2003", referenced from:
ÂÂÂÂÂÂ_bzopen_or_bzdopen in bzlib.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [gen-ui] Error 1
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
I have committed beta5 for a next try:
libbz2 is not longer handled as lib and is now part of the main projects. It is compiled and linked with the same flags as all other objects.
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
success. it builds and at least runs enough to start up and show the help screen. i havent processed any games with it, though.
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
I can live with this solution. Thanx for support
wink.gif
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
Long time ago WiiPower wrotes:

<!--quoteo(post=3081465:date=Aug 30 2010, 03:04 PM:name=WiiPower)--><div class='quotetop'>QUOTE(WiiPower @ Aug 30 2010, 03:04 PM) <a href="index.php?act=findpost&pid=3081465"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Wiimm, how much work would it be for you to write a "Wii Release Checker"?

Did you see thoese threads about Metroid Other M freezing? It looks like it's because of a broken release. Would you be interested in writing an app that tells:
- if a .iso is scrubbed or not
- checks the hashes of the .iso? (i guess the hashes for the scrubbed area don't match, but the rest just HAS to)
- tells if the update partition is missing

If you do that, it might be the 1st thing people do on new releases to immediately to post: "The release is incomplete, it's scrubbed", "The release is incomplete, there's no update partition" or "The release is broken, some parts(in the not scrubbed area) do not match the hashes, this WILL result in some kind of error in the game"<!--QuoteEnd--></div><!--QuoteEEnd-->

I have remembered that and changed the output step by step. First the DUMP command prints multiple info:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--># wit dump pool/wdf/mkw.wdf

Dump of file pool/wdf/mkw.wdf

ÂÂReal path:ÂÂÂÂÂÂÂÂ ..../mkw.wdf
ÂÂVirtual size:ÂÂÂÂÂÂ118240000/hex = 4699979776 = 4482 MiB
ÂÂScrubbed size:ÂÂÂÂÂÂb20c0000/hex = 2987130880 = 2849 MiB, 63.6%
ÂÂWDF file size:ÂÂÂÂÂÂb2e054a0/hex = 3001046176 = 2862 MiB, 63.9%, 100.5%
ÂÂFile & disc type:ÂÂWDF/WIIÂÂ&ÂÂWii
ÂÂDisc & part IDs:ÂÂ disc=RMCP01, ticket=RMCP, tmd=RMCP, boot=RMCP01
ÂÂDisc name:ÂÂÂÂÂÂÂÂ MarioKartWii
ÂÂDB title:ÂÂÂÂÂÂÂÂÂÂMario Kart Wii
ÂÂID Region:ÂÂÂÂÂÂÂÂ PAL [PAL ]
ÂÂRegion setting:ÂÂÂÂ2 [Europe] / 80 80 80 00ÂÂ03 03 04 03
ÂÂSystem version:ÂÂÂÂ00000001-00000024 = IOS 0x24 = IOS 36
ÂÂPartitions:ÂÂÂÂÂÂÂÂÂÂÂÂ 3 (at least one is scrubbed)
ÂÂDirectories:ÂÂÂÂÂÂÂÂÂÂ 77
ÂÂFiles:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2100
ÂÂUsed ISO blocks:ÂÂÂÂ91160 * 32 KiB = 2849 MiB

ÂÂ1 partition table with 3 partitions:

ÂÂÂÂindexÂÂÂÂÂÂtypeÂÂÂÂoffset ..ÂÂ end offÂÂ size/hex =ÂÂ size/dec =ÂÂMiBÂÂstatus
ÂÂÂÂ----------------------------------------------------------------------------------------
ÂÂÂÂ 0ÂÂÂÂ part.tabÂÂÂÂ 40020 ..ÂÂÂÂ 40038ÂÂÂÂÂÂÂÂ 18 =ÂÂÂÂÂÂÂÂ 24ÂÂÂÂÂÂÂÂ 3 partitions
ÂÂÂÂ----------------------------------------------------------------------------------------
ÂÂÂÂ 0.0ÂÂ UPDATE 1ÂÂÂÂ 50000 ..ÂÂ aea8000ÂÂÂÂae58000 =ÂÂ182812672 =ÂÂ174ÂÂenc,signed
ÂÂÂÂ 0.1ÂÂÂÂ DATA 0ÂÂ f800000 .. 1155c8000ÂÂ105dc8000 = 4393304064 = 4190ÂÂenc,signed,scrub
ÂÂÂÂ 0.2ÂÂCHANNEL 2 1155d0000 .. 1173f0000ÂÂÂÂ1e20000 =ÂÂ 31588352 =ÂÂ 30ÂÂenc,signed
ÂÂÂÂ----------------------------------------------------------------------------------------<!--c2--></div><!--ec2-->

Adding -l (or --long) up to 3 times will increase the verbosity (Example for -ll)
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--># wit dump pool/wdf/mkw.wdf -ll

Dump of file pool/wdf/mkw.wdf

ÂÂReal path:ÂÂÂÂÂÂÂÂ ..../mkw.wdf
ÂÂVirtual size:ÂÂÂÂÂÂ118240000/hex = 4699979776 = 4482 MiB
ÂÂScrubbed size:ÂÂÂÂÂÂb20c0000/hex = 2987130880 = 2849 MiB, 63.6%
ÂÂWDF file size:ÂÂÂÂÂÂb2e054a0/hex = 3001046176 = 2862 MiB, 63.9%, 100.5%
ÂÂFile & disc type:ÂÂWDF/WIIÂÂ&ÂÂWii
ÂÂDisc & part IDs:ÂÂ disc=RMCP01, ticket=RMCP, tmd=RMCP, boot=RMCP01
ÂÂDisc name:ÂÂÂÂÂÂÂÂ MarioKartWii
ÂÂDB title:ÂÂÂÂÂÂÂÂÂÂMario Kart Wii
ÂÂID Region:ÂÂÂÂÂÂÂÂ PAL [PAL ]
ÂÂRegion setting:ÂÂÂÂ2 [Europe] / 80 80 80 00ÂÂ03 03 04 03
ÂÂSystem version:ÂÂÂÂ00000001-00000024 = IOS 0x24 = IOS 36
ÂÂPartitions:ÂÂÂÂÂÂÂÂÂÂÂÂ 3 (at least one is scrubbed)
ÂÂDirectories:ÂÂÂÂÂÂÂÂÂÂ 77
ÂÂFiles:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 2100
ÂÂUsed ISO blocks:ÂÂÂÂ91160 * 32 KiB = 2849 MiB

ÂÂ1 partition table with 3 partitions:

ÂÂÂÂindexÂÂÂÂÂÂtypeÂÂÂÂoffset ..ÂÂ end offÂÂ size/hex =ÂÂ size/dec =ÂÂMiBÂÂstatus
ÂÂÂÂ----------------------------------------------------------------------------------------
ÂÂÂÂ 0ÂÂÂÂ part.tabÂÂÂÂ 40020 ..ÂÂÂÂ 40038ÂÂÂÂÂÂÂÂ 18 =ÂÂÂÂÂÂÂÂ 24ÂÂÂÂÂÂÂÂ 3 partitions
ÂÂÂÂ----------------------------------------------------------------------------------------
ÂÂÂÂ 0.0ÂÂ UPDATE 1ÂÂÂÂ 50000 ..ÂÂ aea8000ÂÂÂÂae58000 =ÂÂ182812672 =ÂÂ174ÂÂenc,signed
ÂÂÂÂ 0.1ÂÂÂÂ DATA 0ÂÂ f800000 .. 1155c8000ÂÂ105dc8000 = 4393304064 = 4190ÂÂenc,signed,scrub
ÂÂÂÂ 0.2ÂÂCHANNEL 2 1155d0000 .. 1173f0000ÂÂÂÂ1e20000 =ÂÂ 31588352 =ÂÂ 30ÂÂenc,signed
ÂÂÂÂ----------------------------------------------------------------------------------------

ÂÂPartition table #0, partition #0, type 1 [UPDATE]:
ÂÂÂÂTICKET & TMD are well signed. Partition is encrypted.
ÂÂÂÂPartition key:ÂÂÂÂb05c8a5d 90fe8508 40a73097 f014ab3e
ÂÂÂÂPartition IDs:ÂÂÂÂticket=.UPP, tmd=.UPP, boot=RELSAB
ÂÂÂÂboot.bin, title:ÂÂSample Game Name
ÂÂÂÂDirectories:ÂÂÂÂÂÂÂÂ 5
ÂÂÂÂFiles:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ42
ÂÂÂÂÂÂTIK:ÂÂÂÂÂÂÂÂÂÂ0 ..ÂÂÂÂÂÂ 2c0 ->ÂÂÂÂ 50000 ..ÂÂÂÂ 502c0, size:ÂÂÂÂÂÂ 2c0/hex =ÂÂÂÂÂÂÂÂ704
ÂÂÂÂÂÂTMD:ÂÂÂÂÂÂÂÂ2c0 ..ÂÂÂÂÂÂ 4c8 ->ÂÂÂÂ 502c0 ..ÂÂÂÂ 504c8, size:ÂÂÂÂÂÂ 208/hex =ÂÂÂÂÂÂÂÂ520
ÂÂÂÂÂÂCERT:ÂÂÂÂÂÂ 4e0 ..ÂÂÂÂÂÂ ee0 ->ÂÂÂÂ 504e0 ..ÂÂÂÂ 50ee0, size:ÂÂÂÂÂÂ a00/hex =ÂÂÂÂÂÂ 2560
ÂÂÂÂÂÂH3:ÂÂÂÂÂÂÂÂ8000 ..ÂÂÂÂ 20000 ->ÂÂÂÂ 58000 ..ÂÂÂÂ 70000, size:ÂÂÂÂ 18000/hex =ÂÂÂÂÂÂ98304
ÂÂÂÂÂÂData:ÂÂÂÂ 20000 ..ÂÂ ae58000 ->ÂÂÂÂ 70000 ..ÂÂ aea8000, size:ÂÂ ae38000/hex =ÂÂ182681600
ÂÂÂÂCertificate #0, size=0x400=1024
ÂÂÂÂÂÂIssuer & Key ID:ÂÂ Root-CA00000001
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10000/hex =ÂÂÂÂÂÂ65536ÂÂ[RSA-4096, size=512, OK]
ÂÂÂÂÂÂPublic key type:ÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1ÂÂ[RSA-2048, size=256]
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ 6f47c85c b1aaee83 b11d733f 19fe6c7e 8e2fe450
ÂÂÂÂCertificate #1, size=0x300=768
ÂÂÂÂÂÂIssuer & Key ID:ÂÂ Root-CA00000001-CP00000004
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10001/hex =ÂÂÂÂÂÂ65537ÂÂ[RSA-2048, size=256, OK]
ÂÂÂÂÂÂPublic key type:ÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1ÂÂ[RSA-2048, size=256]
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ 8d4ffff1 baf5f007 b8b4bdf9 03b500ad e5e820fc
ÂÂÂÂCertificate #2, size=0x300=768
ÂÂÂÂÂÂIssuer & Key ID:ÂÂ Root-CA00000001-XS00000003
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10001/hex =ÂÂÂÂÂÂ65537ÂÂ[RSA-2048, size=256, OK]
ÂÂÂÂÂÂPublic key type:ÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1ÂÂ[RSA-2048, size=256]
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ d70aa054 90af793e 4910af47 9a760fd2 75f5ad12
ÂÂÂÂTicket:
ÂÂÂÂÂÂIssuer:ÂÂÂÂÂÂÂÂÂÂÂÂRoot-CA00000001-XS00000003
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10001/hex =ÂÂÂÂÂÂ65537ÂÂ[RSA-2048, size=256, OK]
ÂÂÂÂÂÂN(DLC):ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂCommon key index:ÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂ = 'standard'
ÂÂÂÂÂÂTime limit:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0 [disabled]
ÂÂÂÂÂÂTitle key:ÂÂÂÂÂÂÂÂ 49f99285 d639e270 743e278f 38f5c334
ÂÂÂÂÂÂ Decrypted key:ÂÂÂÂb05c8a5d 90fe8508 40a73097 f014ab3e
ÂÂÂÂÂÂTicket ID:ÂÂÂÂÂÂÂÂ 0001de61 b60770fc = '...a..p.'
ÂÂÂÂÂÂConsole ID:ÂÂÂÂÂÂÂÂ00000000ÂÂÂÂÂÂÂÂÂÂ= '....'
ÂÂÂÂÂÂTitle ID:ÂÂÂÂÂÂÂÂÂÂ00010000 00555050 = '.....UPP'
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ 0bdc81c7 4f81666a ca771be4 57ecfcb4 0f2502fd
ÂÂÂÂTMD:
ÂÂÂÂÂÂIssuer:ÂÂÂÂÂÂÂÂÂÂÂÂRoot-CA00000001-CP00000004
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10001/hex =ÂÂÂÂÂÂ65537ÂÂ[RSA-2048, size=256, OK]
ÂÂÂÂÂÂVersion:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0
ÂÂÂÂÂÂCA version:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂSigner version:ÂÂÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂSystem version:ÂÂÂÂ00000001 00000004 = IOS 0x04 = IOS 4
ÂÂÂÂÂÂTitle ID:ÂÂÂÂÂÂÂÂÂÂ00010000 00555050 = '.....UPP'
ÂÂÂÂÂÂTitle type:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1
ÂÂÂÂÂÂGroup ID:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 3/hex =ÂÂÂÂÂÂÂÂÂÂ3
ÂÂÂÂÂÂAccess rights:ÂÂÂÂÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂTitle version:ÂÂÂÂÂÂÂÂÂÂÂÂa/hex =ÂÂÂÂÂÂÂÂ 10
ÂÂÂÂÂÂBoot index:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂN(content):ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1
ÂÂÂÂÂÂContent #0, ID:ÂÂÂÂÂÂÂÂÂÂ 6/hex =ÂÂÂÂÂÂÂÂÂÂ6
ÂÂÂÂÂÂContent #0, index:ÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂContent #0, type:ÂÂÂÂÂÂÂÂ 3/hex =ÂÂÂÂÂÂÂÂÂÂ3
ÂÂÂÂÂÂContent #0, size:ÂÂ a8c0000/hex =ÂÂ176947200
ÂÂÂÂÂÂContent #0, hash:ÂÂe469ef3a 333af725 0132fc7f 382eff16 63602e5c
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ 153279f0 7fa96a35 2c05b531 45aaf5e7 987664fe

ÂÂPartition table #0, partition #1, type 0 [DATA]:
ÂÂÂÂTICKET & TMD are well signed. Partition is encrypted and scrubbed.
ÂÂÂÂPartition key:ÂÂÂÂ659e1ecf 11b4990d 2fed7c2b 81ffa1c9
ÂÂÂÂPartition IDs:ÂÂÂÂticket=RMCP, tmd=RMCP, boot=RMCP01
ÂÂÂÂboot.bin, title:ÂÂMarioKartWii
ÂÂÂÂDirectories:ÂÂÂÂÂÂÂÂ67
ÂÂÂÂFiles:ÂÂÂÂÂÂÂÂÂÂÂÂ2044
ÂÂÂÂÂÂTIK:ÂÂÂÂÂÂÂÂÂÂ0 ..ÂÂÂÂÂÂ 2c0 ->ÂÂ f800000 ..ÂÂ f8002c0, size:ÂÂÂÂÂÂ 2c0/hex =ÂÂÂÂÂÂÂÂ704
ÂÂÂÂÂÂTMD:ÂÂÂÂÂÂÂÂ2c0 ..ÂÂÂÂÂÂ 4c8 ->ÂÂ f8002c0 ..ÂÂ f8004c8, size:ÂÂÂÂÂÂ 208/hex =ÂÂÂÂÂÂÂÂ520
ÂÂÂÂÂÂCERT:ÂÂÂÂÂÂ 4e0 ..ÂÂÂÂÂÂ ee0 ->ÂÂ f8004e0 ..ÂÂ f800ee0, size:ÂÂÂÂÂÂ a00/hex =ÂÂÂÂÂÂ 2560
ÂÂÂÂÂÂH3:ÂÂÂÂÂÂÂÂ8000 ..ÂÂÂÂ 20000 ->ÂÂ f808000 ..ÂÂ f820000, size:ÂÂÂÂ 18000/hex =ÂÂÂÂÂÂ98304
ÂÂÂÂÂÂData:ÂÂÂÂ 20000 .. 105dc8000 ->ÂÂ f820000 .. 1155c8000, size: 105da8000/hex = 4393172992
ÂÂÂÂCertificate #0, size=0x400=1024
ÂÂÂÂÂÂIssuer & Key ID:ÂÂ Root-CA00000001
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10000/hex =ÂÂÂÂÂÂ65536ÂÂ[RSA-4096, size=512, OK]
ÂÂÂÂÂÂPublic key type:ÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1ÂÂ[RSA-2048, size=256]
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ 6f47c85c b1aaee83 b11d733f 19fe6c7e 8e2fe450
ÂÂÂÂCertificate #1, size=0x300=768
ÂÂÂÂÂÂIssuer & Key ID:ÂÂ Root-CA00000001-CP00000004
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10001/hex =ÂÂÂÂÂÂ65537ÂÂ[RSA-2048, size=256, OK]
ÂÂÂÂÂÂPublic key type:ÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1ÂÂ[RSA-2048, size=256]
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ 8d4ffff1 baf5f007 b8b4bdf9 03b500ad e5e820fc
ÂÂÂÂCertificate #2, size=0x300=768
ÂÂÂÂÂÂIssuer & Key ID:ÂÂ Root-CA00000001-XS00000003
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10001/hex =ÂÂÂÂÂÂ65537ÂÂ[RSA-2048, size=256, OK]
ÂÂÂÂÂÂPublic key type:ÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1ÂÂ[RSA-2048, size=256]
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ d70aa054 90af793e 4910af47 9a760fd2 75f5ad12
ÂÂÂÂTicket:
ÂÂÂÂÂÂIssuer:ÂÂÂÂÂÂÂÂÂÂÂÂRoot-CA00000001-XS00000003
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10001/hex =ÂÂÂÂÂÂ65537ÂÂ[RSA-2048, size=256, OK]
ÂÂÂÂÂÂN(DLC):ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂCommon key index:ÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂ = 'standard'
ÂÂÂÂÂÂTime limit:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0 [disabled]
ÂÂÂÂÂÂTitle key:ÂÂÂÂÂÂÂÂ c3cd92bf 0774ef75 04eb70b0 071809b7
ÂÂÂÂÂÂ Decrypted key:ÂÂÂÂ659e1ecf 11b4990d 2fed7c2b 81ffa1c9
ÂÂÂÂÂÂTicket ID:ÂÂÂÂÂÂÂÂ 000174d4 ec73d2f6 = '..t..s..'
ÂÂÂÂÂÂConsole ID:ÂÂÂÂÂÂÂÂ00000000ÂÂÂÂÂÂÂÂÂÂ= '....'
ÂÂÂÂÂÂTitle ID:ÂÂÂÂÂÂÂÂÂÂ00010004 524d4350 = '....RMCP'
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ e25ddd2b c07c9eef cb12d023 7f9a14a5 3269ae99
ÂÂÂÂTMD:
ÂÂÂÂÂÂIssuer:ÂÂÂÂÂÂÂÂÂÂÂÂRoot-CA00000001-CP00000004
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10001/hex =ÂÂÂÂÂÂ65537ÂÂ[RSA-2048, size=256, OK]
ÂÂÂÂÂÂVersion:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0
ÂÂÂÂÂÂCA version:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂSigner version:ÂÂÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂSystem version:ÂÂÂÂ00000001 00000024 = IOS 0x24 = IOS 36
ÂÂÂÂÂÂTitle ID:ÂÂÂÂÂÂÂÂÂÂ00010004 524d4350 = '....RMCP'
ÂÂÂÂÂÂTitle type:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1
ÂÂÂÂÂÂGroup ID:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ3031/hex =ÂÂÂÂÂÂ12337
ÂÂÂÂÂÂAccess rights:ÂÂÂÂÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂTitle version:ÂÂÂÂÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂBoot index:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂN(content):ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1
ÂÂÂÂÂÂContent #0, ID:ÂÂÂÂÂÂÂÂÂÂ 0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂContent #0, index:ÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂContent #0, type:ÂÂÂÂÂÂÂÂ 3/hex =ÂÂÂÂÂÂÂÂÂÂ3
ÂÂÂÂÂÂContent #0, size:ÂÂfdab8000/hex = 4255875072
ÂÂÂÂÂÂContent #0, hash:ÂÂb07b8ca0 1214b2ae 39813ddd 5448e974 1b3f8a7d
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ 864036cc 194c5a29 a6f73893 5d309e97 07ab74c0

ÂÂPartition table #0, partition #2, type 2 [CHANNEL]:
ÂÂÂÂTICKET & TMD are well signed. Partition is encrypted.
ÂÂÂÂPartition key:ÂÂÂÂb4397f79 02a653c8 714aecb4 c93d6c6d
ÂÂÂÂPartition IDs:ÂÂÂÂticket=.INS, tmd=.INS, boot=_INSZZ
ÂÂÂÂboot.bin, title:ÂÂInstaller Partition
ÂÂÂÂDirectories:ÂÂÂÂÂÂÂÂ 5
ÂÂÂÂFiles:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ14
ÂÂÂÂÂÂTIK:ÂÂÂÂÂÂÂÂÂÂ0 ..ÂÂÂÂÂÂ 2c0 -> 1155d0000 .. 1155d02c0, size:ÂÂÂÂÂÂ 2c0/hex =ÂÂÂÂÂÂÂÂ704
ÂÂÂÂÂÂTMD:ÂÂÂÂÂÂÂÂ2c0 ..ÂÂÂÂÂÂ 4c8 -> 1155d02c0 .. 1155d04c8, size:ÂÂÂÂÂÂ 208/hex =ÂÂÂÂÂÂÂÂ520
ÂÂÂÂÂÂCERT:ÂÂÂÂÂÂ 4e0 ..ÂÂÂÂÂÂ ee0 -> 1155d04e0 .. 1155d0ee0, size:ÂÂÂÂÂÂ a00/hex =ÂÂÂÂÂÂ 2560
ÂÂÂÂÂÂH3:ÂÂÂÂÂÂÂÂ8000 ..ÂÂÂÂ 20000 -> 1155d8000 .. 1155f0000, size:ÂÂÂÂ 18000/hex =ÂÂÂÂÂÂ98304
ÂÂÂÂÂÂData:ÂÂÂÂ 20000 ..ÂÂ 1e20000 -> 1155f0000 .. 1173f0000, size:ÂÂ 1e00000/hex =ÂÂ 31457280
ÂÂÂÂCertificate #0, size=0x400=1024
ÂÂÂÂÂÂIssuer & Key ID:ÂÂ Root-CA00000001
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10000/hex =ÂÂÂÂÂÂ65536ÂÂ[RSA-4096, size=512, OK]
ÂÂÂÂÂÂPublic key type:ÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1ÂÂ[RSA-2048, size=256]
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ 6f47c85c b1aaee83 b11d733f 19fe6c7e 8e2fe450
ÂÂÂÂCertificate #1, size=0x300=768
ÂÂÂÂÂÂIssuer & Key ID:ÂÂ Root-CA00000001-CP00000004
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10001/hex =ÂÂÂÂÂÂ65537ÂÂ[RSA-2048, size=256, OK]
ÂÂÂÂÂÂPublic key type:ÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1ÂÂ[RSA-2048, size=256]
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ 8d4ffff1 baf5f007 b8b4bdf9 03b500ad e5e820fc
ÂÂÂÂCertificate #2, size=0x300=768
ÂÂÂÂÂÂIssuer & Key ID:ÂÂ Root-CA00000001-XS00000003
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10001/hex =ÂÂÂÂÂÂ65537ÂÂ[RSA-2048, size=256, OK]
ÂÂÂÂÂÂPublic key type:ÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1ÂÂ[RSA-2048, size=256]
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ d70aa054 90af793e 4910af47 9a760fd2 75f5ad12
ÂÂÂÂTicket:
ÂÂÂÂÂÂIssuer:ÂÂÂÂÂÂÂÂÂÂÂÂRoot-CA00000001-XS00000003
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10001/hex =ÂÂÂÂÂÂ65537ÂÂ[RSA-2048, size=256, OK]
ÂÂÂÂÂÂN(DLC):ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂCommon key index:ÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂ = 'standard'
ÂÂÂÂÂÂTime limit:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0 [disabled]
ÂÂÂÂÂÂTitle key:ÂÂÂÂÂÂÂÂ da023daf 2ba0ae12 2c0098dc 54cd612d
ÂÂÂÂÂÂ Decrypted key:ÂÂÂÂb4397f79 02a653c8 714aecb4 c93d6c6d
ÂÂÂÂÂÂTicket ID:ÂÂÂÂÂÂÂÂ 00017666 2c3838ec = '..vf,88.'
ÂÂÂÂÂÂConsole ID:ÂÂÂÂÂÂÂÂ00000000ÂÂÂÂÂÂÂÂÂÂ= '....'
ÂÂÂÂÂÂTitle ID:ÂÂÂÂÂÂÂÂÂÂ00010000 00494e53 = '.....INS'
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ 5908a246 6755331b d9a26db9 46d85bc1 8a5625b6
ÂÂÂÂTMD:
ÂÂÂÂÂÂIssuer:ÂÂÂÂÂÂÂÂÂÂÂÂRoot-CA00000001-CP00000004
ÂÂÂÂÂÂSignature type:ÂÂÂÂÂÂÂÂ10001/hex =ÂÂÂÂÂÂ65537ÂÂ[RSA-2048, size=256, OK]
ÂÂÂÂÂÂVersion:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0
ÂÂÂÂÂÂCA version:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂSigner version:ÂÂÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂSystem version:ÂÂÂÂ00000001 00000021 = IOS 0x21 = IOS 33
ÂÂÂÂÂÂTitle ID:ÂÂÂÂÂÂÂÂÂÂ00010000 00494e53 = '.....INS'
ÂÂÂÂÂÂTitle type:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1
ÂÂÂÂÂÂGroup ID:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ3031/hex =ÂÂÂÂÂÂ12337
ÂÂÂÂÂÂAccess rights:ÂÂÂÂÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂTitle version:ÂÂÂÂÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂBoot index:ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂN(content):ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 1/hex =ÂÂÂÂÂÂÂÂÂÂ1
ÂÂÂÂÂÂContent #0, ID:ÂÂÂÂÂÂÂÂÂÂ 0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂContent #0, index:ÂÂÂÂÂÂÂÂ0/hex =ÂÂÂÂÂÂÂÂÂÂ0
ÂÂÂÂÂÂContent #0, type:ÂÂÂÂÂÂÂÂ 3/hex =ÂÂÂÂÂÂÂÂÂÂ3
ÂÂÂÂÂÂContent #0, size:ÂÂ 1d10000/hex =ÂÂ 30474240
ÂÂÂÂÂÂContent #0, hash:ÂÂa028d072 92be91c8 0b508ac3 825aa132 d98dda10
ÂÂÂÂÂÂRelevant SHA1:ÂÂÂÂ 2e274726 77d7a6bd 191ad974 f257f936 4b51d867


ÂÂSector Usage Map:

ÂÂÂÂÂÂÂÂÂÂÂÂ0: *.......**AAAAaa aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa
ÂÂÂÂÂÂ 200000: aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa *ÂÂ 86
ÂÂÂÂÂÂae00000: aaaaaaaaaaaaaaaa aaaa............ ................ ................
ÂÂÂÂÂÂb000000: ................ ................ ................ ................ *ÂÂ 36
ÂÂÂÂÂÂf800000: BBBBbbbbbbbbbbbb bbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbb
ÂÂÂÂÂÂfa00000: bbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbb bbbbbb.......... ................
ÂÂÂÂÂÂfc00000: ................ ................ ................ ................ *ÂÂ772
ÂÂÂÂ 70400000: ................ ........bbbbbbbb bbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbb
ÂÂÂÂ 70600000: bbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbb * 1319
ÂÂÂÂ115400000: bbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbb bbbbbbbbb.CCCCcc
ÂÂÂÂ115600000: cccccccccccccccc cccccccccccccccc cccccccccccccccc cccccccccccccccc *ÂÂ 14
ÂÂÂÂ117200000: cccccccccccccccc cccccccccccccccc cccccccccccccccc cccccccccccccc..
ÂÂÂÂ117400000: ................ ................ ................ ................ *ÂÂÂÂ7
ÂÂÂÂ118200000: ........


ÂÂISO Memory Map:

ÂÂÂÂÂÂÂÂÂÂunused :ÂÂoff(beg) ..ÂÂoff(end) :ÂÂÂÂÂÂsize : info
ÂÂÂÂ----------------------------------------------------------------------------------------
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂÂÂÂÂÂÂ 0 ..ÂÂÂÂÂÂ 100 :ÂÂÂÂÂÂ 100 : Header, magic=5d-1c-9e-a3, id=RMCP01
ÂÂÂÂÂÂÂÂÂÂ 3ff00 :ÂÂÂÂ 40000 ..ÂÂÂÂ 40020 :ÂÂÂÂÂÂÂÂ20 : Partition address table, N=3+0+0+0
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂÂÂ 40020 ..ÂÂÂÂ 40038 :ÂÂÂÂÂÂÂÂ18 : Partition table #0 with 3 partitions
ÂÂÂÂÂÂÂÂÂÂÂÂdfc8 :ÂÂÂÂ 4e000 ..ÂÂÂÂ 4e020 :ÂÂÂÂÂÂÂÂ20 : Region settings, region=2
ÂÂÂÂÂÂÂÂÂÂÂÂ1fdc :ÂÂÂÂ 4fffc ..ÂÂÂÂ 50000 :ÂÂÂÂÂÂÂÂ 4 : Magic2: c3-f8-1a-8e
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂÂÂ 50000 ..ÂÂÂÂ 502c0 :ÂÂÂÂÂÂ 2c0 : P.0.0 UPDATE: ticket, id=.UPP
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂÂÂ 502c0 ..ÂÂÂÂ 504c8 :ÂÂÂÂÂÂ 208 : P.0.0 UPDATE: tmd, ios=4, id=.UPP
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ18 :ÂÂÂÂ 504e0 ..ÂÂÂÂ 50ee0 :ÂÂÂÂÂÂ a00 : P.0.0 UPDATE: cert
ÂÂÂÂÂÂÂÂÂÂÂÂ7120 :ÂÂÂÂ 58000 ..ÂÂÂÂ 70000 :ÂÂÂÂ 18000 : P.0.0 UPDATE: h3
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂÂÂ 70000 ..ÂÂ aea0000 :ÂÂ ae30000 : P.0.0 UPDATE: data+fst, N(fst)=32
ÂÂÂÂÂÂÂÂ 4960000 :ÂÂ f800000 ..ÂÂ f8002c0 :ÂÂÂÂÂÂ 2c0 : P.0.1 DATA: ticket, id=RMCP
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂ f8002c0 ..ÂÂ f8004c8 :ÂÂÂÂÂÂ 208 : P.0.1 DATA: tmd, ios=36, id=RMCP
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ18 :ÂÂ f8004e0 ..ÂÂ f800ee0 :ÂÂÂÂÂÂ a00 : P.0.1 DATA: cert
ÂÂÂÂÂÂÂÂÂÂÂÂ7120 :ÂÂ f808000 ..ÂÂ f820000 :ÂÂÂÂ 18000 : P.0.1 DATA: h3
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ :ÂÂ f820000 ..ÂÂ fb30000 :ÂÂÂÂ310000 : P.0.1 DATA: data+fst, N(fst)=2096
ÂÂÂÂÂÂÂÂ60990000 :ÂÂ704c0000 .. 1155c8000 :ÂÂa5108000 : P.0.1 DATA: data+fst
ÂÂÂÂÂÂÂÂÂÂÂÂ8000 : 1155d0000 .. 1155d02c0 :ÂÂÂÂÂÂ 2c0 : P.0.2 CHANNEL: ticket, id=.INS
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ : 1155d02c0 .. 1155d04c8 :ÂÂÂÂÂÂ 208 : P.0.2 CHANNEL: tmd, ios=33, id=.INS
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ18 : 1155d04e0 .. 1155d0ee0 :ÂÂÂÂÂÂ a00 : P.0.2 CHANNEL: cert
ÂÂÂÂÂÂÂÂÂÂÂÂ7120 : 1155d8000 .. 1155f0000 :ÂÂÂÂ 18000 : P.0.2 CHANNEL: h3
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ : 1155f0000 .. 1173f0000 :ÂÂ 1e00000 : P.0.2 CHANNEL: data+fst, N(fst)=4
ÂÂÂÂÂÂÂÂÂÂe50000 : 118240000 .. 118240000 :ÂÂÂÂÂÂÂÂ 0 : -- End of file/disc --<!--c2--></div><!--ec2-->

Checksums can be checked with the old VERIFY command (I plan to change the layout):
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--># wit verify pool/wdf/mkw.wdf -v

wit: Wiimms ISO Tool v1.26a.beta5 r2198 x86_64 - Dirk Clemens - 2011-01-21

>scanÂÂ .0ÂÂUPDATEÂÂRMCP01 pool/wdf/mkw.wdf
>infoÂÂÂÂÂÂÂÂÂÂÂÂÂÂ TICKET & TMD are well signed. Partition is encrypted.
+OKÂÂÂÂ .0ÂÂUPDATEÂÂRMCP01 pool/wdf/mkw.wdf
>scanÂÂ .1ÂÂDATAÂÂÂÂRMCP01 pool/wdf/mkw.wdf
>infoÂÂÂÂÂÂÂÂÂÂÂÂÂÂ TICKET & TMD are well signed. Partition is encrypted and scrubbed.
+OKÂÂÂÂ .1ÂÂDATAÂÂÂÂRMCP01 pool/wdf/mkw.wdf
>scanÂÂ .2ÂÂCHANNEL RMCP01 pool/wdf/mkw.wdf
>infoÂÂÂÂÂÂÂÂÂÂÂÂÂÂ TICKET & TMD are well signed. Partition is encrypted.
+OKÂÂÂÂ .2ÂÂCHANNEL RMCP01 pool/wdf/mkw.wdf<!--c2--></div><!--ec2-->


I will release a beta at this weekend.
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
wiimms-tools.png


WIT: Wiimms ISO Tools v1.26a.beta6 - 2011-01-24
Beta test version, for EXPERIMENTAL use only.

WIT (Wiimms ISO Tools) is a set of command line tools to manipulate Wii ISO images and WBFS containers. The two main tools are called wit (Wiimms ISO Tool) and wwt (Wiimms WBFS Tool, the WBFS manager).

For productive versions see the main WIT thread or visit http://wit.wiimm.de/.

Download this EXPERIMENTAL release:

Change log:


Code:
wit v1.26a.beta6 r2209 - 2011-01-24

- Bug fix for "wwt EXTRACT --test": If extracting to an already existing file
ÂÂ the old file was removed.
- Bug fix for "wdf +PACK": wrong data written if packing a raw file.
- I have made some changes in the make system to support GCC option -static
ÂÂ and cross compiling (Linux/i386 on Linux/x86_64).
- Linux/i386: Because of the static linking I can use the latest version of
ÂÂ the Linux GLIBC with preallocation support. Copying file is now fast again.
- BZIP2 support is now included as source and should work for all systems.
ÂÂ This enables WIA/bzip2 support for Mac/x86_64.
- "wit COPY/CONVERT/EXTRACT/EDIT/MOVE/DIFF" and "wwt ADD/EXTRACT/REMOVE"
ÂÂ support now the option --sections.
- "wwt add": New user interface implemented: In a first fast loop the jobs are
ÂÂ counted with respect to the options like --update and --newer (ignore skiped
ÂÂ files). In a second loop the jobs are executed with correct job counters.
- wit DUMP: Scrubbing status of disc and partitions are printed. Example:
ÂÂÂÂÂÂ"TICKET & TMD are well signed. Partition is encrypted and scrubbed."
- "wit EXTARCT" failed if the disc title could not found in the title db.


Known bugs:

- The GameCube support is in development and EXPERIMENTAL!
ÂÂÂÂ- GameCube conversion to WIA fails.
- There are new problems while reading from non seekable sources (e.g. pipes).
ÂÂ The reason is the complete new and more intelligent wiidisc lib which makes
ÂÂ more lookups ==> The best is to use version 1.01c for pipes.

The source is published under the license of GPL2. Checkout the sources directly from the SVN repository or browse the source. These URLs are different from the product version. Visit http://wit.wiimm.de/ for more information.
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
Soft and hard links are a concept of unix:
- http://en.wikipedia.org/wiki/Hard_link
- http://en.wikipedia.org/wiki/Soft_link
NTFS supports also hard links.

If --links is entered, my tools tries to find soft and hard links and create hard links on the destination.

Unix expample:
Code:
# remove nneded temp objects first
rm -rf temp.wdf tempdisc/ tempdisc2/

# unpack any disc into tempdisc to create a template
# but don't exctract the real files
wit extract wdf/wch.wdf --psel data tempdisc/ --files :nofiles

# create real files directory and cd to it
mkdir tempdisc/files
cd tempdisc/files

# create a file
echo "Hello Wiimm" > file.txt

# create soft and hard link
ln -s file.txt soft.txt
ln file.txt hard.txt

# list files
ls -l
| total 16
| drwxr-xr-x 2 user user 4096 2011-01-31 08:59 .
| drwxr-xr-x 5 user user 4096 2011-01-31 08:57 ..
| -rw-r--r-- 2 user userÂÂ 12 2011-01-31 08:59 file.txt
| -rw-r--r-- 2 user userÂÂ 12 2011-01-31 08:59 hard.txt
| lrwxrwxrwx 1 user userÂÂÂÂ8 2011-01-31 08:59 soft.txt -> file.txt
| ^ÂÂÂÂÂÂÂÂÂÂ^ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ^^
| |ÂÂÂÂÂÂÂÂÂÂhard link countÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂsoft link to ....
| soft link hint

# go back
cd ../../

# show files of virtually composes disc without --links
wit files tempdisc/ -ll --file :files
| offsetÂÂsize size
|ÂÂÂÂhexÂÂ hexÂÂdecÂÂpath + file
| -----------------------------------
|ÂÂÂÂÂÂ-ÂÂÂÂ - N=3ÂÂ ./files/
| 2d5080+ÂÂÂÂcÂÂ 12ÂÂ./files/file.txt
| 2d508c+ÂÂÂÂcÂÂ 12ÂÂ./files/hard.txt
| 2d5098+ÂÂÂÂcÂÂ 12ÂÂ./files/soft.txt
# All 3 files have their own disc storage

# show files of virtually composes disc with --links
wit files tempdisc/ -ll --file :files --links
| 
| offsetÂÂsize size
|ÂÂÂÂhexÂÂ hexÂÂdecÂÂpath + file
| -----------------------------------
|ÂÂÂÂÂÂ-ÂÂÂÂ - N=3ÂÂ ./files/
| 2d5080+ÂÂÂÂcÂÂ 12ÂÂ./files/file.txt
| 2d5080+ÂÂÂÂcÂÂ 12ÂÂ./files/hard.txt
| 2d5080+ÂÂÂÂcÂÂ 12ÂÂ./files/soft.txt
# All 3 files share the same disc storage

# now we create a disc and extract it again, both with --links
wit copy --links tempdisc/ temp.wdf
wit extract --links temp.wdf tempdisc2

# now let us view the extrated files:
ls -l tempdisc2/files/
| 
| total 20
| drwxr-xr-x 2 root root 4096 2011-01-31 09:06 .
| drwxr-xr-x 5 root root 4096 2011-01-31 09:06 ..
| -rw-r--r-- 3 root rootÂÂ 12 2011-01-31 09:06 file.txt
| -rw-r--r-- 3 root rootÂÂ 12 2011-01-31 09:06 hard.txt
| -rw-r--r-- 3 root rootÂÂ 12 2011-01-31 09:06 soft.txt
|ÂÂÂÂÂÂÂÂÂÂÂÂ^
|ÂÂÂÂÂÂÂÂÂÂÂÂhard link count
# we see: all 3 files are hard linked!

# clean
rm -rf temp.wdf tempdisc/ tempdisc2/
I use it to minimize the size of my own MKW custom discs.
 

scooby74029

wanttabe dev
Member
Joined
May 7, 2010
Messages
1,357
Trophies
1
Age
48
Location
oklahoma, USA
Website
www.wiithemer.org
XP
1,356
Country
United States
@wiimm

i am trying to make a wii iso from a FST directory. i have read the composing section of your site but i still can not get it to make an iso

my FST directory is:
C:\R27E54\disc\header.bin and region.bin
C:\R27E54\ticket.bin and tmd.bin and cert.bin
C:\R27E54\files\all data files
C:\R27E54\sys\all sys files


i am using wit like this

wit convert C:\R27E54\disc -v -I

and i get a ton of errors

would you please help me to understand how to make this work?

thanks scooby74029
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: https://www.youtube.com/shorts/5uh_m4VgTY4