Copyright: Made with Shalom Help Maker www.danish-shareware.dk/soft/shelpm/


Contents

General

Introduction

Version History

Future additions

Commands

Select Drive

Utilities

Options

Override Application Mode

Settings

Format Drive

Copy Drive

Selected Image Copy

Full Drive Copy

Add Image(s)

Edit Image Settings

Extract Image(s)

Remove Image(s)

Apply PPF Patch

Print Image List

Error Messages

Select Drive Unrecoverable Errors

Select Drive Correctable Errors

Image List Status Errors

Miscellaneous

FAQ

Support

Credits


Introduction

WinHIIP is a PC application for installing PS2 CD / DVD images onto a hard disk drive for use by HDLoader or one of its many derivatives including the greatly enhanced Toxic OS produced for the DMS4 Pro chip by Team Toxic.

The primary reason for creating the application was to speed up the process of installing images onto the hard drive as installing these from the console could take up to 30 minutes where as on the PC this can be done in a couple of minutes. The hard disk drive currently has to be physically connected to your PC for the software to work. The speed is dependant on your connection method & windows configuration, it can be as slow as 1Mb/s using USB1, 12Mb/s using USB2 and up to 40Mb/s using IDE.

NOTE
WinHIIP is compatible with Windows 98,ME,2000 & XP.
Although 98 & ME support has some limitations due to the restrictions on direct hard drive access.


Version History

Version 1.7.6

Added support for Toxic OS V0.41 compatibility mode 4.
Bug Corrections:
Corrupted partition links when adding images that filled the lower 128Gb of a Toxic OS Extended APA drive.
Repairing Toxic OS Extended APA format drives when the lower 128Gb was completey full.
Repairing a drive with a Toxic OS ELF partition would erase the partition.

Version 1.7.5

Corrected a bug with repairing Toxic format drives, many thanks to Nekon for finding the fault so quickly!

Version 1.7.4

Finally finished the Scan/Repair function which also incorporates an undo feature in case of bad results.

Implemented a change in the partition code which allows it to accept unused holes in the drive structure. This has been the biggest cause of incompatabilities when swapping between WinHIIP & HDL Dump.

Added an Option to allow editing of the extended compatability modes used by the patched HDLoader.

Stopped commas from being entered as display names for images.

Corrected a bug that kept a file lock on the most recently installed image file.

Changed the way the image selection checkboxes were handled as they were invisible with some 3rd party windows addons.

Reinstated Windows 98/ME support with some enhancements to the way it works.

Forced the Utilities functions to de-select the current drive in order to flush the buffered data.

Version 1.7.3

Corrected several bugs that stopped the majority of "ppf" patch files from being accepted as valid.

Corrected a bug that stopped drives over 256Gb working with Toxic's Extended APA partitions.

Cured a problem with multipart image files introduced with the last version.

Extended the number of scanned drives to 16 for anybody with more drives than sense.

Improved the Read / Write Drive Structure functions to aid in remotely repairing drives.

Moved lots of functions around and added a Utilities button, from which you can select the new Drive Scan & Repair function, although you can only Scan at the moment, the Repair will follow as soon as I can finish it.

Version 1.7.2

Reverted Add CD / DVD volume size detection as people were having problems with some discs. It had only been changed to try and add DVD-9 support, which failed anyway.

Re-extended the Image Modes display to display all 32 possible bits although only the first 3 can be edited within WinHIIP the remaining bits will be preserved as long as the Image Settings are not edited. These extra modes can be used by crazyc's latest HDLoader patch.

Version 1.7.1

Corrected a mistake that meant any drives formatted with Quick Erase Mode might not be formatted correctly. Basically if you formatted this way and your drive is accepted by the PS2 as formatted then you don't have a problem.

Added two functions to Program Options to be used for problem solving of peoples hard drives.

Version 1.7

Full Toxic OS standard & extended (V0.3) operation modes.

Support for installing DVD-9 (Dual Layer) image files supported by Toxic OS V0.3. These can be produced by DVD Decrypter.

Selective copying of images between hard drives.

Prompted regeneration of PS2 Master Boot Record if your PC blanks it when starting up windows.

Image file extraction will now limit / split files to 3.999Gb for FAT file systems.

Improved Partition code for images over 4Gb if using Toxic OS.

The Select Drive list now indicates drives with PC Master Boot Records to stop confusion.

Support for CrazyC's experimental DVD-9 (Dual Layer) HDLoader patch.


Future additions

WinHIIP is still very much a work in progress there are lots of ideas for added functionality that will hopefully get added sometime in the future, sanity permitting.

Here are a few of them :-

