prevnext   » WIT: Wiimms ISO Tools » wwt: Wiimms WBFS Tool » wwt edit

wwt edit

Low level edit of slot and block assignments. Dangerous! Read the documentation!

Contents

1.   Syntax

wwt EDIT [JOB]...

JOB      := REMOVE | ACTIVATE | INVALID | FREE | USE | ID6
REMOVE   := RM=a,b-c,...
ACTIVATE := ACT=a,b-c,...
INVALID  := INV=a,b-c,...
FREE     := FREE=a,b-c,...
USE      := USE=a,b-c,...
ID6      := ID6=a:b,c-d:e,...

2.   Options

Options
Option Param Description
-a --auto Search for WBFS partitions using '/proc/partitions' or searching hard disks in '/dev/'.
-p --part part Define a primary WBFS file or partition. Multiple usage possible.
-t --test Force test mode and ignore --force.
-f --force This option is needed for leaving test mode and for formatting!

3.   Description

 EDIT is a dangerous command. It let you (de-)activate the disc slots and
 edit the block assignments. Exact 1 WBFS must be specified. All parameters
 are sub commands. Modifications are only done if option --force is set.

     **********************************************************
     *****  WARNING: This command can damage your WBFS!!  *****
     **********************************************************

 Each parameter is one sub command. The case of commands is ignored. After
 editing a check of the WBFS is made and a status printed if errors found.
 The general subcommand syntax is:

    subcommand=parameter[,parameter]...

 List of subcommands:

   RM=a,b-c,...
   R=a,b-c,...
      Remove disc in slot 'a' or the slot range 'b-c' from wbfs. The slot is
      only marked as free, no blocks are freed. EDIT does not allow undefined
      slot numbers. The indices are null based.

   ACT=a,b-c,...
   A=a,b-c,...
      Activate disc in slot 'a' or the slot range 'b-c' from wbfs. The slot
      is only marked as activated without any tests. EDIT does not allow
      undefined slot numbers. The indices are null based.

   INV=a,b-c,...
   I=a,b-c,...
      Like 'ACT' but the slot is additionally marked as invalid.

   FREE=a,b-c,...
   F=a,b-c,...
      Modify the free blocks table and mark the single block 'a' or the range
      of blocks 'b-c' as free.  EDIT does not allow undefined block numbers.

   USE=a,b-c,...
   U=a,b-c,...
      Modify the free blocks table and mark the single block 'a' or the range
      of blocks 'b-c' as used. EDIT does not allow undefined block numbers.

   ID6=a:b,c-d:e,...
      For the game with ID6:
	 Set ISO block 'a' to WBFS block 'b' or set ISO blocks 'c-d' to WBFS
	 blocks 'e...'. If 'e' is zero then set ISO blocks 'c-d' to zero
	 (=unused). EDIT does not allow undefined block numbers.

 Note: The block size for all sub commands is always the WBFS block size,
       but never the ISO block size.