Posted June 27, 2021
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States
DrakonidSpy
New User
DrakonidSpy Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2020
From Germany
Posted April 20, 2022
I found the soundtracks for both games in FLAC format. They have fewer tracks than gamerips, but the quality is better, especially for the first game. But I don't understand where these FLACs come from if there were no releases of these soundtracks.
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States
Posted April 20, 2022
Yeah, I've never heard about any release, so it would be good to find out what's the source for it. May be it's a fan rendition?
DrakonidSpy
New User
DrakonidSpy Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2020
From Germany
Posted April 21, 2022
DrakonidSpy: I found the soundtracks for both games in FLAC format. They have fewer tracks than gamerips, but the quality is better, especially for the first game. But I don't understand where these FLACs come from if there were no releases of these soundtracks.
shmerl: Yeah, I've never heard about any release, so it would be good to find out what's the source for it. May be it's a fan rendition? Post edited April 21, 2022 by DrakonidSpy
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States
nickiru
New User
nickiru Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jan 2023
From United States
Posted January 19, 2023
I beg of thee..
I spent hours and i cant use your script. I have read so many articles to clearly execute bash on windows 7. I don't even know if thats what i need to use for your .sh? But nothing works.
D: can you help me *sobs
I really want this music.
Options:
1: provide step by step instructions on how to execute your script on windows 7 ultimate
2: can you convert this to a windows executable? .exe or .msi or one of those .batch files
3: provide a download link for all the music you converted for kotor 1 and 2.
D: I put the hours in I swear
I spent hours and i cant use your script. I have read so many articles to clearly execute bash on windows 7. I don't even know if thats what i need to use for your .sh? But nothing works.
D: can you help me *sobs
I really want this music.
Options:
1: provide step by step instructions on how to execute your script on windows 7 ultimate
2: can you convert this to a windows executable? .exe or .msi or one of those .batch files
3: provide a download link for all the music you converted for kotor 1 and 2.
D: I put the hours in I swear
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States
Posted January 19, 2023
nickiru: I beg of thee..
I spent hours and i cant use your script. I have read so many articles to clearly execute bash on windows 7. I don't even know if thats what i need to use for your .sh? But nothing works.
D: can you help me *sobs
I really want this music.
Options:
1: provide step by step instructions on how to execute your script on windows 7 ultimate
2: can you convert this to a windows executable? .exe or .msi or one of those .batch files
3: provide a download link for all the music you converted for kotor 1 and 2.
D: I put the hours in I swear
It would have been better with Windows 10 or 11 for sure since they support WSL. I spent hours and i cant use your script. I have read so many articles to clearly execute bash on windows 7. I don't even know if thats what i need to use for your .sh? But nothing works.
D: can you help me *sobs
I really want this music.
Options:
1: provide step by step instructions on how to execute your script on windows 7 ultimate
2: can you convert this to a windows executable? .exe or .msi or one of those .batch files
3: provide a download link for all the music you converted for kotor 1 and 2.
D: I put the hours in I swear
What exactly did you try to use for Bash? Even with bash, you'd also probably need dd for Windows.
One option is Cygwin: + dd for Windows:
* https://www.cygwin.com
* http://www.chrysocome.net/dd
Option two is running Linux in VirtualBox on Windows 7.
Yet another option is may be running Linux in chroot on Android if you have a device with enough storage.
In general, don't use Windows 7. It's not going to be supported much by any tools. May be more practical way is for you first to find an installation with Window 10, Windows 11 or Linux proper. Then I can explain how to do it there relatively easily.
Post edited January 19, 2023 by shmerl
nickiru
New User
nickiru Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jan 2023
From United States
Posted January 30, 2023
I am back. I had a business trip that took me away for the rest of janurary.
Ok i got dd and Cygwin downloaded. They both have their own cmd window...
What do i do. bash it? The following is bashing it in Cygwin
Polyp@Polyp_PC ~
$ bash C:/Users/Polyp/Desktop/kotorMusic/kotor1/gog_kotor_extract_music.sh
fixing [0-5]*.wav -> fixed/[0-5]*.mp3
dd: failed to open '[0-5]*.wav': No such file or directory
fixing mus_a*.wav -> fixed/mus_a*.mp3
dd: failed to open 'mus_a*.wav': No such file or directory
fixing mus_b*.wav -> fixed/mus_b*.mp3
dd: failed to open 'mus_b*.wav': No such file or directory
fixing mus_t*.wav -> fixed/mus_t*.mp3
dd: failed to open 'mus_t*.wav': No such file or directory
fixing evil_ending.wav -> fixed/evil_ending.mp3
dd: failed to open 'evil_ending.wav': No such file or directory
fixing credits.wav -> fixed/credits.mp3
dd: failed to open 'credits.wav': No such file or directory
fixing al_*.wav -> fixed/al_*.wav
dd: failed to open 'al_*.wav': No such file or directory
fixing mus_loadscreen.wav -> fixed/mus_loadscreen.wav
dd: failed to open 'mus_loadscreen.wav': No such file or directory
It says dd: failed to etc etc
So somehow dd gets involved in this, as you suggested, and I do not have that knowledge. Do you know?
thanks :3
i did execute your script file within the folder that has all the .wav from the game as you instructed in previous posts
not the same folder as the game though xD its a copy haha. ruin the game audio
Ok i got dd and Cygwin downloaded. They both have their own cmd window...
What do i do. bash it? The following is bashing it in Cygwin
Polyp@Polyp_PC ~
$ bash C:/Users/Polyp/Desktop/kotorMusic/kotor1/gog_kotor_extract_music.sh
fixing [0-5]*.wav -> fixed/[0-5]*.mp3
dd: failed to open '[0-5]*.wav': No such file or directory
fixing mus_a*.wav -> fixed/mus_a*.mp3
dd: failed to open 'mus_a*.wav': No such file or directory
fixing mus_b*.wav -> fixed/mus_b*.mp3
dd: failed to open 'mus_b*.wav': No such file or directory
fixing mus_t*.wav -> fixed/mus_t*.mp3
dd: failed to open 'mus_t*.wav': No such file or directory
fixing evil_ending.wav -> fixed/evil_ending.mp3
dd: failed to open 'evil_ending.wav': No such file or directory
fixing credits.wav -> fixed/credits.mp3
dd: failed to open 'credits.wav': No such file or directory
fixing al_*.wav -> fixed/al_*.wav
dd: failed to open 'al_*.wav': No such file or directory
fixing mus_loadscreen.wav -> fixed/mus_loadscreen.wav
dd: failed to open 'mus_loadscreen.wav': No such file or directory
It says dd: failed to etc etc
So somehow dd gets involved in this, as you suggested, and I do not have that knowledge. Do you know?
thanks :3
i did execute your script file within the folder that has all the .wav from the game as you instructed in previous posts
not the same folder as the game though xD its a copy haha. ruin the game audio
Post edited January 30, 2023 by nickiru
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States
Posted January 31, 2023
Hm, trying to analyze what's going on. Are you sure you are running the script from right directory?
Please use pwd command and show the result of that from where you run the script:
$ pwd
...
Then also list files there with ls:
$ ls *.wav
Please use pwd command and show the result of that from where you run the script:
$ pwd
...
Then also list files there with ls:
$ ls *.wav
Post edited January 31, 2023 by shmerl
nickiru
New User
nickiru Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jan 2023
From United States
nickiru
New User
nickiru Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jan 2023
From United States
Posted January 31, 2023
thank you btw for being responsive. I appreciate it. I'm going to keep trying a few things too.
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States
Posted January 31, 2023
nickiru: ok i got the following:
Polyp@Polyp_PC ~
$ pwd C:/Users/Polyp/Desktop/kotorMusic/kotor1/gog_kotor_extract_music.sh
/cygdrive/c/SPB_Data
Polyp@Polyp_PC ~
$ ls C:/Users/Polyp/Desktop/kotorMusic/kotor1/gog_kotor_extract_music.sh
C:/Users/Polyp/Desktop/kotorMusic/kotor1/gog_kotor_extract_music.sh
==========
Your script is located in a folder with all and only the kotor .wav files. and with the appropriate one cuz you have a script for each kotor. the folder is: C:/Users/Polyp/Desktop/kotorMusic/kotor1/
From pwd output, you are located in /cygdrive/c/SPB_Data, not in the directory where wav files are, so it's not finding them obviously. Polyp@Polyp_PC ~
$ pwd C:/Users/Polyp/Desktop/kotorMusic/kotor1/gog_kotor_extract_music.sh
/cygdrive/c/SPB_Data
Polyp@Polyp_PC ~
$ ls C:/Users/Polyp/Desktop/kotorMusic/kotor1/gog_kotor_extract_music.sh
C:/Users/Polyp/Desktop/kotorMusic/kotor1/gog_kotor_extract_music.sh
==========
Your script is located in a folder with all and only the kotor .wav files. and with the appropriate one cuz you have a script for each kotor. the folder is: C:/Users/Polyp/Desktop/kotorMusic/kotor1/
So do this first:
cd /cygdrive/c/Users/Polyp/Desktop/kotorMusic/kotor1
Then try running the script.
nickiru
New User
nickiru Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jan 2023
From United States
Posted January 31, 2023
What you describe doesn't make sense only because I dont know this stuff. I dont have /cygdrive/c/SPB_Data but you say to cd off it anyways.
I did as you said and it is working right now!! I will be back after I prove every song to let you know results.
edit: i did the following:
==
Polyp@Polyp_PC ~
$ cd /cygdrive/c/Users/Polyp/Desktop/kotorMusic/kotor1
Polyp@Polyp_PC /cygdrive/c/Users/Polyp/Desktop/kotorMusic/kotor1
$ bash gog_kotor_extract_music.sh
==
and executing this ran the script. dd was unecessary to download I believe unless its accessing it without my knowledge.
*excited noises
here is a sample of what its doing:
1346981 bytes (1.3 MB, 1.3 MiB) copied, 1.88167 s, 716 kB/s
fixing mus_theme_sith.wav -> fixed/mus_theme_sith.mp3
1328172+0 records in
0+1 records out
1328172 bytes (1.3 MB, 1.3 MiB) copied, 1.89883 s, 699 kB/s
fixing evil_ending.wav -> fixed/evil_ending.mp3
6677632+0 records in
0+1 records out
6677632 bytes (6.7 MB, 6.4 MiB) copied, 18.0801 s, 369 kB/s
fixing credits.wav -> fixed/credits.mp3
6031049+0 records in
0+1 records out
note the song song in the middle. I played it and it still does the explosive hissing noise.
oh when it finished it made a new folder called fixed with a fixed copy of the files. Thought it was updating the original files.
*continues testing
the song mus_loadscreen.wav and all the "al_ ... .wave" songs were not fixed. *going to play with it
I did as you said and it is working right now!! I will be back after I prove every song to let you know results.
edit: i did the following:
==
Polyp@Polyp_PC ~
$ cd /cygdrive/c/Users/Polyp/Desktop/kotorMusic/kotor1
Polyp@Polyp_PC /cygdrive/c/Users/Polyp/Desktop/kotorMusic/kotor1
$ bash gog_kotor_extract_music.sh
==
and executing this ran the script. dd was unecessary to download I believe unless its accessing it without my knowledge.
*excited noises
here is a sample of what its doing:
1346981 bytes (1.3 MB, 1.3 MiB) copied, 1.88167 s, 716 kB/s
fixing mus_theme_sith.wav -> fixed/mus_theme_sith.mp3
1328172+0 records in
0+1 records out
1328172 bytes (1.3 MB, 1.3 MiB) copied, 1.89883 s, 699 kB/s
fixing evil_ending.wav -> fixed/evil_ending.mp3
6677632+0 records in
0+1 records out
6677632 bytes (6.7 MB, 6.4 MiB) copied, 18.0801 s, 369 kB/s
fixing credits.wav -> fixed/credits.mp3
6031049+0 records in
0+1 records out
note the song song in the middle. I played it and it still does the explosive hissing noise.
oh when it finished it made a new folder called fixed with a fixed copy of the files. Thought it was updating the original files.
*continues testing
the song mus_loadscreen.wav and all the "al_ ... .wave" songs were not fixed. *going to play with it
Post edited January 31, 2023 by nickiru
nickiru
New User
nickiru Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jan 2023
From United States
Posted January 31, 2023
so as of now, 70 / 150 of the .wav files got fixed. the ones fixed work nicely.
yah after 57.wave is the al_el_comproom file and the following al files. It takes a long pause on 57.wav and then skips to the mus files.
0+1 records out
689214 bytes (689 kB, 673 KiB) copied, 1.8112 s, 381 kB/s
fixing 56a.wav -> fixed/56a.mp3
506566+0 records in
0+1 records out
506566 bytes (507 kB, 495 KiB) copied, 1.33965 s, 378 kB/s
fixing 57.wav -> fixed/57.mp3
7516058+0 records in
0+1 records out
7516058 bytes (7.5 MB, 7.2 MiB) copied, 19.9415 s, 377 kB/s
fixing mus_area_acad.wav -> fixed/mus_area_acad.mp3
1249596+0 records in
0+1 records out
1249596 bytes (1.2 MB, 1.2 MiB) copied, 3.33517 s, 375 kB/s
fixing mus_area_ahto.wav -> fixed/mus_area_ahto.mp3
1443111+0 records in
0+1 records out
1443111 bytes (1.4 MB, 1.4 MiB) copied, 3.8251 s, 377 kB/s
fixing mus_area_cant1.wav -> fixed/mus_area_cant1.mp3
1436424+0 records in
0+1 records out
1436424 bytes (1.4 MB, 1.4 MiB) copied, 3.88202 s, 370 kB/s
fixing mus_area_cant2.wav -> fixed/mus_area_cant2.mp3
strangely the second time I ran this script it only fixed 27 files. oh no xD
it varies on how many it wants to fix but it consistently avoids the al files. Except 1 time it did the first 3 al files randomly.
=============
this is your script. Do i have the latest one?
=============
#!/bin/bash
# Run from location where you have audio
# from the <game-dir>/streammusic directory
mp3s=(
[0-5]*.wav
mus_{a,b,t}*.wav
evil_ending.wav
credits.wav
)
wavs=(
al_*.wav
mus_loadscreen.wav
)
mkdir -p fixed
for src in ${mp3s[@]}; do
target="fixed/${src%%.*}.mp3"
echo "fixing ${src} -> ${target}"
dd if=${src} of=${target} ibs=1 skip=58 obs=10M
done
for src in ${wavs[@]}; do
target="fixed/${src}"
echo "fixing ${src} -> ${target}"
dd if=${src} of=${target} ibs=1 skip=470 obs=10M
done
===========
I see it has al files and mus files conisdered in the code equally. so I dont know why its biased to mus over al.
yah after 57.wave is the al_el_comproom file and the following al files. It takes a long pause on 57.wav and then skips to the mus files.
0+1 records out
689214 bytes (689 kB, 673 KiB) copied, 1.8112 s, 381 kB/s
fixing 56a.wav -> fixed/56a.mp3
506566+0 records in
0+1 records out
506566 bytes (507 kB, 495 KiB) copied, 1.33965 s, 378 kB/s
fixing 57.wav -> fixed/57.mp3
7516058+0 records in
0+1 records out
7516058 bytes (7.5 MB, 7.2 MiB) copied, 19.9415 s, 377 kB/s
fixing mus_area_acad.wav -> fixed/mus_area_acad.mp3
1249596+0 records in
0+1 records out
1249596 bytes (1.2 MB, 1.2 MiB) copied, 3.33517 s, 375 kB/s
fixing mus_area_ahto.wav -> fixed/mus_area_ahto.mp3
1443111+0 records in
0+1 records out
1443111 bytes (1.4 MB, 1.4 MiB) copied, 3.8251 s, 377 kB/s
fixing mus_area_cant1.wav -> fixed/mus_area_cant1.mp3
1436424+0 records in
0+1 records out
1436424 bytes (1.4 MB, 1.4 MiB) copied, 3.88202 s, 370 kB/s
fixing mus_area_cant2.wav -> fixed/mus_area_cant2.mp3
strangely the second time I ran this script it only fixed 27 files. oh no xD
it varies on how many it wants to fix but it consistently avoids the al files. Except 1 time it did the first 3 al files randomly.
=============
this is your script. Do i have the latest one?
=============
#!/bin/bash
# Run from location where you have audio
# from the <game-dir>/streammusic directory
mp3s=(
[0-5]*.wav
mus_{a,b,t}*.wav
evil_ending.wav
credits.wav
)
wavs=(
al_*.wav
mus_loadscreen.wav
)
mkdir -p fixed
for src in ${mp3s[@]}; do
target="fixed/${src%%.*}.mp3"
echo "fixing ${src} -> ${target}"
dd if=${src} of=${target} ibs=1 skip=58 obs=10M
done
for src in ${wavs[@]}; do
target="fixed/${src}"
echo "fixing ${src} -> ${target}"
dd if=${src} of=${target} ibs=1 skip=470 obs=10M
done
===========
I see it has al files and mus files conisdered in the code equally. so I dont know why its biased to mus over al.
Post edited January 31, 2023 by nickiru
nickiru
New User
nickiru Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jan 2023
From United States
Posted January 31, 2023
as i came back from lunch the cmd prompt i left up started doing the al files on its own xD
k, brb as I validate these. *laughs out loud
k, brb as I validate these. *laughs out loud
Post edited January 31, 2023 by nickiru