From c7dcdf95c74d6de5190b658585524932c904489b Mon Sep 17 00:00:00 2001 From: concubidated Date: Sat, 30 Dec 2017 18:16:03 -0800 Subject: [PATCH] Uodate user data directory to 5.1 for Linux This has already been fixed for OSX and Windows --- Docs/Userdocs/Keymaps_ini_format.md | 6 +++--- Docs/Userdocs/sm5_beginner.txt | 10 +++++----- src/arch/ArchHooks/ArchHooks_Unix.cpp | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Docs/Userdocs/Keymaps_ini_format.md b/Docs/Userdocs/Keymaps_ini_format.md index f00f74552c..2b6a7bdeee 100644 --- a/Docs/Userdocs/Keymaps_ini_format.md +++ b/Docs/Userdocs/Keymaps_ini_format.md @@ -9,9 +9,9 @@ prevents mapping keys through the Config Key/Joy Mappings screen. ## Location -Windows: %APPDATA%/StepMania 5.0/Save/Keymaps.ini -Linux: ~/.stepmania-5.0/Save/Keymaps.ini -OS X: ~/Library/Preferences/StepMania 5/Save/Keymaps.ini +Windows: %APPDATA%/StepMania 5.1/Save/Keymaps.ini +Linux: ~/.stepmania-5.1/Save/Keymaps.ini +OS X: ~/Library/Preferences/StepMania 5.1/Save/Keymaps.ini (OS X location may be incorrect, report it if you use OS X and that location is incorrect) diff --git a/Docs/Userdocs/sm5_beginner.txt b/Docs/Userdocs/sm5_beginner.txt index bd60f3183a..af796bef30 100644 --- a/Docs/Userdocs/sm5_beginner.txt +++ b/Docs/Userdocs/sm5_beginner.txt @@ -52,7 +52,7 @@ Knowing the versions of StepMania is helpful, as it will help you deduce what you can and can not install. (Most songs are version-agnostic, though the background animations may not be. Themes, Noteskins, etc. are tied to specific versions.) -StepMania 5.0 is the only version actively supported by the StepMania developers. +StepMania 5 is the only version actively supported by the StepMania developers. All older versions have various problems and/or limitations that make them too burdensome to continue supporting. @@ -328,11 +328,11 @@ the main StepMania folder is no longer the correct thing to do. The correct place to install content on StepMania 5 is the User Data folder. The exact location is different for each platform. -Windows: %APPDATA%/StepMania 5.0/ -Linux: ~/.stepmania-5.0/ -OS X: ~/Library/Application Support/StepMania 5/ +Windows: %APPDATA%/StepMania 5.1/ +Linux: ~/.stepmania-5.1/ +OS X: ~/Library/Application Support/StepMania 5.1/ Wherever you see the name "User Data folder", this is the folder it refers to. -OS X additionally has ~/Library/Preferences/StepMania 5/ for storing preferences. +OS X additionally has ~/Library/Preferences/StepMania 5.1/ for storing preferences. Inside the User Data folder you can install content by placing it in the following folders: * Songs diff --git a/src/arch/ArchHooks/ArchHooks_Unix.cpp b/src/arch/ArchHooks/ArchHooks_Unix.cpp index d70ec997b7..30dcf91ea3 100644 --- a/src/arch/ArchHooks/ArchHooks_Unix.cpp +++ b/src/arch/ArchHooks/ArchHooks_Unix.cpp @@ -400,7 +400,7 @@ void ArchHooks::MountUserFilesystems( const RString &sDirOfExecutable ) * Lowercase the PRODUCT_ID; dotfiles and directories are almost always lowercase. */ const char *szHome = getenv( "HOME" ); - RString sUserDataPath = ssprintf( "%s/.%s", szHome? szHome:".", "stepmania-5.0" ); //call an ambulance! + RString sUserDataPath = ssprintf( "%s/.%s", szHome? szHome:".", "stepmania-5.1" ); //call an ambulance! FILEMAN->Mount( "dir", sUserDataPath + "/Announcers", "/Announcers" ); FILEMAN->Mount( "dir", sUserDataPath + "/BGAnimations", "/BGAnimations" ); FILEMAN->Mount( "dir", sUserDataPath + "/BackgroundEffects", "/BackgroundEffects" );