Jump to content


Photo

How do I run the OS X install script?


  • Please log in to reply
24 replies to this topic

#21 Heartless

Heartless
  • Member
  • 8 posts

Posted 13 February 2009 - 09:24 PM

Thanks Steve! I'm going to add on to what you posted, which should be the definitive mac instal, which anyone should be able to do.

If you haven't already, move install_osx.sh and the soundsets folder into your Baldur's Gate folder. Then, edit the install_osx.sh file by right-clicking (or control-click) on it and choose Open With -> TextEdit. My Mac doesn't know what a .sh is, so you should be able to open it just by clicking on it.

Replace the contents of it with:

#!/bin/sh
cd "${0%/*}"
echo "Installing PC Soundsets"
for path in soundsets/*/*.ogg; do
file=${path##*/}
soundsets/sox $path sounds/${file%.ogg}.wav
done

Rename install_osx.sh to install_osx.command. Take the Sox file you got from the unzipped shs#soundsets file and toss it in the soundsets folder now found in your BG folder. This is important; the terminal fails without this. Double click the command, and go get a cookie. This is going to take about 5 minutes. You're done. Check in the sounds folder for files starting with f_ or m_ and doublecheck you got all of them. You can delete the soundsets folder since it's not needed anymore. All the added files start with f_ or m_ in case you want to delete some of them.


Thanks again!

#22 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 13 February 2009 - 10:10 PM

Wow, thanks guys! I'll include this in the next version of Soundsets, so that it can help other OSX users as well! :)

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#23 Kaeloree

Kaeloree

    Head Molder

  • Administrator
  • 9198 posts

Posted 13 February 2009 - 10:28 PM

We use .ogg files because they are far smaller than .wav files, basically. It means there's a lot less to download. :)

#24 Steve

Steve
  • Member
  • 142 posts

Posted 14 February 2009 - 08:53 AM

Sorry about the placement of Sox in the script; I was looking at shs#soundsets version 1 instead of version 2. That line should be:
./sox $path sounds/${file%.ogg}.wav

Sox will also need to be moved to the BG folder.

You can tell the Finder how to run a .sh file by right-clicking it and choose Open With -> Other... and selecting Applications/Utilities/Terminal. You can make this permanent by right-clicking the file, choose Get Info and select Terminal in the Open With tab. If you then press the Change All button, Finder will know what to do when you double-click any .sh file.

By the way, the shs#soundsets mod uses about 170MB on disk.

Edit: Couldn't you cut the size in half by using snd2acm (or is it wav2acm)?

Edited by Steve, 14 February 2009 - 09:09 AM.


#25 Heartless

Heartless
  • Member
  • 8 posts

Posted 14 February 2009 - 09:12 PM

You can tell the Finder how to run a .sh file by right-clicking it and choose Open With -> Other... and selecting Applications/Utilities/Terminal. You can make this permanent by right-clicking the file, choose Get Info and select Terminal in the Open With tab. If you then press the Change All button, Finder will know what to do when you double-click any .sh file.


I figured, but it wouldn't do it. Renaming it to .command worked fine, and the mod runs perfect. I like the orc one the best. The quality is pretty crap though; the sound levels vary wildly from set to set. The voice actors are really good, but the recording seemed to miss a lot. And for a few, they had a weird "fuzz" over them - the Irreverent one comes to mind. (Kind of funny when Irenicus keeps killing him, and all he can say is, Fluffy, is that you? Over and over. And over. And over. And every time he dies. Over and Over and Over.) It's a great mod and a lot of fun, but it needed more polish.

Edited by Heartless, 14 February 2009 - 09:18 PM.