Hacking WIT: Wiimms ISO Tools / beta test

  • Thread starter Thread starter Wiimm
  • Start date Start date
  • Views Views 44,298
  • Replies Replies 223
Pls see below test result I used v1.14a beta 3 did.
Seems the merged ISO size is still 8.2GB .

Code:
D:\Wii\WiiGF>wit mix mario.iso ignore "@mkw.txt" indiana.iso --dest output.iso --overlay --test
*****ÂÂwit: Wiimms ISO Tool v1.14a.beta3 r1493 cygwin - Dirk Clemens - 2010-08-07ÂÂ*****

[b]Mix table (5 partitons, total size=8411 MiB):[/b]

ÂÂÂÂblocks #1ÂÂÂÂÂÂblocks #2ÂÂ:ÂÂÂÂÂÂdisc offsetÂÂÂÂ : ptabÂÂptype : ignore + source
ÂÂ----------------------------------------------------------------------------------
ÂÂ c4a1.. c4aeÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ:ÂÂ62508000.. 62570000 : 0ÂÂUPDATE 1 : + mario.iso

ÂÂÂÂÂÂa.. c4a1 +ÂÂc49e..20bf5 :ÂÂÂÂ 50000..105fa8000 : 0ÂÂÂÂDATA 0 : + mario.iso

ÂÂ c4ae.. c4e7ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ:ÂÂ62570000.. 62738000 : 0 CHANNEL 2 : + mario.iso

ÂÂ c4e7.. da53ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ:ÂÂ62738000.. 6d298000 : 0ÂÂUPDATE 1 : - indiana.iso

ÂÂ20bf5..20ca1 + 3201a..41b6d : 105fa8000..20db68000 : 0ÂÂÂÂDATA 0 : - indiana.iso
 
I deleted the update and installer partition of Mario Kart ISO and did it again.

But the result is the same. (8.2GB) Seems the ignore is still not working ? !
Code:
D:\Wii\WiiGF>wit mix mario.iso ignore "@mkw.txt" indiana.iso select DATA as chanÂÂ--dest output.iso --overlay --test
*****ÂÂwit: Wiimms ISO Tool v1.14a.beta3 r1493 cygwin - Dirk Clemens - 2010-08-07ÂÂ*****

[b]Mix table (3 partitons, total size=8411 MiB):[/b]

ÂÂÂÂblocks #1ÂÂÂÂÂÂblocks #2ÂÂ:ÂÂÂÂÂÂdisc offsetÂÂÂÂ : ptabÂÂptype : ignore + source
ÂÂ----------------------------------------------------------------------------------
ÂÂÂÂÂÂa.. c4a1 +ÂÂc49e..20bf5 :ÂÂÂÂ 50000..105fa8000 : 0ÂÂÂÂDATA 0 : + mario.iso

ÂÂ c4a1.. da0dÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ:ÂÂ62508000.. 6d068000 : 0 CHANNEL 2 : - indiana.iso

ÂÂ20bf5..20ca1 + 3201a..41b6d : 105fa8000..20db68000 : 0 CHANNEL 2 : - indiana.iso
 
The largest hole in mario is to small for the data section of indiana. And then overlaying is not possible.

And please post such tables embedded in [code ] ...[/code] -> it's easier to read
 
Wiimm said:
The largest hole in mario is to small for the data section of indiana. And then overlaying is not possible.

And please post such tables embedded in [code ] ...[/code] -> it's easier to read

Thanks for the advise. I have revised those tables with "
Code:
" .

BTW, I also found the v1.14a beta3 won't delete update partition automatically. (the previous version did)
 
I'm working and testing in this moment (first time deep testing).
I have already found 2 bugs: The new partition fails for wit MIX (wrong default and more, fixed). And when working with ignore there is a bug in the calculation of the largest hole.
 
WIT: Wiimms ISO Tools v1.14a - 2010-08-08
Beta test version, for EXPERIMENTAL use only.

Today in the (european) morning I have time to verify my code. I have found 2 bugs and committed a bug fix release in the beta branch. Binaries are not available.

