diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-08-27 20:53:34 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-08-27 20:53:34 +0000 |
commit | cd53c7d644f7abe3f0617ba3513368b543cadb63 (patch) | |
tree | ef82e14bd266d2370623e4ce770ddb9c565cc4e1 | |
parent | 52c43c13ad02b2f2e3cf0d69a2ee87549be8268f (diff) | |
download | usdx-cd53c7d644f7abe3f0617ba3513368b543cadb63.tar.gz usdx-cd53c7d644f7abe3f0617ba3513368b543cadb63.tar.xz usdx-cd53c7d644f7abe3f0617ba3513368b543cadb63.zip |
use lower-case paths: songs/themes/languages/etc.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1328 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r-- | src/classes/UMain.pas | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/classes/UMain.pas b/src/classes/UMain.pas index da9df6d3..5dacd5f8 100644 --- a/src/classes/UMain.pas +++ b/src/classes/UMain.pas @@ -1077,31 +1077,31 @@ begin Log.LogWarn('Log directory "'+ Platform.GetLogPath +'" not available', 'InitializePaths'); end; - FindPath(SoundPath, Platform.GetGameSharedPath + 'Sounds', false); - FindPath(ThemePath, Platform.GetGameSharedPath + 'Themes', false); - FindPath(SkinsPath, Platform.GetGameSharedPath + 'Themes', false); - FindPath(LanguagesPath, Platform.GetGameSharedPath + 'Languages', false); - FindPath(PluginPath, Platform.GetGameSharedPath + 'Plugins', false); - FindPath(VisualsPath, Platform.GetGameSharedPath + 'Visuals', false); - FindPath(ResourcesPath, Platform.GetGameSharedPath + 'Resources', false); + FindPath(SoundPath, Platform.GetGameSharedPath + 'sounds', false); + FindPath(ThemePath, Platform.GetGameSharedPath + 'themes', false); + FindPath(SkinsPath, Platform.GetGameSharedPath + 'themes', false); + FindPath(LanguagesPath, Platform.GetGameSharedPath + 'languages', false); + FindPath(PluginPath, Platform.GetGameSharedPath + 'plugins', false); + FindPath(VisualsPath, Platform.GetGameSharedPath + 'visuals', false); + FindPath(ResourcesPath, Platform.GetGameSharedPath + 'resources', false); // Playlists are not shared as we need one directory to write too - FindPath(PlaylistPath, Platform.GetGameUserPath + 'Playlists', true); + FindPath(PlaylistPath, Platform.GetGameUserPath + 'playlists', true); // Screenshot directory (must be writable) - if (not FindPath(ScreenshotsPath, Platform.GetGameUserPath + 'Screenshots', true)) then + if (not FindPath(ScreenshotsPath, Platform.GetGameUserPath + 'screenshots', true)) then begin Log.LogWarn('Screenshot directory "'+ Platform.GetGameUserPath +'" not available', 'InitializePaths'); end; // Add song paths AddSongPath(Params.SongPath); - AddSongPath(Platform.GetGameSharedPath + 'Songs'); - AddSongPath(Platform.GetGameUserPath + 'Songs'); + AddSongPath(Platform.GetGameSharedPath + 'songs'); + AddSongPath(Platform.GetGameUserPath + 'songs'); // Add category cover paths - AddCoverPath(Platform.GetGameSharedPath + 'Covers'); - AddCoverPath(Platform.GetGameUserPath + 'Covers'); + AddCoverPath(Platform.GetGameSharedPath + 'covers'); + AddCoverPath(Platform.GetGameUserPath + 'covers'); end; end. |