forked from MidflightDigital/XX--STARLiGHT--twopointzero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metrics.ini
2548 lines (2192 loc) · 68.9 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
[Global]
FallbackTheme=_fallback
[Common]
# Sets the default "units" for the window. If the window aspect is different
# from the theme aspect, one of these two numbers is scaled up to match.
ScreenHeight=1080
NoScoreName="STARLGHT"
OverlayScreens="ScreenSystemLayer,ScreenSyncOverlay,ScreenStatsOverlay,ScreenDebugOverlay,ScreenInstallOverlay"
DefaultModifiers=
DefaultNoteSkinName=
InitialScreen="ScreenClear"
AutoSetStyle=false
ImageCache="Banner,Background,Jacket,Disc"
StepsTypesToHide="dance-threepanel,lights-cabinet"
[ProfileManager]
# I wouldn't change these either.
FixedProfiles=false
NumFixedProfiles=1
[SongManager]
ExtraStagePlayerModifiers=
ExtraStageStageModifiers="failimmediatecontinue,norecover"
OMESPlayerModifiers=
OMESStageModifiers="failimmediate,suddendeath"
[GameState]
DefaultSort="Group"
DefaultSong=""
# How good of a grade you have to get to get an ES/OMES. Locked to an 'AA'
# note: we don't actually do this here now
# and how difficult that song you got has to be
MinDifficultyForExtra="Difficulty_Hard"
# System Direction
AreStagePlayerModsForced=true
AreStageSongModsForced=false
# Let players join while you play if they put in some coins
# aw, c'mon.
AllowLateJoin=true
# Various feats that you can earn
ProfileRecordFeats=true
CategoryRecordFeats=true
# Disallow bad names
UseNameBlacklist=false
AllowExtra=true
AllowExtra2=false
# I'm pretty sure SN2 onward let you change difficulty, at least on ES
LockExtraStageSelection=false
# [sm-ssc] Normally, in event mode, the premium value is ignored. Set this
# metric to true to re-gain that behavior.
DisablePremiumInEventMode=false
# Let edit steps be allowed for earning extra stages.
EditAllowedForExtra=false
[CodeDetector]
# For Future Reference:
# @ = Holding
# - = In Conjuction With / Then
# ~ = Released
# + = At The Same Time
ModeMenu1=""
ModeMenu2=""
NextSort1=
NextSort2=
NextSort3=
NextSort4=
NextSteps2=
PrevSteps2=
CloseCurrentFolder="MenuUp-MenuDown"
NextGroup=
PrevGroup=
CancelTwoPartSelectButton1=
CancelTwoPartSelectButton2=
#############################################################################
# GENERIC CLASSES
#############################################################################
#
# Here we define the "defaults" for larger classes of screens rather than
# specific screens.
#
[ScreenSystemLayer]
Class="ScreenSystemLayer"
Fallback="Screen"
ShowCreditDisplay=true
CreditsJoinOnly=false
ShowCoinsAndCredits=true
CreditsP1X=SCREEN_LEFT+102
CreditsP1Y=SCREEN_BOTTOM-10
CreditsP1RefreshCreditTextMessageCommand=playcommand,"UpdateText";
CreditsP1CoinInsertedMessageCommand=playcommand,"UpdateText";
CreditsP1CoinInsertedMessageCommand=playcommand,"UpdateText";
CreditsP1PlayerJoinedMessageCommand=playcommand,"UpdateText";
CreditsP1ScreenChangedMessageCommand=playcommand,"UpdateVisible";queuecommand,"On"
CreditsP1OnCommand=zoom,0.8;
CreditsP1OffCommand=
CreditsP2X=SCREEN_RIGHT-102
CreditsP2Y=SCREEN_BOTTOM-10
CreditsP2RefreshCreditTextMessageCommand=playcommand,"UpdateText";
CreditsP2CoinInsertedMessageCommand=playcommand,"UpdateText";
CreditsP2PlayerJoinedMessageCommand=playcommand,"UpdateText";
CreditsP2ScreenChangedMessageCommand=playcommand,"UpdateVisible";queuecommand,"On"
CreditsP2OnCommand=zoom,0.8;
CreditsP2OffCommand=
[ScreenDebugOverlay]
Class="ScreenDebugOverlay"
Fallback="Screen"
BackgroundColor=color("0,0,0,0.5")
LineOnColor=color("1,1,1,1")
LineOffColor=color("0.6,0.6,0.6,1")
LineStartY=SCREEN_TOP+50
LineSpacing=24
LineButtonX=SCREEN_CENTER_X-50
LineFunctionX=SCREEN_CENTER_X-30
ButtonTextOnCommand=strokecolor,Color.Black;zoom,1.3
ButtonTextToggledCommand=accelerate,0.025;glow,color("1,0,0,1");sleep,0.125;decelerate,0.2;glow,color("1,0,0,0");
FunctionTextOnCommand=strokecolor,Color.Black;zoom,1.3
PageStartX=SCREEN_CENTER_X-100
PageSpacingX=200
PageTextOnCommand=strokecolor,Color.Black;zoom,1.3
PageTextGainFocusCommand=diffuse,color("1,1,1,1")
PageTextLoseFocusCommand=diffuse,color("0.6,0.6,0.6,1")
DebugMenuHeaderX=SCREEN_LEFT+80
DebugMenuHeaderY=SCREEN_TOP+18
DebugMenuHeaderOnCommand=diffusebottomedge,color("0.5,0.5,0.5,1");strokecolor,color("0,0,0,0.5");zoom,2
DebugMenuHeaderOffCommand=
HeaderTextX=SCREEN_LEFT+80
HeaderTextY=SCREEN_TOP+18
HeaderTextOnCommand=diffusebottomedge,color("0.5,0.5,0.5,1");strokecolor,color("0,0,0,0.5");zoom,2
HeaderTextOffCommand=
#
[ScreenStatsOverlay]
Class="ScreenStatsOverlay"
Fallback="Screen"
StatsX=SCREEN_RIGHT-8
StatsY=SCREEN_TOP+10
StatsOnCommand=halign,1;valign,0;shadowlength,1;zoom,1;strokecolor,Color.Black
ShowSkips=true
SkipX=SCREEN_RIGHT-100
SkipY=SCREEN_BOTTOM-100
SkipOnCommand=zoom,1
SkipWidth=190
SkipSpacingY=14
#
# Defaults for most top-level screens
[ScreenWithMenuElements]
ShowHeader=true
HeaderX=
HeaderY=
FooterX=
FooterY=
ShowFooter=false
ShowHelp=false
HelpX=_screen.cx
HelpY=SCREEN_BOTTOM-50
HelpOnCommand=draworder,200;zoomy,0;sleep,0.2;linear,0.1;zoomy,1
HelpOffCommand=linear,0.1;zoomy,0
FooterText="analyzing"
StopMusicOnBack=true
TimerMetricsGroup="MenuTimer"
TimerX=SCREEN_RIGHT-200
TimerY=SCREEN_TOP+100
TimerOnCommand=draworder,2;zoom,0;linear,0.25;zoom,0.75
TimerOffCommand=linear,0.25;zoom,0;
TimerStealth=false
[ScreenClear]
Class="ScreenAttract"
Fallback="ScreenAttract"
NextScreen=Branch.WarningOrAlert()
ForceTimer=true
TimerStealth=true
HeaderText=
TimerSeconds=1
TimerOnCommand=zoom,0
[ScreenPotatoPC]
Fallback="ScreenWarning"
NextScreen="ScreenMDSplash"
TimerSeconds=8
[ScreenMDSplash]
Class="ScreenAttract"
Fallback="ScreenAttract"
NextScreen="ScreenDisclaimer"
ForceTimer=true
TimerStealth=true
TimerSeconds=10
TimerOnCommand=zoom,0
[ScreenGraphicsAlert]
Fallback="ScreenWithMenuElements"
NextScreen="ScreenDevBuild"
ShowHeader=true
HeaderText="ALERT"
ShowFooter=false
TimerSeconds=0
TimerOnCommand=zoom,0
StopMusicOnBack=true
[ScreenOldSM]
Fallback="ScreenWithMenuElements"
NextScreen=Branch.AfterOLDSM()
ShowHeader=true
HeaderText="ALERT"
ShowFooter=false
TimerSeconds=0
TimerOnCommand=zoom,0
StopMusicOnBack=true
[ScreenDevBuild]
Fallback="ScreenWithMenuElements"
NextScreen="ScreenPotatoPC"
ShowHeader=true
HeaderText="ALERT"
ShowFooter=false
TimerSeconds=0
TimerOnCommand=zoom,0
StopMusicOnBack=true
[ScreenWithMenuElementsBlank]
Class="ScreenWithMenuElements"
Fallback="ScreenWithMenuElements"
# This is meant to show titles for menu screens, which we don't want in some
# places (such as the attract loop).
ShowHeader=false
WaitForChildrenBeforeTweeningOut=false
[MenuTimer]
WarningStart=10
WarningBeepStart=10
MaxStallSeconds=30
#
HurryUpTransition=20
Text1OnCommand=stopeffect;stoptweening;xy,-24,24;zoom,0.6;diffusealpha,0.9;blend,Blend.Add;linear,0.25;sleep,0.75;queuecommand,"On"
Text1FormatFunction=function(fSeconds) fSeconds=math.min( 99, math.ceil(fSeconds) ); local digit = math.floor(fSeconds/10); return ""..digit end
Text2OnCommand=stopeffect;stoptweening;xy,24,24;zoom,0.6;diffusealpha,0.9;blend,Blend.Add;linear,0.25;sleep,0.75;queuecommand,"On"
Text2FormatFunction=function(fSeconds) fSeconds=math.min( 99, math.ceil(fSeconds) ); local digit = math.mod(fSeconds,10); return ""..digit end
FrameX=11
FrameY=25
FrameOnCommand=
#
Warning10Command=diffuseshift;effectperiod,1;effectcolor1,Color.White;effectcolor2,Color.Red;
Warning9Command=diffuseshift;effectperiod,1;effectcolor1,Color.White;effectcolor2,Color.Red;
Warning8Command=diffuseshift;effectperiod,1;effectcolor1,Color.White;effectcolor2,Color.Red;
Warning7Command=diffuseshift;effectperiod,1;effectcolor1,Color.White;effectcolor2,Color.Red;
Warning6Command=diffuseshift;effectperiod,1;effectcolor1,Color.White;effectcolor2,Color.Red;
Warning5Command=diffuseshift;effectperiod,0.2;effectcolor1,Color.White;effectcolor2,Color.Red;
Warning4Command=diffuseshift;effectperiod,0.2;effectcolor1,Color.White;effectcolor2,Color.Red;
Warning3Command=diffuseshift;effectperiod,0.2;effectcolor1,Color.White;effectcolor2,Color.Red;
Warning2Command=diffuseshift;effectperiod,0.2;effectcolor1,Color.White;effectcolor2,Color.Red;
Warning1Command=diffuseshift;effectperiod,0.2;effectcolor1,Color.White;effectcolor2,Color.Red;
Warning0Command=diffuseshift;effectperiod,0.2;effectcolor1,Color.White;effectcolor2,Color.Red;
[MenuTimerNoSound]
Fallback="MenuTimer"
HurryUpTransition=0
WarningBeepStart=0
FrameOnCommand=visible,false
[ScreenAttract]
Class="ScreenAttract"
Fallback="ScreenWithMenuElementsBlank"
PrevScreen=Branch.FirstScreen()
StartScreen=Branch.AttractStart()
ForceTimer=true
TimerSeconds=5
# There is no ShowTimer metric, so this is how the timer is usually hidden
TimerOnCommand=visible,false
################################################################################
[ScreenOptions]
StopMusicOnBack=true
[ScreenMapControllers]
DevicesY=SCREEN_TOP+160
LineScrollerOnCommand=%function(self) self:draworder(-1); self:xy(-480,200) self:zoom(1.5) self:setsecondsperitem(0.1) self:SetTransformFromHeight(24) end
[ScreenOptionsTheme]
Fallback="ScreenOptionsServiceChild"
NextScreen="ScreenPHOTwON"
PrevScreen="ScreenPHOTwON"
LineNames="RadarLimit,CDTITLE,gComboUnderField,JudgeUnderField,FlashyCombo,ComboColorMode,Convert,ShowDiffSelect,ShowHTP"
#LineEXScore="lua,ThemePrefRow('EXScore')"
LineConvert="lua,ThemePrefRow('ConvertScoresAndGrades')"
LinegAuto="lua,ThemePrefRow('AutoSetStyle')"
LinegComboUnderField="lua,ThemePrefRow('ComboUnderField')"
LineJudgeUnderField="lua,ThemePrefRow('JudgeUnderField')"
LineFlashyCombo="lua,ThemePrefRow('FlashyCombo')"
LineShowDiffSelect="lua,ThemePrefRow('ShowDiffSelect')"
LineShowHTP="lua,ThemePrefRow('ShowHTP')"
LineComboColorMode="lua,ThemePrefRow('ComboColorMode')"
LineRadarLimit="lua,ThemePrefRow('RadarLimit')"
LineCDTITLE="lua,ThemePrefRow('CDTITLE')"
[ScreenOptionsService]
ShowHeader=true
ScreenOutDelay=0
NumRowsShown=14
RowPositionTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
self:y((SCREEN_CENTER_Y-352)+(40*offsetFromCenter)) \
end
HeaderText="settings"
StopMusicOnBack=true
LineNames="Theme,GameType,GraphicSound,KeyConfig,Arcade,InputOptions,SoundGraphics,Profiles,Network,Advanced,Reload,XXCredits,Credits"
LineTheme="gamecommand;screen,ScreenPHOTwON;name,Theme Options"
LineXXCredits="gamecommand;name,XX Credits;screen,"..SetupCredits()
PageOnCommand=visible,false
PageOffCommand=
ContainerOnCommand=addy,SCREEN_HEIGHT;decelerate,0.2;addy,-SCREEN_HEIGHT
ContainerOffCommand=accelerate,0.2;addy,-SCREEN_HEIGHT
CursorTweenSeconds=0.15
LineHighlightP1OnCommand=zoom,1;x,SCREEN_CENTER_X;draworder,1
LineHighlightP1ChangeCommand=visible,true
LineHighlightP1ChangeToExitCommand=visible,true
#
LineHighlightP2OnCommand=zoom,1;x,SCREEN_CENTER_X;draworder,1
LineHighlightP2ChangeCommand=visible,true
LineHighlightP2ChangeToExitCommand=visible,true
ExplanationTogetherX=IsUsingWideScreen() and SCREEN_LEFT+400 or SCREEN_LEFT+160
ExplanationTogetherY=SCREEN_BOTTOM-260
ExplanationTogetherOnCommand=halign,0;valign,0;shadowlength,0;zoom,1.1;wrapwidthpixels,1400;cropright,1;linear,0.5;cropright,0
ExplanationTogetherOffCommand=stoptweening
SeparateExitRow=false
OptionRowExitMetricsGroup="OptionRowExit"
OptionRowNormalMetricsGroup="OptionRowService"
[ScreenOptionsServiceChild]
Fallback="ScreenOptionsService"
OptionRowNormalMetricsGroup="OptionRowServiceChild"
StopMusicOnBack=true
LineHighlightP1OnCommand=zoom,1;x,SCREEN_CENTER_X;draworder,1
LineHighlightP1ChangeCommand=visible,true
LineHighlightP1ChangeToExitCommand=visible,true
#
LineHighlightP2OnCommand=zoom,1;x,SCREEN_CENTER_X;draworder,1
LineHighlightP2ChangeCommand=visible,true
LineHighlightP2ChangeToExitCommand=visible,true
ExplanationTogetherX=IsUsingWideScreen() and SCREEN_LEFT+400 or SCREEN_LEFT+160
ExplanationTogetherY=SCREEN_BOTTOM-260
ExplanationTogetherOnCommand=halign,0;valign,0;shadowlength,0;zoom,1.1;wrapwidthpixels,1020;cropright,1;linear,0.5;cropright,0
ExplanationTogetherOffCommand=stoptweening
[OptionRowService]
TitleX=SCREEN_CENTER_X-620
TitleY=0
TitleOnCommand=halign,0;strokecolor,color("0,0,0,0.25");uppercase,true;maxwidth,280
TitleGainFocusCommand=diffuse,Color("White")
TitleLoseFocusCommand=diffuse,Color("White")
ItemsStartX=SCREEN_CENTER_X-300
ItemsEndX=SCREEN_CENTER_X-160
ItemsGapX=12
ItemsMinBaseZoom=2.5
ItemOnCommand=uppercase,true;shadowlength,0;zoom,1
ItemGainFocusCommand=
ItemLoseFocusCommand=
ItemsLongRowP1X=SCREEN_CENTER_X-160
ItemsLongRowP2X=SCREEN_CENTER_X-160
ItemsLongRowSharedX=SCREEN_CENTER_X-160
ColorSelected=Color("White")
ColorNotSelected=Color("White")
ColorDisabled=Color("White")
[OptionRowServiceChild]
Fallback="OptionRowService"
ShowUnderlines=true
ItemsStartX=SCREEN_CENTER_X-300
ItemsEndX=SCREEN_CENTER_X+300
ItemsGapX=18
ItemsMinBaseZoom=0.5
ItemsLongRowSharedX=SCREEN_CENTER_X
ItemOnCommand=strokecolor,color("0,0,0,0.25");uppercase,true;maxwidth,400
[OptionRowExit]
FrameOnCommand=visible,true
FrameX=SCREEN_CENTER_X-620
ItemsMinBaseZoom=1
ItemOnCommand=halign,0;x,SCREEN_CENTER_X-620;uppercase,true;strokecolor,color("0,0,0,0.25");
ItemGainFocusCommand=diffuse,Color("White")
ItemLoseFocusCommand=diffuse,Color("White")
ItemsLongRowP1X=SCREEN_CENTER_X-1024
ItemsLongRowP2X=SCREEN_CENTER_X+1024
ItemsLongRowSharedX=SCREEN_CENTER_X-168
ColorSelected=Color("White")
ColorNotSelected=Color("White")
ColorDisabled=Color("White")
[OptionRowPlayer]
Fallback="OptionRow"
ShowUnderlines=false
TitleX=SCREEN_CENTER_X
TitleY=
TitleOnCommand=zoomy,0.8;zoomx,0.9
TitleGainFocusCommand=diffuse,color("1,1,1,1");
TitleLoseFocusCommand=stopeffect;diffuse,color("#013c14");strokecolor,color("0,0.8,0,1")
FrameX=SCREEN_CENTER_X
FrameY=
FrameGainFocusCommand=diffuse,color("1,1,1,1");
FrameLoseFocusCommand=stopeffect;diffuse,color("0.375,0.5,0,1")
ItemsStartX=SCREEN_CENTER_X
ItemsEndX=SCREEN_CENTER_X
ItemsGapX=14
ItemsMinBaseZoom=0.6
ItemOnCommand=uppercase,true;draworder,100;zoom,0.8;maxwidth,236
ItemGainFocusCommand=
ItemLoseFocusCommand=
ItemsLongRowP1X=SCREEN_CENTER_X-200
ItemsLongRowP2X=SCREEN_CENTER_X+200
ItemsLongRowSharedX=SCREEN_CENTER_X-200
TweenSeconds=0.05
ColorSelected=color("#0cff00")
ColorNotSelected=color("0.34,0.34,0.34,1")
ColorDisabled=color("0.34,0.34,0.34,1")
[ScreenPHOTwON]
Class="ScreenSelectMaster"
Fallback="ScreenSelectMaster"
PrevScreen=Branch.FirstScreen()
NextScreen=Branch.FirstScreen()
HandleBackButton=false
SharedSelection=true
HeaderText="Customize"
StopMusicOnBack=true
ChoiceNames="1,2,3,4"
Choice1="name,TopLeft;"
Choice2="name,TopRight;"
Choice3="name,BotLeft;"
Choice4="name,BotRight;"
DefaultChoice="1"
OptionOrderUp="1:3,3:1,2:4,4:2"
OptionOrderDown="1:3,3:1,2:4,4:2"
OptionOrderLeft="1:2,2:1,3:4,4:3"
OptionOrderRight="1:2,2:1,3:4,4:3"
# needed for detecting start input
CodeNames="Start,Back"
#ToggleEditMode
CodeStart="~Start"
CodeBack="~Back"
#CodeToggleEditMode="Up,Up,Down,Down,Left,Right,Left,Right,Select,Select,Select"
[ScreenSongOptions]
HeaderText="playeroptions"
[ScreenPlayerOptions]
ShowFooter=false
ShowHeader=true
HeaderX=
HeaderY=
HeaderText="playeroptions"
ShowHelp=false
ShowStyleIcon=false
WaitForChildrenBeforeTweeningOut=true
AllowRepeatingChangeValueInput=true
WrapValueInRow=false
StopMusicOnBack=false
#See 01 Other.lua for details, in short we don't *want* to enable the exit row but
#it is sometimes necessary -tertu
ShowExitRow=true
NavigationMode="normal"
InputMode="individual"
ForceAllPlayers=false
RepeatRate=12
RepeatDelay=0.5
NumRowsShown=16
RowInitCommand=
RowOnCommand=
RowOffCommand=
RowPositionTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
self:y((SCREEN_CENTER_Y-160)+(20*offsetFromCenter)) \
end
ContainerOnCommand=visible,false
ContainerOffCommand=sleep,0.2;accelerate,0.5;addx,SCREEN_WIDTH
ExplanationP1X=SCREEN_CENTER_X-280
ExplanationP1Y=SCREEN_CENTER_Y+135
ExplanationP2X=SCREEN_CENTER_X+10
ExplanationP2Y=SCREEN_CENTER_Y+135
LineHighlightP1OnCommand=draworder,-2
LineHighlightP1ChangeCommand=visible,true
LineHighlightP1ChangeToExitCommand=visible,false
LineHighlightP2OnCommand=draworder,-2
LineHighlightP2ChangeCommand=visible,true
LineHighlightP2ChangeToExitCommand=visible,false
ExplanationP1OnCommand=zoom,0.55;wrapwidthpixels,494;horizalign,left;strokecolor,Color("Black")
ExplanationP2OnCommand=zoom,0.55;wrapwidthpixels,494;horizalign,right;strokecolor,Color("Black")
OptionRowNormalMetricsGroup="OptionRowPlayer"
OptionRowExitMetricsGroup="OptionRowExitPlayer"
LineNames="SType,1,2,3,4,5,6,7,10,8,9,13,12,15"
Line1="list,Speed"
#Line1="lua,SpeedModS()"
Line2="list,Accel"
Line3="lua,OptionRowAppearancePlusUseFile()"
Line4="list,Turn"
Line5="list,Hide"
Line6="list,Scroll"
Line7="list,NoteSkins"
Line8="list,Freeze"
Line9="list,Jump"
Line10="list,Remove"
Line12="list,Gauge"
Line13="lua,OptionRowScreenFilter()"
Line14="list,Steps"
Line15="lua,OptionRowCharacters()"
LineMini="list,Mini"
LineSType="lua,ArbitrarySpeedMods2ModType()"
MoreX=SCREEN_CENTER_X
MoreY=SCREEN_CENTER_Y+58
MoreOnCommand=zoom,0.7
MoreExitSelectedP1Command=
MoreExitSelectedP2Command=
MoreExitUnselectedP1Command=
MoreExitUnselectedP2Command=
[ScreenPlayerOptionsPopup]
Fallback="ScreenPlayerOptions"
ShowHeader=false
ShowFooter=false
TimerStealth=true
TimerSeconds=-1
ScreenOutDelay=1
[OptionRowExitPlayer]
Fallback="OptionRow"
FrameOnCommand=visible,false
TitleOnCommand=visible,false
ItemOnCommand=visible,false
[ScreenOptionsMaster]
Fallback="ScreenOptions"
Class="ScreenOptionsMaster"
NoteSkinSortOrder=""
SpeedTypeExplanation="SpeedMod"
SpeedModSExplanation=
Speed2Menu="2"
Speed2MenuExplanation="SpeedMod"
Speed2MenuDefault=""
Speed2Menu,1="name,Speed2Type;screen,Speed2Type"
Speed2Menu,2="name,Speed2Value;screen,Speed2Value"
Speed2TypeExplanation="Speed2Type"
Speed2ValueExplanation="Speed2Value"
SongMenu="6"
SongMenuDefault=""
SongMenu,1="name,Speed2;screen,Speed2Menu"
SongMenu,2="name,NoteSkins;screen,NoteSkins"
SongMenu,3="name,Scroll;screen,Scroll"
SongMenu,4="name,Characters;screen,Characters"
SongMenu,5="name,DispMenu;screen,DispMenu"
SongMenu,6="name,Advanced;screen,AdvMenu"
DispMenu="5"
DispMenuDefault=""
DispMenuExplanation="DispMenu"
DispMenu,1="name,Hide;screen,Hide"
DispMenu,2="name,Filter;screen,Filter"
#SongMenu,5="name,GuideLine;screen,GuideLine"
DispMenu,3="name,Bias;screen,Bias"
DispMenu,4="name,SCLab;screen,ScoreLabel"
DispMenu,5="name,EX;screen,EX"
AdvMenu="8"
AdvMenuDefault=""
AdvMenu,1="name,ResetOptions"
AdvMenu,2="name,RemoveMenu;screen,RemMenu"
AdvMenu,3="name,Accel;screen,Accel"
AdvMenu,4="name,Appearance;screen,Appearance"
AdvMenu,5="name,Mini;screen,Mini"
AdvMenu,6="name,Turn;screen,Turn"
AdvMenu,7="name,Gauge;screen,Gauge"
AdvMenu,8="name,Rate;screen,MusicRate"
#Who's Rem?
RemMenu="4"
RemMenuExplanation="Remove"
RemMenuDefault=""
RemMenu,1="name,Mines;screen,Mines"
RemMenu,2="name,Remove;screen,Remove"
RemMenu,3="name,Freeze;screen,Freeze"
RemMenu,4="name,Jump;screen,Jump"
Mini="1"
MiniDefault="mod,no mini"
Mini,1="mod,mini;name,Mini"
# ExitItem is an exit row with the "Exit" text as a menu item; ExitTitle
# uses the menu title.
ExitItem="1;together;SelectNone;showoneinrow"
ExitItemDefault=""
ExitItem,1="screen," .. Screen.Metric("NextScreen") .. ";name,ExitItem"
ExitTitle="1;together;SelectNone;showoneinrow"
ExitTitleDefault=""
ExitTitle,1="screen," .. Screen.Metric("NextScreen") .. ";name,ExitTitle"
# player options
SpeedModExplanation="SpeedMod"
SpeedModIcon=false
SpeedMod="3"
SpeedModDefault="mod,xmod"
SpeedMod,1="mod,xmod;name,xmod"
SpeedMod,2="mod,cmod;name,cmod"
SpeedMod,3="mod,mmod;name,mmod"
SpeedExplanation="Speed"
SpeedIcon=false
Speed="24"
SpeedDefault="mod,1x,no randomspeed"
Speed,1="mod,0.25x;name,x0.25"
Speed,2="mod,0.50x;name,x0.5"
Speed,3="mod,0.75x;name,x0.75"
Speed,4="mod,1x;name,x1"
Speed,5="mod,1.25x;name,x1.25"
Speed,6="mod,1.5x;name,x1.5"
Speed,7="mod,1.75x;name,x1.75"
Speed,8="mod,2x;name,x2"
Speed,9="mod,2.25x;name,x2.25"
Speed,10="mod,2.50x;name,x2.5"
Speed,11="mod,2.75x;name,x2.75"
Speed,12="mod,3x;name,x3"
Speed,13="mod,3.25x;name,x3.25"
Speed,14="mod,3.50x;name,x3.5"
Speed,15="mod,3.75x;name,x3.75"
Speed,16="mod,4x;name,x4"
Speed,17="mod,4.5x;name,x4.5"
Speed,18="mod,5x;name,x5"
Speed,19="mod,5.5x;name,x5.5"
Speed,20="mod,6x;name,x6"
Speed,21="mod,6.5x;name,x6.5"
Speed,22="mod,7x;name,x7"
Speed,23="mod,7.5x;name,x7.5"
Speed,24="mod,8x;name,x8"
AccelExplanation="Accel"
AccelIcon=false
Accel="4"
AccelDefault="mod,no boost,no brake,no wave,no expand,no boomerang"
Accel,1="name,Normal"
Accel,2="mod,boost;name,Boost"
Accel,3="mod,brake;name,Brake"
Accel,4="mod,wave;name,Wave"
AppearanceExplanation="Appearance"
AppearanceIcon=false
Appearance="4"
AppearanceDefault="mod,no hidden,no sudden,no stealth,no blink,no randomvanish"
Appearance,1="name,Visible"
Appearance,2="mod,hidden;name,Hidden"
Appearance,3="mod,sudden;name,Sudden"
Appearance,4="mod,stealth;name,Stealth"
TurnExplanation="Turn"
TurnIcon=false
Turn="5"
TurnDefault="mod,no turn"
Turn,1="name,Off"
Turn,2="mod,mirror;name,Mirror"
Turn,3="mod,left;name,Left"
Turn,4="mod,right;name,Right"
Turn,5="mod,shuffle;name,Shuffle"
HideExplanation="Hide"
HideIcon=false
Hide="2"
HideDefault="mod,no dark"
Hide,1="name,On"
Hide,2="mod,dark;name,Off"
ScrollExplanation="Scroll"
ScrollIcon=false
Scroll="2"
ScrollDefault="mod,no reverse,no split,no alternate,no cross"
Scroll,1="name,Standard"
Scroll,2="mod,reverse;name,Reverse"
FreezeExplanation="Freeze"
FreezeIcon=false
Freeze="2"
FreezeDefault="mod,no noholds"
Freeze,1="name,On"
Freeze,2="mod,noholds;name,Off"
JumpExplanation="Jump"
JumpIcon=false
Jump="2"
JumpDefault="mod,no nojumps"
Jump,1="name,On"
Jump,2="mod,nojumps;name,Off"
RemoveExplanation="Remove"
RemoveIcon=false
Remove="2"
RemoveDefault="mod,no little"
Remove,1="name,Off"
Remove,2="mod,little;name,On"
JudgeExplanation=false
JudgeIcon=false
Judge="2"
JudgeDefault="mod,no blind"
Judge,1="mod,blind;name,Off"
Judge,2="name,On"
GaugeExplanation="Gauge"
GaugeIcon=false
Gauge="3"
GaugeDefault=""
Gauge,1="mod,bar;mod,normal-drain;name,Normal"
Gauge,2="mod,battery;mod,4 lives;mod,failimmediatecontinue;name,4 Lives"
Gauge,3="mod,battery;mod,1 lives;mod,failimmediatecontinue;name,Risky"
MinesExplanation="Mines"
MinesIcon=false
Mines="2"
MinesDefault=""
Mines,1="mod,no mines;name,Off"
Mines,2="name,On"
NoteSkinsExplanation=false
StepsExplanation=false
NoteSkinsIcon=false
CharactersExplanation=false
CharactersIcon=false
FilterExplanation="Filter"
FilterIcon="Filter"
ExitExplanation=false
GuideLineExplanation=true
FilterExplanation="Guideline"
ScoreLabelExplanation="ScoreLabel"
BiasExplanation="Bias"
MiniExplanation=false
EXExplanation="EX"
MusicRateExplanation=false
#############################################################################
# THE ATTRACT LOOP
#############################################################################
#
# For these screens, NextScreen means what comes after it in the loop. In Home
# and Free Play modes, StartScreen is the one that you go to when you hit
# Start. In Pay mode, StartScreen is the one that you are warped to when you
# insert a credit.
#
[ScreenWarning]
Class="ScreenAttract"
Fallback="ScreenAttract"
PlayMusic=false
NextScreen="ScreenCompany"
# Keep this synchronized with the Fade in the BGA
TimerSeconds=4.4
[ScreenDisclaimer]
Fallback="ScreenWarning"
NextScreen="ScreenWarning"
TimerSeconds=8
[ScreenCompany]
Class="ScreenAttract"
Fallback="ScreenAttract"
NextScreen="ScreenMovie"
PlayMusic=true
[ScreenMovie]
Class="ScreenAttract"
Fallback="ScreenAttract"
PlayMusic=true
NextScreen="ScreenLogo"
TimerSeconds=41
TimerStealth=true
ShowCreditDisplay=true
# This is the arcade attract version
[ScreenLogo]
Class="ScreenWithMenuElements"
NextScreen="ScreenDemonstration"
TimerSeconds=20
TimerStealth=false
ForceTimer=true
# XXX Until we figure out how to make this what we want
ShowCreditDisplay=true
[ScreenDemonstration]
Class="ScreenDemonstration"
Fallback="ScreenGameplay"
FooterText="STARLiGHT"
NextScreen="ScreenMDSplash"
StartScreen=Branch.AttractStart()
ShowStageDisplay=false
ShowStageFrame=false
StepsDisplayP1OnCommand=visible,false
StepsDisplayP2OnCommand=visible,false
ScoreP1OnCommand=visible,false
ScoreP2OnCommand=visible,false
ScoreFrameY=-76
PlayerOptionsP1OnCommand=visible,false
PlayerOptionsP2OnCommand=visible,false
LifeP1X=IsUsingWideScreen() and _screen.cx-526 or _screen.cx-472
LifeP1Y=SCREEN_TOP+36
LifeP2X=IsUsingWideScreen() and _screen.cx+526 or _screen.cx+472
LifeP2Y=SCREEN_TOP+36
LifeP1OnCommand=zoom,IsUsingWideScreen() and 0.8 or 0.73
LifeP2OnCommand=zoom,IsUsingWideScreen() and 0.8 or 0.73;rotationy,180
LifeFrameOnCommand=visible,false
PlayMusic=true
TimerStealth=true
TimerOnCommand=visible,false
TimerSeconds=30
#############################################################################
# GAME SETUP
#############################################################################
[ScreenTitleJoin]
NextScreen="ScreenDemonstration"
TimerSeconds=10
ForceTimer=true
TimerStealth=true
ChoiceNames="Game"
ChoiceGame="text,START;screen,"..Branch.StartGame()
[ScreenTitleMenu]
ShowHeader=false
ChoiceNames=TitleChoices()
ChoiceStart="text,START;screen,ScreenSelectMode"
ChoiceArcStart="text,START;screen,ScreenSelectProfile"
PrevScreen=Branch.FirstScreen()
NextScreen="ScreenLogo"
TimerSeconds=20
ForceTimer=true
TimerStealth=true
TimerOnCommand=visible,false
ShowScroller=false
ShowIcon=false
[ScreenDDRNameEntry]
Fallback="ScreenWithMenuElements"
PrevScreen=Branch.FirstScreen()
NextScreen="ScreenSelectStyle"
HeaderText="logout"
CodeNames="Left,Left2,Up,Up2,Right,Right2,Down,Down2,Select,Start,Back"
CodeLeft="MenuLeft"
CodeLeft2="Left"
CodeUp="MenuUp"
CodeUp2="Up"
CodeRight="MenuRight"
CodeRight2="Right"
CodeDown="MenuDown"
CodeDown2="Down"
CodeSelect="Select"
CodeStart="Start"
CodeBack="Back"
StopMusicOnBack=true
[ScreenSelectMode]
Fallback="ScreenTitleMenu"
ShowHeader=true
HeaderText="mainmenu"
ShowFooter=true
FooterText="welcome"
TimerOnCommand=visible,false
ForceTimer=false
# Override _fallback, which sends us back to ScreenInit
PrevScreen=Branch.FirstScreen()
NextScreen=Branch.FirstScreen()
ChoiceNames=ModeChoices()
DefaultChoice="GameStart"
ChoiceGameStart="applydefaultoptions;text,Music Play;playmode,regular;screen,"..Branch.StartGame()
ChoiceOptions="screen,ScreenOptionsService;text,OPTIONS"
ChoiceCourseStart="applydefaultoptions;text,Course;playmode,nonstop;screen,"..Branch.StartGame()
ChoiceEdit="text,Edit;screen,"..Branch.OptionsEdit()
#ChoiceEdit="screen,ScreenGameOver;text,Edit"
ChoiceCustomize="text,Customize;screen,ScreenPHOTwON"
ChoiceExit="screen,ScreenExit;text,EXIT"
ChoiceGameOver="screen,ScreenCredits;text,GameOver"
ChoiceNameTest="screen,ScreenDDRNameEntry;text,NAME TEST"
ShowScroller=true
WrapScroller=false
LoopScroller=false
# XXX InitCommands in metrics seem not to work a lot...???
ScrollerX=_screen.cx+260
ScrollerY=_screen.cy-40
ScrollerOnCommand=
ScrollerOffCommand=linear,0.2;addx,SCREEN_WIDTH
ScrollerNumItemsToDraw=10
# NOTE: You have to set SecondsPerItem > 0 or it won't animate
ScrollerSecondsPerItem=0.2
ScrollerSubdivisions=1
# XXX FIXME This is nicked from futurex, and it's ugly and stuff
# Also get new graphics for these which are all rendered in the same plane!
ScrollerTransform=function(self,ofs,i,n) \
self:x(math.abs(96*(ofs))); \
self:y(92*(ofs)); \
end
ShowIcon=false
PerChoiceIconElement=false
PerChoiceScrollElement=false
UseIconMetrics=true
IconChoiceGameStartX=SCREEN_RIGHT-240
IconChoiceGameStartY=SCREEN_CENTER_Y-248
IconChoiceEditX=SCREEN_RIGHT-320
IconChoiceEditY=SCREEN_CENTER_Y-156
IconChoiceOptionsX=SCREEN_RIGHT-400
IconChoiceOptionsY=SCREEN_CENTER_Y-64
IconChoiceExitX=SCREEN_CENTER_X+480
IconChoiceExitY=SCREEN_CENTER_Y+30
IconChoiceCustomizeX=SCREEN_CENTER_X+444
IconChoiceCustomizeY=SCREEN_CENTER_Y+126
IconChoiceCustomize2X=SCREEN_CENTER_X+444
IconChoiceCustomize2Y=SCREEN_CENTER_Y+126
IconGainFocusCommand=stoptweening;decelerate,0.125;zoom,1.2;draworder,1
IconLoseFocusCommand=stoptweening;decelerate,0.25;zoom,1;draworder,1
[ScreenSelectProfile]
WaitForChildrenBeforeTweening=true
Fallback="ScreenWithMenuElements"
Class="ScreenSelectProfile"