Created
May 30, 2013 00:36
-
-
Save druu/5675007 to your computer and use it in GitHub Desktop.
BIN2ISO Conversion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//**** PREQUISITES | |
//** bchunk | |
// > MacOS: | |
// $ brew install bchunk | |
// > Good Linux Distros: | |
// $ sudo apt-get install bchunk | |
//**** The script: | |
// $ nano ~/biniso | |
//** Paste this into the script file | |
echo FILE "$1.bin" BINARY >> $1.cue | |
echo TRACK 01 MODE1/2352 >> $1.cue | |
echo INDEX 01 00:00:00 >> $1.cue | |
bchunk $1.bin $1.cue $1_ | |
rm $1.cue | |
//** Save & Quit | |
//** Make it executable & globally available | |
// $ chmod a+x ~/biniso && ln -s ~/biniso /usr/local/bin | |
//** Usage if .CUE file is available | |
// $ bchunk image.bin image.cue image.iso | |
//** Usage if .CUE file is NOT available | |
// $ biniso image |
requeijaum
commented
Apr 23, 2019
•
how can you explained what you just added? i'm trying to mount bin cue files to burn cd for Sega games. But when i make the iso i get generated .cdr files and the game doesn't have audio, does your post fix this?
I just put some double quotes to get the script working with the file's basename.
The generated ISO will only have the DATA track, though.
That may be why your converted games doesn't have AUDIO tracks - they're declared inside the CUE sheet.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment