2009年10月20日火曜日

redump

redump.org • Guide: CD dumping guide

Please dump all tracks at least twice (if possible, using different drives) to be sure that they are correct!


はじめに

このガイドはどのようにしてプレイステーション(PS)などのCDでつくられたゲームを一番よい方法でバックアップするかを説明します。

必要なソフトウェア


ディスクのタイプを確認してください

バックアップする前に、音声トラックがCDに含まれているかを確認する必要があります。



ドライブにディスクを挿入してIsoBusterを起動させてください。

ディスクが音声トラックを含む場合、以下のようになります。(音声トラックとデータトラックの違いに注意を向けてください。)




音声トラックを含むディスクの場合、バックアップに少し手間がかかります。というのは、データトラックと音声トラックでは違った方法でバックアップするからです。

データトラックの抽出


IsoBusterを使ってデータトラックを取り出しましょう

  • IsoBusterを起動してください。
  • ディスクを挿入してください。 (もし複数のCDが挿入されたドライブがある場合, 挿入したドライブを正しく選択してください)
  • Track 01上で右クリックをしてください。 ->; Extract Track 01 ->; Extract RAW Data (2352 bytes/block) (*.bin, *.iso)
  • 保存先のフォルダを選んでください。

データが抽出され始めます。

もし、トラックの最後にこのようなエラーがでたら 'Unreadable sector' (これは音声トラックとデータトラックの両方を含むディスクに特徴的です。), 全ての'Unreadable sector'に対して 'Replace with User Data All zeroes' のオプションを選んでください。




エラーはトラックの一番最後にだけ発生します。 (99%-100% extraction).
もし、エラーが最初のほうのトラックで出る場合、ディスクに傷がついていないか確かめてください。


抽出の後、ファイルを削除しますかととわれたら、Noを選択してください。




抽出が終了したら、データトラックのイメージファイルを取り出すことに成功です。

もし、ディスクが音声トラックを含んでいる場合、次のパートである「プレギャップを修正する」に進んでください。

もし、ディスクがデータトラックのみを含んでいる場合、「最後のステップ」に進んでください。

プレギャップを修正する

もし、ディスクが音声トラックを含んでいる場合、データトラックを正しいサイズにするために、少しやらねばならない作業があります。
IsoBusterはどこから音声トラックが始まるかを見つけることができないので、最初の音声トラックから最後のデータトラックにある情報を付加します。

Track01の終わりから必要な量だけデータを取り除くため、 Track02のプレギャップの長さを決定する必要があります。これは、Exact Audio Copyというソフトを使ってやります。
(これは音声トラックの抽出にも使います。)


Track02のプレギャップの長さを決める前に、EACの設定をしましょう。
「初回起動時のEACの設定」を参照してください。


初回起動時のEACの設定

  • EACを起動してください。
  • 調整ウィザードをキャンセルしてください。(初回起動時のみ)
  • comboboxのところで、バックアップしたいドライブを選択してください。
  • EAC Optionsを開いてください。 (EAC -> EAC Options または F9を押す)
  • " Tools "タブを選択して" activate beginner mode "がきってあるかを確認してください。
  • "Extraction"タブを選択してください。"Error recovery quality" のところで"High"を選択してください。
  • また"Extraction"タブで, "No use of NULL samples for CRC calculations"をきってください。
  • compression optionsを開いてください。 (EAC -> Compression Options または F11を押す)
  • "Waveform"タブを選び、"Wave format"のところで、"Microsoft PCM Convertor"を選んでください。
  • "Sample format"のとこでは、 "44,100 kHz; 16 Bit; Stereo"が選択されているかどうかを確認してください。
  • 同じタブのところですが、"Do not write WAV header to file"これにチェックが入っていることを確認してください。
  • また、"High quality (slow) is selected"にチェックが入っていることも確かめてください。
  • "File extension for headerless files"のところには、".bin"と入力してください。
  • drive optionsを開いてください。 (EAC -> Drive Options または F10を押す)
  • 最初のタブを選択して("Extraction Method") "Detect Read Features"をクリックしてください。
  • EACはあなたのドライブについて調査します。
  • "Secure Mode" を選択してください。(同じタブのところにあります。)
  • "Gap Detection"タブをクリックしてdetection accuracyを"Secure"にしてください。
  • Gap/Index retrival method を "Method A"にしてください。もしギャップを見つけるときに問題が生じるようであれば、BやCを試してください。 (参照 "Ripping the audio tracks")
  • "Offset / Speed"タブに移動し、"overread into lead-in and lead-out"をチェックしてください。
  • 以下のサイトであなたのドライブの読み込みオフセット値をみてください。
    http://www.accuraterip.com/driveoffsets.htm;
  • その値をどこかにメモしておいてください。あとで、使います。