The next step is a better algorithm to overlay 2 partitions with multiple holes.

Change log:


Code:
wit v1.14a.beta4 r1498 - 2010-08-08ÂÂ(repository only)

- Bug fix for "wit mix .. select": Default was to select all partitions.
ÂÂ Now the default is to select only DATA partition of partition table #0.
- Bug fix for "wit MIX": The calculation of the largest hole was wrong.
- wit MIX: Before creating the image a additional verify function is called.
ÂÂ This function controls that no sector is used by more than one partition.
ÂÂ In test mode or with verbose level >= 3 a usage map is printed too.

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.
 
Hopefully I can test v1.14a beta 4 tomorrow. (my time: UTC+8)

Although the modchip 4.3J Wii can be solved by Wii Fit+Let's tap+Lego Indy
(with wit v1.14a beta 1 or 2) , I still would like to test/verify Mario Kart+Lego Indy
with a new version wit.(reduce the merged ISO file size)
 
WIT: Wiimms ISO Tools v1.14a-beta5 - 2010-08-08
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:Highlights of this release:
  • wit MIX --overlay image.iso ignore ruleset ....:
    This command will mix partitions and overlay the data to save disc space. The rulset defines files which are not needed. This enlarge the holes and makes overlay more efficient. See http://wit.wiimm.de/wit/cmd-mix.html for more details.
    .
  • The are two different overlay algorithm:
    • The first works only if 2 partitons should be mixed. It tries every possible shift to find the best overlay. All holes in both partitions are relevant.
    • The second algorithm can handle any number of partitions. It works only with 2 blocks and one hole (the largest found).
  • wit MIX: Before creating the image a additional verify function is called. This function controls that no sector is used by more than one partition. With verbose level >= 3 a usage map is printed too.
    .
  • There are 3 new (patching) option: --rm-files, --zero-files and --ignore-files.
    Option --ignore-files works like the "wit mix" modifier ignore. Read this and try the command "wit dump image1 --show usage --ignore-files ruleset" to view the effect of ignored files.
    .
  • Since beta3 I have fixed 2 bugs (see changelog).
    .
Please report positive and negative tests!



Change log:


Code:
wit v1.14a.beta3 r1493 - 2010-08-07

- Some modification for expanding '@file' parameters: wit MIX needs control.
- Bug fix: "wit MIX ... ignore @file" works now.
- Option --psel redesigned: it is now possible to allow or deny any partiton
ÂÂ by partiton type, partiton table and/or by partiton index. Only with the
ÂÂ unambiguous partiton index it is possible to select the one wanted DATA
ÂÂ partition if multiple exists.

wit v1.14a.beta5 r1501 - 2010-08-08

- Bug fix for "wit mix .. select": Default was to select all partitons.
ÂÂ Now the default is to select only DATA partition of partition table #0.
- Bug fix for "wit MIX": The calculation of the largest hole was wrong.
- wit MIX: A new algorithm for 2 partitions: It tries every possible shift to
ÂÂ find the best overlay. All holes in both partitions are relevant.
- wit MIX: Before creating the image a additional verify function is called.
ÂÂ This function controls that no sector is used by more than one partition.
ÂÂ With verbose level >= 3 a usage map is printed too.

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 , the new version looks great (see below).

I will burn a DL disc later today to test. (6372MB is no problem for a DL disc)

Code:
D:\Wii\WiiGF>wit mix mario.iso ignore "@mkw.txt" indiana.iso select DATA as chan --dest outimage.iso --overlay --test
*****ÂÂwit: Wiimms ISO Tool v1.14a.beta5 r1501 cygwin - Dirk Clemens - 2010-08-08ÂÂ*****

Mix table (2 partitons, total size=6372 MiB):

ÂÂn(blks) :ÂÂÂÂÂÂdisc offsetÂÂÂÂ : ptabÂÂptype : ignore + source
ÂÂ--------------------------------------------------------------
ÂÂÂÂÂÂ 14 :ÂÂÂÂ 50000..105fa8000 : 0ÂÂÂÂDATA 0 : + mario.iso
ÂÂÂÂÂÂÂÂ2 :ÂÂ86928000..18e4e8000 : 0 CHANNEL 2 : - indiana.iso


