-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathMainWindow.xaml
881 lines (859 loc) · 63 KB
/
MainWindow.xaml
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
<mah:MetroWindow x:Class="rpkg.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
xmlns:hx="http://helix-toolkit.org/wpf/SharpDX"
xmlns:avalonEdit="http://icsharpcode.net/sharpdevelop/avalonedit"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
xmlns:local="clr-namespace:rpkg"
mc:Ignorable="d"
Loaded="Window_Loaded"
Title="RPKG v2.33.0" Height="800" Width="1280" WindowStartupLocation="CenterScreen" Name="RPKGMainWindow">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" MinWidth="10"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*" MinWidth="10"/>
</Grid.ColumnDefinitions>
<Grid Grid.Row="0" Grid.ColumnSpan="3">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="90"/>
</Grid.ColumnDefinitions>
<DockPanel Grid.Row="0" Grid.Column="0">
<Menu DockPanel.Dock="Top">
<MenuItem Header="Import">
<MenuItem Click="OpenRPKGFile_Click" Header="Import RPKG File"/>
<MenuItem Click="OpenRPKGFolder_Click" Header="Import RPKGs Folder"/>
</MenuItem>
<MenuItem Header="Extract">
<MenuItem Click="Extract_Click" Header="Extract from RPKG File"/>
</MenuItem>
<MenuItem Header="Generate">
<MenuItem Click="GenerateRPKGFromFolder_Click" Header="Generate RPKG From Folder"/>
</MenuItem>
<MenuItem Header="Mass Extract">
<MenuItem Click="MassExtract_Click" Header="Extract Mesh Primitives (PRIM) To GLB From RPKGs In Folder"/>
<MenuItem Click="MassExtract_Click" Header="Extract Textures (TEXT/TEXD) To TGA From RPKGs In Folder"/>
<MenuItem Click="MassExtract_Click" Header="Extract Images/JSONs (ORES) To IOI Paths From RPKGs In Folder"/>
<MenuItem Click="MassExtract_Click" Header="Extract Sounds (WWEM) To OGG To IOI Paths From RPKGs In Folder"/>
<MenuItem Click="MassExtract_Click" Header="Extract Speech (WWES) To OGG To IOI Paths From RPKGs In Folder"/>
<MenuItem Click="MassExtract_Click" Header="Extract Sound Events (WWEV) To OGG To IOI Paths From RPKGs In Folder"/>
<MenuItem Click="MassExtract_Click" Header="Extract Dialogue Subtitles (DLGE) To JSON From RPKGs In Folder"/>
<MenuItem Click="MassExtract_Click" Header="Extract Localised Strings (LOCR) To JSON From RPKGs In Folder"/>
<MenuItem Click="MassExtract_Click" Header="Extract Video Subtitles (RTLV) To JSON From RPKGs In Folder"/>
<MenuItem Click="MassExtract_Click" Header="Extract Scaleform GFX/DDS/TGA (GFXF) From RPKGs In Folder"/>
</MenuItem>
<MenuItem Header="Rebuild">
<MenuItem Click="MaterialUtilities_Click" Header="Rebuild Material JSON File(s) To MATI/MATT/MATB File(s)"/>
<MenuItem Click="Rebuild_Click" Header="Rebuild Primitive Models (PRIM/TEXT/TEXD) From Folder"/>
<MenuItem Click="Rebuild_Click" Header="Rebuild Mesh Primitives (PRIM) From Folder"/>
<MenuItem Click="Rebuild_Click" Header="Rebuild Textures (TEXT/TEXD) From Folder"/>
<MenuItem Click="Rebuild_Click" Header="Rebuild Scaleform GFX/DDS/TGA (GFXF) From Folder"/>
<MenuItem Click="Rebuild_Click" Header="Rebuild Dialogue Subtitles (DLGE) From Folder"/>
<MenuItem Click="Rebuild_Click" Header="Rebuild Localised Strings (LOCR) From Folder"/>
<MenuItem Click="Rebuild_Click" Header="Rebuild Video Subtitles (RTLV) From Folder"/>
<MenuItem Click="Rebuild_Click" Header="Rebuild Sound Events (WWEV) From Folder"/>
<MenuItem Click="ASVA_Click" Header="Rebuild Animation Variation (ASVA) JSON File(s) To ASVA File(s)"/>
</MenuItem>
<MenuItem Header="Resource Utilities">
<MenuItem Header="Dialogue (SDEF)">
<MenuItem Click="DialogueSDEFUtilities_Click" Header="Convert Single SDEF (+.SDEF.meta) File To SDEF JSON File" Tag="SDEF"/>
<MenuItem Click="DialogueSDEFUtilities_Click" Header="Convert Single SDEF JSON File To SDEF (+.SDEF.meta) File" Tag="JSON"/>
<MenuItem Click="DialogueSDEFUtilities_Click" Header="Mass Convert SDEF (+.SDEF.meta) Files To SDEF JSON Files" Tag="SDEFS"/>
<MenuItem Click="DialogueSDEFUtilities_Click" Header="Mass Convert SDEF JSON Files To SDEF (+.SDEF.meta) Files" Tag="JSONS"/>
</MenuItem>
<MenuItem Header="Animation (MRTR)">
<MenuItem Click="AnimationMRTRUtilities_Click" Header="Convert Single MRTR File To MRTR JSON File" Tag="MRTR"/>
<MenuItem Click="AnimationMRTRUtilities_Click" Header="Convert Single MRTR JSON File To MRTR File" Tag="JSON"/>
<MenuItem Click="AnimationMRTRUtilities_Click" Header="Mass Convert MRTR Files To MRTR JSON Files" Tag="MRTRS"/>
<MenuItem Click="AnimationMRTRUtilities_Click" Header="Mass Convert MRTR JSON Files To MRTR Files" Tag="JSONS"/>
</MenuItem>
</MenuItem>
<MenuItem Header="Map Editing">
<MenuItem Header="Export Main Hitman Map to Godot v4 project">
<MenuItem Header="ICA Facility">
<MenuItem Header="Intro" Click="MainMapExport_Click" Tag="00891597BD81CC36"/>
<MenuItem Header="Freeform Training" Click="MainMapExport_Click" Tag="005FCD7DB380B935"/>
<MenuItem Header="The Final Test" Click="MainMapExport_Click" Tag="00A07698324C95E4"/>
</MenuItem>
<MenuItem Header="Paris">
<MenuItem Header="The Showstopper" Click="MainMapExport_Click" Tag="0011E323C2A9568F"/>
<MenuItem Header="Holiday Hoarders" Click="MainMapExport_Click" Tag="00B69DB24675E6EC"/>
</MenuItem>
<MenuItem Header="Sapienza">
<MenuItem Header="World of Tomorrow" Click="MainMapExport_Click" Tag="003FCA2D355765F6"/>
<MenuItem Header="The Icon" Click="MainMapExport_Click" Tag="004E41EA4574E6F1"/>
<MenuItem Header="Landslide" Click="MainMapExport_Click" Tag="00E849806992CB33"/>
<MenuItem Header="The Author" Click="MainMapExport_Click" Tag="00E35B73AB0A3FCD"/>
</MenuItem>
<MenuItem Header="Marrakesh">
<MenuItem Header="A Gilded Cage" Click="MainMapExport_Click" Tag="00CCB0BC5BBCEB64"/>
<MenuItem Header="A House Built on Sand" Click="MainMapExport_Click" Tag="00651D18449B04B0"/>
</MenuItem>
<MenuItem Header="Bangkok">
<MenuItem Header="Club 27" Click="MainMapExport_Click" Tag="000CE1E7168604DA"/>
<MenuItem Header="The Source" Click="MainMapExport_Click" Tag="0001589D95EDC6D8"/>
</MenuItem>
<MenuItem Header="Colorado">
<MenuItem Header="Freedom Fighters" Click="MainMapExport_Click" Tag="00B8C8111EF26413"/>
</MenuItem>
<MenuItem Header="Hokkaido">
<MenuItem Header="Situs Inversus" Click="MainMapExport_Click" Tag="008167E46937D17C"/>
<MenuItem Header="Hokkaido Snow Festival" Click="MainMapExport_Click" Tag="00E139CEC06E5C62"/>
<MenuItem Header="Patient Zero" Click="MainMapExport_Click" Tag="001722CB49DCFF66"/>
</MenuItem>
<MenuItem Header="Hawke's Bay">
<MenuItem Header="Nightcall" Click="MainMapExport_Click" Tag="00BF2670C110F0D2"/>
<MenuItem Header="The Mills Reverie" Click="MainMapExport_Click" Tag="004DEC0476CFF564"/>
</MenuItem>
<MenuItem Header="Miami">
<MenuItem Header="The Finish Line" Click="MainMapExport_Click" Tag="00DCAD025C52A18F"/>
<MenuItem Header="A Silver Tongue" Click="MainMapExport_Click" Tag="00AC85A2AA837088"/>
</MenuItem>
<MenuItem Header="Santa Fortuna">
<MenuItem Header="Three-Headed Serpent" Click="MainMapExport_Click" Tag="005F175F74156567"/>
<MenuItem Header="Embrace of the Serpent" Click="MainMapExport_Click" Tag="00493496F045C73D"/>
</MenuItem>
<MenuItem Header="Mumbai">
<MenuItem Header="Chasing a Ghost" Click="MainMapExport_Click" Tag="000EDA83617783CF"/>
<MenuItem Header="Illusions of Grandeur" Click="MainMapExport_Click" Tag="005D7F5C3AB501D0"/>
</MenuItem>
<MenuItem Header="Whittleton Creek">
<MenuItem Header="Another Life" Click="MainMapExport_Click" Tag="00C18C63D3E2E1E1"/>
<MenuItem Header="A Bitter Pill" Click="MainMapExport_Click" Tag="007775946A5BCE1C"/>
</MenuItem>
<MenuItem Header="Isle of Sgàil">
<MenuItem Header="The Ark Society" Click="MainMapExport_Click" Tag="00B91E821FD1D373"/>
</MenuItem>
<MenuItem Header="New York">
<MenuItem Header="Golden Handshake" Click="MainMapExport_Click" Tag="00675BB0B65964C3"/>
</MenuItem>
<MenuItem Header="Haven Island">
<MenuItem Header="The Last Resort" Click="MainMapExport_Click" Tag="00AA2B56939C2D1A"/>
</MenuItem>
<MenuItem Header="Dubai">
<MenuItem Header="On Top Of The World" Click="MainMapExport_Click" Tag="00D0CA04ADF58866"/>
</MenuItem>
<MenuItem Header="Dartmoor">
<MenuItem Header="Death In The Family" Click="MainMapExport_Click" Tag="00D17645CAA28C8A"/>
<MenuItem Header="The Dartmoor Garden Show" Click="MainMapExport_Click" Tag="007A8497E95A4415"/>
</MenuItem>
<MenuItem Header="Berlin">
<MenuItem Header="Apex Predator" Click="MainMapExport_Click" Tag="00B839D4389104BF"/>
</MenuItem>
<MenuItem Header="Chongqing">
<MenuItem Header="End Of An Era" Click="MainMapExport_Click" Tag="00E7CFC510AC524F"/>
</MenuItem>
<MenuItem Header="Mendoza">
<MenuItem Header="The Farewell" Click="MainMapExport_Click" Tag="0091EB0CBCFC66E3"/>
</MenuItem>
<MenuItem Header="Carpathian Mountains">
<MenuItem Header="Untouchable" Click="MainMapExport_Click" Tag="006BCFA7D4EB51E5"/>
</MenuItem>
<MenuItem Header="Sniper Assassin">
<MenuItem Header="Himmelstein" Click="MainMapExport_Click" Tag="00D55EECEED49BB6"/>
<MenuItem Header="Hantu Port" Click="MainMapExport_Click" Tag="00D0EA44F6999F2B"/>
<MenuItem Header="Siberia" Click="MainMapExport_Click" Tag="00939786A2259BA0"/>
</MenuItem>
</MenuItem>
<MenuItem Click="MapEditorExport_Click" Header="Export Map By TEMP to Godot v4 project"/>
<MenuItem Click="MapEditorImport_Click" Header="Import Map from Godot v4 project"/>
</MenuItem>
<MenuItem Header="Utilities">
<MenuItem Click="ConvertHashMetaFileToJSON_Click" Header="Convert Hash Meta File To JSON"/>
<MenuItem Click="ConvertJSONToHashMetaFile_Click" Header="Convert JSON To Hash Meta File"/>
<MenuItem Click="HashCalculator_Click" Header="Hash Calculator"/>
</MenuItem>
<MenuItem Header="Color Theme">
<MenuItem Click="ChangeColorTheme_Click" Header="Light/Blue"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Light/Brown"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Light/Green"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Light/Orange"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Light/Purple"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Light/Red"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Light/Yellow"/>
<!--MenuItem Click="ChangeColorTheme_Click" Header="Light/White"/-->
<MenuItem Click="ChangeColorTheme_Click" Header="Dark/Blue"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Dark/Brown"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Dark/Green"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Dark/Orange"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Dark/Purple"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Dark/Red"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Dark/Yellow"/>
<MenuItem Click="ChangeColorTheme_Click" Header="Dark/White"/>
</MenuItem>
<MenuItem Click="About_Click" Header="About"/>
</Menu>
</DockPanel>
<Image Grid.Row="0" Grid.Column="2" Source="Discord.png" Cursor="Hand" MouseDown="DiscordInvite_MouseDown"/>
<Label Grid.Row="0" Grid.Column="3" Content="Presence " FontSize="14"/>
<mah:ToggleSwitch Grid.Row="0" Grid.Column="4" Toggled="DiscordRichPresence_Toggled" Width="90"/>
</Grid>
<TabControl x:Name="LeftTabControl" Grid.Row="1" Grid.Column="0">
<TabItem x:Name="FirstTabLeft" Header="Resource View">
<!--TreeView x:Name="MainTreeView" VirtualizingStackPanel.IsVirtualizing="True" VirtualizingStackPanel.VirtualizationMode="Recycling" BorderThickness="1"/-->
<WindowsFormsHost x:Name="MainTreeViewWindowsFormsHost">
<wf:TreeView x:Name="MainTreeView" Font="Consolas,10" MouseWheel="HandleTreeViewMouseWheel"/>
</WindowsFormsHost>
</TabItem>
<TabItem>
<TabItem.Header>
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" Height="24" VerticalAlignment="Bottom"/>
</TabItem.Header>
<Image Name="image1"/>
</TabItem>
<TabItem x:Name="REPOTab" Header="REPO">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<UniformGrid Rows="2" Columns="2" VerticalAlignment="Center">
<Button Name="LoadREPOFromRPKGsButton" Content="Load REPO From Loaded RPKGs" Click="LoadREPOFromRPKGsButton_Click" Margin="5"/>
<Button Name="LoadREPOFromFileButton" Content="Load REPO From File" Click="LoadREPOFromFileButton_Click" Margin="5"/>
<Button Name="REPOImportSMFREPOJSONButton" Content="Import SMF REPO JSON" Click="REPOImportSMFREPOJSONButton_Click" Margin="5"/>
<Button Name="REPOSaveChangesToSMFREPOJSONButton" Content="Save Changes To SMF REPO JSON" Click="REPOSaveChangesToSMFREPOJSONButton_Click" Margin="5"/>
</UniformGrid>
</Grid>
<Label Grid.Row="1" Grid.Column="0" Content="Filter by:" VerticalContentAlignment="Center" FontSize="14"/>
<TextBox Grid.Row="1" Grid.Column="1" x:Name="SearchREPOTextBox" FontFamily="Consolas" TextWrapping="NoWrap" TextChanged="SearchREPOTextBox_TextChanged"/>
<!--TreeView Grid.Row="1" Grid.ColumnSpan="4" x:Name="SearchRPKGsTreeView" VirtualizingStackPanel.IsVirtualizing="True" VirtualizingStackPanel.VirtualizationMode="Recycling" BorderThickness="1"/-->
<WindowsFormsHost Grid.Row="2" Grid.ColumnSpan="2" x:Name="REPOTreeViewWindowsFormsHost">
<wf:TreeView x:Name="REPOTreeView" Font="Consolas,10" Sorted="True" MouseWheel="HandleTreeViewMouseWheel"/>
</WindowsFormsHost>
</Grid>
</TabItem>
<TabItem>
<TabItem.Header>
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" Height="24" VerticalAlignment="Bottom"/>
</TabItem.Header>
<Image Name="image2"/>
</TabItem>
<TabItem x:Name="ThirdTabLeft" Header="Search">
<TabControl x:Name="LeftTabControl2" Grid.Row="1" Grid.Column="0">
<TabItem x:Name="SecondTabLeft2" Header="Search RPKGs">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal">
<Label Grid.Row="0" Grid.Column="0" Content="Search string:" VerticalContentAlignment="Center" FontSize="14"/>
</StackPanel>
<TextBox Grid.Row="0" Grid.Column="1" x:Name="SearchRPKGsTextBox" TextChanged="SearchRPKGsTextBox_TextChanged" FontFamily="Consolas" TextWrapping="NoWrap"/>
<Label Grid.Row="0" Grid.Column="2" Content="Resource Type:" FontSize="14"/>
<ComboBox Grid.Row="0" Grid.Column="3" x:Name="SearchRPKGsType" SelectionChanged="SearchRPKGsType_SelectionChanged" FontFamily="Consolas">
<ComboBoxItem Content="All" IsSelected="True"/>
<ComboBoxItem Content="AIBB"/>
<ComboBoxItem Content="AIBX"/>
<ComboBoxItem Content="AIBZ"/>
<ComboBoxItem Content="AIRG"/>
<ComboBoxItem Content="ALOC"/>
<ComboBoxItem Content="ASEB"/>
<ComboBoxItem Content="ASET"/>
<ComboBoxItem Content="ASVA"/>
<ComboBoxItem Content="ATMD"/>
<ComboBoxItem Content="BLOB"/>
<ComboBoxItem Content="BMSK"/>
<ComboBoxItem Content="BORG"/>
<ComboBoxItem Content="BOXC"/>
<ComboBoxItem Content="CBLU"/>
<ComboBoxItem Content="CLNG"/>
<ComboBoxItem Content="CPPT"/>
<ComboBoxItem Content="CRMD"/>
<ComboBoxItem Content="DITL"/>
<ComboBoxItem Content="DLGE"/>
<ComboBoxItem Content="ECPB"/>
<ComboBoxItem Content="ECPT"/>
<ComboBoxItem Content="ENUM"/>
<ComboBoxItem Content="ERES"/>
<ComboBoxItem Content="FXAC"/>
<ComboBoxItem Content="FXAS"/>
<ComboBoxItem Content="GFXF"/>
<ComboBoxItem Content="GFXI"/>
<ComboBoxItem Content="GFXV"/>
<ComboBoxItem Content="GIDX"/>
<ComboBoxItem Content="HIKC"/>
<ComboBoxItem Content="IMAP"/>
<ComboBoxItem Content="JSON"/>
<ComboBoxItem Content="LINE"/>
<ComboBoxItem Content="LOCR"/>
<ComboBoxItem Content="MATB"/>
<ComboBoxItem Content="MATE"/>
<ComboBoxItem Content="MATI"/>
<ComboBoxItem Content="MATT"/>
<ComboBoxItem Content="MJBA"/>
<ComboBoxItem Content="MRTN"/>
<ComboBoxItem Content="MRTR"/>
<ComboBoxItem Content="NAVP"/>
<ComboBoxItem Content="ORES"/>
<ComboBoxItem Content="PREL"/>
<ComboBoxItem Content="PRIM"/>
<ComboBoxItem Content="REPO"/>
<ComboBoxItem Content="RTLV"/>
<ComboBoxItem Content="SCDA"/>
<ComboBoxItem Content="SDEF"/>
<ComboBoxItem Content="SLMX"/>
<ComboBoxItem Content="TBLU"/>
<ComboBoxItem Content="TELI"/>
<ComboBoxItem Content="TEMP"/>
<ComboBoxItem Content="TEXD"/>
<ComboBoxItem Content="TEXT"/>
<ComboBoxItem Content="UICB"/>
<ComboBoxItem Content="UICT"/>
<ComboBoxItem Content="VIDB"/>
<ComboBoxItem Content="VTXD"/>
<ComboBoxItem Content="WBNK"/>
<ComboBoxItem Content="WSGB"/>
<ComboBoxItem Content="WSGT"/>
<ComboBoxItem Content="WSWB"/>
<ComboBoxItem Content="WSWT"/>
<ComboBoxItem Content="WWEM"/>
<ComboBoxItem Content="WWES"/>
<ComboBoxItem Content="WWEV"/>
<ComboBoxItem Content="YSHP"/>
</ComboBox>
<Label Grid.Row="0" Grid.Column="4" Content="Results per RPKG:" FontSize="14"/>
<ComboBox Grid.Row="0" Grid.Column="5" x:Name="SearchRPKGsComboBox" SelectionChanged="SearchRPKGsComboBox_SelectionChanged" FontFamily="Consolas">
<ComboBoxItem Content="100" IsSelected="True"/>
<ComboBoxItem Content="200"/>
<ComboBoxItem Content="500"/>
<ComboBoxItem Content="1000"/>
<ComboBoxItem Content="2000"/>
<ComboBoxItem Content="5000"/>
<ComboBoxItem Content="10000"/>
<ComboBoxItem Content="20000"/>
<ComboBoxItem Content="50000"/>
<ComboBoxItem Content="100000"/>
</ComboBox>
<Grid Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="6" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<UniformGrid Rows="1" Columns="2" VerticalAlignment="Center">
<Button Name="SearchRPKGsExpandAllButton" Content="Expand All" Click="SearchRPKGsExpandAllButton_Click" Margin="5"/>
<Button Name="SearchRPKGsCollapseAllButton" Content="Collapse All" Click="SearchRPKGsCollapseAllButton_Click" Margin="5"/>
</UniformGrid>
</Grid>
<!--TreeView Grid.Row="1" Grid.ColumnSpan="4" x:Name="SearchRPKGsTreeView" VirtualizingStackPanel.IsVirtualizing="True" VirtualizingStackPanel.VirtualizationMode="Recycling" BorderThickness="1"/-->
<WindowsFormsHost Grid.Row="2" Grid.ColumnSpan="6" x:Name="SearchRPKGsTreeViewWindowsFormsHost">
<wf:TreeView x:Name="SearchRPKGsTreeView" Font="Consolas,10" MouseWheel="HandleTreeViewMouseWheel"/>
</WindowsFormsHost>
</Grid>
</TabItem>
<TabItem>
<TabItem.Header>
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" Height="24" VerticalAlignment="Bottom"/>
</TabItem.Header>
<Image Name="image4"/>
</TabItem>
<TabItem x:Name="SecondTabLeft3" Header="Search Hash List">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Label Grid.Row="0" Grid.Column="0" Content="Search string:" FontSize="14"/>
<TextBox Grid.Row="0" Grid.Column="1" x:Name="SearchHashListTextBox" TextChanged="SearchHashListTextBox_TextChanged" FontFamily="Consolas" TextWrapping="NoWrap"/>
<Label Grid.Row="0" Grid.Column="2" Content="Max results:" FontSize="14"/>
<ComboBox Grid.Row="0" Grid.Column="3" x:Name="SearchHashListComboBox" FontFamily="Consolas">
<ComboBoxItem Content="100" IsSelected="True"/>
<ComboBoxItem Content="200"/>
<ComboBoxItem Content="500"/>
<ComboBoxItem Content="1000"/>
<ComboBoxItem Content="2000"/>
<ComboBoxItem Content="5000"/>
<ComboBoxItem Content="10000"/>
<ComboBoxItem Content="20000"/>
<ComboBoxItem Content="50000"/>
<ComboBoxItem Content="100000"/>
</ComboBox>
<!--TreeView Grid.Row="1" Grid.ColumnSpan="4" x:Name="SearchHashListTreeView" VirtualizingStackPanel.IsVirtualizing="True" VirtualizingStackPanel.VirtualizationMode="Recycling" BorderThickness="1"/-->
<WindowsFormsHost Grid.Row="2" Grid.ColumnSpan="4" x:Name="SearchHashListTreeViewWindowsFormsHost">
<wf:TreeView x:Name="SearchHashListTreeView" Font="Consolas,10" MouseWheel="HandleTreeViewMouseWheel"/>
</WindowsFormsHost>
</Grid>
</TabItem>
</TabControl>
</TabItem>
<TabItem>
<TabItem.Header>
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" Height="24" VerticalAlignment="Bottom"/>
</TabItem.Header>
<Image Name="image3"/>
</TabItem>
<TabItem x:Name="SecondTabLeft" Header="Deep Search">
<TabControl x:Name="LeftTabControl3" Grid.Row="1" Grid.Column="0">
<TabItem x:Name="DeepSearchEntitiesTab" Header="Entities">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Row="0" Name="DeepSearchEntityGrid">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Label Grid.Row="0" Grid.Column="0" Content="Search:" VerticalContentAlignment="Center" FontSize="14"/>
<ComboBox Grid.Row="0" Grid.Column="1" x:Name="DeepSearchEntitiesTextBoxCategoryComboBox" FontFamily="Consolas" VerticalAlignment="Center">
<ComboBoxItem Content="ALL" IsSelected="True"/>
<ComboBoxItem Content="tempHash (or IOI Path of)"/>
<ComboBoxItem Content="tbluHash (or IOI Path of)"/>
<ComboBoxItem Content="rootEntity"/>
<ComboBoxItem Content="entities"/>
<ComboBoxItem Content="propertyOverrides"/>
<ComboBoxItem Content="overrideDeletes"/>
<ComboBoxItem Content="pinConnectionOverrides"/>
<ComboBoxItem Content="pinConnectionOverrideDeletes"/>
<ComboBoxItem Content="externalScenes"/>
<ComboBoxItem Content="subType"/>
<ComboBoxItem Content="extraFactoryDependencies"/>
<ComboBoxItem Content="extraBlueprintDependencies"/>
<ComboBoxItem Content="comments"/>
</ComboBox>
<TextBox Grid.Row="0" Grid.Column="2" x:Name="DeepSearchEntitiesTextBox" FontFamily="Consolas" TextWrapping="NoWrap"/>
<Border Grid.Row="0" Grid.Column="3" BorderBrush="White" BorderThickness="0,1,1,1">
<CheckBox Name="DeepSearchEntitiesValueCheckBox" Content=".*" FontFamily="Consolas" FontSize="14" HorizontalAlignment="Left" IsChecked="False" Margin="5"/>
</Border>
<Button Grid.Row="0" Grid.Column="4" Name="DeepSearchEntitiesValueAddButton" Content=" Add " Click="DeepSearchEntitiesValueAddButton_Click"/>
</Grid>
<Grid Grid.Row="1">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Label Grid.Row="0" Grid.Column="0" Content="Search in RPKG(s):" VerticalContentAlignment="Center" FontSize="14"/>
<ComboBox Grid.Row="0" Grid.Column="1" x:Name="DeepSearchEntitiesRPKGsComboBox" FontFamily="Consolas" Margin="5" VerticalAlignment="Center" DropDownClosed="DeepSearchEntitiesRPKGsComboBox_DropDownClosed"/>
<Label Grid.Row="0" Grid.Column="2" Content="Max results:" VerticalContentAlignment="Center" FontSize="14"/>
<ComboBox Grid.Row="0" Grid.Column="3" x:Name="DeepSearchEntitiesComboBox" FontFamily="Consolas" VerticalAlignment="Center">
<ComboBoxItem Content="10"/>
<ComboBoxItem Content="50"/>
<ComboBoxItem Content="100" IsSelected="True"/>
<ComboBoxItem Content="200"/>
<ComboBoxItem Content="500"/>
<ComboBoxItem Content="1000"/>
<ComboBoxItem Content="2000"/>
<ComboBoxItem Content="5000"/>
<ComboBoxItem Content="10000"/>
<ComboBoxItem Content="20000"/>
<ComboBoxItem Content="50000"/>
<ComboBoxItem Content="100000"/>
</ComboBox>
<Label Grid.Row="1" Grid.Column="0" Content="Options:" FontSize="14" VerticalAlignment="Center"/>
<Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<UniformGrid Rows="1" Columns="2" VerticalAlignment="Center">
<CheckBox Name="DeepSearchEntitiesStoreJSONCheckBox" Content="Store Entities In Memory" ToolTip="
Stores each entity's QN (QuickEntity) JSON in memory

