-
Notifications
You must be signed in to change notification settings - Fork 0
/
metrics.ini
2307 lines (1868 loc) · 80.7 KB
/
metrics.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[Common]
InitialScreen="ScreenInit"
ImageCache=ThemePrefs.Get("UseImageCache") and "Banner,Background,Jacket" or "Banner"
DefaultNoteSkinName="cel"
[ScreenInit]
AllowStartToSkip=false
PrepareScreen=true
TimerSeconds=2.5
StopMusicOnBack=false
MemoryCardIcons=false
ForceTimer=true
HeaderOnCommand=visible,false
# these aren't real metrics; they are quick and dirty hacks
ShowCreditDisplay=false
ShowPlayerAvatar=false
###########################################################################
### ATTRACT LOOP SCREENS
###########################################################################
[ScreenAttract]
ShowCreditDisplay=false
ShowPlayerAvatar=false
FooterOnCommand=visible,false
# the Simply Love logo and nothing else
[ScreenLogo]
PrevScreen="ScreenInit"
NextScreen="ScreenRankingSingle"
HeaderOnCommand=visible,false
TimerSeconds=14
ShowCreditDisplay=true
[ScreenRankingSingle]
Class="ScreenHighScores"
Fallback="ScreenAttract"
PrevScreen="ScreenLogo"
NextScreen="ScreenRankingDouble"
ManualScrolling=false
HighScoresType="HighScoresType_AllSteps"
NumColumns=2
ColumnDifficulty1="Difficulty_Hard"
ColumnDifficulty2="Difficulty_Challenge"
ColumnStepsType1=(function() return "StepsType_" .. GAMESTATE:GetCurrentGame():GetName():gsub("^%l", string.upper) .. "_Single" end)()
ColumnStepsType2=(function() return "StepsType_" .. GAMESTATE:GetCurrentGame():GetName():gsub("^%l", string.upper) .. "_Single" end)()
NumMostRecentScoresToShow=30
MaxItemsToShow=30
ScrollerOnCommand=xy,_screen.cx,_screen.cy+20;scrollthroughallitems
ScrollerItemTransformFunction=function(self,offset,itemIndex,numItems) self:y(65*offset) end
ScrollerItemsToDraw=7
ScrollerSecondsPerItem=0.5
[ScreenRankingDouble]
Fallback="ScreenRankingSingle"
PrevScreen="ScreenLogo"
NextScreen=Branch.AfterScreenRankingDouble()
StartScreen=Branch.TitleMenu()
ColumnStepsType1=(function() return "StepsType_" .. GAMESTATE:GetCurrentGame():GetName():gsub("^%l", string.upper) .. "_Double" end)()
ColumnStepsType2=(function() return "StepsType_" .. GAMESTATE:GetCurrentGame():GetName():gsub("^%l", string.upper) .. "_Double" end)()
ScrollerOffCommand=diffusealpha,0
HeaderOffCommand=linear,0.2;diffusealpha,0
[ScreenMemoryCard]
Fallback="ScreenAttract"
NextScreen="ScreenRainbow"
PrevScreen="ScreenRainbow"
ForceTimer=true
TimerSeconds=10
HeaderOnCommand=visible,false
TimerOnCommand=visible,false
[ScreenRainbow]
Fallback="ScreenAttract"
NextScreen="ScreenLogo"
PrevScreen="ScreenLogo"
ForceTimer=true
TimerSeconds=10
HeaderOnCommand=visible,false
TimerOnCommand=visible,false
MemoryCardIcons=false
###########################################################################
### SCREENS BEFORE SelectMusic
###########################################################################
# this is for when we are in Home mode
[ScreenTitleMenu]
PrevScreen="ScreenInit"
IdleTimeoutSeconds=30
IdleTimeoutScreen="ScreenInit"
ChoiceNames="1,2,3,4"
DefaultChoice="1"
Choice1="applydefaultoptions;screen,"..Branch.AllowScreenSelectProfile()..";text,Dance Mode"
Choice2="screen,ScreenEditMenu;text,Edit Mode"
Choice3="screen,ScreenOptionsService;text,Options"
Choice4="screen,ScreenExit;text,Exit"
ScrollerX=_screen.cx
ScrollerY=_screen.cy+_screen.h/3.8
ScrollerTransform=function(self,offset,itemIndex,numItems) self:y(22*offset) end
HeaderOnCommand=visible,false
FooterOnCommand=visible,false
ShowPlayerAvatar=false
# this is for when we are in Free/Pay mode
[ScreenTitleJoin]
Fallback="ScreenTitleMenu"
IdleTimeoutSeconds=30
IdleTimeoutScreen="ScreenInit"
ChoiceNames="1"
Choice1="applydefaultoptions;screen,"..Branch.AllowScreenSelectProfile()..";text,Dance Mode"
ScrollerOnCommand=visible,false
###########################################################################
[ScreenSelectProfile]
PrevScreen=Branch.TitleMenu()
NextScreen=Branch.AllowScreenSelectColor()
# declare this to be intentionally empty to override _fallback's
# function that locks input for 1 second
ScreenOnCommand=
RepeatRate=20
CodeNames="Select"
CodeSelect=GAMESTATE:GetCurrentGame():GetName()=="pump" and "DownLeft-DownRight" or (PREFSMAN:GetPreference("ThreeKeyNavigation") and "MenuLeft-MenuRight" or "Select")
[ScreenSelectColor]
Fallback="ScreenWithMenuElements"
PrevScreen=Branch.TitleMenu()
NextScreen=Branch.AfterScreenSelectColor()
TimerSeconds=20
[ScreenSelectStyle]
Class="ScreenWithMenuElements"
Fallback="ScreenWithMenuElements"
PrevScreen=Branch.TitleMenu()
NextScreen="ScreenSelectPlayMode"
TimerSeconds=20
[ScreenSelectPlayMode]
Class="ScreenSelectMaster"
Fallback="ScreenSelectMaster"
PrevScreen=Branch.TitleMenu()
ShowFooter=true
TimerSeconds=20
ChoiceNames="Casual,ITG"
ChoiceCasual="name,Casual; screen,ScreenProfileLoad"
ChoiceITG="name,ITG; screen,ScreenSelectPlayMode2"
DefaultChoice=SL.Global.GameMode
ShowScroller=false
ShowIcon=true
WrapCursor=true
SharedSelection=true
UseIconMetrics=true
IconChoiceCasualX=_screen.cx - 110
IconChoiceCasualY=_screen.cy - 75
IconChoiceITGX=_screen.cx - 110
IconChoiceITGY=_screen.cy - 25
IconChoiceFA+X=_screen.cx - 110
IconChoiceFA+Y=_screen.cy + 25
# there is not a 4th choice for now, so these are commented out
# IconChoice_unused=_screen.cx - 110
# IconChoice_unused=_screen.cy + 75
[ScreenSelectPlayMode2]
Fallback="ScreenSelectPlayMode"
ChoiceNames="Regular,Marathon"
ChoiceRegular="playmode,Regular; name,Regular; screen,ScreenProfileLoad"
ChoiceMarathon="playmode,Nonstop; name,Marathon; screen,ScreenProfileLoad"
# ChoiceEndless="playmode,Endless; name,Endless; screen,ScreenProfileLoad"
# ChoiceOni="playmode,Oni; name,Oni; screen,ScreenProfileLoad"
IconChoiceRegularX=_screen.cx - 110
IconChoiceRegularY=_screen.cy - 75
IconChoiceMarathonX=_screen.cx - 110
IconChoiceMarathonY=_screen.cy - 25
# IconChoiceEndlessX=_screen.cx - 110
# IconChoiceEndlessY=_screen.cy + 25
# IconChoiceOniX=_screen.cx - 110
# IconChoiceOniY=_screen.cy + 75
[ScreenProfileLoad]
ShowFooter=true
StyleIcon=false
NextScreen=Branch.AfterSelectPlayMode()
ShowCreditDisplay=false
# Profile Saving occurs after every ScreenEvaluation
[ScreenProfileSave]
HeaderOnCommand=visible,false
StyleIcon=false
NextScreen=Branch.AfterProfileSave()
Summary=false
ShowCreditDisplay=false
[ScreenPlayAgain]
Fallback="ScreenWithMenuElements"
NextScreen=SL.Global.ScreenAfter.PlayAgain
TimerSeconds=15
[ScreenViewDownloads]
Fallback="ScreenWithMenuElements"
NextScreen="ScreenSelectMusic"
PrevScreen="ScreenSelectMusic"
[ScreenReloadSSM]
Fallback="ScreenWithMenuElements"
NextScreen="ScreenSelectMusic"
PrevScreen="ScreenSelectMusic"
HeaderOnCommand=visible,false
FooterOnCommand=visible,false
ShowCreditDisplay=false
[ScreenReloadSongsSSM]
Fallback="ScreenReloadSongs"
NextScreen="ScreenSelectMusic"
OnlyLoadAdditions=true
[ScreenHeartEntry]
HeartEntryEnabled=true
[ScreenNameEntryTraditional]
PrevScreen="ScreenProfileSaveSummary"
NextScreen="ScreenProfileSaveSummary"
HeaderOnCommand=visible,false
FooterOnCommand=visible,false
TimerSeconds=SL.Global.MenuTimer.ScreenNameEntry
TimerOnCommand=hide_if,not PREFSMAN:GetPreference("MenuTimer");draworder,99;
ForceTimer=false
ShowCreditDisplay=false
ShowPlayerAvatar=true
[ScreenProfileSaveSummary]
Fallback="ScreenProfileSave"
NextScreen=Branch.AfterProfileSaveSummary()
PrevScreen=Branch.AfterProfileSaveSummary()
[ScreenGameOver]
Class="ScreenAttract"
Fallback="ScreenAttract"
PrevScreen=Branch.AfterInit()
NextScreen=Branch.AfterInit()
HeaderOnCommand=visible,false
ShowCreditDisplay=false
ShowPlayerAvatar=true
TimerSeconds=(ThemePrefs.Get("VisualStyle") == "SRPG8") and 135 or 23
ForceTimer=true
TimerOnCommand=visible,false
PlayMusic=true
###########################################################################
### Classes of Screens (that are mostly just inherited from)
###########################################################################
[Screen]
StyleIcon=false
ShowHelp=true
ShowCreditDisplay=false
[ScreenWithMenuElements]
TimerX=_screen.w-30
TimerY=-1
TimerOnCommand=hide_if,not PREFSMAN:GetPreference("MenuTimer");draworder,99;
HeaderX=0
HeaderY=0
FooterX=_screen.cx
FooterY=_screen.h
MemoryCardIcons=true
MemoryCardDisplayP1X=WideScale(18,24);
MemoryCardDisplayP1Y=SCREEN_BOTTOM-14
MemoryCardDisplayP1OnCommand=draworder,96;zoom,WideScale(0.175, 0.215)
MemoryCardDisplayP2X=SCREEN_RIGHT-WideScale(18,24)
MemoryCardDisplayP2Y=SCREEN_BOTTOM-14
MemoryCardDisplayP2OnCommand=draworder,96;zoom,WideScale(0.175, 0.215)
[ScreenSelect]
DoublePressToSelect=false
UseTwoLists=false
OptionOrderBUp=""
OptionOrderBDown=""
OptionOrderBLeft=""
OptionOrderBRight=""
OptionOrderBAuto=""
[ScreenSelectMaster]
Fallback="ScreenWithMenuElements"
ShowCreditDisplay=true
TimerSeconds=-1
StopMusicOnBack=false
HelpText=ScreenString("HelpText")
[ScreenHighScores]
NextScreen=Branch.TitleMenu()
TimerSeconds=1
[ScreenPrompt]
QuestionY=_screen.cy-60
QuestionOnCommand=_wrapwidthpixels,600
[ScreenTextEntry]
QuestionY=_screen.cy-64
QuestionOnCommand=_wrapwidthpixels,600
AnswerY=_screen.cy+16
## Options Section #############################################################
[OptionsCursor]
CanGoLeftX=-17
CanGoLeftY=0
CanGoLeftOnCommand=halign,1;
CanGoRightX=16
CanGoRightY=0
CanGoRightOnCommand=halign,0;
[OptionsCursorP1]
Fallback="OptionsCursor"
LeftOnCommand=diffuse,PlayerColor(PLAYER_1,true)
MiddleOnCommand=diffuse,PlayerColor(PLAYER_1,true)
RightOnCommand=diffuse,PlayerColor(PLAYER_1,true)
LeftX=0
MiddleX=0
RightX=0
LeftY=-1
MiddleY=-1
RightY=-1
[OptionsCursorP2]
Fallback="OptionsCursor"
LeftOnCommand=diffuse,PlayerColor(PLAYER_2,true)
MiddleOnCommand=diffuse,PlayerColor(PLAYER_2,true)
RightOnCommand=diffuse,PlayerColor(PLAYER_2,true)
LeftX=0
MiddleX=0
RightX=0
LeftY=1
MiddleY=1
RightY=1
#### end OptionsCursor ####
[OptionsUnderline]
[OptionsUnderlineP1]
Fallback="OptionsUnderline"
LeftOnCommand=diffuse,PlayerColor(PLAYER_1,true)
MiddleOnCommand=diffuse,PlayerColor(PLAYER_1,true)
RightOnCommand=diffuse,PlayerColor(PLAYER_1,true)
[OptionsUnderlineP2]
Fallback="OptionsUnderline"
LeftOnCommand=diffuse,PlayerColor(PLAYER_2,true)
MiddleOnCommand=diffuse,PlayerColor(PLAYER_2,true)
RightOnCommand=diffuse,PlayerColor(PLAYER_2,true)
###########################################################################
### OptionRow
###########################################################################
[OptionRow]
ShowBpmInSpeedTitle=false
TitleX=WideScale(26,40)
TitleOnCommand=zoom,0.8;vertspacing,-8;horizalign,left;maxwidth,WideScale(128,120)
TitleGainFocusCommand=%function(self)\
self:diffuse(PlayerColor(PLAYER_1)) \
DiffuseEmojis(self) \
MESSAGEMAN:Broadcast("OptionRowChanged", {Title=self}) \
end
TitleLoseFocusCommand=diffuse,color("#FFFFFF")
FrameX=0
FrameY=0
FrameOnCommand=diffusealpha,DarkUI() and 1 or 0.8
FrameGainFocusCommand=diffuse,DarkUI() and color("#666666") or color("#333333"); diffusealpha,1
FrameLoseFocusCommand=diffuse,color("#071016");diffusealpha,DarkUI() and 1 or 0.8
ItemsStartX=WideScale(146,160)
ItemsEndX=_screen.w-225
# the x value of where to draw the single BitmapText item that
# will display when the OptionRow's layout is ShowOneInRow
ItemsLongRowP1X=WideScale(_screen.cx-100,_screen.cx-130)
ItemsLongRowP2X=WideScale(_screen.cx+100,_screen.cx+100)
# pixels between each item when the OptionRow's layout is ShowAllInOneRow
ItemsGapX=14
ItemOnCommand=zoom,0.75; diffusealpha,1
ItemGainFocusCommand=
ItemLoseFocusCommand=
# use a slightly different StartX value for PlayerOptions2 and PlayerOptions3
# where every row is guaranteed to start with a ▼ character
[OptionRowExtendedPlayerOptions]
Fallback="OptionRow"
ItemsStartX=WideScale(146,155)
[OptionRowSimple]
Fallback="OptionRow"
TitleOnCommand=zoom,0.8;halign,0;vertspacing,-8;
ItemOnCommand=diffuse,DarkUI() and Color.White or Color.Black;zoom,0.8;vertspacing,-8;
FrameDisabledCommand=diffuse,color("#000000");
[OptionRowSimpleService]
Fallback="OptionRowSimple"
# intentionally empty so it doesn't inherit from [OptionRow]
FrameOnCommand=
TitleX=WideScale(20,40)
TitleGainFocusCommand=%function(self) \
local index = SCREENMAN:GetTopScreen():GetCurrentRowIndex(PLAYER_1) + SL.Global.ActiveColorIndex \
self:diffuse( GetHexColor(index) ) \
MESSAGEMAN:Broadcast("OptionRowChanged", {Title=self}) \
end
[OptionRowExit]
Fallback="OptionRow"
FrameOnCommand=diffusealpha,0.7
FrameGainFocusCommand=diffuse,color("#293238");diffusealpha,0.8
FrameLoseFocusCommand=diffuse,color("#071016");diffusealpha,0.8
TitleGainFocusCommand=diffuse,color("#000000")
ItemOnCommand=zoom,0.8;x,WideScale(210,285)
[OptionRowSimpleExit]
Fallback="OptionRow"
TitleX=WideScale(20,40)
TitleGainFocusCommand=%function(self) \
self:diffuse(0,0,0,1) \
MESSAGEMAN:Broadcast("OptionRowChanged", {Title=self}) \
end
FrameGainFocusCommand=diffuse,PlayerColor(PLAYER_1);diffusealpha,1
ItemOnCommand=visible,false
###########################################################################
### Metrics for ScreenOptionsServiceChild
### (These are subscreens within the OperatorMenu.)
###########################################################################
[ScreenOptionsServiceChild]
RepeatRate=30
RepeatDelay=0.333
StopMusicOnBack=false
ExplanationTogetherOnCommand=visible,false
OptionRowNormalMetricsGroup="OptionRowServiceChild"
OptionRowExitMetricsGroup="OptionRowServiceChildExit"
ShowCreditDisplay=false
AllowRepeatingChangeValueInput=true
FooterOnCommand=visible,false
[OptionRowServiceChild]
Fallback="OptionRow"
TitleX=WideScale(20, 40)
FrameX=0
ItemsStartX=WideScale(140, 170)
ItemsEndX=WideScale(256, 400)
ItemsLongRowSharedX=WideScale(210,285)
# intentionally empty so it doesn't inherit from [OptionRow]
FrameOnCommand=
FrameGainFocusCommand=diffuse,DarkUI() and color("#666666FF") or color("#333333FF")
FrameLoseFocusCommand=diffuse,color("#071016");diffusealpha,DarkUI() and 1 or 0.8
[OptionRowServiceChildExit]
Fallback="OptionRowServiceChild"
TitleOnCommand=visible,false
# Simply Love Options gets its own slightly customized OptionRows
# normally ItemsGapX is 14, which feels comfortable for the Miso Light font
# Set to 13 here so that we can fit more emojis in a single row before
# it collapses into displaying one a time.
[OptionRowSimplyLoveOptions]
Fallback="OptionRowServiceChild"
ItemsGapX=13
###########################################################################
### OptionRow PlayerOptions definitions
###########################################################################
[ScreenOptionsMaster]
Perspective="5;selectone"
PerspectiveDefault="mod,overhead"
Perspective,1="mod,overhead;name,Overhead"
Perspective,2="mod,hallway;name,Hallway"
Perspective,3="mod,distant;name,Distant"
Perspective,4="mod,incoming;name,Incoming"
Perspective,5="mod,space;name,Space"
Accel="5;selectmultiple"
AccelDefault="mod,no boost,no brake,no wave,no expand,no boomerang"
Accel,1="mod,boost;name,Boost"
Accel,2="mod,brake;name,Brake"
Accel,3="mod,wave;name,Wave"
Accel,4="mod,expand;name,Expand"
Accel,5="mod,boomerang;name,Boomerang"
Effect="10;selectmultiple"
EffectDefault="mod,no drunk,no dizzy,no confusion,no flip,no invert,no tornado,no tipsy,no bumpy,no beat"
Effect,1="mod,drunk;name,Drunk"
Effect,2="mod,dizzy;name,Dizzy"
Effect,3="mod,confusion;name,Confusion"
Effect,4="mod,-100% mini;name,Big"
Effect,5="mod,flip;name,Flip"
Effect,6="mod,invert;name,Invert"
Effect,7="mod,tornado;name,Tornado"
Effect,8="mod,tipsy;name,Tipsy"
Effect,9="mod,bumpy;name,Bumpy"
Effect,10="mod,beat;name,Beat"
Appearance="5;selectmultiple"
AppearanceDefault="mod,no hidden,no sudden,no stealth,no blink,no randomvanish"
Appearance,1="mod,hidden;name,Hidden"
Appearance,2="mod,sudden;name,Sudden"
Appearance,3="mod,stealth;name,Stealth"
Appearance,4="mod,blink;name,Blink"
Appearance,5="mod,randomvanish;name,R.Vanish"
# add "Backwards" as a turn mod if the current game is pump
# (the engine redirects "Backwards" to "Mirror" in games other than pump so the option is redundant)
Turn=(function() return GAMESTATE:GetCurrentGame():GetName()=="pump" and "10;selectone" or "9;selectone" end)()
TurnDefault="mod,no turn"
Turn,1="mod,no turn;name,None"
Turn,2="mod,mirror;name,Mirror"
Turn,3="mod,left;name,Left"
Turn,4="mod,right;name,Right"
Turn,5="mod,lrmirror;name,LRMirror"
Turn,6="mod,udmirror;name,UDMirror"
Turn,7="mod,shuffle;name,Shuffle"
Turn,8="mod,supershuffle;name,Blender"
Turn,9="mod,hypershuffle;name,Random"
Turn,10="mod,backwards;name,Backwards"
Insert="7;selectmultiple"
InsertDefault="mod,no wide,no big,no quick,no skippy,no echo,no stomp,no bmrize"
Insert,1="mod,wide;name,Wide"
Insert,2="mod,big;name,Big"
Insert,3="mod,quick;name,Quick"
Insert,4="mod,bmrize;name,BMRize"
Insert,5="mod,skippy;name,Skippy"
Insert,6="mod,echo;name,Echo"
Insert,7="mod,stomp;name,Stomp"
Remove="8;selectmultiple"
RemoveDefault="mod,no little,no nomines,no noholds,no nojumps,no nohands,no noquads,no nolifts,no nofakes"
Remove,1="mod,little;name,Little"
Remove,2="mod,nomines;name,NoMines"
Remove,3="mod,noholds;name,NoHolds"
Remove,4="mod,nojumps;name,NoJumps"
Remove,5="mod,nohands;name,NoHands"
Remove,6="mod,noquads;name,NoQuads"
Remove,7="mod,nolifts;name,NoLifts"
Remove,8="mod,nofakes;name,NoFakes"
RemoveA="4;selectmultiple"
RemoveADefault="mod,no little,no nomines,no noholds,no nojumps"
RemoveA,1="mod,little;name,Little"
RemoveA,2="mod,nomines;name,NoMines"
RemoveA,3="mod,noholds;name,NoHolds"
RemoveA,4="mod,nojumps;name,NoJumps"
RemoveB="4;selectmultiple"
RemoveBDefault="mod,no nohands,no noquads,no nolifts,no nofakes"
RemoveB,1="mod,nohands;name,NoHands"
RemoveB,2="mod,noquads;name,NoQuads"
RemoveB,3="mod,nolifts;name,NoLifts"
RemoveB,4="mod,nofakes;name,NoFakes"
Scroll="5;selectmultiple"
ScrollDefault="mod,no reverse,no split,no alternate,no cross,no centered"
Scroll,1="mod,reverse;name,Reverse"
Scroll,2="mod,split;name,Split"
Scroll,3="mod,alternate;name,Alternate"
Scroll,4="mod,cross;name,Cross"
Scroll,5="mod,centered;name,Centered"
Holds="5;selectmultiple"
HoldsDefault="mod,no planted,no floored,no twister,no holdrolls"
Holds,1="mod,planted;name,Planted"
Holds,2="mod,floored;name,Floored"
Holds,3="mod,twister;name,Twister"
Holds,4="mod,norolls;name,NoRolls"
Holds,5="mod,holdrolls;name,HoldsToRolls"
[ScreenPlayerOptions]
Class="ScreenPlayerOptions"
Fallback="ScreenOptions"
NextScreen=SL.Global.ScreenAfter.PlayerOptions
TimerSeconds=SL.Global.MenuTimer.ScreenPlayerOptions
TimerStealth=false
TimerOnCommand=hide_if,not PREFSMAN:GetPreference("MenuTimer");draworder,99;
TimerOffCommand=
ForceTimer=false
ShowHeader=true
FooterOnCommand=visible,false
ShowCreditDisplay=false
OptionRowExitMetricsGroup="OptionRowExit"
RowPositionTransformFunction=function(self,positionIndex,itemIndex,numItems) self:y( (_screen.cy-170) + (_screen.h*0.065*positionIndex) ); end
RepeatRate=30
AllowRepeatingChangeValueInput=true
LineNames=(function() \
local lines = "SpeedModType,SpeedMod,Mini,Perspective,NoteSkinSL,Judgment,ComboFont,HoldJudgment,HeldGraphic,BackgroundFilter,NoteFieldOffsetX,NoteFieldOffsetY,VisualDelay,MusicRate,Stepchart,ScreenAfterPlayerOptions" \
if GAMESTATE:GetCurrentGame():GetName() == "pump" then lines = lines:gsub("HoldJudgment,","") end \
return lines \
end)()
##### Most Used #####
# OptionRows assembled in ./Scripts/SL-PlayerOptions.lua
LineSpeedModType="lua,CustomOptionRow('SpeedModType')"
LineSpeedMod="lua,CustomOptionRow('SpeedMod')"
LineMini="lua,CustomOptionRow('Mini')"
LineNoteSkinSL="lua,CustomOptionRow('NoteSkin')"
LineJudgment="lua,CustomOptionRow('JudgmentGraphic')"
LineComboFont="lua,CustomOptionRow('ComboFont')"
LineBackgroundFilter="lua,CustomOptionRow('BackgroundFilter')"
LineNoteFieldOffsetX="lua,CustomOptionRow('NoteFieldOffsetX')"
LineNoteFieldOffsetY="lua,CustomOptionRow('NoteFieldOffsetY')"
LineVisualDelay="lua,CustomOptionRow('VisualDelay')"
LineMusicRate="lua,CustomOptionRow('MusicRate')"
LineStepchart="lua,CustomOptionRow('Stepchart')"
LineScreenAfterPlayerOptions="lua,CustomOptionRow('ScreenAfterPlayerOptions')"
LineHoldJudgment="lua,CustomOptionRow('HoldJudgment')"
LineHeldGraphic="lua,CustomOptionRow('HeldGraphic')"
LineHide="lua,CustomOptionRow('Hide')"
LineMiniIndicator="lua,CustomOptionRow('MiniIndicator')"
LineMiniIndicatorColor="lua,CustomOptionRow('MiniIndicatorColor')"
# GameplayExtras options are presented as a single OptionRow in WideScreen
LineGameplayExtras="lua,CustomOptionRow('GameplayExtras')"
# split GameplayExtras options into two separate lines when not in WideScreen
# by having an extra "B" and "C" OptionRow available if needed
# in 4:3 aspect ratio, trying to fit all the GameplayExtras choices in a single
# OptionRow results in the choices being collapsed (hidden) into one choice so they
# don't spill offscreen. Not going offscreen is good, but hiding choices can be
# unclear from a usability standpoint.
LineGameplayExtrasB="lua,CustomOptionRow('GameplayExtrasB')"
LineGameplayExtrasC="lua,CustomOptionRow('GameplayExtrasC')"
LineResultsExtras="lua,CustomOptionRow('ResultsExtras')"
## These OptionRows appear on [ScreenPlayerOptions2] and [ScreenAttackMenu],
## define them here anyway so that each of those screens can fallback on this one
LineTurn="list,Turn"
LineScroll="list,Scroll"
LineLifeMeterType="lua,CustomOptionRow('LifeMeterType')"
LineDataVisualizations="lua,CustomOptionRow('DataVisualizations')"
LineStepStatsInfo="lua,CustomOptionRow('StepStatsInfo')"
LineScoreBoxOptions="lua,CustomOptionRow('ScoreBoxOptions')"
LineStepStatsExtra="lua,CustomOptionRow('StepStatsExtra')"
LineTargetScore="lua,CustomOptionRow('TargetScore')"
LineTargetScoreNumber="lua,CustomOptionRow('TargetScoreNumber')"
LineActionOnMissedTarget="lua,CustomOptionRow('ActionOnMissedTarget')"
LineErrorBar="lua,CustomOptionRow('ErrorBar')"
LineErrorBarTrim="lua,CustomOptionRow('ErrorBarTrim')"
LineErrorBarOptions="lua,CustomOptionRow('ErrorBarOptions')"
LineErrorBarCap="lua,CustomOptionRow('ErrorBarCap')"
LineFunOptions="lua,CustomOptionRow('FunOptions')"
LineMeasureCounterLookahead="lua,CustomOptionRow('MeasureCounterLookahead')"
LineMeasureCounter="lua,CustomOptionRow('MeasureCounter')"
LineMeasureCounterOptions="lua,CustomOptionRow('MeasureCounterOptions')"
LineMeasureLines="lua,CustomOptionRow('MeasureLines')"
LineLifeBarOptions="lua,CustomOptionRow('LifeBarOptions')"
LineJudgmentFlash="lua,CustomOptionRow('JudgmentFlash')"
LineComboColors="lua,CustomOptionRow('ComboColors')"
LineComboMode="lua,CustomOptionRow('ComboMode')"
LineTimerMode="lua,CustomOptionRow('TimerMode')"
LineJudgmentAnimation="lua,CustomOptionRow('JudgmentAnimation')"
LineRailBalance="lua,CustomOptionRow('RailBalance')"
LineTiltMultiplier="lua,CustomOptionRow('TiltMultiplier')"
LineExtraAesthetics="lua,CustomOptionRow('ExtraAesthetics')"
LineTimingWindowOptions="lua,CustomOptionRow('TimingWindowOptions')"
LineTimingWindows="lua,CustomOptionRow('TimingWindows')"
LineFaPlus="lua,CustomOptionRow('FaPlus')"
# lists assembled by the engine
LinePerspective="list,Perspective"
# LineNoteSkin is the engine-generated OptionRow
# we use it in EditMode's PlayerOptions to avoid buggy behavior
LineNoteSkin="list,NoteSkins"
## effects
Line11="list,Accel"
Line12="list,Effect"
Line13="list,Appearance"
ExplanationP1X=WideScale(26,39)
ExplanationP1Y=SCREEN_BOTTOM-95.5
ExplanationP1OnCommand=zoom,WideScale(0.7,0.75);diffuse,PlayerColor(PLAYER_1);_wrapwidthpixels,_screen.w*WideScale(0.59,0.5);horizalign,left;vertspacing,-7;cropright,1;linear,0.5;cropright,0
ExplanationP1OffCommand=linear,0.2;diffusealpha,0
ExplanationP2X=_screen.cx+WideScale(-22,0)
ExplanationP2Y=SCREEN_BOTTOM-95.5
ExplanationP2OnCommand=zoom,WideScale(0.7,0.75);diffuse,PlayerColor(PLAYER_2);_wrapwidthpixels,_screen.w*WideScale(0.59,0.5);horizalign,left;vertspacing,-7;cropright,1;linear,0.5;cropright,0
ExplanationP2OffCommand=linear,0.2;diffusealpha,0
[ScreenPlayerOptions2]
Class="ScreenPlayerOptions"
Fallback="ScreenPlayerOptions"
PrevScreen="ScreenPlayerOptions"
NextScreen=SL.Global.ScreenAfter.PlayerOptions2
NavigationMode="toggle"
OptionRowNormalMetricsGroup="OptionRowExtendedPlayerOptions"
# remove ActionOnMissedTarget if we're not in EventMode; it doesn't make sense to have it available in a Public Arcade setting
# remember that removing OptionRows from the modifier menus is only one part of this
# we need to perform additional checks in ./BGA/ScreenGameplay underlay/ to ensure that unwanted modifiers aren't brought into gameplay via player profile
LineNames=(function() \
local lines = "Turn,Scroll,Hide,LifeMeterType,DataVisualizations,TargetScore,TargetScoreNumber,ActionOnMissedTarget,MiniIndicator,GameplayExtras,GameplayExtrasB,TiltMultiplier,ResultsExtras,ErrorBar,ErrorBarOptions,ErrorBarCap,MeasureCounter,MeasureCounterLookahead,MeasureCounterOptions,MeasureLines,TimingWindowOptions,TimingWindows,FaPlus,ScreenAfterPlayerOptions2" \
if not PREFSMAN:GetPreference("EventMode") then lines = lines:gsub("ActionOnMissedTarget,", "") end \
if ThemePrefs.Get("EnableTournamentMode") then lines = lines:gsub("DataVisualizations,", "") end \
return lines \
end)()
# OptionRows assembled in ./Scripts/SL-PlayerOptions.lua
LineScreenAfterPlayerOptions2="lua,CustomOptionRow('ScreenAfterPlayerOptions2')"
[ScreenPlayerOptions3]
Class="ScreenPlayerOptions"
Fallback="ScreenPlayerOptions"
PrevScreen="ScreenPlayerOptions2"
NextScreen=SL.Global.ScreenAfter.PlayerOptions3
NavigationMode="toggle"
OptionRowNormalMetricsGroup="OptionRowExtendedPlayerOptions"
# remove Characters if no dancing character directories were found
LineNames=(function() \
local lines = "Insert,Remove,Holds,11,12,13,Attacks,Characters,ScreenAfterPlayerOptions3" \
if not IsUsingWideScreen() then lines = lines:gsub("Remove", "RemoveA,RemoveB") end \
if #CHARMAN:GetAllCharacters() < 1 then lines = lines:gsub("Characters,", "") end \
return lines \
end)()
# OptionRows assembled in ./Scripts/SL-PlayerOptions.lua
LineScreenAfterPlayerOptions3="lua,CustomOptionRow('ScreenAfterPlayerOptions3')"
# OptionRows assembled by the engine
LineInsert="list,Insert"
LineRemove="list,Remove"
LineRemoveA="list,RemoveA"
LineRemoveB="list,RemoveB"
LineHolds="list,Holds"
LineAttacks="list,Attacks"
LineCharacters="list,Characters"
[ScreenPlayerOptions4]
Class="ScreenPlayerOptions"
Fallback="ScreenPlayerOptions"
PrevScreen="ScreenPlayerOptions"
NextScreen=SL.Global.ScreenAfter.PlayerOptions4
NavigationMode="toggle"
OptionRowNormalMetricsGroup="OptionRowExtendedPlayerOptions"
LineNames=(function() \
local lines = "MiniIndicatorColor,StepStatsInfo,ScoreBoxOptions,StepStatsExtra,LifeBarOptions,JudgmentFlash,ComboColors,ComboMode,TimerMode,JudgmentAnimation,RailBalance,ExtraAesthetics,ScreenAfterPlayerOptions4" \
return lines \
end)()
# OptionRows assembled in ./Scripts/SL-PlayerOptions.lua
LineScreenAfterPlayerOptions4="lua,CustomOptionRow('ScreenAfterPlayerOptions4')"
[ScreenAttackMenu]
Class="ScreenPlayerOptions"
Fallback="ScreenPlayerOptions"
TimerSeconds=-1
NavigationMode="toggle"
LineNames="Mini,Perspective,Scroll,11,12,13"
## edit options
[ScreenEditOptions]
Fallback="ScreenPlayerOptions"
LineNames="SpeedModType,SpeedMod,Mini,Perspective,NoteSkin,MusicRate,Assist,ShowBGChangesPlay"
LineAssist="list,Assist"
LineShowBGChangesPlay="conf,EditorShowBGChangesPlay"
###########################################################################
### Base Options Screen
###########################################################################
[ScreenOptions]
NavigationMode="normal"
StopMusicOnBack=false
HelpText=ScreenString("HelpTextOptions")
ShowFooter=true
FooterOnCommand=draworder,-1;
ContainerOnCommand=zoom,1.1;accelerate,0.3;diffusealpha,1;
ContainerOffCommand=accelerate,0.3;diffusealpha,0
RowInitCommand=diffusealpha,0;
RowOnCommand=linear,0.2;diffusealpha,1;draworder,-1
RowOffCommand=linear,0.2;diffusealpha,0
RowPositionTransformFunction=function(self,positionIndex,itemIndex,numItems) self:y( (_screen.cy-180) + (32*positionIndex) ); end
NumRowsShown=10
LineHighlightP1OnCommand=visible,false
LineHighlightP2OnCommand=visible,false
ShowOptionIcons=false
SeparateExitRow=false
TweenSeconds=0.1
CursorTweenSeconds=0.1
ExplanationP1X=SCREEN_LEFT+40
ExplanationP1Y=SCREEN_BOTTOM-65
ExplanationP1OnCommand=draworder,1;zoom,0.75;diffuse,Color.Black;_wrapwidthpixels,_screen.cx*1.5;halign,0;valign,0;cropright,1;linear,0.5;cropright,0;vertspacing,-8
ExplanationP1OffCommand=
ExplanationP2X=WideScale(SCREEN_RIGHT-100,SCREEN_RIGHT-200)
ExplanationP2Y=SCREEN_BOTTOM-65
ExplanationP2OnCommand=draworder,1;zoom,0.75;diffuse,Color.Black;_wrapwidthpixels,_screen.cx*1.5;halign,1;valign,0;cropright,1;linear,0.5;cropright,0;vertspacing,-8
ExplanationP2OffCommand=
ExplanationTogetherX=40
ExplanationTogetherY=_screen.cy+180
ExplanationTogetherOnCommand=zoom,0.5;diffuse,Color.Black;_wrapwidthpixels,_screen.w*1.75;halign,0;vertspacing,-8
BulletX=_screen.cx-_screen.cy
BulletOnCommand=visible,false
ItemsGapX=12
ItemsMinBaseZoom=0.55
ItemsOnCommand=zoom,0.55;
ItemGainFocusCommand=
ItemLoseFocusCommand=
ColorSelected=color("1,1,1,1")
ColorNotSelected=color("0.85,0.85,0.85,1")
CursorOnCommand=zoomx,1.33
DisqualifyP1X=_screen.cx - WideScale(0,15) - WideScale(177,200)
DisqualifyP1Y=SCREEN_TOP+48
DisqualifyP1OnCommand=zoom,0.25;horizalign,right;diffuse,PlayerColor(PLAYER_1)
DisqualifyP2X=_screen.cx - WideScale(0,15) + WideScale(177,200)
DisqualifyP2Y=SCREEN_TOP+48
DisqualifyP2OnCommand=zoom,0.25;horizalign,left;diffuse,PlayerColor(PLAYER_2)
[ScreenOptionsSimple]
RowPositionTransformFunction=function(self,positionIndex,itemIndex,numItems) self:y( (_screen.cy-180) + (32*positionIndex) ); end
StopMusicOnBack=false
SeparateExitRow=false
ExplanationTogetherX=_screen.cx-25
ExplanationTogetherOnCommand=%function(self) \
self:zoom(0.725):_wrapwidthpixels(_screen.w/self:GetZoom()):vertspacing(-8) \
self:diffuse(ThemePrefs.Get("RainbowMode") and Color.White or Color.Black) \
end
OptionRowNormalMetricsGroup="OptionRowSimple"
OptionRowExitMetricsGroup="OptionRowSimpleExit"
CursorOnCommand=visible,false
ShowCreditDisplay=false
###########################################################################
### Operator Menu
###########################################################################
[ScreenOptionsService]
Fallback="ScreenOptionsSimple"
OptionRowNormalMetricsGroup="OptionRowSimpleService"
PrevScreen=Branch.TitleMenu()
NextScreen=Branch.TitleMenu()
FooterOnCommand=visible,false
# Don't let the engine handle Screen canceling; implement it in Lua for this screen
# so that we can warn the player about the dangers of using Simply Thonk + D3D
# and redirect them to change their Visual Style or VideoRenderer, if needed.
HandleBackButton=false
NumRowsShown=10
# remove ClearCredits if we're not in CoinMode_Pay; it doesn't make sense to show for at-home players
# note that (EventMode + CoinMode_Pay) will actually place you in CoinMode_Home
#
# remove CustomSongs if the corresponding preferences don't exist in Preferences.ini
# CustomSongs wasn't added until 5.1 beta, but SL still supports 5.0.12 for now
LineNames=(function() \
local lines = "SystemOptions,MapControllers,TestInput,InputOptions,GraphicsSoundOptions,VisualOptions,ArcadeOptions,AdvancedOptions,MenuTimerOptions,USBProfileOptions,OptionsManageProfiles,ThemeOptions,TournamentModeOptions,GrooveStatsOptions,ZmodOptions,StepManiaCredits,ClearCredits,Reload" \
if GAMESTATE:GetCoinMode() ~= "CoinMode_Pay" then lines = lines:gsub("ClearCredits,", "") end \
if not PREFSMAN:PreferenceExists("CustomSongsEnable") then lines = lines:gsub("USBProfileOptions,", "") end \
return lines \
end)()
LineSystemOptions="gamecommand;screen,ScreenSystemOptions;name,SystemOptions"
LineMapControllers="gamecommand;screen,ScreenMapControllers;name,Key Joy Mappings"
LineTestInput="gamecommand;screen,ScreenTestInput;name,Test Input"
LineInputOptions="gamecommand;screen,ScreenInputOptions;name,InputOptions"
LineGraphicsSoundOptions="gamecommand;screen,ScreenGraphicsSoundOptions;name,GraphicsSoundOptions"
LineVisualOptions="gamecommand;screen,ScreenVisualOptions;name,VisualOptions"
LineArcadeOptions="gamecommand;screen,ScreenArcadeOptions;name,ArcadeOptions"
LineAdvancedOptions="gamecommand;screen,ScreenAdvancedOptions;name,AdvancedOptions"
LineMenuTimerOptions="gamecommand;screen,ScreenMenuTimerOptions;name,MenuTimerOptions"
LineUSBProfileOptions="gamecommand;screen,ScreenUSBProfileOptions;name,USBProfileOptions"
LineOptionsManageProfiles="gamecommand;screen,ScreenOptionsManageProfiles;name,Profiles"
LineAppearance="gamecommand;screen,ScreenAppearanceOptions;name,AppearanceOptions"
LineThemeOptions="gamecommand;screen,ScreenThemeOptions;name,ThemeOptions"
LineTournamentModeOptions="gamecommand;screen,ScreenTournamentModeOptions;name,TournamentModeOptions"
LineStepManiaCredits="gamecommand;screen,ScreenCredits;name,StepMania Credits"
LineClearCredits="gamecommand;clearcredits;name,Clear Credits"
LineGrooveStatsOptions="gamecommand;screen,ScreenGrooveStatsOptions;name,GrooveStatsOptions"
LineZmodOptions="gamecommand;screen,ScreenZmodOptions;name,ZmodOptions"
ExplanationTogetherOnCommand=visible,false
[ScreenSystemOptions]
Fallback="ScreenOptionsServiceChild"
PrevScreen="ScreenOptionsService"
NextScreen="ScreenOptionsService"
LineNames="Game,Theme,Language,Announcer,DefaultNoteSkin,EditorNoteSkin"
LineGame="conf,Game"
LineTheme="lua,OperatorMenuOptionRows.Theme()"
LineLanguage="conf,Language"
LineAnnouncer="conf,Announcer"
LineDefaultNoteSkin="conf,DefaultNoteSkin"
LineEditorNoteSkin="lua,OperatorMenuOptionRows.EditorNoteskin()"
[ScreenPromptToResetPreferencesToStock]
Fallback="ScreenWithMenuElements"
PrevScreen="ScreenSystemOptions"
NextScreen="ScreenOptionsService"
HeaderOnCommand=visible,false
FooterOnCommand=visible,false
ShowCreditDisplay=false
[ScreenPromptToSetSrpgVisualStyle]
Fallback="ScreenWithMenuElements"
PrevScreen="ScreenTitleMenu"
NextScreen="ScreenTitleMenu"
HeaderOnCommand=visible,false
FooterOnCommand=visible,false
ShowCreditDisplay=false
# ScreenGameplaySyncMachine is currently not accessible in Simply Love.
# I haven't thought of a good way to handle/explain ITG's +9ms bias in a way
# that the average player can easily comprehend in order to make an informed
# decision about sync. So... just don't let players get in here for now.