Backport custom song support. Prefs are CustomSongsEnable, CustomSongsMaxCount, CustomSongsLoadTimeout, CustomSongsMaxSeconds, CustomSongsMaxMegabytes. Metrics are NumProfileSongGroupColors and the colors with it. Profile custom load function is passed PlayerNumber now. Stepmania must run as root to save USB profile scores. (#1470)

This commit is contained in:
Kyzentun
2017-06-06 05:30:06 -07:00
committed by Colby Klein
parent 1c920a4197
commit 2aee27a276
22 changed files with 627 additions and 240 deletions
+23 -1
View File
@@ -381,6 +381,11 @@ CoinsPerCredit=The number of coins that must be inserted before a player can joi
ComboContinuesBetweenSongs=If turned on, the combo will not be reset to 0 after every song.
Connection=Connect to Server (To be specified)
CourseSortOrder=Determines how courses are sorted.
CustomSongsEnable=Custom songs are loaded from USB profiles.
CustomSongsMaxCount=Only this many custom songs will be loaded from a profile.
CustomSongsLoadTimeout=If loading a custom song takes more seconds than this, give up.
CustomSongsMaxSeconds=If a custom song is longer than this (seconds), disable it.
CustomSongsMaxMegabytes=If a custom song is larger than this (MB), disable it.
CreateNew=
Create New Course=Create a new course.
Create New Profile=Create a new player profile.
@@ -662,25 +667,37 @@ x2.5=2.5x
2m=2m
2nd=2nd
3=3
30=30
3 Times=3 Times
32bit=32bit
32nd=32nd
4=4
40=40
4 Times=4 Times
48th=48th
4th=4th
4m=4m
5=5
50=50
5 Times=5 Times
6=6
60=60
64th=64th
7=7
70=70
8=8
80=80
8th=8th
9=9
50=50
90=90
100=100
120=120
150=150
180=180
210=210
240=240
1000=1000
10000=10000
1000000=1000000
Actual=Actual
Add=Additive
@@ -1016,6 +1033,11 @@ Create New=Create New
Create New Course=Create New
Create New Profile=Create Profile
Credit=Credit
CustomSongsEnable=Enable Custom Songs
CustomSongsMaxCount=Max Custom Songs
CustomSongsLoadTimeout=Custom Song Load Timeout
CustomSongsMaxSeconds=Custom Song Length Limit
CustomSongsMaxMegabytes=Custom Song Size Limit
Cut=Cut
DancePointsForOni=Oni Score Display
DefaultFailType=Default Fail Type
+3
View File
@@ -138,6 +138,9 @@ CourseGroupColor7=color("1,1,1,1") -- white
CourseGroupColor8=color("1,1,1,1") -- white
CourseGroupColor9=color("1,1,1,1") -- white
CourseGroupColor10=color("1,1,1,1") -- white
NumProfileSongGroupColors=2
ProfileSongGroupColor1=PlayerColor(PLAYER_1)
ProfileSongGroupColor2=PlayerColor(PLAYER_2)
UnlockColor=color("1,0.5,0,1")
[UnlockManager]