Merge pull request #1614 from concubidated/5_1-new

Update User data directory to ~/stepmania-5.1 for Unix
This commit is contained in:
ListenerJubatus
2017-12-30 23:14:00 -06:00
committed by GitHub
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -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)
+5 -5
View File
@@ -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
+1 -1
View File
@@ -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" );