WOULD create [WIT000] ISO:outimage.iso
ÂÂ(WIT mix of RMCJ01 + RLIE64)
 
airline38 said:
@Wiimm , the new version looks great (see below).

I will burn a DL disc later today to test. (6372MB is no problem for a DL disc)

Code:
D:\Wii\WiiGF>wit mix mario.iso ignore "@mkw.txt" indiana.iso select DATA as chan --dest outimage.iso --overlay --test
*****ÂÂwit: Wiimms ISO Tool v1.14a.beta5 r1501 cygwin - Dirk Clemens - 2010-08-08ÂÂ*****

Mix table (2 partitons, total size=6372 MiB):

ÂÂn(blks) :ÂÂÂÂÂÂdisc offsetÂÂÂÂ : ptabÂÂptype : ignore + source
ÂÂ--------------------------------------------------------------
ÂÂÂÂÂÂ 14 :ÂÂÂÂ 50000..105fa8000 : 0ÂÂÂÂDATA 0 : + mario.iso
ÂÂÂÂÂÂÂÂ2 :ÂÂ86928000..18e4e8000 : 0 CHANNEL 2 : - indiana.iso


WOULD create [WIT000] ISO:outimage.iso
ÂÂ(WIT mix of RMCJ01 + RLIE64)


I burned this, popped it in my Wii and I got a 001 error.... WDF!! *facepalm*

Edit2: ????? I put a SL DVD in the Wii with ONLY 70% of the iso... and MKWii runs perfectly... I put in a DL DVD with 100% and I get the 001 error... Is my DL Memorex DVD screwing me over???
 
using r1501 im getting this while using "MIX ... --ignore @blablabla"
Code:
!! wit: ERROR #28 [SEMANTIC ERROR] in VerifySpecificOptions() @ ./src/ui/ui.c#111
!!ÂÂÂÂÂÂCommand 'MIX' don't allow the option --ignore (-i).
 
giantpune said:
using r1501 im getting this while using "MIX ... --ignore @blablabla"
Code:
!! wit: ERROR #28 [SEMANTIC ERROR] in VerifySpecificOptions() @ ./src/ui/ui.c#111
!!ÂÂÂÂÂÂCommand 'MIX' don't allow the option --ignore (-i).

U have to use "ignore" instead of "--ignore" for "mix" command.

EX: win mix XXXX.iso ignore "@filename" ......................

The '--ignore' qualifier is available for wit dump .

EX: wit dump XXXX.iso --ignore-files "@filename" ...............
 
giantpune said:
using r1501 im getting this while using "MIX ... --ignore @blablabla"
Code:
!! wit: ERROR #28 [SEMANTIC ERROR] in VerifySpecificOptions() @ ./src/ui/ui.c#111
!!ÂÂÂÂÂÂCommand 'MIX' don't allow the option --ignore (-i).
Because options are handled globally I have established qualifiers (without leading "--") related to the current image.
Use "wit MIX ... ignore @blablabla"
 
Impressive! Saved more memory Wiimm!

Code:
C:\Users\iDarkTrace>wit mix MKWii.iso ignore "@mkw.txt" IndyLego.iso select DATA
as chan --dest outimage.iso --overlay --test
*****ÂÂwit: Wiimms ISO Tool v1.14a r1506 cygwin - Dirk Clemens - 2010-08-09ÂÂ***
**
!! wit: ERROR #13 [INVALID WII DISC] in wd_check_part_offset() @ src/libwbfs/wii
disc.c#1282
!!ÂÂÂÂÂÂPartition 2 [CHANNEL]: Offset of data (51575fffc) behind end of file
!!ÂÂÂÂÂÂ(118240000): MKWii.iso

Mix table (2 partitons, multiple hole overlay, total size=6292 MiB):

