Results 1 to 6 of 6

Thread: How To Create Cue File

  1. #1
    Found this from another fourm, might be useful if you only hav the bin file but no cue file.

    How to create a cue file

    First you should know if the image you want to burn is for PC, for PSX or a VCD.

    Second, you have to divide the size of the image by 2048, 2336 or 2352. The number that gives you an integer number as result represent thw way in which data have been extracted by the CD_ROM.
    For instance: if you have an image whose size is 541,195,200 bytes then it means that a 230,100 SECTORS image was extracted from a CD-ROM, using the standard 2352 bytes/sector (this is the most common standard used, also called RAW format).

    Third, you have to prepare a .CUE file like the two belows (use notepad then save-as-text):

    1) for a playstation CD or a VCD use:

    FILE "name-of-the-file" BINARY
    TRACK 01 MODE2/2352
    INDEX 01 00:00:00

    2) for a standard CD for PC use:

    FILE "name-of-the-file" BINARY
    TRACK 01 MODE1/2352
    INDEX 01 00:00:00

    The CUE file contains three informations:
    a) the name of the image you want to burn. You can include the whole path or, if you put the .CUE and the ISO in the same directory, only the file name e.g. "image.BIN" or "image.ISO".
    B) the way data have been extracted and have to be written. MODE2/2352 is RAW format for PSX and VCD and MODE1/2352 is RAW format for PC. (The flag AUDIO is also used for audio CDs, but they are more complicated becase they have many tracks - the songs - starting at different intervals)
    c) The sector size (in this case, 2352 bytes). This number is the result of the investigation you made above. You could also have MODE1/2048 (PC 'cooked' format) or MODE2/2336 (PSX/VCD 'cooked' format).

    The CUE above mentioned is good 90% of the time but will NOT work if the CD was non-standard (mixed mode, with both AUDIO and DATA, or protected CDs).
    In this case you need to contact the guys who gave you the ISO because when they prepared it. Their software (e.g. CDRWin) generated, during the ISO extraction, also the proper .CUE file. No other way will work.

    I hope I was of some help.

    P.S.
    Here follow some examples of exotic .CUE files. You'll notice that more than one track exist. Since the position of the second track is never known, in order to burn the image properly you absolutely need the cuesheet file.

    example 1:
    FILE "NAME.BIN" BINARY
    TRACK 01 MODE2/2352
    INDEX 01 00:00:00
    TRACK 02 AUDIO
    FLAGS DCP
    PREGAP 00:02:00
    INDEX 01 52:42:06

    example 2:
    FILE "NAME.BIN" BINARY
    TRACK 01 MODE2/2352
    INDEX 01 00:00:00
    TRACK 02 MODE2/2352
    INDEX 01 60:58:63

  2. File Sharing   -   #2
    nice tip. Not very usefull though... thanks for sharing.

  3. File Sharing   -   #3
    Forum Star
    Join Date
    Jun 2002
    Posts
    1,324
    An nice addition would be to show how to make a .cue file to burn a (S)VCD with multiple chapters (tracks).

    Same for an MP3 or WAV file.

  4. File Sharing   -   #4
    FvKin GeniuS :D
    Join Date
    Mar 2003
    Age
    35
    Posts
    1,597
    or u can use cd mage to make the cue file
    Board rule: max 500x150 Pixels (w x h)

    https://filesharingtalk.com/sigs/albegaleeeee.jpg

  5. File Sharing   -   #5
    Is there a similar way to make .cab files?
    I want the data2.cab of Stronghold Crusader...
    Let me know!

  6. File Sharing   -   #6
    h1
    Guest
    .cab is an archive format, just like .zip, .ace, .rar, .tar, .lzh, etc. etc.

    you can use winzip, winace, winrar, or even the cabarc tool included with windows

    usage for cabarc needs a command line - it's

    cabarc [options] [command] cabfile [@list] [files] [destination dir (must end in backslash)]

    commands

    l - list contents of cab file
    n - create new cab
    x - extract

    options

    -c - confirm
    -o - overwrite automatically
    -m - set compression type - lzx15 to lzx21 (lo to hi), mszip, or no compression (default is mszip)
    -p - preserve pathnames (case sensitive, see below)
    -P - strip prefix from files when adding (case sensitive, see above)
    -r - recurse into subdirs when adding (see -p)
    -s - reserve space for signing (-s 1024 reserves 1KB)
    -i - set cabinet id when creating (default 0)

    hope that helps

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •