mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-31 13:20:34 +00:00
caedes Ripper-Script
This commit is contained in:
parent
de3268494c
commit
a1122dc456
2 changed files with 29 additions and 4 deletions
12
README
12
README
|
@ -125,10 +125,14 @@ Put your Quake II CD-ROM in your drive, start your favorite CD extractor
|
|||
and rip the audiotracks into OGG/Vorbis files. These files must be named
|
||||
after their track number. Remember! Since the first track on the CD ist
|
||||
"data", the first audio track is number 2! If everything is done
|
||||
correct, you should have: 02.ogg, 03.ogg, ..., 11.ogg Put these files
|
||||
under baseq2/music, start Quake II, enter the "Options" menu and set
|
||||
"OGG music" to enabled. "CD music" will be automaticly disabled. Quake
|
||||
II will now play the OGG/Vorbis files instead of the Audio-CD.
|
||||
correct, you should have: 02.ogg, 03.ogg, ..., 11.ogg. Alternatively you
|
||||
can use a script provided by caedes, which can be found in the folder
|
||||
"tools". It needs cdparanoia an oggenc, it should work with the main
|
||||
game and both addons.
|
||||
Put these files under baseq2/music, start Quake II, enter the "Options"
|
||||
menu and set "OGG music" to enabled. "CD music" will be automaticly
|
||||
disabled. Quake II will now play the OGG/Vorbis files instead of the
|
||||
Audio-CD.
|
||||
|
||||
2.2 Setup for other music and playlists:
|
||||
----------------------------------------
|
||||
|
|
21
tools/cdripper.sh
Normal file
21
tools/cdripper.sh
Normal file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/sh
|
||||
# simple script that rips CDs to a format useable by Yamagis Quake2 client
|
||||
# Needs cdparanoia and oggenc, useable with Quake II and both addons.
|
||||
|
||||
# Create directory
|
||||
mkdir music
|
||||
cd music
|
||||
|
||||
# rip all tracks beginning with second one (the first track is data)
|
||||
cdparanoia -B "2-"
|
||||
|
||||
# could certainly be more elegant..
|
||||
for i in "02" "03" "04" "05" "06" "07" "08" "09" "10" "11"
|
||||
do
|
||||
oggenc -q 6 -o $i.ogg track$i.cdda.wav
|
||||
done
|
||||
|
||||
# remove .wav files
|
||||
rm *.wav
|
||||
|
||||
echo -e "\n Ripping done, move music/ directory to /your/path/to/quake2/game/music/"
|
Loading…
Reference in a new issue