Explorer for PS2 file system allowing files to be directly copied into PS2 partitions.
Database of display name / modes / patches based on the boot file.
RAR / ZIP support for image install.
Networking, although too slow for my tastes.


Select Drive

This will show a list of attached hard drives, if a drive has a PS2 MBR sector on it a "(PS2)" will inserted next to the drive number otherwise if the drive has a valid PC MBR sector on it, it will display a "(PC)".

When you select a drive it will be scanned and the image list will be filled in if it is a PS2 formatted drive and there are images on it.

If a drive is PS2 formatted but does not contain an "HDL Settings" partition and the Application Mode is not set to Toxic OS you will be prompted to create one.

If the drive is not PS2 formatted an error will be generated and the image list will stay disabled, but the Format Drive button will be enabled to allow you to erase & format the drive for use by WinHIIP.

Note
The image list will hide standard PS2 partitions, only displaying those that contain CD / DVD images.


Utilities

Scan / Repair PS2 Drive
You will be prompted to select a drive from the popup list. This function will display a window that on the left displays a "tree view" of all the PS2 partitions on your drive and on the right displays a graphical block map of the layout.

The left hand "tree view" can be changed between:
"Logical"	- Partition / sub partition order,
"Physical"	- Actual sector order,
"Alpha"	- Alphabetical partition order,
"Date"	- Chronological order (oldest to newest).

On the right hand display each block represents 128Mb of drive space, the smallest PS2 partition size.
You can click the left mouse button on either side of the display and the related information on the other side will be updated.
Beside each partition in the left hand display are 2 icons, the left icon shows whether the partition is correctly linked or not and the right one shows if the partition has any errors.

Restore PS2 Drive Structure
This will look for a file called "WinHIIP.WDS" in the application folder which is automatically created whenever a drive is scanned & repaired. The size of the file is checked and any attached drives that match in size will be listed. A warning message is then displayed requiring you to confirm that you wish to restore the drive structure to the state it was in before the Repair was carried out.


Options

This command allows you to change WinHIIP's configuration options:

Override Application Mode

Settings

Enable Patched HDL's Extended Compatability Modes
When the drive is set to HDLoader mode this option will enable the extended compatability modes that have been added to the patched HDLoader.


Override Application Mode

This mode flag should be set to the match the version of PS2 hard drive software that you use.
It can be set to one of either:

28bit HDLoader	Standard HDLoader or HDAdvance
48bit HDLoader	48bit patched HDLoader or HDAdvance 2.0
Toxic OS	DMS4 Pro Toxic OS both Standard & Extended (V0.3)

When the Select Drive command is used WinHIIP automatically attempts to auto detect which software has been using the hard drive.

If the drive is being used with any version of HDLoader and the last sector used is less than the 28bit lba limit, the mode will be set to 28bit lba. So In this instance, if you are using a 48bit patched HDLoader, you would change the option here after selecting the drive but before adding more images.

For Toxic OS the detection of Standard or Extended partition mode is automatic. At the moment there is no way to add the Extended mode to a drive that has been formatted as Standard.


Settings

Reduce Fragmentation
This option changes the way partitions are created on the PS2 hard drive, it will use the space very efficiently and so not create the gaps between partitions that have been present before. The only time a gap may be left is when a large partition is made (>4Gb) on a HDLoader formatted drive. This is because of the limitation of the partition offsets stored in the HDLoader Settings partition. It will however use the gaps up when the next image is installed if possible.

Debug File Generation
When left enabled and Select Drive is used to scan a hard drive a selection of files will be made in the same directory as the software. These files can aid me in the pursuit of problems / bugs experienced by people using the software.

Log File Generation
This option when left enabled will create a log file in the same directory as WinHIIP with a '.log' file extension. It is basically a log of any actions performed on the hard drive along with more detailed information on the partitions used when allocating / deleting partitions. It is mainly useful as an aid in debugging when someone has had a problem.


Format Drive

This will erase the hard drive and create the default partition structure on the currently selected drive.

The Erase Mode has three options:
Quick	Erases just the required sectors to blank the partitions & image header sectors.
Partial	Erases the first 4Mb of each possible partition / image header block.
Full	Erases every sector of the drive.

The Application setting has three options:
HDLoader 28bit	Standard HDLoader or HDAdvance
HDLoader 48bit	48bit patched HDLoader or HDAdvance 2.0
Toxic OS	DMS4 Pro Standard & Extended (V0.3)

Both of the HDLoader options will change the partition sizes to their defaults.

The Toxic OS mode will change all the default partition sizes to 0Mb and enable the Toxic OS Mode options which allow you to select Standard or Extended partitioning mode.

The editable partition name field allows you to create one extra partition for your own use with other software.

