Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

linux4ever07, to linux in A Bash script to rip music off CUE/BIN files

For sure. If you get something for free then it is what it is. Some of my scripts probably won’t work outside of Linux but I still make an effort to not use external commands if there’s no need to. I try to use the internal features of Bash as much as possible, mostly cause it’s just faster that way. A consequence of that is that the scripts are at least more likely to work on other systems (that have Bash).

linux4ever07, to linux in A Bash script to rip music off CUE/BIN files

Fair enough. But macOS has more users than Linux, and is partly based on FreeBSD. The shell and the userland tools are from FreeBSD. I prefer Linux of course and haven’t used a Mac in years, but I still think it’s nice making scripts compatible with all *nix systems.

linux4ever07, to linux in A Bash script to rip music off CUE/BIN files

I just checked the macOS / FreeBSD man page for ‘stat’, and noticed the syntax differs from the version in GNU coreutils (which is what’s used in Linux). That’s probably the only thing that would need to be changed to make the script work on those other systems. It’s on line 530.

linux4ever07, to linux in A Bash script to rip music off CUE/BIN files

If they are CUE/BIN files the script will be able to handle them all without a problem. My advice is to use the ‘-flac’ argument when running the script, so you get lossless copies. But you should double-check the resulting CUE sheet, after processing each album. See if any of the pregaps are longer than a few seconds, cause in rare cases there’s hidden bonus tracks in the pregaps. If that’s the case, you can extract the pregaps separately with the ‘-pregaps’ argument. Good luck!

linux4ever07, to linux in A Bash script to rip music off CUE/BIN files

Thank you! I’m happy if more people besides just myself have use for it. It’s a niche some people might not be aware of. Especially for younger people who aren’t familiar with the CD format, and how music is stored in those games. It might help people get more direct access to the OST of their favorite retro games. Instead of having to search around the web for high quality audio, they can just extract it themselves.

linux4ever07, to linux in A Bash script to rip music off CUE/BIN files

Another thing to think about is that CD is a dying format, and the way those old CD-based games are going to be preserved long-term is in the form of disc images stored on HDDs.

linux4ever07, to linux in A Bash script to rip music off CUE/BIN files

Many older games are not sold physically anymore, and getting them on the second hand market can be pretty expensive depending on how rare they are.

linux4ever07, to linux in A Bash script to rip music off CUE/BIN files

If you have the original disc, then yeah. The script is more meant for when you get CUE/BINs online, such as Redump disc images for example.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • tacticalgear
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • Youngstown
  • everett
  • anitta
  • slotface
  • GTA5RPClips
  • rosin
  • thenastyranch
  • kavyap
  • mdbf
  • Leos
  • modclub
  • osvaldo12
  • Durango
  • khanakhh
  • provamag3
  • cisconetworking
  • ngwrru68w68
  • cubers
  • tester
  • ethstaker
  • megavids
  • normalnudes
  • lostlight
  • All magazines