readme.txt 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Jul 25 1999, 09:29:46
  2. bin2iso V1.9b - Converts RAW format (.bin) files to ISO/WAV format
  3. Bob Doiron, ICQ#280251
  4. Linux port by Owen: mxu@cae.wisc.edu
  5. Check for updates at http://users.andara.com/~doiron
  6. Usage: bin2iso <cuefile> [<output dir>] [-[a]wg] [-t XX] [-i] [-nob]
  7. or : bin2iso <cuefile> -c <binfile>
  8. Where:
  9. <cuefile> - the .cue file that belongs to the .bin file to
  10. be converted
  11. <output dir> - the output directory (defaults to current dir)
  12. -nwg - indicates that audio data found in the track
  13. 'gaps' shouldn't be appended to the audio tracks
  14. -awg - looks for non-zero data in the 'gaps', if found
  15. then gaps are appended to audio tracks. Looks
  16. for more than 1/2 of a sector of non-zero values
  17. (588 values),
  18. -t XX - Extracts the XX'th track.
  19. -i - Performs the conversion 'in place'. Meaning it
  20. truncates the binfile after each track is
  21. created to minimize diskspace requirements.
  22. [not valid with -t]
  23. -nob - Doesn't use overburn data past 334873 sectors.
  24. This of course presumes that the data is not
  25. useful.
  26. -c - Attempts to create a <cuefile> from an existing
  27. <binfile>
  28. ---------------------------------------------------------------------
  29. NOTE: This is a work in progress!
  30. So far I beleive it handles MODE1, MODE2 and AUDIO tracks.
  31. Since I have little exposure to .bin files, and little expertise in
  32. CD formats, I can't guarantee this will work for all .bin's.
  33. so... TEST the output before burning. Use Winimage on the ISO files
  34. and a wave player on the WAVs.
  35. If you do run into trouble, send me the following info:
  36. - .cue file
  37. - command line used
  38. - the screen output
  39. - directory listing of source and files created (with sizes)
  40. and I'll fix it up.
  41. Revision History
  42. v1.9b
  43. - Oops.. was no way to turn writegap off:
  44. changed -wg option to -nwg
  45. v1.9a
  46. - Fixed bug in extracting single track
  47. - changed code to default to writing gap data because of the way
  48. easycd pro writes the table of contents for the cd
  49. v1.9
  50. - revamped internally allowing me to do add some functionality...
  51. Added a -i option to allow converting a bin using a little diskspace
  52. as possible. !NOTE! This is destructive to the original .bin
  53. - No longer barfs on PREGAP lines...
  54. - Added a -awg option that checks for non-zero data in the gaps between
  55. audio tracks and turns on the -wg feature if it finds more than half
  56. a sector of non-zero values.
  57. - Added a -nob option that ditches overburn data. I haven't tested this,
  58. but rumour has it that some cd players can't access data over 74.XX
  59. minutes. I'm not sure if I beleive this, but I put the option in in
  60. case I get a chance to try it. (so far untested!)
  61. v1.8b
  62. - modified the audio gap detection scheme for creating cue files...
  63. Now it may detect extra gaps, but they are easily removed by editing
  64. the cuefile. Before it would sometimes not detect gaps, so I think
  65. this is better.
  66. v1.8
  67. - Added the ability to create a cuefile from a binfile.
  68. (assumes MODE1/2352, MODE2/2352 or AUDIO tracks)
  69. - Added ISO track numbering for cd's with more than one data track
  70. v1.7
  71. - Made the reads/writes happen in 4Meg chunks... should speed things up
  72. when read from and writing to the same disk. (less head thrashing)
  73. - Added Mode2/2336: When this type of track is encountered, it converts
  74. it to the trusty Mode2/2352 track we're used to. (Burn with EasyCD
  75. or open with WinImage)
  76. Or, if you like, you can rename the output from a .iso to a .bin and then
  77. edit the cue file track type from MODE2/2336 to MODE2/2352 to burn with
  78. cdrwin.
  79. v1.6
  80. - Added a '-wg' command switch to make bin2iso append pregap sectors to the
  81. last wav file. Useful because some cd's have music in the pregaps.
  82. Note: most TAO burning leaves 2 second gaps between songs, so if you copy
  83. a copy, then don't use the -wg option. If you do use it, then the
  84. audio track will grow by 2 seconds.
  85. v1.5
  86. - Fixed parsing of the filename from the cue file. (handles spaces etc)
  87. - Added progress display
  88. - Detects a single track, mode2 bin which can be burnt as is.
  89. - Verifies data tracks (checks the mode and frame sequence)
  90. v1.4
  91. - fixed bug that occured when tracks had no pregap index
  92. - parsing of .bin filename out of .cue file now ditches path info
  93. - fixed bugs in [<output dir>] parsing. (trailing '\' or ':')
  94. v1.3
  95. - first release to public
  96. Suggested programs:
  97. WinImage - for viewing ISO images
  98. EasyCD Pro 2.11 (020) - for burning ISO or Mixed mode ISO/WAV
  99. (rumour is that creator doesn't always burn the
  100. images as is, sometimes screws long filenames
  101. or burns a mode2 iso in mode1 form, etc, etc)
  102. Nero - Burning Rom - For burning AUDIO disks because it allows changing
  103. the gap size on my sony928e.
  104. !DO NOT USE! Easy CD Creator for burning mode2/2352 images. You'll get a coaster.
  105. TROUBLESHOOTING
  106. Don't know of any problems right now. Let me know.