これらのことは一回すれば次回からする必要はありません!

プレギャップの長さを決定する

  • バックアップしたいCDをドライブに挿入してください。 (ディスクが綺麗な状態であるか確かめてください。)
  • F4を押す (または Action -> Detect Gaps を押す)
  • EACがトラック間のギャップを調べます。





この写真では,Track02のプレギャップは4秒だとわかります。
しかし、プレギャップは、基本的には2秒なので、注意してください。

一秒のオーディオデータは176400バイトです。つまり二秒のプレギャップならば 2*176400 = 352800バイトになるということです。
一秒のオーディオデータはまた75セクターでもあります。つまり二秒のプレギャップならば150セクターになるということです。
ちなみに、1.74秒(seconds)の場合、149セクター*になるので注意してください。
*75+74=149

Track02のプレギャップの長さがわかったので、次のステップにいきます。


Resizeを使って、プレギャップを除去する

Track01からTrack02のプレギャップを除去するために、「Resize」と呼ばれるツールを使います。

Resize

これをダウンロードして、「Track01.bin」のファイルと同じフォルダに解凍してください。
また、Resize.comはコマンドプロントで使います。

もしプレギャップが、2秒 = 352800バイト で、Isobusterで取り出したファイルの名前が「Track01.bin」であるのであれば、以下の通りにコマンドプロントに入力してください。

RESIZE -r -352800 "Track 01.bin"



注意:
コマンドプロントはスタートメニュー -> ファイル名を指定して実行 -> cmd とタイプするとでてきます。デフォルトの状態から、何もわからなければ、 cd c:\とタイプしてください。さらにわからない方はIsobusterでデータトラックを取り出す時にCドライブを選択すれば、何も悩むことはありません。

cd c:\   ←このようにタイプして、エンターを押す
RESIZE -r -352800 "Track 01.bin"   ←このようにタイプして、エンターを押す


適切に処理されたら、次のステップにいきます。
PSのCDならば、「ポストギャップを調べ修復する」へ、その他のCDであれば、「音声トラックを取り出す」に進んでください。



ポストギャップを調べ修復する (PSのみ)

Dremoraさんが開発したPsxt001zというものを使用します。

これも先ほどと同様にコマンドプロントを使用します。Isobusterで取り出したデータトラックと同じ場所にPsxt001zを解凍した後、以下の通りにタイプします。わからない方は先ほどの注意:を参考にしてください。

psxt001z.exe --fix "Track 01.bin"


もし、音声トラックを含むディスクをバックアップするのであれば、以下と似たようなメッセージが表示されます。(いくつかのセクターが修復される可能性がありますが、音声トラックを含んだものにとっては特別なことではありません。)



もし、バックアップしようとしているディスクが音声トラックを含まない場合、作業はほとんど終わりです。「最後の作業」に進んでください。

もし、バックアップしようとしているディスクが音声トラックを含む場合は、次のステップである「音声トラックを取り出す」に進んでください。

音声トラックを取り出す


書き込みオフセット値を決定する

注意: Plextorを使っているひとはこのセクションの説明を飛ばすことができます。そしてもっと簡単な方法で代わりに作業することになります。詳しくは以下のサイトを確認してください。
http://forum.redump.org/viewtopic.php?id=2468


書き込みオフセット値を決定するために、IsoBusterを使います。


  • バックアップしたいCDを挿入します(ディスクの状態を確認してください。)
  • IsoBusterを起動します。
  • ドライブが正しく選択されているか確認してください。
  • 左側にあるトラックリストで、Track 02を右クリックして'Sector View'を選択してください。
  • 'RAW'ここにチェックが入っていることを確認してください。
  • もし Track02 のプレギャップが2秒であるならば(つまり150セクターということです。)、最初に1を引いた数である149を引いた数を白い空欄に入力してください。
  • そして矢印を使って合計で150引いた数になるようにしてください。これはこのようにしないとエラーが生じることがあるからこのようにします。もし、作業が順調にいっているのであれば以下のスクリーンショットと似た状態であるはずです。




Now you should get a number of rows that show (scrambled)
binary data, followed by rows of zeroes. It is also possible that the last
row of data is not filled completely, but is partly zeroed.

Each row is 16 bytes, so if we have 8 full rows (like in the screenshot above) that are filled with data (and not just zeroes) this means
we have 8*16 = 128 bytes.



The amount of data in bytes has to be divided by 4 to get the amount of samples, so in our screenshot it's 128 bytes of data /4 = 32 samples. This is the offset value that we will use
in EAC for ripping the audio tracks.



