-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSettings.cs
1140 lines (1089 loc) · 74.7 KB
/
Settings.cs
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
using System;
using System.Windows.Forms;
using System.Xml;
namespace LiveSplit.SonicFrontiers
{
public partial class Settings : UserControl
{
// General
public bool WFocus { get; set; }
public bool StoryStart { get; set; }
public bool ArcadeStart { get; set; }
public bool Arcade1_1 { get; set; }
public bool BossRushStart { get; set; }
// Skills
public bool Skill_Cyloop { get; set; }
public bool Skill_PhantomRush { get; set; }
public bool Skill_AirTrick { get; set; }
public bool Skill_StompAttack { get; set; }
public bool Skill_SonicBoom { get; set; }
public bool Skill_AutoCombo { get; set; }
public bool Skill_WildRush { get; set; }
public bool Skill_QuickCyloop { get; set; }
public bool Skill_HomingShot { get; set; }
public bool Skill_SpinSlash { get; set; }
public bool Skill_LoopKick { get; set; }
public bool Skill_RecoverySmash { get; set; }
// Story - Kronos
public bool Kronos_Ninja { get; set; }
public bool Kronos_Door { get; set; }
public bool Kronos_Amy { get; set; }
public bool Kronos_GigantosFirst { get; set; }
public bool Kronos_Tombstones { get; set; }
public bool Kronos_GigantosStart { get; set; }
public bool Kronos_SuperSonic { get; set; }
public bool Island_Kronos_story { get; set; }
public bool w1_1_story { get; set; }
public bool w1_2_story { get; set; }
public bool w1_3_story { get; set; }
public bool w1_4_story { get; set; }
public bool w1_5_story { get; set; }
public bool w1_6_story { get; set; }
public bool w1_7_story { get; set; }
public bool Kronos_BlueCE { get; set; }
public bool Kronos_RedCE { get; set; }
public bool Kronos_YellowCE { get; set; }
public bool Kronos_WhiteCE { get; set; }
public bool Kronos_GreenCE { get; set; }
public bool Kronos_CyanCE { get; set; }
public bool Island_Kronos_fishing { get; set; }
// Story - Ares
public bool Ares_Knuckles { get; set; }
public bool Ares_WyvernFirst { get; set; }
public bool Ares_Water { get; set; }
public bool Ares_Crane { get; set; }
public bool Ares_GreenCE { get; set; }
public bool Ares_CyanCE { get; set; }
public bool Ares_WyvernStart { get; set; }
public bool Ares_WyvernRun { get; set; }
public bool Ares_SuperSonic { get; set; }
public bool Island_Ares_story { get; set; }
public bool w2_1_story { get; set; }
public bool w2_2_story { get; set; }
public bool w2_3_story { get; set; }
public bool w2_4_story { get; set; }
public bool w2_5_story { get; set; }
public bool w2_6_story { get; set; }
public bool w2_7_story { get; set; }
public bool Ares_BlueCE { get; set; }
public bool Ares_RedCE { get; set; }
public bool Ares_YellowCE { get; set; }
public bool Ares_WhiteCE { get; set; }
public bool Island_Ares_fishing { get; set; }
// Chaos
public bool Chaos_Tails { get; set; }
public bool Chaos_KnightFirst { get; set; }
public bool Chaos_Hacking { get; set; }
public bool Chaos_GreenCE { get; set; }
public bool Chaos_CyanCE { get; set; }
public bool Chaos_PinballStart { get; set; }
public bool Chaos_PinballEnd { get; set; }
public bool Chaos_BlueCE { get; set; }
public bool Chaos_RedCE { get; set; }
public bool Chaos_YellowCE { get; set; }
public bool Chaos_WhiteCE { get; set; }
public bool Chaos_KnightStart { get; set; }
public bool Chaos_SuperSonic { get; set; }
public bool Island_Chaos_story { get; set; }
public bool Island_Chaos_fishing { get; set; }
public bool w3_1_story { get; set; }
public bool w3_2_story { get; set; }
public bool w3_3_story { get; set; }
public bool w3_4_story { get; set; }
public bool w3_5_story { get; set; }
public bool w3_6_story { get; set; }
public bool w3_7_story { get; set; }
// Story - Rhea
public bool Rhea_Tower1 { get; set; }
public bool Rhea_Tower2 { get; set; }
public bool Rhea_Tower3 { get; set; }
public bool Rhea_Tower4 { get; set; }
public bool Rhea_Tower5 { get; set; }
public bool Rhea_Tower6 { get; set; }
public bool Island_Rhea_story { get; set; }
// Story - Ouranos
public bool Ouranos_Bridge { get; set; }
public bool Ouranos_SupremeDefeated { get; set; }
public bool FinalBoss { get; set; }
public bool w4_1_story { get; set; }
public bool w4_2_story { get; set; }
public bool w4_3_story { get; set; }
public bool w4_4_story { get; set; }
public bool w4_5_story { get; set; }
public bool w4_6_story { get; set; }
public bool w4_7_story { get; set; }
public bool w4_8_story { get; set; }
public bool w4_9_story { get; set; }
public bool Ouranos_BlueCE { get; set; }
public bool Ouranos_RedCE { get; set; }
public bool Ouranos_GreenCE { get; set; }
public bool Ouranos_YellowCE { get; set; }
public bool Ouranos_CyanCE { get; set; }
public bool Ouranos_WhiteCE { get; set; }
public bool Ouranos_FinalDoor { get; set; }
public bool Island_Ouranos_fishing { get; set; }
//Music Notes
public bool Split_AnyNote { get; set; }
//Another Story
public bool Amy_First { get; set; }
public bool Knuckles_First { get; set; }
public bool Tails_First { get; set; }
public bool Sonic_Tower1 { get; set; }
public bool Sonic_Tower2 { get; set; }
public bool Sonic_Tower3 { get; set; }
public bool Sonic_Tower4 { get; set; }
public bool Amy_Second { get; set; }
public bool Knuckles_Second { get; set; }
public bool Tails_Second { get; set; }
public bool Sonic_MasterTrial { get; set; }
// Arcade mode
public bool w1_1_arcade { get; set; }
public bool w1_2_arcade { get; set; }
public bool w1_3_arcade { get; set; }
public bool w1_4_arcade { get; set; }
public bool w1_5_arcade { get; set; }
public bool w1_6_arcade { get; set; }
public bool w1_7_arcade { get; set; }
public bool w2_1_arcade { get; set; }
public bool w2_2_arcade { get; set; }
public bool w2_3_arcade { get; set; }
public bool w2_4_arcade { get; set; }
public bool w2_5_arcade { get; set; }
public bool w2_6_arcade { get; set; }
public bool w2_7_arcade { get; set; }
public bool w3_1_arcade { get; set; }
public bool w3_2_arcade { get; set; }
public bool w3_3_arcade { get; set; }
public bool w3_4_arcade { get; set; }
public bool w3_5_arcade { get; set; }
public bool w3_6_arcade { get; set; }
public bool w3_7_arcade { get; set; }
public bool w4_1_arcade { get; set; }
public bool w4_2_arcade { get; set; }
public bool w4_3_arcade { get; set; }
public bool w4_4_arcade { get; set; }
public bool w4_5_arcade { get; set; }
public bool w4_6_arcade { get; set; }
public bool w4_7_arcade { get; set; }
public bool w4_8_arcade { get; set; }
public bool w4_9_arcade { get; set; }
public bool w4_9_arcade_soon { get; set; }
public bool Boss1_1 { get; set; }
public bool Boss1_2 { get; set; }
public bool Boss1_3 { get; set; }
public bool Boss1_4 { get; set; }
public bool Boss1_5 { get; set; }
public bool Boss1_6 { get; set; }
public bool Boss1_7 { get; set; }
public bool Boss1_8 { get; set; }
public bool Boss1_9 { get; set; }
public bool Boss1_10 { get; set; }
public bool Boss2_1 { get; set; }
public bool Boss2_2 { get; set; }
public bool Boss2_3 { get; set; }
public bool Boss2_4 { get; set; }
public bool Boss2_5 { get; set; }
public bool Boss2_6 { get; set; }
public bool Boss2_7 { get; set; }
public bool Boss2_8 { get; set; }
public bool Boss2_9 { get; set; }
public bool Boss2_10 { get; set; }
public bool Boss3_1 { get; set; }
public bool Boss3_2 { get; set; }
public bool Boss3_3 { get; set; }
public bool Boss3_4 { get; set; }
public bool Boss3_5 { get; set; }
public bool Boss3_6 { get; set; }
public bool Boss3_7 { get; set; }
public bool Boss3_8 { get; set; }
public bool Boss3_9 { get; set; }
public bool Boss4_1 { get; set; }
public bool Boss4_2 { get; set; }
public bool Boss4_3 { get; set; }
public bool Boss4_4 { get; set; }
public bool Boss4_5 { get; set; }
public bool Boss4_6 { get; set; }
public bool Boss4_7 { get; set; }
public bool Boss4_8 { get; set; }
public bool Boss4_9 { get; set; }
public bool Boss4_10 { get; set; }
public bool Boss4_11 { get; set; }
//Notes
public bool MusicNoteAny { get; set; }
public Settings()
{
InitializeComponent();
autosplitterVersion.Text = "Autosplitter version: v" + System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly().Location).FileVersion;
// General settings
chkFocus.DataBindings.Add("Checked", this, "WFocus", false, DataSourceUpdateMode.OnPropertyChanged);
chkStoryStart.DataBindings.Add("Checked", this, "StoryStart", false, DataSourceUpdateMode.OnPropertyChanged);
chkArcadeStart.DataBindings.Add("Checked", this, "ArcadeStart", false, DataSourceUpdateMode.OnPropertyChanged);
chkBossRushStart.DataBindings.Add("Checked", this, "BossRushStart", false, DataSourceUpdateMode.OnPropertyChanged);
chkArcade1_1.DataBindings.Add("Checked", this, "Arcade1_1", false, DataSourceUpdateMode.OnPropertyChanged);
chkSkill_Cyloop.DataBindings.Add("Checked", this, "Skill_Cyloop", false, DataSourceUpdateMode.OnPropertyChanged);
chkSkill_PhantomRush.DataBindings.Add("Checked", this, "Skill_PhantomRush", false, DataSourceUpdateMode.OnPropertyChanged);
chkSkill_AirTrick.DataBindings.Add("Checked", this, "Skill_AirTrick", false, DataSourceUpdateMode.OnPropertyChanged);
chkSkill_StompAttack.DataBindings.Add("Checked", this, "Skill_StompAttack", false, DataSourceUpdateMode.OnPropertyChanged);
chkSkill_AutoCombo.DataBindings.Add("Checked", this, "Skill_AutoCombo", false, DataSourceUpdateMode.OnPropertyChanged);
chkSkill_HomingShot.DataBindings.Add("Checked", this, "Skill_HomingShot", false, DataSourceUpdateMode.OnPropertyChanged);
chkSkill_LoopKick.DataBindings.Add("Checked", this, "Skill_LoopKick", false, DataSourceUpdateMode.OnPropertyChanged);
chkSkill_QuickCyloop.DataBindings.Add("Checked", this, "Skill_QuickCyloop", false, DataSourceUpdateMode.OnPropertyChanged);
chkSkill_RecoverySmash.DataBindings.Add("Checked", this, "Skill_RecoverySmash", false, DataSourceUpdateMode.OnPropertyChanged);
chkSkill_SonicBoom.DataBindings.Add("Checked", this, "Skill_SonicBoom", false, DataSourceUpdateMode.OnPropertyChanged);
chkSkill_SpinSlash.DataBindings.Add("Checked", this, "Skill_SpinSlash", false, DataSourceUpdateMode.OnPropertyChanged);
chkSkill_WildRush.DataBindings.Add("Checked", this, "Skill_WildRush", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_Ninja.DataBindings.Add("Checked", this, "Kronos_Ninja", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_Door.DataBindings.Add("Checked", this, "Kronos_Door", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_Amy.DataBindings.Add("Checked", this, "Kronos_Amy", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_GigantosFirst.DataBindings.Add("Checked", this, "Kronos_GigantosFirst", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_Tombstones.DataBindings.Add("Checked", this, "Kronos_Tombstones", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_GigantosStart.DataBindings.Add("Checked", this, "Kronos_GigantosStart", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_SuperSonic.DataBindings.Add("Checked", this, "Kronos_SuperSonic", false, DataSourceUpdateMode.OnPropertyChanged);
chk50_story.DataBindings.Add("Checked", this, "Island_Kronos_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk0_story.DataBindings.Add("Checked", this, "w1_1_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk1_story.DataBindings.Add("Checked", this, "w1_2_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk2_story.DataBindings.Add("Checked", this, "w1_3_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk3_story.DataBindings.Add("Checked", this, "w1_4_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk4_story.DataBindings.Add("Checked", this, "w1_5_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk5_story.DataBindings.Add("Checked", this, "w1_6_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk6_story.DataBindings.Add("Checked", this, "w1_7_story", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_BlueCE.DataBindings.Add("Checked", this, "Kronos_BlueCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_RedCE.DataBindings.Add("Checked", this, "Kronos_RedCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_YellowCE.DataBindings.Add("Checked", this, "Kronos_YellowCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_WhiteCE.DataBindings.Add("Checked", this, "Kronos_WhiteCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_GreenCE.DataBindings.Add("Checked", this, "Kronos_GreenCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkKronos_CyanCE.DataBindings.Add("Checked", this, "Kronos_CyanCE", false, DataSourceUpdateMode.OnPropertyChanged);
chk50_fishing.DataBindings.Add("Checked", this, "Island_Kronos_fishing", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_Knuckles.DataBindings.Add("Checked", this, "Ares_Knuckles", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_WyvernFirst.DataBindings.Add("Checked", this, "Ares_WyvernFirst", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_Water.DataBindings.Add("Checked", this, "Ares_Water", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_Crane.DataBindings.Add("Checked", this, "Ares_Crane", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_GreenCE.DataBindings.Add("Checked", this, "Ares_GreenCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_CyanCE.DataBindings.Add("Checked", this, "Ares_CyanCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_WyvernStart.DataBindings.Add("Checked", this, "Ares_WyvernStart", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_WyvernRun.DataBindings.Add("Checked", this, "Ares_WyvernRun", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_SuperSonic.DataBindings.Add("Checked", this, "Ares_SuperSonic", false, DataSourceUpdateMode.OnPropertyChanged);
chk51_story.DataBindings.Add("Checked", this, "Island_Ares_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk7_story.DataBindings.Add("Checked", this, "w2_1_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk8_story.DataBindings.Add("Checked", this, "w2_2_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk9_story.DataBindings.Add("Checked", this, "w2_3_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk10_story.DataBindings.Add("Checked", this, "w2_4_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk11_story.DataBindings.Add("Checked", this, "w2_5_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk12_story.DataBindings.Add("Checked", this, "w2_6_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk13_story.DataBindings.Add("Checked", this, "w2_7_story", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_BlueCE.DataBindings.Add("Checked", this, "Ares_BlueCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_RedCE.DataBindings.Add("Checked", this, "Ares_RedCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_YellowCE.DataBindings.Add("Checked", this, "Ares_YellowCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkAres_WhiteCE.DataBindings.Add("Checked", this, "Ares_WhiteCE", false, DataSourceUpdateMode.OnPropertyChanged);
chk51_fishing.DataBindings.Add("Checked", this, "Island_Ares_fishing", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_Tails.DataBindings.Add("Checked", this, "Chaos_Tails", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_KnightFirst.DataBindings.Add("Checked", this, "Chaos_KnightFirst", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_Hacking.DataBindings.Add("Checked", this, "Chaos_Hacking", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_GreenCE.DataBindings.Add("Checked", this, "Chaos_GreenCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_CyanCE.DataBindings.Add("Checked", this, "Chaos_CyanCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_PinballStart.DataBindings.Add("Checked", this, "Chaos_PinballStart", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_PinballEnd.DataBindings.Add("Checked", this, "Chaos_PinballEnd", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_BlueCE.DataBindings.Add("Checked", this, "Chaos_BlueCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_RedCE.DataBindings.Add("Checked", this, "Chaos_RedCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_YellowCE.DataBindings.Add("Checked", this, "Chaos_YellowCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_WhiteCE.DataBindings.Add("Checked", this, "Chaos_WhiteCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_KnightStart.DataBindings.Add("Checked", this, "Chaos_KnightStart", false, DataSourceUpdateMode.OnPropertyChanged);
chkChaos_SuperSonic.DataBindings.Add("Checked", this, "Chaos_SuperSonic", false, DataSourceUpdateMode.OnPropertyChanged);
chk52_story.DataBindings.Add("Checked", this, "Island_Chaos_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk52_fishing.DataBindings.Add("Checked", this, "Island_Chaos_fishing", false, DataSourceUpdateMode.OnPropertyChanged);
chk14_story.DataBindings.Add("Checked", this, "w3_1_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk15_story.DataBindings.Add("Checked", this, "w3_2_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk16_story.DataBindings.Add("Checked", this, "w3_3_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk17_story.DataBindings.Add("Checked", this, "w3_4_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk18_story.DataBindings.Add("Checked", this, "w3_5_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk19_story.DataBindings.Add("Checked", this, "w3_6_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk20_story.DataBindings.Add("Checked", this, "w3_7_story", false, DataSourceUpdateMode.OnPropertyChanged);
chkRhea_Tower1.DataBindings.Add("Checked", this, "Rhea_Tower1", false, DataSourceUpdateMode.OnPropertyChanged);
chkRhea_Tower2.DataBindings.Add("Checked", this, "Rhea_Tower2", false, DataSourceUpdateMode.OnPropertyChanged);
chkRhea_Tower3.DataBindings.Add("Checked", this, "Rhea_Tower3", false, DataSourceUpdateMode.OnPropertyChanged);
chkRhea_Tower4.DataBindings.Add("Checked", this, "Rhea_Tower4", false, DataSourceUpdateMode.OnPropertyChanged);
chkRhea_Tower5.DataBindings.Add("Checked", this, "Rhea_Tower5", false, DataSourceUpdateMode.OnPropertyChanged);
chkRhea_Tower6.DataBindings.Add("Checked", this, "Rhea_Tower6", false, DataSourceUpdateMode.OnPropertyChanged);
chk53_story.DataBindings.Add("Checked", this, "Island_Rhea_story", false, DataSourceUpdateMode.OnPropertyChanged);
chkOuranos_Bridge.DataBindings.Add("Checked", this, "Ouranos_Bridge", false, DataSourceUpdateMode.OnPropertyChanged);
chkOuranos_FinalDoor.DataBindings.Add("Checked", this, "Ouranos_FinalDoor", false,
DataSourceUpdateMode.OnPropertyChanged);
chkOuranos_SupremeDefeated.DataBindings.Add("Checked", this, "Ouranos_SupremeDefeated", false, DataSourceUpdateMode.OnPropertyChanged);
chkFinalBoss.DataBindings.Add("Checked", this, "FinalBoss", false, DataSourceUpdateMode.OnPropertyChanged);
chk21_story.DataBindings.Add("Checked", this, "w4_1_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk22_story.DataBindings.Add("Checked", this, "w4_2_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk23_story.DataBindings.Add("Checked", this, "w4_3_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk24_story.DataBindings.Add("Checked", this, "w4_4_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk25_story.DataBindings.Add("Checked", this, "w4_5_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk26_story.DataBindings.Add("Checked", this, "w4_6_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk27_story.DataBindings.Add("Checked", this, "w4_7_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk28_story.DataBindings.Add("Checked", this, "w4_8_story", false, DataSourceUpdateMode.OnPropertyChanged);
chk29_story.DataBindings.Add("Checked", this, "w4_9_story", false, DataSourceUpdateMode.OnPropertyChanged);
chkOuranos_BlueCE.DataBindings.Add("Checked", this, "Ouranos_BlueCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkOuranos_RedCE.DataBindings.Add("Checked", this, "Ouranos_RedCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkOuranos_GreenCE.DataBindings.Add("Checked", this, "Ouranos_GreenCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkOuranos_YellowCE.DataBindings.Add("Checked", this, "Ouranos_YellowCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkOuranos_CyanCE.DataBindings.Add("Checked", this, "Ouranos_CyanCE", false, DataSourceUpdateMode.OnPropertyChanged);
chkOuranos_WhiteCE.DataBindings.Add("Checked", this, "Ouranos_WhiteCE", false, DataSourceUpdateMode.OnPropertyChanged);
chk54_fishing.DataBindings.Add("Checked", this, "Island_Ouranos_fishing", false, DataSourceUpdateMode.OnPropertyChanged);
chk0_arcade.DataBindings.Add("Checked", this, "w1_1_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk1_arcade.DataBindings.Add("Checked", this, "w1_2_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk2_arcade.DataBindings.Add("Checked", this, "w1_3_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk3_arcade.DataBindings.Add("Checked", this, "w1_4_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk4_arcade.DataBindings.Add("Checked", this, "w1_5_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk5_arcade.DataBindings.Add("Checked", this, "w1_6_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk6_arcade.DataBindings.Add("Checked", this, "w1_7_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk7_arcade.DataBindings.Add("Checked", this, "w2_1_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk8_arcade.DataBindings.Add("Checked", this, "w2_2_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk9_arcade.DataBindings.Add("Checked", this, "w2_3_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk10_arcade.DataBindings.Add("Checked", this, "w2_4_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk11_arcade.DataBindings.Add("Checked", this, "w2_5_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk12_arcade.DataBindings.Add("Checked", this, "w2_6_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk13_arcade.DataBindings.Add("Checked", this, "w2_7_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk14_arcade.DataBindings.Add("Checked", this, "w3_1_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk15_arcade.DataBindings.Add("Checked", this, "w3_2_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk16_arcade.DataBindings.Add("Checked", this, "w3_3_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk17_arcade.DataBindings.Add("Checked", this, "w3_4_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk18_arcade.DataBindings.Add("Checked", this, "w3_5_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk19_arcade.DataBindings.Add("Checked", this, "w3_6_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk20_arcade.DataBindings.Add("Checked", this, "w3_7_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk21_arcade.DataBindings.Add("Checked", this, "w4_1_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk22_arcade.DataBindings.Add("Checked", this, "w4_2_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk23_arcade.DataBindings.Add("Checked", this, "w4_3_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk24_arcade.DataBindings.Add("Checked", this, "w4_4_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk25_arcade.DataBindings.Add("Checked", this, "w4_5_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk26_arcade.DataBindings.Add("Checked", this, "w4_6_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk27_arcade.DataBindings.Add("Checked", this, "w4_7_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk28_arcade.DataBindings.Add("Checked", this, "w4_8_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk29_arcade.DataBindings.Add("Checked", this, "w4_9_arcade", false, DataSourceUpdateMode.OnPropertyChanged);
chk29_arcade_soon.DataBindings.Add("Checked", this, "w4_9_arcade_soon", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss1_1.DataBindings.Add("Checked", this, "Boss1_1", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss1_2.DataBindings.Add("Checked", this, "Boss1_2", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss1_3.DataBindings.Add("Checked", this, "Boss1_3", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss1_4.DataBindings.Add("Checked", this, "Boss1_4", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss1_5.DataBindings.Add("Checked", this, "Boss1_5", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss1_6.DataBindings.Add("Checked", this, "Boss1_6", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss1_7.DataBindings.Add("Checked", this, "Boss1_7", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss1_8.DataBindings.Add("Checked", this, "Boss1_8", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss1_9.DataBindings.Add("Checked", this, "Boss1_9", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss1_10.DataBindings.Add("Checked", this, "Boss1_10", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss2_1.DataBindings.Add("Checked", this, "Boss2_1", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss2_2.DataBindings.Add("Checked", this, "Boss2_2", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss2_3.DataBindings.Add("Checked", this, "Boss2_3", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss2_4.DataBindings.Add("Checked", this, "Boss2_4", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss2_5.DataBindings.Add("Checked", this, "Boss2_5", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss2_6.DataBindings.Add("Checked", this, "Boss2_6", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss2_7.DataBindings.Add("Checked", this, "Boss2_7", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss2_8.DataBindings.Add("Checked", this, "Boss2_8", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss2_9.DataBindings.Add("Checked", this, "Boss2_9", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss2_10.DataBindings.Add("Checked", this, "Boss2_10", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss3_1.DataBindings.Add("Checked", this, "Boss3_1", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss3_2.DataBindings.Add("Checked", this, "Boss3_2", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss3_3.DataBindings.Add("Checked", this, "Boss3_3", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss3_4.DataBindings.Add("Checked", this, "Boss3_4", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss3_5.DataBindings.Add("Checked", this, "Boss3_5", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss3_6.DataBindings.Add("Checked", this, "Boss3_6", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss3_7.DataBindings.Add("Checked", this, "Boss3_7", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss3_8.DataBindings.Add("Checked", this, "Boss3_8", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss3_9.DataBindings.Add("Checked", this, "Boss3_9", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss4_1.DataBindings.Add("Checked", this, "Boss4_1", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss4_2.DataBindings.Add("Checked", this, "Boss4_2", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss4_3.DataBindings.Add("Checked", this, "Boss4_3", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss4_4.DataBindings.Add("Checked", this, "Boss4_4", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss4_5.DataBindings.Add("Checked", this, "Boss4_5", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss4_6.DataBindings.Add("Checked", this, "Boss4_6", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss4_7.DataBindings.Add("Checked", this, "Boss4_7", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss4_8.DataBindings.Add("Checked", this, "Boss4_8", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss4_9.DataBindings.Add("Checked", this, "Boss4_9", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss4_10.DataBindings.Add("Checked", this, "Boss4_10", false, DataSourceUpdateMode.OnPropertyChanged);
chkBoss4_11.DataBindings.Add("Checked", this, "Boss4_11", false, DataSourceUpdateMode.OnPropertyChanged);
chkMusicNoteAny.DataBindings.Add("Checked", this, "MusicNoteAny", false,
DataSourceUpdateMode.OnPropertyChanged);
chk_AmyFirst.DataBindings.Add("Checked", this, "Amy_First", false, DataSourceUpdateMode.OnPropertyChanged);
chk_KnucklesFirst.DataBindings.Add("Checked", this, "Knuckles_First", false, DataSourceUpdateMode.OnPropertyChanged);
chk_TailsFirst.DataBindings.Add("Checked", this, "Tails_First", false, DataSourceUpdateMode.OnPropertyChanged);
chk_AmySecond.DataBindings.Add("Checked", this, "Amy_Second", false, DataSourceUpdateMode.OnPropertyChanged);
chk_KnucklesSecond.DataBindings.Add("Checked", this, "Knuckles_Second", false, DataSourceUpdateMode.OnPropertyChanged);
chk_TailsSecond.DataBindings.Add("Checked", this, "Tails_Second", false, DataSourceUpdateMode.OnPropertyChanged);
chk_SonicTower1.DataBindings.Add("Checked", this, "Sonic_Tower1", false,
DataSourceUpdateMode.OnPropertyChanged);
chk_SonicTower2.DataBindings.Add("Checked", this, "Sonic_Tower2", false,
DataSourceUpdateMode.OnPropertyChanged);
chk_SonicTower3.DataBindings.Add("Checked", this, "Sonic_Tower3", false,
DataSourceUpdateMode.OnPropertyChanged);
chk_SonicTower4.DataBindings.Add("Checked", this, "Sonic_Tower4", false,
DataSourceUpdateMode.OnPropertyChanged);
chk_MasterTrial.DataBindings.Add("Checked", this, "Sonic_MasterTrial", false,
DataSourceUpdateMode.OnPropertyChanged);
// Default Values
WFocus = false;
StoryStart = ArcadeStart = Arcade1_1 = true;
BossRushStart = true;
MusicNoteAny = false;
//Skills
Skill_Cyloop = Skill_AirTrick = Skill_PhantomRush = Skill_StompAttack = Skill_AutoCombo = Skill_HomingShot = Skill_LoopKick = Skill_QuickCyloop = Skill_RecoverySmash = Skill_SonicBoom = Skill_SpinSlash = Skill_WildRush = false;
// Kronos
Kronos_Ninja = Kronos_Door = Kronos_Amy = Kronos_GigantosFirst = Kronos_Tombstones = false;
Island_Kronos_story = Island_Kronos_fishing = true;
w1_1_story = w1_2_story = w1_3_story = w1_4_story = w1_5_story = w1_6_story = w1_7_story = false;
Kronos_BlueCE = Kronos_RedCE = Kronos_YellowCE = Kronos_WhiteCE = Kronos_GreenCE = Kronos_CyanCE = Kronos_GigantosStart = Kronos_SuperSonic = false;
// Ares
Ares_Knuckles = Ares_WyvernFirst = Ares_Water = Ares_Crane = false;
Ares_WyvernRun = Ares_WyvernStart = Ares_SuperSonic = false;
Island_Ares_story = Island_Ares_fishing = true;
w2_1_story = w2_2_story = w2_3_story = w2_4_story = w2_5_story = w2_6_story = w2_7_story = false;
Ares_GreenCE = Ares_CyanCE = Ares_BlueCE = Ares_RedCE = Ares_YellowCE = Ares_YellowCE = false;
// Chaos
Chaos_Tails = Chaos_KnightFirst = Chaos_Hacking = false;
Chaos_GreenCE = Chaos_CyanCE = Chaos_PinballEnd = Chaos_PinballStart = false;
Chaos_BlueCE = Chaos_RedCE = Chaos_YellowCE = Chaos_WhiteCE = false;
Chaos_KnightStart = Chaos_SuperSonic = false;
Island_Chaos_story = Island_Chaos_fishing = true;
w3_1_story = w3_2_story = w3_3_story = w3_4_story = w3_5_story = w3_6_story = w3_7_story = false;
// Rhea
Rhea_Tower1 = Rhea_Tower2 = Rhea_Tower3 = Rhea_Tower4 = Rhea_Tower5 = Rhea_Tower6 = false;
Island_Rhea_story = true;
// Ouranos
Ouranos_Bridge = Ouranos_SupremeDefeated = false;
FinalBoss = true;
w4_1_story = w4_2_story = w4_3_story = w4_4_story = w4_5_story = w4_6_story = w4_7_story = w4_8_story = w4_9_story = false;
Ouranos_BlueCE = Ouranos_RedCE = Ouranos_GreenCE = Ouranos_YellowCE = Ouranos_CyanCE = Ouranos_WhiteCE = Ouranos_FinalDoor = false;
Island_Ouranos_fishing = true;
// Arcade mode
w1_1_arcade = w1_2_arcade = w1_3_arcade = w1_4_arcade = w1_5_arcade = w1_6_arcade = w1_7_arcade = true;
w2_1_arcade = w2_2_arcade = w2_3_arcade = w2_4_arcade = w2_5_arcade = w2_6_arcade = w2_7_arcade = true;
w3_1_arcade = w3_2_arcade = w3_3_arcade = w3_4_arcade = w3_5_arcade = w3_6_arcade = w3_7_arcade = true;
w4_1_arcade = w4_2_arcade = w4_3_arcade = w4_4_arcade = w4_5_arcade = w4_6_arcade = w4_7_arcade = w4_8_arcade = w4_9_arcade = true;
w4_9_arcade_soon = true;
// Boss Rush
Boss1_1 = Boss1_2 = Boss1_3 = Boss1_4 = Boss1_5 = Boss1_6 = Boss1_7 = Boss1_8 = Boss1_9 = Boss1_10 = true;
Boss2_1 = Boss2_2 = Boss2_3 = Boss2_4 = Boss2_5 = Boss2_6 = Boss2_7 = Boss2_8 = Boss2_9 = Boss2_10 = true;
Boss3_1 = Boss3_2 = Boss3_3 = Boss3_4 = Boss3_5 = Boss3_6 = Boss3_7 = Boss3_8 = Boss3_9 = true;
Boss4_1 = Boss4_2 = Boss4_3 = Boss4_4 = Boss4_5 = Boss4_6 = Boss4_7 = Boss4_8 = Boss4_9 = Boss4_10 = Boss4_11 = true;
//Another Story
Amy_First = Knuckles_First = Tails_First = Sonic_Tower1 = Sonic_Tower2 = Sonic_Tower3 =
Sonic_Tower4 = Sonic_MasterTrial = Amy_Second = Knuckles_Second = Tails_Second = true;
}
public XmlNode GetSettings(XmlDocument doc)
{
XmlElement settingsNode = doc.CreateElement("Settings");
settingsNode.AppendChild(ToElement(doc, "WFocus", WFocus));
settingsNode.AppendChild(ToElement(doc, "StoryStart", StoryStart));
settingsNode.AppendChild(ToElement(doc, "ArcadeStart", ArcadeStart));
settingsNode.AppendChild(ToElement(doc, "BossRushStart", BossRushStart));
settingsNode.AppendChild(ToElement(doc, "Amy_First", Amy_First));
settingsNode.AppendChild(ToElement(doc, "Knuckles_First", Knuckles_First));
settingsNode.AppendChild(ToElement(doc, "Tails_First", Tails_First));
settingsNode.AppendChild(ToElement(doc, "Amy_Second", Amy_Second));
settingsNode.AppendChild(ToElement(doc, "Knuckles_Second", Knuckles_Second));
settingsNode.AppendChild(ToElement(doc, "Tails_Second", Tails_Second));
settingsNode.AppendChild(ToElement(doc, "Sonic_Tower1", Sonic_Tower1));
settingsNode.AppendChild(ToElement(doc, "Sonic_Tower2", Sonic_Tower2));
settingsNode.AppendChild(ToElement(doc, "Sonic_Tower3", Sonic_Tower3));
settingsNode.AppendChild(ToElement(doc, "Sonic_Tower4", Sonic_Tower4));
settingsNode.AppendChild(ToElement(doc, "Sonic_MasterTrial", Sonic_MasterTrial));
settingsNode.AppendChild(ToElement(doc, "Skill_Cyloop", Skill_Cyloop));
settingsNode.AppendChild(ToElement(doc, "Skill_PhantomRush", Skill_PhantomRush));
settingsNode.AppendChild(ToElement(doc, "Skill_AirTrick", Skill_AirTrick));
settingsNode.AppendChild(ToElement(doc, "Skill_StompAttack", Skill_StompAttack));
settingsNode.AppendChild(ToElement(doc, "Skill_SonicBoom", Skill_SonicBoom));
settingsNode.AppendChild(ToElement(doc, "Skill_AutoCombo", Skill_AutoCombo));
settingsNode.AppendChild(ToElement(doc, "Skill_QuickCyloop", Skill_QuickCyloop));
settingsNode.AppendChild(ToElement(doc, "Skill_HomingShot", Skill_HomingShot));
settingsNode.AppendChild(ToElement(doc, "Skill_SpinSlash", Skill_SpinSlash));
settingsNode.AppendChild(ToElement(doc, "Skill_LoopKick", Skill_LoopKick));
settingsNode.AppendChild(ToElement(doc, "Skill_WildRush", Skill_WildRush));
settingsNode.AppendChild(ToElement(doc, "Skill_RecoverySmash", Skill_RecoverySmash));
settingsNode.AppendChild(ToElement(doc, "Kronos_Ninja", Kronos_Ninja));
settingsNode.AppendChild(ToElement(doc, "Kronos_Door", Kronos_Door));
settingsNode.AppendChild(ToElement(doc, "Kronos_Amy", Kronos_Amy));
settingsNode.AppendChild(ToElement(doc, "Kronos_GigantosFirst", Kronos_GigantosFirst));
settingsNode.AppendChild(ToElement(doc, "Kronos_Tombstones", Kronos_Tombstones));
settingsNode.AppendChild(ToElement(doc, "Kronos_GigantosStart", Kronos_GigantosStart));
settingsNode.AppendChild(ToElement(doc, "Kronos_SuperSonic", Kronos_SuperSonic));
settingsNode.AppendChild(ToElement(doc, "Island_Kronos_story", Island_Kronos_story));
settingsNode.AppendChild(ToElement(doc, "w1_1_story", w1_1_story));
settingsNode.AppendChild(ToElement(doc, "w1_2_story", w1_2_story));
settingsNode.AppendChild(ToElement(doc, "w1_3_story", w1_3_story));
settingsNode.AppendChild(ToElement(doc, "w1_4_story", w1_4_story));
settingsNode.AppendChild(ToElement(doc, "w1_5_story", w1_5_story));
settingsNode.AppendChild(ToElement(doc, "w1_6_story", w1_6_story));
settingsNode.AppendChild(ToElement(doc, "w1_7_story", w1_7_story));
settingsNode.AppendChild(ToElement(doc, "Kronos_BlueCE", Kronos_BlueCE));
settingsNode.AppendChild(ToElement(doc, "Kronos_RedCE", Kronos_RedCE));
settingsNode.AppendChild(ToElement(doc, "Kronos_YellowCE", Kronos_YellowCE));
settingsNode.AppendChild(ToElement(doc, "Kronos_WhiteCE", Kronos_WhiteCE));
settingsNode.AppendChild(ToElement(doc, "Kronos_GreenCE", Kronos_GreenCE));
settingsNode.AppendChild(ToElement(doc, "Kronos_CyanCE", Kronos_CyanCE));
settingsNode.AppendChild(ToElement(doc, "Island_Kronos_fishing", Island_Kronos_fishing));
settingsNode.AppendChild(ToElement(doc, "Ares_Knuckles", Ares_Knuckles));
settingsNode.AppendChild(ToElement(doc, "Ares_WyvernFirst", Ares_WyvernFirst));
settingsNode.AppendChild(ToElement(doc, "Ares_Water", Ares_Water));
settingsNode.AppendChild(ToElement(doc, "Ares_Crane", Ares_Crane));
settingsNode.AppendChild(ToElement(doc, "Ares_GreenCE", Ares_GreenCE));
settingsNode.AppendChild(ToElement(doc, "Ares_CyanCE", Ares_CyanCE));
settingsNode.AppendChild(ToElement(doc, "Ares_WyvernStart", Ares_WyvernStart));
settingsNode.AppendChild(ToElement(doc, "Ares_WyvernRun", Ares_WyvernRun));
settingsNode.AppendChild(ToElement(doc, "Ares_SuperSonic", Ares_SuperSonic));
settingsNode.AppendChild(ToElement(doc, "Island_Ares_story", Island_Ares_story));
settingsNode.AppendChild(ToElement(doc, "w2_1_story", w2_1_story));
settingsNode.AppendChild(ToElement(doc, "w2_2_story", w2_2_story));
settingsNode.AppendChild(ToElement(doc, "w2_3_story", w2_3_story));
settingsNode.AppendChild(ToElement(doc, "w2_4_story", w2_4_story));
settingsNode.AppendChild(ToElement(doc, "w2_5_story", w2_5_story));
settingsNode.AppendChild(ToElement(doc, "w2_6_story", w2_6_story));
settingsNode.AppendChild(ToElement(doc, "w2_7_story", w2_7_story));
settingsNode.AppendChild(ToElement(doc, "Ares_BlueCE", Ares_BlueCE));
settingsNode.AppendChild(ToElement(doc, "Ares_RedCE", Ares_RedCE));
settingsNode.AppendChild(ToElement(doc, "Ares_YellowCE", Ares_YellowCE));
settingsNode.AppendChild(ToElement(doc, "Ares_WhiteCE", Ares_WhiteCE));
settingsNode.AppendChild(ToElement(doc, "Island_Ares_fishing", Island_Ares_fishing));
settingsNode.AppendChild(ToElement(doc, "Chaos_Tails", Chaos_Tails));
settingsNode.AppendChild(ToElement(doc, "Chaos_KnightFirst", Chaos_KnightFirst));
settingsNode.AppendChild(ToElement(doc, "Chaos_Hacking", Chaos_Hacking));
settingsNode.AppendChild(ToElement(doc, "Chaos_GreenCE", Chaos_GreenCE));
settingsNode.AppendChild(ToElement(doc, "Chaos_CyanCE", Chaos_CyanCE));
settingsNode.AppendChild(ToElement(doc, "Chaos_PinballStart", Chaos_PinballStart));
settingsNode.AppendChild(ToElement(doc, "Chaos_PinballEnd", Chaos_PinballEnd));
settingsNode.AppendChild(ToElement(doc, "Chaos_BlueCE", Chaos_BlueCE));
settingsNode.AppendChild(ToElement(doc, "Chaos_RedCE", Chaos_RedCE));
settingsNode.AppendChild(ToElement(doc, "Chaos_YellowCE", Chaos_YellowCE));
settingsNode.AppendChild(ToElement(doc, "Chaos_WhiteCE", Chaos_WhiteCE));
settingsNode.AppendChild(ToElement(doc, "Chaos_KnightStart", Chaos_KnightStart));
settingsNode.AppendChild(ToElement(doc, "Chaos_SuperSonic", Chaos_SuperSonic));
settingsNode.AppendChild(ToElement(doc, "Island_Chaos_story", Island_Chaos_story));
settingsNode.AppendChild(ToElement(doc, "Island_Chaos_fishing", Island_Chaos_fishing));
settingsNode.AppendChild(ToElement(doc, "w3_1_story", w3_1_story));
settingsNode.AppendChild(ToElement(doc, "w3_2_story", w3_2_story));
settingsNode.AppendChild(ToElement(doc, "w3_3_story", w3_3_story));
settingsNode.AppendChild(ToElement(doc, "w3_4_story", w3_4_story));
settingsNode.AppendChild(ToElement(doc, "w3_5_story", w3_5_story));
settingsNode.AppendChild(ToElement(doc, "w3_6_story", w3_6_story));
settingsNode.AppendChild(ToElement(doc, "w3_7_story", w3_7_story));
settingsNode.AppendChild(ToElement(doc, "Rhea_Tower1", Rhea_Tower1));
settingsNode.AppendChild(ToElement(doc, "Rhea_Tower2", Rhea_Tower2));
settingsNode.AppendChild(ToElement(doc, "Rhea_Tower3", Rhea_Tower3));
settingsNode.AppendChild(ToElement(doc, "Rhea_Tower4", Rhea_Tower4));
settingsNode.AppendChild(ToElement(doc, "Rhea_Tower5", Rhea_Tower5));
settingsNode.AppendChild(ToElement(doc, "Rhea_Tower6", Rhea_Tower6));
settingsNode.AppendChild(ToElement(doc, "Island_Rhea_story", Island_Rhea_story));
settingsNode.AppendChild(ToElement(doc, "Ouranos_Bridge", Ouranos_Bridge));
settingsNode.AppendChild(ToElement(doc, "Ouranos_SupremeDefeated", Ouranos_SupremeDefeated));
settingsNode.AppendChild(ToElement(doc, "Ouranos_FinalDoor", Ouranos_FinalDoor));
settingsNode.AppendChild(ToElement(doc, "FinalBoss", FinalBoss));
settingsNode.AppendChild(ToElement(doc, "w4_1_story", w4_1_story));
settingsNode.AppendChild(ToElement(doc, "w4_2_story", w4_2_story));
settingsNode.AppendChild(ToElement(doc, "w4_3_story", w4_3_story));
settingsNode.AppendChild(ToElement(doc, "w4_4_story", w4_4_story));
settingsNode.AppendChild(ToElement(doc, "w4_5_story", w4_5_story));
settingsNode.AppendChild(ToElement(doc, "w4_6_story", w4_6_story));
settingsNode.AppendChild(ToElement(doc, "w4_7_story", w4_7_story));
settingsNode.AppendChild(ToElement(doc, "w4_8_story", w4_8_story));
settingsNode.AppendChild(ToElement(doc, "w4_9_story", w4_9_story));
settingsNode.AppendChild(ToElement(doc, "Ouranos_BlueCE", Ouranos_BlueCE));
settingsNode.AppendChild(ToElement(doc, "Ouranos_RedCE", Ouranos_RedCE));
settingsNode.AppendChild(ToElement(doc, "Ouranos_GreenCE", Ouranos_GreenCE));
settingsNode.AppendChild(ToElement(doc, "Ouranos_YellowCE", Ouranos_YellowCE));
settingsNode.AppendChild(ToElement(doc, "Ouranos_CyanCE", Ouranos_CyanCE));
settingsNode.AppendChild(ToElement(doc, "Ouranos_WhiteCE", Ouranos_WhiteCE));
settingsNode.AppendChild(ToElement(doc, "Island_Ouranos_fishing", Island_Ouranos_fishing));
settingsNode.AppendChild(ToElement(doc, "w1_1_arcade", w1_1_arcade));
settingsNode.AppendChild(ToElement(doc, "w1_2_arcade", w1_2_arcade));
settingsNode.AppendChild(ToElement(doc, "w1_3_arcade", w1_3_arcade));
settingsNode.AppendChild(ToElement(doc, "w1_4_arcade", w1_4_arcade));
settingsNode.AppendChild(ToElement(doc, "w1_5_arcade", w1_5_arcade));
settingsNode.AppendChild(ToElement(doc, "w1_6_arcade", w1_6_arcade));
settingsNode.AppendChild(ToElement(doc, "w1_7_arcade", w1_7_arcade));
settingsNode.AppendChild(ToElement(doc, "w2_1_arcade", w2_1_arcade));
settingsNode.AppendChild(ToElement(doc, "w2_2_arcade", w2_2_arcade));
settingsNode.AppendChild(ToElement(doc, "w2_3_arcade", w2_3_arcade));
settingsNode.AppendChild(ToElement(doc, "w2_4_arcade", w2_4_arcade));
settingsNode.AppendChild(ToElement(doc, "w2_5_arcade", w2_5_arcade));
settingsNode.AppendChild(ToElement(doc, "w2_6_arcade", w2_6_arcade));
settingsNode.AppendChild(ToElement(doc, "w2_7_arcade", w2_7_arcade));
settingsNode.AppendChild(ToElement(doc, "w3_1_arcade", w3_1_arcade));
settingsNode.AppendChild(ToElement(doc, "w3_2_arcade", w3_2_arcade));
settingsNode.AppendChild(ToElement(doc, "w3_3_arcade", w3_3_arcade));
settingsNode.AppendChild(ToElement(doc, "w3_4_arcade", w3_4_arcade));
settingsNode.AppendChild(ToElement(doc, "w3_5_arcade", w3_5_arcade));
settingsNode.AppendChild(ToElement(doc, "w3_6_arcade", w3_6_arcade));
settingsNode.AppendChild(ToElement(doc, "w3_7_arcade", w3_7_arcade));
settingsNode.AppendChild(ToElement(doc, "w4_1_arcade", w4_1_arcade));
settingsNode.AppendChild(ToElement(doc, "w4_2_arcade", w4_2_arcade));
settingsNode.AppendChild(ToElement(doc, "w4_3_arcade", w4_3_arcade));
settingsNode.AppendChild(ToElement(doc, "w4_4_arcade", w4_4_arcade));
settingsNode.AppendChild(ToElement(doc, "w4_5_arcade", w4_5_arcade));
settingsNode.AppendChild(ToElement(doc, "w4_6_arcade", w4_6_arcade));
settingsNode.AppendChild(ToElement(doc, "w4_7_arcade", w4_7_arcade));
settingsNode.AppendChild(ToElement(doc, "w4_8_arcade", w4_8_arcade));
settingsNode.AppendChild(ToElement(doc, "w4_9_arcade", w4_9_arcade));
settingsNode.AppendChild(ToElement(doc, "w4_9_arcade_soon", w4_9_arcade_soon));
settingsNode.AppendChild(ToElement(doc, "Boss1_1", Boss1_1));
settingsNode.AppendChild(ToElement(doc, "Boss1_2", Boss1_2));
settingsNode.AppendChild(ToElement(doc, "Boss1_3", Boss1_3));
settingsNode.AppendChild(ToElement(doc, "Boss1_4", Boss1_4));
settingsNode.AppendChild(ToElement(doc, "Boss1_5", Boss1_5));
settingsNode.AppendChild(ToElement(doc, "Boss1_6", Boss1_6));
settingsNode.AppendChild(ToElement(doc, "Boss1_7", Boss1_7));
settingsNode.AppendChild(ToElement(doc, "Boss1_8", Boss1_8));
settingsNode.AppendChild(ToElement(doc, "Boss1_9", Boss1_9));
settingsNode.AppendChild(ToElement(doc, "Boss1_10", Boss1_10));
settingsNode.AppendChild(ToElement(doc, "Boss2_1", Boss2_1));
settingsNode.AppendChild(ToElement(doc, "Boss2_2", Boss2_2));
settingsNode.AppendChild(ToElement(doc, "Boss2_3", Boss2_3));
settingsNode.AppendChild(ToElement(doc, "Boss2_4", Boss2_4));
settingsNode.AppendChild(ToElement(doc, "Boss2_5", Boss2_5));
settingsNode.AppendChild(ToElement(doc, "Boss2_6", Boss2_6));
settingsNode.AppendChild(ToElement(doc, "Boss2_7", Boss2_7));
settingsNode.AppendChild(ToElement(doc, "Boss2_8", Boss2_8));
settingsNode.AppendChild(ToElement(doc, "Boss2_9", Boss2_9));
settingsNode.AppendChild(ToElement(doc, "Boss2_10", Boss2_10));
settingsNode.AppendChild(ToElement(doc, "Boss3_1", Boss3_1));
settingsNode.AppendChild(ToElement(doc, "Boss3_2", Boss3_2));
settingsNode.AppendChild(ToElement(doc, "Boss3_3", Boss3_3));
settingsNode.AppendChild(ToElement(doc, "Boss3_4", Boss3_4));
settingsNode.AppendChild(ToElement(doc, "Boss3_5", Boss3_5));
settingsNode.AppendChild(ToElement(doc, "Boss3_6", Boss3_6));
settingsNode.AppendChild(ToElement(doc, "Boss3_7", Boss3_7));
settingsNode.AppendChild(ToElement(doc, "Boss3_8", Boss3_8));
settingsNode.AppendChild(ToElement(doc, "Boss3_9", Boss3_9));
settingsNode.AppendChild(ToElement(doc, "Boss4_1", Boss4_1));
settingsNode.AppendChild(ToElement(doc, "Boss4_2", Boss4_2));
settingsNode.AppendChild(ToElement(doc, "Boss4_3", Boss4_3));
settingsNode.AppendChild(ToElement(doc, "Boss4_4", Boss4_4));
settingsNode.AppendChild(ToElement(doc, "Boss4_5", Boss4_5));
settingsNode.AppendChild(ToElement(doc, "Boss4_6", Boss4_6));
settingsNode.AppendChild(ToElement(doc, "Boss4_7", Boss4_7));
settingsNode.AppendChild(ToElement(doc, "Boss4_8", Boss4_8));
settingsNode.AppendChild(ToElement(doc, "Boss4_9", Boss4_9));
settingsNode.AppendChild(ToElement(doc, "Boss4_10", Boss4_10));
settingsNode.AppendChild(ToElement(doc, "Boss4_11", Boss4_11));
settingsNode.AppendChild(ToElement(doc, "MusicNoteAny", MusicNoteAny));
return settingsNode;
}
public void SetSettings(XmlNode settings)
{
WFocus = ParseBool(settings, "WFocus", false);
StoryStart = ParseBool(settings, "StoryStart", true);
ArcadeStart = ParseBool(settings, "ArcadeStart", true);
BossRushStart = ParseBool(settings, "BossRushStart", true);
Arcade1_1 = ParseBool(settings, "Arcade1_1", true);
Amy_First = ParseBool(settings, "Amy_First", false);
Knuckles_First = ParseBool(settings, "Knuckles_First", false);
Tails_First = ParseBool(settings, "Tails_First", false);
Amy_Second = ParseBool(settings, "Amy_Second", false);
Knuckles_Second = ParseBool(settings, "Knuckles_Second", false);
Tails_Second = ParseBool(settings, "Tails_Second", false);
Sonic_Tower1 = ParseBool(settings, "Sonic_Tower1", false);
Sonic_Tower2 = ParseBool(settings, "Sonic_Tower2", false);
Sonic_Tower3 = ParseBool(settings, "Sonic_Tower3", false);
Sonic_Tower4 = ParseBool(settings, "Sonic_Tower4", false);
Sonic_MasterTrial = ParseBool(settings, "Sonic_MasterTrial", false);
; Skill_Cyloop = ParseBool(settings, "Skill_Cyloop", false);
Skill_AirTrick = ParseBool(settings, "Skill_AirTrick", false);
Skill_PhantomRush = ParseBool(settings, "Skill_PhantomRush", false);
Skill_StompAttack = ParseBool(settings, "Skill_StompAttack", false);
Skill_AutoCombo = ParseBool(settings, "Skill_AutoCombo", false);
Skill_HomingShot = ParseBool(settings, "Skill_HomingShot", false);
Skill_LoopKick = ParseBool(settings, "Skill_LoopKick", false);
Skill_QuickCyloop = ParseBool(settings, "Skill_QuickCyloop", false);
Skill_RecoverySmash = ParseBool(settings, "Skill_RecoverySmash", false);
Skill_SonicBoom = ParseBool(settings, "Skill_SonicBoom", false);
Skill_WildRush = ParseBool(settings, "Skill_WildRush", false);
Skill_SpinSlash = ParseBool(settings, "Skill_SpinSlash", false);
Kronos_Ninja = ParseBool(settings, "Kronos_Ninja", false);
Kronos_Door = ParseBool(settings, "Kronos_Door", false);
Kronos_Amy = ParseBool(settings, "Kronos_Amy", false);
Kronos_GigantosFirst = ParseBool(settings, "Kronos_GigantosFirst", false);
Kronos_Tombstones = ParseBool(settings, "Kronos_Tombstones", false);
Kronos_GigantosStart = ParseBool(settings, "Kronos_GigantosStart", false);
Kronos_SuperSonic = ParseBool(settings, "Kronos_SuperSonic", false);
Island_Kronos_story = ParseBool(settings, "Island_Kronos_story", true);
w1_1_story = ParseBool(settings, "w1_1_story", false);
w1_2_story = ParseBool(settings, "w1_2_story", false);
w1_3_story = ParseBool(settings, "w1_3_story", false);
w1_4_story = ParseBool(settings, "w1_4_story", false);
w1_5_story = ParseBool(settings, "w1_5_story", false);
w1_6_story = ParseBool(settings, "w1_6_story", false);
w1_7_story = ParseBool(settings, "w1_7_story", false);
Kronos_BlueCE = ParseBool(settings, "Kronos_BlueCE", false);
Kronos_RedCE = ParseBool(settings, "Kronos_RedCE", false);
Kronos_YellowCE = ParseBool(settings, "Kronos_YellowCE", false);
Kronos_WhiteCE = ParseBool(settings, "Kronos_WhiteCE", false);
Kronos_GreenCE = ParseBool(settings, "Kronos_GreenCE", false);
Kronos_CyanCE = ParseBool(settings, "Kronos_CyanCE", false);
Island_Kronos_fishing = ParseBool(settings, "Island_Kronos_fishing", true);
Ares_Knuckles = ParseBool(settings, "Ares_Knuckles", false);
Ares_WyvernFirst = ParseBool(settings, "Ares_WyvernFirst", false);
Ares_Water = ParseBool(settings, "Ares_Water", false);
Ares_Crane = ParseBool(settings, "Ares_Crane", false);
Ares_GreenCE = ParseBool(settings, "Ares_GreenCE", false);
Ares_CyanCE = ParseBool(settings, "Ares_CyanCE", false);
Ares_WyvernStart = ParseBool(settings, "Ares_WyvernStart", false);
Ares_WyvernRun = ParseBool(settings, "Ares_WyvernRun", false);
Ares_SuperSonic = ParseBool(settings, "Ares_SuperSonic", false);
Island_Ares_story = ParseBool(settings, "Island_Ares_story", true);
w2_1_story = ParseBool(settings, "w2_1_story", false);
w2_2_story = ParseBool(settings, "w2_2_story", false);
w2_3_story = ParseBool(settings, "w2_3_story", false);
w2_4_story = ParseBool(settings, "w2_4_story", false);
w2_5_story = ParseBool(settings, "w2_5_story", false);
w2_6_story = ParseBool(settings, "w2_6_story", false);
w2_7_story = ParseBool(settings, "w2_7_story", false);
Ares_BlueCE = ParseBool(settings, "Ares_BlueCE", false);
Ares_RedCE = ParseBool(settings, "Ares_RedCE", false);
Ares_YellowCE = ParseBool(settings, "Ares_YellowCE", false);
Ares_WhiteCE = ParseBool(settings, "Ares_WhiteCE", false);
Island_Ares_fishing = ParseBool(settings, "Island_Ares_fishing", true);
Chaos_Tails = ParseBool(settings, "Chaos_Tails", false);
Chaos_KnightFirst = ParseBool(settings, "Chaos_KnightFirst", false);
Chaos_Hacking = ParseBool(settings, "Chaos_Hacking", false);
Chaos_GreenCE = ParseBool(settings, "Chaos_GreenCE", false);
Chaos_CyanCE = ParseBool(settings, "Chaos_CyanCE", false);
Chaos_PinballStart = ParseBool(settings, "Chaos_PinballStart", false);
Chaos_PinballEnd = ParseBool(settings, "Chaos_PinballEnd", false);
Chaos_BlueCE = ParseBool(settings, "Chaos_BlueCE", false);
Chaos_RedCE = ParseBool(settings, "Chaos_RedCE", false);
Chaos_YellowCE = ParseBool(settings, "Chaos_YellowCE", false);
Chaos_WhiteCE = ParseBool(settings, "Chaos_WhiteCE", false);
Chaos_KnightStart = ParseBool(settings, "Chaos_KnightStart", false);
Chaos_SuperSonic = ParseBool(settings, "Chaos_SuperSonic", false);
Island_Chaos_story = ParseBool(settings, "Island_Chaos_story", true);
Island_Chaos_fishing = ParseBool(settings, "Island_Chaos_fishing", true);
w3_1_story = ParseBool(settings, "w3_1_story", false);
w3_2_story = ParseBool(settings, "w3_2_story", false);
w3_3_story = ParseBool(settings, "w3_3_story", false);
w3_4_story = ParseBool(settings, "w3_4_story", false);
w3_5_story = ParseBool(settings, "w3_5_story", false);
w3_6_story = ParseBool(settings, "w3_6_story", false);
w3_7_story = ParseBool(settings, "w3_7_story", false);
Rhea_Tower1 = ParseBool(settings, "Rhea_Tower1", false);
Rhea_Tower2 = ParseBool(settings, "Rhea_Tower2", false);
Rhea_Tower3 = ParseBool(settings, "Rhea_Tower3", false);
Rhea_Tower4 = ParseBool(settings, "Rhea_Tower4", false);
Rhea_Tower5 = ParseBool(settings, "Rhea_Tower5", false);
Rhea_Tower6 = ParseBool(settings, "Rhea_Tower6", false);
Island_Rhea_story = ParseBool(settings, "Island_Rhea_story", true);
Ouranos_Bridge = ParseBool(settings, "Ouranos_Bridge", false);
Ouranos_SupremeDefeated = ParseBool(settings, "Ouranos_SupremeDefeated", false);
Ouranos_FinalDoor = ParseBool(settings, "Ouranos_FinalDoor");
FinalBoss = ParseBool(settings, "FinalBoss", true);
w4_1_story = ParseBool(settings, "w4_1_story", false);
w4_2_story = ParseBool(settings, "w4_2_story", false);
w4_3_story = ParseBool(settings, "w4_3_story", false);
w4_4_story = ParseBool(settings, "w4_4_story", false);
w4_5_story = ParseBool(settings, "w4_5_story", false);
w4_6_story = ParseBool(settings, "w4_6_story", false);
w4_7_story = ParseBool(settings, "w4_7_story", false);
w4_8_story = ParseBool(settings, "w4_8_story", false);
w4_9_story = ParseBool(settings, "w4_9_story", false);
Ouranos_BlueCE = ParseBool(settings, "Ouranos_BlueCE", false);
Ouranos_RedCE = ParseBool(settings, "Ouranos_RedCE", false);
Ouranos_GreenCE = ParseBool(settings, "Ouranos_GreenCE", false);
Ouranos_YellowCE = ParseBool(settings, "Ouranos_YellowCE", false);
Ouranos_CyanCE = ParseBool(settings, "Ouranos_CyanCE", false);
Ouranos_WhiteCE = ParseBool(settings, "Ouranos_WhiteCE", false);
Island_Ouranos_fishing = ParseBool(settings, "Island_Ouranos_fishing", true);
w1_1_arcade = ParseBool(settings, "w1_1_arcade", true);
w1_2_arcade = ParseBool(settings, "w1_2_arcade", true);
w1_3_arcade = ParseBool(settings, "w1_3_arcade", true);
w1_4_arcade = ParseBool(settings, "w1_4_arcade", true);
w1_5_arcade = ParseBool(settings, "w1_5_arcade", true);
w1_6_arcade = ParseBool(settings, "w1_6_arcade", true);
w1_7_arcade = ParseBool(settings, "w1_7_arcade", true);
w2_1_arcade = ParseBool(settings, "w2_1_arcade", true);
w2_2_arcade = ParseBool(settings, "w2_2_arcade", true);
w2_3_arcade = ParseBool(settings, "w2_3_arcade", true);
w2_4_arcade = ParseBool(settings, "w2_4_arcade", true);
w2_5_arcade = ParseBool(settings, "w2_5_arcade", true);
w2_6_arcade = ParseBool(settings, "w2_6_arcade", true);
w2_7_arcade = ParseBool(settings, "w2_7_arcade", true);
w3_1_arcade = ParseBool(settings, "w3_1_arcade", true);
w3_2_arcade = ParseBool(settings, "w3_2_arcade", true);
w3_3_arcade = ParseBool(settings, "w3_3_arcade", true);
w3_4_arcade = ParseBool(settings, "w3_4_arcade", true);
w3_5_arcade = ParseBool(settings, "w3_5_arcade", true);
w3_6_arcade = ParseBool(settings, "w3_6_arcade", true);
w3_7_arcade = ParseBool(settings, "w3_7_arcade", true);
w4_1_arcade = ParseBool(settings, "w4_1_arcade", true);
w4_2_arcade = ParseBool(settings, "w4_2_arcade", true);
w4_3_arcade = ParseBool(settings, "w4_3_arcade", true);
w4_4_arcade = ParseBool(settings, "w4_4_arcade", true);
w4_5_arcade = ParseBool(settings, "w4_5_arcade", true);
w4_6_arcade = ParseBool(settings, "w4_6_arcade", true);
w4_7_arcade = ParseBool(settings, "w4_7_arcade", true);
w4_8_arcade = ParseBool(settings, "w4_8_arcade", true);
w4_9_arcade = ParseBool(settings, "w4_9_arcade", true);
w4_9_arcade_soon = ParseBool(settings, "w4_9_arcade_soon", true);
Boss1_1 = ParseBool(settings, "Boss1_1", true);
Boss1_2 = ParseBool(settings, "Boss1_2", true);
Boss1_3 = ParseBool(settings, "Boss1_3", true);
Boss1_4 = ParseBool(settings, "Boss1_4", true);
Boss1_5 = ParseBool(settings, "Boss1_5", true);
Boss1_6 = ParseBool(settings, "Boss1_6", true);
Boss1_7 = ParseBool(settings, "Boss1_7", true);
Boss1_8 = ParseBool(settings, "Boss1_8", true);
Boss1_9 = ParseBool(settings, "Boss1_9", true);
Boss1_10 = ParseBool(settings, "Boss1_10", true);
Boss2_1 = ParseBool(settings, "Boss2_1", true);
Boss2_2 = ParseBool(settings, "Boss2_2", true);
Boss2_3 = ParseBool(settings, "Boss2_3", true);
Boss2_4 = ParseBool(settings, "Boss2_4", true);
Boss2_5 = ParseBool(settings, "Boss2_5", true);
Boss2_6 = ParseBool(settings, "Boss2_6", true);
Boss2_7 = ParseBool(settings, "Boss2_7", true);
Boss2_8 = ParseBool(settings, "Boss2_8", true);
Boss2_9 = ParseBool(settings, "Boss2_9", true);
Boss2_10 = ParseBool(settings, "Boss2_10", true);
Boss3_1 = ParseBool(settings, "Boss3_1", true);
Boss3_2 = ParseBool(settings, "Boss3_2", true);
Boss3_3 = ParseBool(settings, "Boss3_3", true);
Boss3_4 = ParseBool(settings, "Boss3_4", true);
Boss3_5 = ParseBool(settings, "Boss3_5", true);
Boss3_6 = ParseBool(settings, "Boss3_6", true);
Boss3_7 = ParseBool(settings, "Boss3_7", true);
Boss3_8 = ParseBool(settings, "Boss3_8", true);
Boss3_9 = ParseBool(settings, "Boss3_9", true);
Boss4_1 = ParseBool(settings, "Boss4_1", true);
Boss4_2 = ParseBool(settings, "Boss4_2", true);
Boss4_3 = ParseBool(settings, "Boss4_3", true);
Boss4_4 = ParseBool(settings, "Boss4_4", true);
Boss4_5 = ParseBool(settings, "Boss4_5", true);
Boss4_6 = ParseBool(settings, "Boss4_6", true);
Boss4_7 = ParseBool(settings, "Boss4_7", true);
Boss4_8 = ParseBool(settings, "Boss4_8", true);
Boss4_9 = ParseBool(settings, "Boss4_9", true);
Boss4_10 = ParseBool(settings, "Boss4_10", true);
Boss4_11 = ParseBool(settings, "Boss4_11", true);
MusicNoteAny = ParseBool(settings, "MusicNoteAny", false);
}
static bool ParseBool(XmlNode settings, string setting, bool default_ = false)
{
return settings[setting] != null ? (bool.TryParse(settings[setting].InnerText, out bool val) ? val : default_) : default_;
}
static XmlElement ToElement<T>(XmlDocument document, string name, T value)
{
XmlElement str = document.CreateElement(name);
str.InnerText = value.ToString();
return str;
}
private void ChkArcadeStart_CheckedChanged(object sender, EventArgs e)
{
chkArcade1_1.Enabled = chkArcadeStart.Checked;
}
/*
// Commented out because I want to avoid using Reflection in this case
public bool this[string entry]
{
get
{
bool t;
try { t = (bool)this.GetType().GetProperty(entry).GetValue(this, null); }
catch { return false; }
return t;
}
}
*/
private void Chk4_9_arcade_CheckedChanged(object sender, EventArgs e)
{
chk29_arcade_soon.Enabled = chk29_arcade.Checked;
}
private void KronosButton_Click(object sender, EventArgs e)
{
chkKronos_Ninja.Checked = false;
chkKronos_Door.Checked = false;
chkKronos_Amy.Checked = false;
chkKronos_GigantosFirst.Checked = false;
chkKronos_Tombstones.Checked = false;
chkKronos_GigantosStart.Checked = false;
chk50_story.Checked = true;
chk0_story.Checked = false;
chk1_story.Checked = false;
chk2_story.Checked = false;
chk3_story.Checked = false;
chk4_story.Checked = false;
chk5_story.Checked = false;
chk6_story.Checked = false;
chkKronos_BlueCE.Checked = false;
chkKronos_RedCE.Checked = false;
chkKronos_YellowCE.Checked = false;
chkKronos_WhiteCE.Checked = false;
chkKronos_GreenCE.Checked = false;
chkKronos_CyanCE.Checked = false;
chk50_fishing.Checked = true;
}
private void RheaButton_Click(object sender, EventArgs e)
{
chkRhea_Tower1.Checked = false;
chkRhea_Tower2.Checked = false;
chkRhea_Tower3.Checked = false;
chkRhea_Tower4.Checked = false;
chkRhea_Tower5.Checked = false;
chkRhea_Tower6.Checked = false;
chk53_story.Checked = true;
}
private void OuranosButton_Click(object sender, EventArgs e)
{
chkOuranos_Bridge.Checked = false;
chkOuranos_SupremeDefeated.Checked = false;
chkFinalBoss.Checked = true;
chk21_story.Checked = false;
chk22_story.Checked = false;
chk23_story.Checked = false;
chk24_story.Checked = false;
chk25_story.Checked = false;
chk26_story.Checked = false;
chk27_story.Checked = false;
chk28_story.Checked = false;
chk29_story.Checked = false;
chkOuranos_BlueCE.Checked = false;
chkOuranos_RedCE.Checked = false;
chkOuranos_GreenCE.Checked = false;
chkOuranos_YellowCE.Checked = false;
chkOuranos_CyanCE.Checked = false;
chkOuranos_WhiteCE.Checked = false;
chk54_fishing.Checked = true;
chkOuranos_FinalDoor.Checked = false;
}
private void ArcadeButton_Click(object sender, EventArgs e)
{
chk0_arcade.Checked = true;
chk1_arcade.Checked = true;
chk2_arcade.Checked = true;
chk3_arcade.Checked = true;
chk4_arcade.Checked = true;
chk5_arcade.Checked = true;
chk6_arcade.Checked = true;