Any partition sizes set to 0Mb will not be created.

Note
When formatting a drive for HDLoader it is quite acceptable to reduce all the partition sizes to 0Mb, except the "__mbr" & "HDLoader Settings" partitions, as these are not required for HDLoader to work correctly.


Copy Drive

This command allows you to copy either a complete hard drive or just selected images to another hard drive. When selected a popup menu appears with the following options:

Selected Image Copy

Full Drive Copy


Selected Image Copy

This will allow you to copy the currently selected images to another drive.

When selected it will display a list of drives from which you must pick a destination drive to copy your currently selected images to. Once you have selected a drive, a window will be displayed which will show just the selected images. You must press the [START] button to begin the transfer.

Note
The destination drive must already be PS2 formatted or an error message will be displayed.


Full Drive Copy

This will allow you to copy one complete PS2 Format drive to another. Everything is copied from sector 0 up to the last used sector on the hard drive.

When selected it will display a list of drives from which you must pick a destination drive to copy your currently selected drive too.

Note
DO NOT USE THIS OPTION TO COPY IMAGES TO YOUR PC FORMATTED DRIVE. You should use the Extract Images option to make ISO's on your PC formatted drives.


Add Image(s)

This will display a popup menu that allows you to choose either image files or a CD / DVD drive to install from.

Selecting Image File(s) will display a list box to which you can add one or more image file(s)s to be installed.

Use the [Add Images] button to bring up a requestor for selecting one or more files. When you have finished selecting images, use the [START] button to begin the transfer.

If you have only selected one image then an Edit Settings requestor will appear allowing you to select the settings for that image otherwise the images will be installed using their filenames as a default for the displayed name. You can then use the Edit Settings option to change their names and options if required after the images have all been installed.

If there is a non crticial error during the install process it will change the status of that image but automatically continue with the next image in the list.

Selecting CD/DVD Drive x: will examine the disc in the drive and display an Edit Settings requestor. After this has been accepted the selected CD / DVD will be installed to the hard drive.

Note
Currently DVD-9 (Dual Layer) DVD's cannot be installed directly, you have to make an ISO image file first using DVD Decrypter, and then install the file.


Edit Image Settings

This option is available when one or more images are selected in the image list or from adding a single image or CD / DVD.

It allows you to change the Menu Name, Compatibility Modes, Boot File name and Media Type for the selected image.

When multiple images have been selected it will be displayed repeatedly for each selected image.


Extract Image(s)

This option is available when one or more images are selected in the image list.

When selected, a Folder requestor is displayed, allowing you to select the destination folder for the images to be extracted too.

Note
The images are extracted as 'iso' files and they will be split into 3.999Gb chunks if a FAT file system is found. In this instance a dummy 'MDS' file will also be created so as to allow WinHIIP to reinstall the image when required. This 'MDS' file is not a valid DVD Decrypter file and therefore will be of no use if used with that product.


Remove Image(s)

This option is available when one or more images are selected in the image list.

This will prompt you for confirmation to delete the selected images from the drive. The program will not only erase the partition header sectors but also the image header sectors thereby stopping any program incorrectly locating a deleted image.


Apply PPF Patch

This option is only available when a single image is selected.

Once selected you will be shown a requestor to select the appropriate 'ppf' file containing the patches. If the image is already patched and the 'ppf' contains the undo data, you will be prompted to confirm you wish to un-patch the image. If the 'ppf' does not contain undo data you will be asked if you wish to update the 'ppf' file with the undo data before the patches are applied.

Note
If the image is already patched and the 'ppf' file does not contain undo data you will not be able to un-patch the image.


Print Image List

This will print a formatted copy of all the data in the installed Image List to a windows printer.

If you would like to have this as an ASCII text file you can install the Generic / Text Only windows printer.


Select Drive Unrecoverable Errors

Partition Header Size
This means that a partition has it's size set to something other than a power of 2 which is not valid on a PS2 hard drive i.e. 128Mb, 256Mb, 512Mb, 1Gb, 2Gb, 4Gb, 8Gb, 16Gb or 32Gb are the only valid sizes.

Partition Alignment
This means that a partition is not aligned on a correct boundary for its size i.e. a 512Mb partition must only be allocated in a position divisible by 512Mb e.g. 1024Mb is ok but 1280Mb is not.

Partition Collision
This means that one image has sub partitions allocated to it that are also listed as belonging to another image. One or both images are corrupt.

Partition Order
This means that a partition or sub partition is listing the next partition as being allocated nearer the start of the drive. This is not valid for a PS2 hard drive.

Note
If any of these errors are encountered you should use the Scan / Repair utility function to correct the drive structure errors.


