bweissinger / ps2hdd_in

A bash script for automating iso installation to a Playstation 2 HDD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ps2hdd_in

ps2hdd_in is a bash script wrapping hdl-dump, automating the process of installing iso files to a formatted Playstation 2 HDD.

Syntax

  ps2hdd_in [options] [PS2 HDD] [DIRECTORY or FILE]
  ps2hdd_in [options] [-i File] [PS2 HDD] [DIRECTORY or FILE]

Basic Usage

ps2hdd_in /dev/sdX ~/ISODirectory/game.iso

Options

-d

Prompts for dma mode. Default is *u4. The default is fine for most games. However, some may need to use an alternate mode for compatibility. Check the OPL compatibility list for more information.

-f

Forces installation of image even if an image with the same game ID is found on the drive.

-i FILE

Use index file to lookup title of game. Any (-t) or (-l) option will be ignored. Using an index file is highly recommended. The index file must be a semicolon ";" delineated .csv or .txt file. Each line is one entry and consists of: Game Title;Region Code;GameID

For example:

Ape Escape 3;NTSC-U;SCUS-97501

Ape Escape 3;PAL-Unk;SCES-53642

...

Armored Core - Silent Line;PAL-Unk;SLES-52203

...

I do not have such an index included with this repo. However, the community does maintain such files. Here for a google docs spreadsheet. Here is a github repo with a csv file.

-l

Use volume label if present in image file. If (-t) and (-l) are both used, (-l) will take precedence if a volume label is present, otherwise (-t) will be used. Will be ignored if (-i) option is used.

-m

Will prompt for origin media. Default is CD for .cue images, and DVD for all other valid image formats. Setting the proper origin format may increase compatibility with PS2 HDD loaders.

The default behavior is to install all images in the specified directory to the given PS2 HDD, using the filename as the title. If a file is passed instead of directory, it will install only the specified file. It will not install image if the Game ID already exists in the PS2 HDD. Will use default values of dma = *u4, media = cd for .cue, and media = dvd for .iso and all other valid image formats, unless flags are specified. Once again, Check the OPL compatibility list for more information.

-n

Do not prompt for confirmation before proceeding.

-r

Recursively add all image files. This is useful if you have a directory hierarchy such as games/game/game.iso. By using this flag, and supplying the parent directory, the tool will find all installable game files in all subdirectories.

-t

Prompt for title, and use provided title instead of filename. Will be ignored if (-i) option is used.

-u

Replaces underscores in title with spaces if using filename as title. For example: Ace_Combat_5_The_Unsung_War.iso will be installed as Ace Combat 5 The Unsung War. Replaces underscores in title with spaces if using filename as title.

DEFAULTS

Will install all image files in specified directory to the given PS2 HDD, using the filename as the title. If a file is passed instead of directory, it will install only the specified file. Will not install image if the Game ID already exists in the PS2 HDD. Will use default values of dma = *u4, media = cd for .cue, and dvd for .iso and all other valid image formats, unless flags are specified.

About

A bash script for automating iso installation to a Playstation 2 HDD.


Languages

Language:Shell 100.0%