3 # sets up links to make fallout new vegas work properly under wine.
4 # some mods will look for paths that are incorrectly case sensitive, and this
5 # script just sets up all those links that we believe are required.
7 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
11 This script needs to run from the "Fallout New Vegas" install directory,
12 which is usually found under "steam/steamapps/common".
17 function make_local_dir_link()
22 pushd "$dir" &>/dev/null
23 if [ -L "$new_name" ]; then
24 echo "Skipping creation of existing link $dir/$new_name"
28 if [ ! -d "$name" ]; then
29 echo "Skipping creation of link $dir/$new_name due to missing directory $dir/$name"
33 ln -s "$name" "$new_name"
34 test_or_die "creating link for $dir/$new_name from $dir/$name"
35 echo "Created link $dir/$new_name from $dir/$name"
39 make_local_dir_link Data Sound sound
40 make_local_dir_link Data Textures textures
41 make_local_dir_link Data Meshes meshes
42 make_local_dir_link Data/Meshes Landscape landscape
43 make_local_dir_link Data/Meshes Weapons weapons
44 make_local_dir_link Data/Sound Voice voice
45 make_local_dir_link Data/Textures Landscape landscape
46 make_local_dir_link Data/Textures Landscape weapons
47 make_local_dir_link Data/Textures Landscape clutter