Note 1: It can happen that the sector shows no data at all, but only zeroes. If you are 100% sure that you are reading the correct sector and it shows no
scrambled data (and going forth and back one sector also doesn't help),  it's best to retry the
audio ripping part
using a different drive, but this time try using
a drive with a bigger read offset (a list of read offsets for each drive can
be viewed here: http://www.accuraterip.com/driveoffsets.htm). To be able to
detect all offsets, most dumpers in our project bought a cheap CDRW drive
with a large read offset, such as the Sony CRX-100E or 120E.


Note 2: It is also possible that the sector is full of data. A full sector contains 2352 bytes of data. If the first sector is full of data, browse on to the next sector(s) and make sure all data is counted until you reach the end of the data (start of zeroes).



Now we will change the offset value in EAC to the
one that we just determined. Before we do that, we will
first calculate the factory write offset.



The offset value that we just retreived from the sector and that is used in EAC
to dump the audio tracks is the combined read+write offset. However, for
documenting purposes we need you to supply us the write offset value alone, so
the read offset value needs to be substracted from the combined offset value.



In order to do this we will need the Read offset value of your drive (detected
in EAC or taken from the accuraterip drive list). Once you know this value, it's
possible to calculate the factory write offset value:
For example, if reading the sector gives you +32 samples (or 128 bytes
(=8 rows) of data) and the read from the Accuraterip database is +30,
then the factory write offset is: +32 = (?? + 30) > ?? = +2.



Now we are finally ready to change the offset value in EAC and start dumping
the audio tracks. Please make sure that you use the offset value that was calculated using the
amount of data in the sector for EAC and not the factory write offset value!

Changing the offset in EAC

Start EAC and change the offset to the proper value:


  • Open the drive options (EAC -> Drive Options or press F10);
  • Change to the "Offset / Speed" tab and change the value in the 'Read sample offset correction value' to the new value. A value of 32 samples (amount of data in the sector) earlier means entering '+32' in EAC;
  • The value should always be positive or EAC may cut off data! Therefore tracks should always be dumped on the drives that show data in the previous step!



Now we're finally ready to start ripping the audio tracks.

Ripping audio tracks with EAC

  • Insert the CD you want to rip (make sure the disc has a clean surface);
  • Press F4 (or select Action -> Detect Gaps);
  • EAC will now detect gaps between the tracks;
  • If you think the gaps that you're getting are strange, clean the disc and try again;
  • Select Action -> Append gaps to next track;
  • Select the tracks you want to rip;
  • Press Shift + F6 (or select Action -> Test & Copy selected tracks -> compressed from the menu);
  • Select a directory to rip the files to and press ok;
  • EAC will now start ripping the selected tracks. When the extraction is complete, a 'Status and Error Messages' window will appear;
  • Be sure to click the 'Create Log', as this .log file is mandatory information!;
  • When ripping is done, the Read and Write CRC columns should contain equal CRC numbers!;
  • After extracting, create a cuesheet. Do this by selecting Action -> Create CUESheet -> Current Gap Settings.


Now we are almost ready. Head on to the 'Final steps'.

Final steps

After dumping, you will end up with the following files:
  • Data track and audio track binaries, properly dumped using the guide;
  • Cuesheets and .log file(s) created by EAC (only for games with audio tracks).

You can now help our project by supplying us with the information about the dump.
The information that we need is specified in the next paragraph.

If you need any additional help, contact details can be found on this site in the 'Site' menu.
Feel free to idle or ask for any help in our IRC channel: ForeverChat #redump.

Mandatory information

  • Game title (Including subtitle);
  • Disc titles (Only if the game consists of multiple discs and if the
    titles on the discs are different, or if it's a compilation and every disc is a seperate game
    );
  • Disc ID / Serial (not for IBM discs) (E.g. "SLUS-12345");
  • EXE date in YY-MM-DD format (not for IBM discs) (Date of EXE file, e.g. "SLUS_123.45" (or any other file which's name is located in SYSTEM.CNF file). Date should be looked in IsoBuster, but be sure to turn on option "Options -> File System Setting -> General -> Time Stamps -> Display time stamp -> Local time stamp");
  • Game languages;
  • LibCrypt output (PSX only) (use this guide for LibCrypt protection checking);
  • Size, CRC-32, MD5 and SHA-1 checksums of all tracks (All track should be dumped
    twice to make sure they were dumped correctly! Checksums you can get using HashCalc, DAMN Hash Calculator or ClrMamePro, and size using Windows Explorer/Total Commander/FAR, but
    not IsoBuster!
    );
  • Factory write offset value.