So I have a .cue file and a .ape of an entire cd
Reply #27 – 2004-08-25 18:42:31
Here's a new one:@echo off title ape+cue=mp3 echo From single ape-file with cuesheet to multiple mp3's. echo. SET /p cuevar=Please input cuesheet name - with full path and extension(s): echo. SET /p outvar=Please input full path to output directory: echo. if not exist "%outvar%" mkdir "%outvar%" lameAPE --apeinput --alt-preset standard CUESHEET "%cuevar%" "%outvar%\$p - $T - $n - $t.mp3" --naming-rule --tag --same-folder echo. echo. echo All done! echo Press a key to exit. pause > nul exit I basically wanted something that can be invoked by doubleclicking the batch-file. Invoking it from commandline with arguments are too troublesome and/or foreign for some people. In this version full paths for cuesheet and output directories must be entered at promt. This is good if these keep changing. If you use same source and destination directories each time you can just revert to the way it was done in my last version (2 posts above). To repeat: This needs LAME 3.90.3 Modified and with APE & Cuesheet support and MACDll.dll (use the latest version for full 3.99u4 support). Rename lame.exe to lameAPE.exe and drop lameAPE.exe and MACDll.dll into %PATH% (e.g. system32). Then make a file "ape+cue=mp3.bat" with Notepad or Vim or whatever containing the above text. Thanks for help, WarBird! Cheers! EDIT: Note: As this version of lame are a ICL4.5 compile, it's possible it needs Intels libmmd.dll in %PATH%. It's also possible that the new MACDll will need Microsofts unicows.dll in %PATH% on 95/98/Me systems. EDIT 2: It just came to my attention that the syntax SET /P variable=[promptString] are only available on Win2k and up. So this batchfile will not run on earlier versions of WinOS. So if you are using e.g. Win98 adapt one of the earlier versions or even better: Just do as WarBird suggested 3 posts up . (I also think that the purely cosmetic TITLE option are useless on earlier WinOS than Win2k.) 9x version:@echo off echo From single ape-file with cuesheet to multiple mp3's. echo. lameAPE --apeinput --alt-preset standard CUESHEET "%1" "%2\$p - $T - $n - $t.mp3" --naming-rule --tag --same-folder echo. echo. echo All done! Then:and on the commandline, use C:\> ape+cue=mp3.bat %cuefile% %targetdir%