Select Drive Correctable Errors

Corrupt or Blank MBR
The PS2 "__mbr" partition is missing from sector 0. This is usually caused by the windows OS or anti-virus programs modifying the first sector of the drive. WinHIIP can usually correct this automatically.

Checksum
This means that an application has not calculated the correct partition header checksum or that the partition header has been modified since the checksum was last calculated. It is usually not serious but may be an indication that your drive has been corrupted by Windows software.

Previous Partition
This means the link in the partition header pointing to the previous partition is corrupt.

Wrong Start
This means the partition header has its own position incorrectly stored.

Partition Inside
This means a sub partitions header indicates it is a main partition.

Subpart Number Mismatch
This means a sub partitions header indicates an incorrect sub partition sequence number.

Subpart Size Mismatch
This means a sub partitions header indicates an incorrect sub partition size.

Empty Partition Alignment
This seems to be a common one as other application seem to collate adjacent empty space into one partition whereas WinHIIP keeps the space as separate partitions of the legal sizes. e.g. a drive has a partition at sector $bc0000 size $340000, WinHIIP wants $bc0000 ($40000), $c00000 ($200000) and $e00000 ($100000).

Empty Header Size
This means that empty partition space has its size set to something other than a power of 2 which is not valid on a PS2 hard drive i.e. 128Mb, 256Mb, 512Mb, 1Gb, 2Gb, 4Gb, 8Gb, 16Gb or 32Gb are the only valid sizes.

Note
The "Corrupt or Blank MBR" & "Checksum" errors can be corrected when selecting the drive but all the rest require you to use the Scan / Repair utility function to correct them.


Image List Status Errors

The following errors can be reported in the status column. If you see any of them, it is recommended that you don't perform any operations on the drive but instead use the Scan / Repair function first to correct the faults.

Bad.HdrNS
The HDL image header lists less than 1 or more than 65 sub partitions.

Bad.NPart
The HDL settings file indicates a different number of sub partitions than the image partition.

Bad.Partn
The main image partition cannot be found.

Bad.HdrID
The HDL image header ident in the main image partition is not 0xDEADFEED.


FAQ

Q.	When I select a drive it says I have partition errors?
A.	This has usually been caused by failed FTP sessions or image installs over a network cable using other software. Often the partition list and image header are not cleaned up properly after this kind of failure. This can then cause problems in the future, particularly with 2 images trying to occupy the same space.

Q.	WinHHIP says I have partition errors but I can see all my images in HDLoader and they all play fine!
A.	If WinHIIP says there is a problem then there usually is one! Unless you have played every part of your installed images, you can not be certain that parts of them are not corrupted. Several of these errors are not serious and can easily be corrected by WinHIIP, but some can cause images to removed from the drive. There is an explanation of all these errors in this help file.

Q.	WinHIIP is unreliable and gives me drive read / write errors!
A.	This can be caused by several things.
1) Make sure the drive is connected securely i.e. no loose / broken cables or hard drive pins.
2) If the drive is over 128Gb you need to make sure that your version of windows is setup for 48bit lba.
3) Make sure no other software is accessing the drive e.g. virus checkers or drive imaging programs.

Q. How can I make sure that my windows pc is enabled for 48bit lba?
A	There is a useful site (www.48bitlba.com/) which provides a good reference for this problem. The first thing you must do is to make sure that your Bios can support 48bit lba, then you have to make sure that you IDE drivers support it and then finally if you have a version of windows before XP SP2 you have to make sure that the registry entry EnableBigLba exists. There is more detailed info and a selection of tools & drivers on the site.


Support

To find out about new versions and keep upto date with the latest news visit WinHIIP's web sitePS2HD

To report bugs and get questions answered visit PS2HD's WinHIIP Forum

To keep upto date with the latest PS2 HD news visit PS2HD

Important
In future, I will only be answering questions about WinHIIP support in the above forum. This should help me in supporting WinHIIP as I can focus my limited time in one place.


Credits

I would like to mention a PS2HD forum member called Davbere who's kindness has allowed me to continue development of WinHIIP even though I am now in Africa. If you have the time, checkout the install section of PS2HD, I am sure you will be totaly impressed by the quality of his work. I know I am!

Credit for the original partition code (which I found on the net) goes to Andrew Church for the PS2FDisk code he wrote in April 2002. I have made several improvements but having his source as a base saved a considerable amount of development time.

Credit for the 48 Bit LBA patching goes to Zer0-X, crazyc & clement over at ps2-scene.

Credit for HDL dual layer support goes to crazyc (ps2-scene forum)

To obtain a copy of DVD Decrypter for making DVD-9 images visit www.dvddecrypter.com