This makes subsequent searches faster, but uses more RAM
" HorizontalAlignment="Left" IsChecked="True"/>
<CheckBox Name="DeepSearchEntitiesLatestHashCheckBox" Content="Restrict Results To Selected RPKG" ToolTip="
If you select a specific RPKG to search through, then do not display
results if a given entity's 'latest hash' (current, game used) resides
in another RPKG file than the specific one chosen
" HorizontalAlignment="Left" IsChecked="False" IsEnabled="False"/>
</UniformGrid>
</Grid>
<Label Grid.Row="2" Grid.Column="0" Content="Search progress:" VerticalContentAlignment="Center" FontSize="14"/>
<ProgressBar Grid.Row="2" Grid.Column="1" Value="0" Name="DeepSearchEntitiesProgressBar" Margin="10"/>
<Button Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" Name="DeepSearchEntitiesButton" Content="Start Search" Margin="5" Click="DeepSearchEntitiesButton_Click"/>
<Label Grid.Row="3" Grid.Column="0" Content="Search status:" VerticalContentAlignment="Center" FontSize="14"/>
<Label Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="3" Name="DeepSearchEntitiesProgressTextLabel" VerticalContentAlignment="Center" FontSize="14" Height="64" Margin="10" HorizontalAlignment="Left">
<TextBlock Name="DeepSearchEntitiesProgressText" TextWrapping="WrapWithOverflow" MaxHeight="64"/>
</Label>
<Button Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="3" Name="DeepSearchEntitiesSaveToJSONButton" Content="Save All Search Results To JSON File" Click="DeepSearchEntitiesSaveToJSONButton_Click" Margin="5" Visibility="Collapsed"/>
<Grid Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="4" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<UniformGrid Rows="1" Columns="2" VerticalAlignment="Center">
<Button Name="DeepSearchEntitiesExpandAllButton" Content="Expand All" Click="DeepSearchEntitiesExpandAllButton_Click" Margin="5"/>
<Button Name="DeepSearchEntitiesCollapseAllButton" Content="Collapse All" Click="DeepSearchEntitiesCollapseAllButton_Click" Margin="5"/>
</UniformGrid>
</Grid>
</Grid>
<!--TreeView Grid.Row="1" Grid.ColumnSpan="4" x:Name="SearchRPKGsTreeView" VirtualizingStackPanel.IsVirtualizing="True" VirtualizingStackPanel.VirtualizationMode="Recycling" BorderThickness="1"/-->
<WindowsFormsHost Grid.Row="2" Grid.ColumnSpan="4" x:Name="DeepSearchEntitiesTreeViewWindowsFormsHost">
<wf:TreeView x:Name="DeepSearchEntitiesTreeView" Font="Consolas,10" MouseWheel="HandleTreeViewMouseWheel"/>
</WindowsFormsHost>
</Grid>
</TabItem>
<TabItem>
<TabItem.Header>
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" Height="24" VerticalAlignment="Bottom"/>
</TabItem.Header>
<Image Name="image5"/>
</TabItem>
<TabItem x:Name="DeepSearchLocalizationTab" Header="Localization">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal">
<Label Grid.Row="0" Grid.Column="0" Content="Search value:" VerticalContentAlignment="Center" FontSize="14"/>
</StackPanel>
<TextBox Grid.Row="0" Grid.Column="1" x:Name="DeepSearchLocalizationTextBox" FontFamily="Consolas" TextWrapping="NoWrap"/>
<Label Grid.Row="0" Grid.Column="2" Content="Max results:" FontSize="14"/>
<ComboBox Grid.Row="0" Grid.Column="3" x:Name="DeepSearchLocalizationComboBox" FontFamily="Consolas">
<ComboBoxItem Content="10"/>
<ComboBoxItem Content="50"/>
<ComboBoxItem Content="100" IsSelected="True"/>
<ComboBoxItem Content="200"/>
<ComboBoxItem Content="500"/>
<ComboBoxItem Content="1000"/>
<ComboBoxItem Content="2000"/>
<ComboBoxItem Content="5000"/>
<ComboBoxItem Content="10000"/>
<ComboBoxItem Content="20000"/>
<ComboBoxItem Content="50000"/>
<ComboBoxItem Content="100000"/>
</ComboBox>
<Grid Grid.Row="1" Grid.ColumnSpan="4">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Label Grid.Row="0" Grid.Column="0" Content="Search in RPKG(s):" VerticalContentAlignment="Center" FontSize="14"/>
<ComboBox Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="1" x:Name="DeepSearchLocalizationRPKGsComboBox" FontFamily="Consolas" Margin="10" VerticalAlignment="Center"/>
<ComboBox Grid.Row="0" Grid.Column="3" Grid.ColumnSpan="2" x:Name="DeepSearchLocalizationVersionComboBox" FontFamily="Consolas" Margin="15" VerticalAlignment="Center">
<ComboBoxItem Content="Hitman 2016"/>
<ComboBoxItem Content="Hitman 2"/>
<ComboBoxItem Content="Hitman 3" IsSelected="True"/>
</ComboBox>
<Label Grid.Row="1" Grid.Column="0" Content="Search through:" FontSize="14" VerticalAlignment="Center"/>
<Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<UniformGrid Rows="1" Columns="3" VerticalAlignment="Center">
<CheckBox Name="DeepSearchLocalizationDLGECheckBox" Content="DLGE" HorizontalAlignment="Center" IsChecked="True"/>
<CheckBox Name="DeepSearchLocalizationLOCRCheckBox" Content="LOCR" HorizontalAlignment="Center" IsChecked="True"/>
<CheckBox Name="DeepSearchLocalizationRTLVCheckBox" Content="RTLV" HorizontalAlignment="Center" IsChecked="True"/>
</UniformGrid>
</Grid>
<Label Grid.Row="2" Grid.Column="0" Content="Search progress:" VerticalContentAlignment="Center" FontSize="14"/>
<ProgressBar Grid.Row="2" Grid.Column="1" Value="0" Name="DeepSearchLocalizationProgressBar" Margin="10"/>
<Button Grid.Row="2" Grid.Column="2" Name="DeepSearchLocalizationButton" Content="Start Search" Margin="5" Click="DeepSearchLocalizationButton_Click"/>
<Grid Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<UniformGrid Rows="1" Columns="2" VerticalAlignment="Center">
<Button Name="DeepSearchLocalizationExpandAllButton" Content="Expand All" Click="DeepSearchLocalizationExpandAllButton_Click" Margin="5"/>
<Button Name="DeepSearchLocalizationCollapseAllButton" Content="Collapse All" Click="DeepSearchLocalizationCollapseAllButton_Click" Margin="5"/>
</UniformGrid>
</Grid>
</Grid>
<!--TreeView Grid.Row="1" Grid.ColumnSpan="4" x:Name="SearchRPKGsTreeView" VirtualizingStackPanel.IsVirtualizing="True" VirtualizingStackPanel.VirtualizationMode="Recycling" BorderThickness="1"/-->
<WindowsFormsHost Grid.Row="2" Grid.ColumnSpan="4" x:Name="DeepSearchLocalizationTreeViewWindowsFormsHost">
<wf:TreeView x:Name="DeepSearchLocalizationTreeView" Font="Consolas,10" MouseWheel="HandleTreeViewMouseWheel"/>
</WindowsFormsHost>
</Grid>
</TabItem>
</TabControl>
</TabItem>
</TabControl>
<GridSplitter HorizontalAlignment="Right" VerticalAlignment="Stretch" Grid.Row="1" Grid.Column="1" ResizeBehavior="PreviousAndNext" Width="5"/>
<TabControl x:Name="RightTabControl" Grid.Row="1" Grid.Column="2">
<TabItem x:Name="FirstTabRight" Header="Details">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Button Grid.Row="0" Grid.Column="0" Click="EditPatchDeletionListButton_Click" x:Name="EditPatchDeletionListButton" Content="Edit Patch Deletion List" Visibility="Collapsed"/>
<Button Grid.Row="0" Grid.Column="0" Click="SaveChangesToPatchDeletionListButton_Click" x:Name="SaveChangesToPatchDeletionListButton" Content="Save Changes To Patch Deletion List" Visibility="Collapsed"/>
<Button Grid.Row="0" Grid.Column="1" Click="DiscardChangesToPatchDeletionListButton_Click" x:Name="DiscardChangesToPatchDeletionListButton" Content="Discard Changes To Patch Deletion List" Visibility="Collapsed"/>
<Button Grid.Row="0" Grid.Column="0" Click="EditHashDependsButton_Click" x:Name="EditHashDependsButton" Content="Edit Hash Depends" Visibility="Collapsed"/>
<Button Grid.Row="0" Grid.Column="0" Click="SaveChangesToHashDependsButton_Click" x:Name="SaveChangesToHashDependsButton" Content="Save Changes To Hash Depends" Visibility="Collapsed"/>
<Button Grid.Row="0" Grid.Column="1" Click="DiscardChangesToHashDependsButton_Click" x:Name="DiscardChangesToHashDependsButton" Content="Discard Changes To Hash Depends" Visibility="Collapsed"/>
<Button Grid.Row="0" Grid.Column="1" Click="ExtractHashDependsButton_Click" x:Name="ExtractHashDependsButton" Content="Extract Hash Depends" Visibility="Collapsed"/>
<TextBox Grid.Row="1" Grid.ColumnSpan="3" x:Name="DetailsTextBox" FontFamily="Consolas" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" TextWrapping="NoWrap" TextChanged="DetailsTextBox_TextChanged" IsReadOnly="True" PreviewMouseWheel="DetailsTextBox_PreviewMouseWheel"/>
<ScrollViewer Grid.Row="1" Grid.ColumnSpan="3" x:Name="MainScrollViewer" VerticalScrollBarVisibility="Auto" Visibility="Collapsed">
<StackPanel x:Name="MainStackPanel" Visibility="Collapsed">
</StackPanel>
</ScrollViewer>
<avalonEdit:TextEditor Grid.Row="1" Grid.ColumnSpan="3" x:Name="DeepSearchTextBox" ShowLineNumbers="True" FontFamily="Consolas" FontSize="14" Foreground="white" Margin="5" PreviewMouseWheel="DeepSearchTextBox_PreviewMouseWheel" Visibility="Collapsed" IsReadOnly="True"/>
</Grid>
</TabItem>
<TabItem Name="SecondTabRightSeparator">
<TabItem.Header>
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" Height="24" VerticalAlignment="Bottom"/>
</TabItem.Header>
<Image Name="image6"/>
</TabItem>
<TabItem x:Name="SecondTabRight" Header="Hex Viewer">
<avalonEdit:TextEditor x:Name="HexViewerTextBox" FontFamily="Consolas" FontSize="14" Foreground="white" IsReadOnly="True" PreviewMouseWheel="HexViewerTextBox_PreviewMouseWheel">
<avalonEdit:TextEditor.Options>
<avalonEdit:TextEditorOptions ShowBoxForControlCharacters="False"/>
</avalonEdit:TextEditor.Options>
</avalonEdit:TextEditor>
<!--TextBox x:Name="HexViewerTextBox" FontFamily="Consolas" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" TextWrapping="NoWrap" IsReadOnly="True"/-->
</TabItem>
<TabItem Name="ThirdTabRightSeparator" Visibility="Collapsed">
<TabItem.Header>
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" Height="24" VerticalAlignment="Bottom"/>
</TabItem.Header>
<Image Name="image7"/>
</TabItem>
<TabItem x:Name="ThirdTabRight" Header="JSON Viewer" Visibility="Collapsed">
<avalonEdit:TextEditor Grid.Row="1" Grid.Column="0" x:Name="LocalizationTextBox" ShowLineNumbers="True" FontFamily="Consolas" FontSize="14" Foreground="white" Margin="5" PreviewMouseWheel="LocalizationTextBox_PreviewMouseWheel"/>
</TabItem>
<TabItem Name="FourthTabRightSeparator" Visibility="Collapsed">
<TabItem.Header>
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" Height="24" VerticalAlignment="Bottom"/>
</TabItem.Header>
<Image Name="image8"/>
</TabItem>
<TabItem x:Name="FourthTabRight" Header="Image Viewer" Visibility="Collapsed">
<Image x:Name="ImageViewer"/>
</TabItem>
<TabItem Name="FifthTabRightSeparator" Visibility="Collapsed">
<TabItem.Header>
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" Height="24" VerticalAlignment="Bottom"/>
</TabItem.Header>
<Image Name="image9"/>
</TabItem>
<TabItem x:Name="FifthTabRight" Header="Audio Player" Visibility="Collapsed">
<Grid>
<Grid.Resources>
<Style TargetType="{x:Type iconPacks:PackIconMaterialDesign}">
<Setter Property="Foreground" Value="{DynamicResource MahApps.Brushes.Accent}"/>
<Setter Property="Background" Value="{DynamicResource MahApps.Brushes.ThemeBackground}"/>
</Style>
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Label x:Name="OGGPlayerLabelHashFileName" Grid.Row="0" Grid.ColumnSpan="3" Content="" HorizontalContentAlignment="Center" FontFamily="Consolas"/>
<Label x:Name="OGGPlayerLabelIOIString" Grid.Row="1" Grid.ColumnSpan="3" Content="" HorizontalContentAlignment="Center" FontFamily="Consolas"/>
<iconPacks:PackIconMaterialDesign Margin="5" Grid.Row="2" Grid.Column="0" x:Name="OGGPlayerPlay" MouseDown="PackIconMaterialDesign_MouseDown" Kind="PlayCircleOutline" Width="40" Height="40" VerticalAlignment="Center" HorizontalAlignment="Center"/>
<Slider Margin="5" Grid.Row="2" Grid.Column="1" x:Name="OGGPlayer" IsMoveToPointEnabled="True" Thumb.DragStarted="OGGPlayer_DragStarted" Thumb.DragCompleted="OGGPlayer_DragCompleted"/>
<Label x:Name="OGGPlayerLabel" Grid.Row="3" Grid.ColumnSpan="3" Content="0 / 0" HorizontalContentAlignment="Center" FontFamily="Consolas"/>
<ComboBox Margin="5" Grid.Row="2" Grid.Column="2" x:Name="OGGPlayerComboBox" FontFamily="Consolas" SelectionChanged="OGGPlayerComboBox_SelectionChanged">
</ComboBox>
</Grid>
</TabItem>
<TabItem Name="SixthTabRightSeparator" Visibility="Collapsed">
<TabItem.Header>
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" Height="24" VerticalAlignment="Bottom"/>
</TabItem.Header>
<Image Name="image10"/>
</TabItem>
<TabItem x:Name="SixthTabRight" Header="3D Viewer" Visibility="Collapsed">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<CheckBox Grid.Row="0" Grid.Column="0" Margin="8" x:Name="ViewerShowWireframe" IsChecked="{Binding ShowWireframe}">Show Wireframe</CheckBox>
<CheckBox Grid.Row="0" Grid.Column="1" Margin="8" x:Name="ViewerRenderFlat" IsChecked="{Binding RenderFlat}">Flat Shading</CheckBox>
<CheckBox Grid.Row="0" Grid.Column="2" Margin="8" x:Name="ViewerEnableSSAO" IsChecked="{Binding ElementName=view, Path=EnableSSAO}">Enable SSAO</CheckBox>
<Button Grid.Row="0" Grid.Column="3" Click="ViewerExportButton_Click" x:Name="ViewerExportButton" Content=" Export PRIM Model " Margin="8,0,8,0"/>
<Label Grid.Row="1" Grid.Column="0" Content="Display LODs:" FontFamily="Consolas" FontWeight="Bold" FontSize="18" HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="ViewerDisplayLODs"/>
<mah:RangeSlider
Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="4"
Margin="8"
x:Name="ViewerLODSlider"
RangeSelectionChanged="ViewerLODSlider_RangeSelectionChanged"
mah:SliderHelper.ChangeValueBy="LargeChange"
mah:SliderHelper.EnableMouseWheel="MouseHover"
IsSnapToTickEnabled="True"
AutoToolTipPlacement="TopLeft"
IsMoveToPointEnabled="True"
LargeChange="1"
LowerValue="0"
Maximum="7"
Minimum="0"
Orientation="Horizontal"
SmallChange="1"
Style="{DynamicResource MahApps.Styles.RangeSlider.Win10}"
UpperValue="7"/>
<ScrollViewer Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="4" x:Name="ViewerScrollViewer" VerticalScrollBarVisibility="Auto">
<StackPanel x:Name="ViewerStackPanel"/>
</ScrollViewer>
<hx:Viewport3DX
Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="5"
x:Name="view"
BackgroundColor="#252525"
Camera="{Binding Camera}"
EffectsManager="{Binding EffectsManager}"
EnableSwapChainRendering="True"
FXAALevel="Low"
ZoomDistanceLimitNear="0.000001"
ZoomDistanceLimitFar="999999.0"
ZoomExtentsWhenLoaded="True"
FixedRotationPoint="{Binding ModelCentroid}"
FixedRotationPointEnabled="True">
<hx:Viewport3DX.InputBindings>
<KeyBinding Key="B" Command="hx:ViewportCommands.BackView" />
<KeyBinding Key="F" Command="hx:ViewportCommands.FrontView" />
<KeyBinding Key="U" Command="hx:ViewportCommands.TopView" />
<KeyBinding Key="D" Command="hx:ViewportCommands.BottomView" />
<KeyBinding Key="L" Command="hx:ViewportCommands.LeftView" />
<KeyBinding Key="R" Command="hx:ViewportCommands.RightView" />
<KeyBinding Command="hx:ViewportCommands.ZoomExtents" Gesture="Control+E" />
<MouseBinding Command="hx:ViewportCommands.Rotate" Gesture="RightClick" />
<MouseBinding Command="hx:ViewportCommands.Zoom" Gesture="MiddleClick" />
<MouseBinding Command="hx:ViewportCommands.Pan" Gesture="LeftClick" />
</hx:Viewport3DX.InputBindings>
<hx:AmbientLight3D Color="#363636" />
<hx:DirectionalLight3D Direction="{Binding Camera.LookDirection}" Color="#D6D6D6" />
<hx:Element3DPresenter Content="{Binding GroupModel}" />
<hx:PostEffectMeshBorderHighlight EffectName="highlight" />
</hx:Viewport3DX>
</Grid>
</TabItem>
</TabControl>
<Grid x:Name="REPOGrid" Grid.Row="1" Grid.Column="2" Visibility="Collapsed">
<Grid.RowDefinitions>
<RowDefinition Height="200"/>
<RowDefinition Height="Auto" />
<RowDefinition Height="200"/>
<RowDefinition Height="Auto" />
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Image Grid.Row="0" Grid.Column="0" x:Name="REPOImageViewer"/>
<Label Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="24" Name="REPOImageViewerLabel" Foreground="White" Content="Image Not Found" Visibility="Collapsed"/>
<GridSplitter HorizontalAlignment="Stretch" VerticalAlignment="Center" Grid.Row="1" Grid.Column="0" ResizeBehavior="PreviousAndNext" Height="5"/>
<TextBox Grid.Row="2" Grid.Column="0" x:Name="REPOHashTextBox" FontFamily="Consolas" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" TextWrapping="NoWrap" IsReadOnly="True" PreviewMouseWheel="REPOHashTextBox_PreviewMouseWheel"/>
<GridSplitter HorizontalAlignment="Stretch" VerticalAlignment="Center" Grid.Row="3" Grid.Column="0" ResizeBehavior="PreviousAndNext" Height="5"/>
<!-- TextBox Grid.Row="4" Grid.Column="0" x:Name="REPOJSONTextBox" FontFamily="Consolas" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" TextWrapping="NoWrap" IsReadOnly="False" TextChanged="REPOJSONTextBox_TextChanged"/-->
<Grid Grid.Row="4" Grid.Column="0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*"/>
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Row="0" Grid.Column="0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Button Grid.Row="0" Grid.Column="0" Name="REPOJSONEditorButton" Content="JSON Editor" Click="REPOJSONEditorButton_Click" Margin="5"/>
<Button Grid.Row="0" Grid.Column="1" Name="REPOJSONVisualEditorButton" Content="Visual Editor" Click="REPOJSONVisualEditorButton_Click" Margin="5"/>
</Grid>
<avalonEdit:TextEditor Grid.Row="1" Grid.Column="0" x:Name="REPOJSONTextEditor" ShowLineNumbers="True" FontFamily="Consolas" FontSize="14" Foreground="white" TextChanged="REPOJSONTextEditor_TextChanged" LostKeyboardFocus="REPOJSONTextEditor_LostKeyboardFocus" Margin="5" PreviewMouseWheel="REPOJSONTextEditor_PreviewMouseWheel"/>
<TabControl Grid.Row="1" Grid.Column="0" x:Name="REPOVisualEditorTabControl" mah:HeaderedControlHelper.HeaderFontSize="19" Visibility="Collapsed"/>
<Label Grid.Row="2" Grid.Column="0" Name="REPOJSONStatus" Content="" FontFamily="Consolas" FontWeight="Bold" FontSize="18" Foreground="PaleGreen" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Grid>
</Grid>
</Grid>
</mah:MetroWindow>