ÂÂn(blks) :ÂÂÂÂÂÂdisc offsetÂÂÂÂ : ptabÂÂptype : ignore + source
ÂÂ--------------------------------------------------------------
ÂÂÂÂÂÂ 13 :ÂÂÂÂ 50000..105fa8000 : 0ÂÂÂÂDATA 0 : + MKWii.iso
ÂÂÂÂÂÂÂÂ2 :ÂÂ81988000..189548000 : 0 CHANNEL 2 : - IndyLego.iso


WOULD create [WIT000] ISO:outimage.iso
ÂÂ(WIT mix of RMCJ01 + RLIE64)

This tool never ceases to amaze me. HOWEVER... I'm not gonna burn it yet. Gonna wait a while.
 
WIT: Wiimms ISO Tools v1.15a.beta - 2010-08-10
Beta test version, for EXPERIMENTAL use only.


I have commited a new version to the beta branch.
Binaries are not available.


Change log:


Code:
wit v1.15a.beta r1511 - 2010-08-10

- New "wit MIX" qualifer: HEADER: Copy the disc header (first 256 bytes of
ÂÂ disc) of the related source image to the destination image. Patching with
ÂÂ the options --id and --name is possible.
- New "wit MIX" qualifer: REGION: Copy the region infor (32 Bytes at offset
ÂÂ 0xc4e000) of the related source image to the destination image. Patching
ÂÂ with the option --region is possible.
- Bug fix: "wit mix --name discname" didn't work.

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 , does wit support Korea ISO file ? Some people told me they can't use wit to merge
Wit Fit (Korea version) ISO with other Korea ISO file because there is a special key (Korea key)
requirement.

Will you consider to have "wit" to cover Korea ISO file ? People are working to use Korea Wii Fit
+ Lego Indiana to hack 4.3K modchip Wii.
 
airline38 said:
@Wiimm , does wit support Korea ISO file ? Some people told me they can't use wit to merge
Wit Fit (Korea version) ISO with other Korea ISO file because there is a special key (Korea key)
requirement.
I don't know; you're the first who asked me.
I remember that I have sometimes read something about a Korean common key ... is this the only difference?
 
Wiimm said:
airline38 said:
@Wiimm , does wit support Korea ISO file ? Some people told me they can't use wit to merge
Wit Fit (Korea version) ISO with other Korea ISO file because there is a special key (Korea key)
requirement.
I don't know; you're the first who asked me.
I remember that I have sometimes read something about a Korean common key ... is this the only difference?

Actually I have never used a Korea Wii ,either . This was someone (from China) requested me to ask your help .
(as I said he is trying to hack 4.3K modchip Wii)

According to what he told me, in order to use Wii scrubber to load/open a Korea ISO , it's necessary to have the kkey.bin
file. He can't use wit to merge Korea ISO files. That's all the information I got from him. Maybe I should ask him to
provide the error message of wit mix.

I should have that information tomorrow.
 
WIT: Wiimms ISO Tools v1.15a.beta2 - 2010-08-12
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.15a.beta r1511 - 2010-08-10

- New "wit MIX" qualifer: HEADER: Copy the disc header (first 256 bytes of
ÂÂ disc) of the related source image to the destination image. Patching with
ÂÂ the options --id and --name is possible.
- New "wit MIX" qualifer: REGION: Copy the region infor (32 Bytes at offset
ÂÂ 0x4e000) of the related source image to the destination image. Patching
ÂÂ with the option --region is possible.
- Bug fix: "wit mix --name discname" didn't work.

wit v1.15a.beta2 r1534 - 2010-08-12

- Writing a WBFS file is now part of the file layer and libwbfs is only used
ÂÂ as helper. Now every command, and also "wit MIX", is able to write to a
ÂÂ WBFS file like to any other formats.
- "INSTALLER" is now an alternative name for the "UPDATE" partition, like
ÂÂ "GAME" for "DATA" since the epoch.
- To manage allowed and permitted options, 64 bit integer numbers had been
ÂÂ used. Now arrays will be used, because wwt have already reached the limit
ÂÂ of 64 command specific options. Hope that all works like before.

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.
 

Site & Scene News

Popular threads in this forum