forked from lllsondowlll/botw-trainer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
387 lines (310 loc) · 30.1 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
<Window x:Class="BotwTrainer.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:json="clr-namespace:BotwTrainer.Json"
mc:Ignorable="d"
Title="BOTW Trainer (PAL/NTSC 1.1.2) |" Height="700" Width="1020">
<Grid Margin="10" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition Height="*"/>
<RowDefinition Height="40"/>
<RowDefinition Height="15"/>
</Grid.RowDefinitions>
<Canvas Grid.Row="0" Margin="0" HorizontalAlignment="Stretch">
<TextBox x:Name="IpAddress" HorizontalAlignment="Left" Height="21" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="100" Canvas.Left="4" Canvas.Top="13" Visibility="Visible"/>
<CheckBox x:Name="GetBufferSize" Content="Get Buffer Size" Canvas.Left="209" Canvas.Top="16" IsChecked="True"/>
<Button x:Name="Connect" Content="Connect" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Click="ConnectClick" Canvas.Left="120" Canvas.Top="13" />
<Button x:Name="Disconnect" Content="Disconnect" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Click="DisconnectClick" IsEnabled="False" Canvas.Left="120" Canvas.Top="13" Visibility="Hidden"/>
<Button x:Name="LoadItems" Content="Load Items" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="75" Click="LoadItemsClick" Canvas.Left="360" Canvas.Top="13" IsEnabled="False" />
<TextBlock Canvas.Right="10" Canvas.Top="14" Canvas.Left="555">
<Hyperlink Foreground="SeaGreen" FontSize="14" NavigateUri="https://github.com/joffnerd/botw-trainer/blob/master/README.md" RequestNavigate="HyperlinkRequestNavigate">
https://github.com/joffnerd/botw-trainer/blob/master/README.md
</Hyperlink>
</TextBlock>
</Canvas>
<TabControl x:Name="TabControl" HorizontalAlignment="Stretch" VerticalContentAlignment="Stretch" VerticalAlignment="Top" IsEnabled="False" Grid.Row="1" SelectedIndex="0" SelectionChanged="TabControlSelectionChanged">
<TabItem Header="Weapons" x:Name="Weapons" Margin="0,0,0,0" Background="CadetBlue" IsEnabled="False"/>
<TabItem Header="Bows" x:Name="Bows" Margin="0,0,0,0" Background="CadetBlue" IsEnabled="False"/>
<TabItem Header="Shields" x:Name="Shields" Margin="0,0,0,0" Background="CadetBlue" IsEnabled="False"/>
<TabItem Header="Armor" x:Name="Armor" Margin="0,0,0,0" Background="CadetBlue" IsEnabled="False"/>
<TabItem Header="Arrows" x:Name="Arrows" Margin="0,0,0,0" Background="PaleVioletRed" IsEnabled="False"/>
<TabItem Header="Materials" x:Name="Materials" Margin="0,0,0,0" Background="PaleVioletRed" IsEnabled="False"/>
<TabItem Header="Food" x:Name="Food" Margin="0,0,0,0" Background="PaleVioletRed" IsEnabled="False"/>
<TabItem Header="Key Items" x:Name="KeyItems" Margin="0,0,0,0" Background="PaleVioletRed" IsEnabled="False"/>
<TabItem Header="Debug" x:Name="Debug" Margin="0,0,0,0" IsEnabled="False">
<WrapPanel Margin="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Button x:Name="Export" Content="Export" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="75" Click="ExportClick" />
<DataGrid x:Name="DebugGrid" AutoGenerateColumns="False" Margin="10,10,0,0" ClipboardCopyMode="IncludeHeader" Height="450" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<DataGrid.Columns>
<DataGridTextColumn Header="Id" Width="150" Binding="{Binding Id}"/>
<DataGridTextColumn Header="Name" Width="160" Binding="{Binding Name}"/>
<DataGridTextColumn Header="Address" Width="65" Binding="{Binding BaseAddressHex, Mode=OneWay}"/>
<DataGridTextColumn Header="Type" Width="70" Binding="{Binding PageName, Mode=OneWay}"/>
<DataGridTextColumn Header="Value" Width="65" Binding="{Binding Value}"/>
<DataGridCheckBoxColumn Header="Equipped" Width="40" Binding="{Binding Equipped, Mode=OneWay}" IsReadOnly="True"/>
<DataGridCheckBoxColumn Header="Current" Width="40" Binding="{Binding Current, Mode=OneWay}" IsReadOnly="True"/>
<DataGridTextColumn Header="?" Width="30" Binding="{Binding Unknown}"/>
<DataGridTextColumn Header="Modifier1" Width="65" Binding="{Binding Modifier1Value, Mode=OneWay}"/>
<DataGridTextColumn Header="Modifier2" Width="65" Binding="{Binding Modifier2Value, Mode=OneWay}"/>
<DataGridTextColumn Header="Modifier3" Width="65" Binding="{Binding Modifier3Value, Mode=OneWay}"/>
<DataGridTextColumn Header="Modifier4" Width="65" Binding="{Binding Modifier4Value, Mode=OneWay}"/>
<DataGridTextColumn Header="Modifier5" Width="65" Binding="{Binding Modifier5Value, Mode=OneWay}"/>
</DataGrid.Columns>
</DataGrid>
</WrapPanel>
</TabItem>
<TabItem Header="Codes" x:Name="Codes" Margin="0,0,0,0" Background="Yellow">
<Canvas HorizontalAlignment="Left" VerticalAlignment="Top" MinWidth="850" MinHeight="500">
<Label Content="To enable these codes check the box and click save." Height="30" Margin="0" Canvas.Left="10" Canvas.Top="8" FontSize="14" Width="348"/>
<Label Content="Controller Type" Height="26" Margin="0" Canvas.Left="10" Canvas.Top="40"/>
<ComboBox x:Name="Controller" Canvas.Left="200" Canvas.Top="43" Width="90" SelectedValuePath="Content">
<ComboBoxItem Content="Pro"/>
<ComboBoxItem Content="Gamepad"/>
</ComboBox>
<Label Content="Stamina" Height="26" Margin="0" Canvas.Left="10" Canvas.Top="88" ToolTip="Infinite Stamina"/>
<CheckBox x:Name="Stamina" Margin="0" Canvas.Left="160" Canvas.Top="94" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged" />
<TextBox x:Name="CurrentStamina" Height="25" Width="90" Margin="0" Canvas.Left="200" Canvas.Top="88" CharacterCasing="Upper" MaxLength="8" TextChanged="TextChanged"/>
<Label Content="Health (Max 120)" Height="26" Margin="0" Canvas.Left="10" Canvas.Top="118" ToolTip="Infinite Health"/>
<CheckBox x:Name="Health" Margin="0" Canvas.Left="160" Canvas.Top="124" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<TextBox x:Name="CurrentHealth" Height="25" Width="90" Margin="0" Canvas.Left="200" Canvas.Top="118" TextChanged="TextChanged"/>
<Label Content="Rupees" Height="26" Margin="0" Canvas.Left="10" Canvas.Top="148" ToolTip="Infinite Rupees"/>
<CheckBox x:Name="Rupees" Margin="0" Canvas.Left="160" Canvas.Top="154" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<TextBox x:Name="CurrentRupees" Height="25" Width="90" Margin="0" Canvas.Left="200" Canvas.Top="149" PreviewTextInput="NumberValidationTextBox" TextChanged="TextChanged"/>
<Label Content="Mon" Height="26" Margin="0" Canvas.Left="10" Canvas.Top="178" ToolTip="Infinite Mon for Monster Shop"/>
<CheckBox x:Name="Mon" Margin="0" Canvas.Left="160" Canvas.Top="184" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<TextBox x:Name="CurrentMon" Height="25" Width="90" Margin="0" Canvas.Left="200" Canvas.Top="179" PreviewTextInput="NumberValidationTextBox" TextChanged="TextChanged"/>
<Label Content="Speed" Height="26" Margin="0" Canvas.Left="10" Canvas.Top="208" ToolTip="Hold ZL to move at the selected speed"/>
<CheckBox x:Name="Speed" Margin="0" Canvas.Left="160" Canvas.Top="214" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<ComboBox x:Name="CbSpeed" Canvas.Left="200" Canvas.Top="211" Width="90" SelectedValuePath="Tag" SelectionChanged="SelectionChanged">
<ComboBoxItem Tag="00000000" Content="00000000 - 0x Speed (Frozen)"/>
<ComboBoxItem Tag="3F800000" Content="3F800000 - 1x Speed (Default)"/>
<ComboBoxItem Tag="40000000" Content="40000000 - 2x Speed"/>
<ComboBoxItem Tag="40800000" Content="40800000 - 4x Speed"/>
<ComboBoxItem Tag="41000000" Content="41000000 - 8x Speed"/>
<ComboBoxItem Tag="42000000" Content="42000000 - 32x Speed"/>
</ComboBox>
<Label Content="Hold ZL" Height="25" Margin="0" Canvas.Left="295" Canvas.Top="208"/>
<Label Content="Damage Mult." Height="26" Margin="0" Canvas.Left="10" Canvas.Top="238" ToolTip="Damage Multiplier when striking an enemy"/>
<CheckBox x:Name="Damage" Margin="0" Canvas.Left="160" Canvas.Top="244" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<ComboBox x:Name="CbDamage" Canvas.Left="200" Canvas.Top="241" Width="90" SelectedValuePath="Tag" SelectionChanged="SelectionChanged">
<ComboBoxItem Tag="3F000000" Content="3F000000 - 0.5"/>
<ComboBoxItem Tag="3F800000" Content="3F800000 - 1.0 (Default)"/>
<ComboBoxItem Tag="42480000" Content="42480000 - 50"/>
<ComboBoxItem Tag="42C80000" Content="42C80000 - 100"/>
<ComboBoxItem Tag="43FA0000" Content="43FA0000 - 500"/>
<ComboBoxItem Tag="461C4000" Content="461C4000 - 10,000"/>
</ComboBox>
<Label Content="Weather" Height="26" Margin="0" Canvas.Left="10" Canvas.Top="268" ToolTip="Set the current weather"/>
<CheckBox x:Name="Weather" Margin="0" Canvas.Left="160" Canvas.Top="274" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<ComboBox x:Name="CbWeather" Canvas.Left="200" Canvas.Top="271" Width="90" SelectedValuePath="Tag" SelectionChanged="SelectionChanged">
<ComboBoxItem Tag="01030002" Content="01030002 - Cloudy"/>
<ComboBoxItem Tag="03010002" Content="03010002 - Raining"/>
<ComboBoxItem Tag="00010002" Content="00000100 - Sunny"/>
<ComboBoxItem Tag="07000007" Content="07000007 - Lightning"/>
<ComboBoxItem Tag="05000007" Content="05000007 - Fog/Snow"/>
</ComboBox>
<Label Content="Durability: W | S | B" Height="26" Margin="0" Canvas.Left="10" Canvas.Top="298" ToolTip="Infinite (W)eapon, (S)hield and (B)ow Durability for the currently equipped item"/>
<CheckBox x:Name="WeaponDurability" Margin="0" Canvas.Left="160" Canvas.Top="305" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged" ToolTip="Weapon"/>
<CheckBox x:Name="ShieldDurability" Margin="0" Canvas.Left="200" Canvas.Top="305" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged" ToolTip="Shield"/>
<CheckBox x:Name="BowDurability" Margin="0" Canvas.Left="240" Canvas.Top="305" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged" ToolTip="Bow"/>
<Label Content="Current Hour" Height="26" Margin="0" Canvas.Left="11" Canvas.Top="370" ToolTip="Change the current time in the game by moving the slider and clicking update"/>
<TextBox x:Name="CurrentTime" Height="25" Width="30" Margin="0" Canvas.Left="154" Canvas.Top="371" IsReadOnly="True" Text="{Binding ElementName=TimeSlider,Path=Value}"/>
<Button Content="Update" Canvas.Top="371" Canvas.Left="201" Height="25" Margin="0" Click="ChangeTimeClick" Width="55"/>
<Slider x:Name="TimeSlider" Width="240" Height="20" Orientation="Horizontal" Minimum="0" Maximum="23" Value="12" Canvas.Top="404" Canvas.Left="10" IsSnapToTickEnabled="True" TickFrequency="1" Margin="0" />
<Label Content="Urbosa's Fury" Height="26" Margin="0" Canvas.Left="401" Canvas.Top="58" ToolTip="Instant Urbosa's Fury Recharge" />
<CheckBox x:Name="Urbosa" Margin="0" Canvas.Left="521" Canvas.Top="64" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Label Content="Revali's Gale" Height="26" Margin="0" Canvas.Top="88" Canvas.Left="401" ToolTip="Instant Revali's Gale Recharge"/>
<CheckBox x:Name="Revali" Margin="0" Canvas.Left="521" Canvas.Top="94" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Label Content="Daruk's Protection" Height="26" Margin="0" Canvas.Top="118" Canvas.Left="401" ToolTip="Instant Daruk's Protection Recharge"/>
<CheckBox x:Name="Daruk" Margin="0" Canvas.Left="521" Canvas.Top="124" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Label Content="Mipha's Grace" Height="26" Margin="0" Canvas.Top="148" Canvas.Left="401" ToolTip="Instant Mipha's Grace Recharge"/>
<CheckBox x:Name="Mipha" Margin="0" Canvas.Left="521" Canvas.Top="154" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Label Content="Weapon Slots" Height="26" Margin="0" Canvas.Left="401" Canvas.Top="178" ToolTip="Current weapon slots available"/>
<CheckBox x:Name="WeaponSlots" Margin="0" Canvas.Left="521" Canvas.Top="184" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<TextBox x:Name="CurrentWeaponSlots" Height="25" Width="30" Margin="0" Canvas.Left="551" Canvas.Top="179" PreviewTextInput="NumberValidationTextBox" TextChanged="TextChanged"/>
<Label Content="Bow Slots" Height="26" Margin="0" Canvas.Left="401" Canvas.Top="208" ToolTip="Current bow slots available"/>
<CheckBox x:Name="BowSlots" Margin="0" Canvas.Left="521" Canvas.Top="214" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<TextBox x:Name="CurrentBowSlots" Height="25" Width="30" Margin="0" Canvas.Left="551" Canvas.Top="209" PreviewTextInput="NumberValidationTextBox" TextChanged="TextChanged"/>
<Label Content="Shield Slots" Height="26" Margin="0" Canvas.Left="401" Canvas.Top="238" ToolTip="Current shield slots available"/>
<CheckBox x:Name="ShieldSlots" Margin="0" Canvas.Left="521" Canvas.Top="244" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<TextBox x:Name="CurrentShieldSlots" Height="25" Width="30" Margin="0" Canvas.Left="551" Canvas.Top="239" PreviewTextInput="NumberValidationTextBox" TextChanged="TextChanged"/>
<Label Content="Horse Whips" Height="26" Canvas.Left="401" Canvas.Top="268"/>
<CheckBox x:Name="HorseWhips" Margin="0" Canvas.Left="521" Canvas.Top="274" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged" IsEnabled="False"/>
<Label Content="Moon Jump" Height="26" Canvas.Left="621" Canvas.Top="58"/>
<CheckBox x:Name="MoonJump" Margin="0" Canvas.Left="751" Canvas.Top="64" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Label Content="Hold X" Height="25" Margin="0" Canvas.Left="781" Canvas.Top="58"/>
<Label Content="Bomb Time" Height="26" Canvas.Left="621" Canvas.Top="88" ToolTip="Instant bomb recharge"/>
<CheckBox x:Name="BombTime" Margin="0" Canvas.Left="751" Canvas.Top="94" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Label Content="Stasis Cooldown" Height="26" Canvas.Left="621" Canvas.Top="118" ToolTip="Instant Stasis recharge"/>
<CheckBox x:Name="StasisCooldown" Margin="0" Canvas.Left="751" Canvas.Top="124" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Label Content="Wolf Health" Height="26" Canvas.Left="621" Canvas.Top="148" ToolTip="Infinite health for Amiibo Wolf Link"/>
<CheckBox x:Name="WolfHealth" Margin="0" Canvas.Left="751" Canvas.Top="154" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Label Content="Master Sword Charge" Height="26" Canvas.Left="621" Canvas.Top="178" ToolTip="Instant Master Sword Recharge"/>
<CheckBox x:Name="MasterCharge" Margin="0" Canvas.Left="751" Canvas.Top="184" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Label Content="Master Sword Glow" Height="26" Canvas.Left="621" Canvas.Top="208" ToolTip="Master Sword Always Glowing"/>
<CheckBox x:Name="MasterGlow" Margin="0" Canvas.Left="751" Canvas.Top="214" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Label Content="Stealthy" Height="26" Canvas.Left="621" Canvas.Top="238" ToolTip="Always stealthy (Meter still moves)"/>
<CheckBox x:Name="Stealthy" Margin="0" Canvas.Left="751" Canvas.Top="244" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Label Content="Inf Amiibo" Height="26" Canvas.Left="621" Canvas.Top="268" ToolTip="Infinite amiibo uses"/>
<CheckBox x:Name="Amiibo" Margin="0" Canvas.Left="751" Canvas.Top="274" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Label Content="Immune / Abilities" Height="26" Canvas.Left="621" Canvas.Top="298" ToolTip="Heat Res. Cold Res. Flame Guard. Shock proof. Unfreezable. FireProof. Spin Atk. Waterfall climb"/>
<CheckBox x:Name="Immune" Margin="0" Canvas.Left="751" Canvas.Top="304" Checked="CheckBoxChanged" Unchecked="CheckBoxChanged"/>
<Button Content="Refresh Code Tab" Canvas.Top="455" Canvas.Left="10" Height="25" Margin="0" Click="RefreshCodeClick" Width="100" RenderTransformOrigin="-7.527,3.88"/>
</Canvas>
</TabItem>
<TabItem Header="Coordinates" Margin="0" Background="Yellow">
<StackPanel>
<Grid Margin="10" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="13*"/>
<RowDefinition Height="13*"/>
<RowDefinition Height="18*"/>
<RowDefinition Height="13*"/>
<RowDefinition Height="17*"/>
<RowDefinition Height="7*"/>
<RowDefinition Height="2*"/>
<RowDefinition Height="0*"/>
<RowDefinition Height="21*"/>
<RowDefinition Height="0*"/>
<RowDefinition Height="0*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Label Content="Track your coordinates:" Margin="25,0,10,0" Grid.Row="0" Grid.Column="0" />
<Label x:Name="CoordsAddress" Content="-" Margin="0" Grid.Row="1" Grid.Column="0" />
<CheckBox x:Name="EnableCoords" Grid.Row="0" Grid.Column="0" Checked="EnableCoordsOnChecked" Width="20" HorizontalAlignment="Left" Margin="4,6,0,0" />
<Label x:Name="CoordsX" Content="0.0" Grid.Row="2" Grid.Column="0" Margin="14,4,0,0"/>
<Label x:Name="CoordsY" Content="0.0" Grid.Row="3" Grid.Column="0" Margin="14,4,0,0"/>
<Label x:Name="CoordsZ" Content="0.0" Grid.Row="4" Grid.Column="0" Margin="14,4,0,0"/>
<Label Content="Enter coordinates or select a destination and click GO." Margin="124,0,117,0" Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="3" />
<Label Content="Some destinations may lock your game if they are too far." Margin="113,0,128,0" Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3" />
<Label Content="X" Margin="0,4,222,5" Grid.Row="2" Grid.Column="0" />
<Label Content="Y" Margin="0,4,222,5" Grid.Row="3" Grid.Column="0" />
<Label Content="Z" Margin="0,4,222,5" Grid.Row="4" Grid.Column="0" />
<Label Content="X" Margin="0,0,222,10" Grid.Row="2" Grid.Column="1" />
<Label Content="Y" Margin="80,0,133,10" Grid.Row="2" Grid.Column="1" />
<Label Content="Z" Margin="158,0,59,10" Grid.Row="2" Grid.Column="1" />
<ComboBox x:Name="ShrineList" Grid.Row="3" Width="125" SelectionChanged="ShrineListChanged" SelectedValuePath="Tag" HorizontalAlignment="Left" Text="Select Shrine..." IsEditable="True" IsReadOnly="True" Grid.Column="1" Margin="0,6,0,6"/>
<ComboBox x:Name="TowerList" Grid.Row="3" Width="125" SelectionChanged="TowerListChanged" SelectedValuePath="Tag" HorizontalAlignment="Left" Text="Select Tower..." IsEditable="True" IsReadOnly="True" Grid.Column="1" Margin="173,6,0,6" Grid.ColumnSpan="2"/>
<ComboBox x:Name="RanchList" Grid.Row="4" Width="125" SelectionChanged="RanchListChanged" SelectedValuePath="Tag" HorizontalAlignment="Left" Text="Select Ranch..." IsEditable="True" IsReadOnly="True" Grid.Column="1" Margin="0,6,0,6" />
<ComboBox x:Name="MiscList" Grid.Row="4" Width="125" SelectionChanged="MiscListChanged" SelectedValuePath="Tag" HorizontalAlignment="Left" Text="Select Location..." IsEditable="True" IsReadOnly="True" Grid.Column="1" Margin="173,6,0,6" Grid.ColumnSpan="2"/>
<TextBox x:Name="CoordsXValue" Text="-568" Grid.Row="2" Grid.Column="1" Width="60" HorizontalAlignment="Left" Margin="20,4,00,10"/>
<TextBox x:Name="CoordsYValue" Text="246" Grid.Row="2" Grid.Column="1" Width="60" HorizontalAlignment="Left" Margin="98,4,0,10"/>
<TextBox x:Name="CoordsZValue" Text="1697" Grid.Row="2" Grid.Column="1" Width="60" HorizontalAlignment="Left" Margin="178,4,0,10"/>
<Button Content="Go" Grid.Row="2" Grid.Column="1" Width="58" Click="CoordsGoClick" HorizontalAlignment="Left" Margin="256,4,0,10" Grid.ColumnSpan="2"/>
</Grid>
</StackPanel>
</TabItem>
<TabItem Header="Json Data" x:Name="ItemTree" Margin="0" Background="Yellow">
<DockPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<json:JsonViewer x:Name="JsonViewer" DockPanel.Dock="Bottom"/>
</DockPanel>
</TabItem>
<TabItem Header="Help" x:Name="Help" Margin="0" Background="SeaGreen">
<WrapPanel>
<RichTextBox IsReadOnly="True" IsDocumentEnabled="False" Margin="10" BorderThickness="0">
<FlowDocument>
<Paragraph FontWeight="Bold" FontSize="14">
<Run Text="Help"/>
</Paragraph>
<Paragraph FontSize="13">
<Run Text="Just some basic info to help get the most from this trainer. To start with this trainer is a little raw, it was built using PAL so"/>
<Run Text=" "/>
<Run FontWeight="Bold" Text="US may have issues."/>
</Paragraph>
<Paragraph FontSize="13">
<Run FontWeight="Bold" Text="Tabs: "/>
<Run Text=" "/>
<Run Text="The tabs have a colour, this is to identify how the data can be manipulated."/>
<Run Text=" "/>
<Run Foreground="CadetBlue" Text="Blue Tabs"/>
<Run Text=" are things like Weapons that require you to Save/Load the game."/>
<Run Text=" "/>
<Run Text=" "/>
<Run Text=" "/>
<Run Foreground="PaleVioletRed" Text="Violet Tabs"/>
<Run Text=" "/>
<Run Text=" "/>
<Run Text=" "/>
<Run Text="are things like Mushrooms that you can modify immediately. Whatever changes you make"/>
<Run Text=" "/>
<Run Text=" the Save Button is linked to the current Tab"/>
<Run Text=" so"/>
<Run Text=" you"/>
<Run Text=" "/>
<Run FontWeight="Bold" Text="must click Save at the bottom."/>
<Run Text=" "/>
<Run Foreground="SeaGreen" Text="Green Tabs"/>
<Run Text=" are used for other functions like this Help Tab and Debug."/>
</Paragraph>
<Paragraph FontSize="13">
<Run Text="If you change a Shield Value and click Save there will be no immediate effect, you then have to Save/Load your game. If you Edit your Materials however and click Save you should see this reflected in your inventory by closing and opening it again."/>
</Paragraph>
<Paragraph FontSize="13">
<Run FontWeight="Bold" Text="Debug tab "/>
<Run Text="has no function other than a complete list of current items"/>
<Run Text="."/>
<Run Text=" You can export the data to csv."/>
</Paragraph>
<Paragraph FontSize="13">
<Run FontWeight="Bold" Text="Modifier"/>
<Run Text=" boxes aren't always used. For food see post: https://gbatemp.net/threads/post-your-wiiu-cheat-codes-here.395443/page-303#post-7156278"/>
</Paragraph>
</FlowDocument>
</RichTextBox>
</WrapPanel>
</TabItem>
<TabItem Header="Credits" x:Name="Credits" Margin="0" Background="SeaGreen">
<WrapPanel>
<Label Content="Bully"></Label>
<Label Content="CosmoCortney"></Label>
<Label Content="5pmeternal"></Label>
<Label Content="AcedArmy"></Label>
<Label Content="DarkFlare69"></Label>
<Label Content="ItchyOwned"></Label>
<Label Content="Shinzuya"></Label>
<Label Content="PandaOnSmack"></Label>
<Label Content="Shadow LAG"></Label>
<Label Content="Missing Number"></Label>
<Label Content="Saber"></Label>
<Label Content="TheWord21"></Label>
<Label Content="Deathwolf1000"></Label>
<Label Content="awideen"></Label>
<Label Content="Paula"></Label>
<Label Content="mancoast"></Label>
<Label Content="skoolzout1"></Label>
<Label Content="RandomUser"></Label>
</WrapPanel>
</TabItem>
<TabItem Header="Error Log" x:Name="Error" Margin="0" Background="OrangeRed" IsEnabled="False">
<WrapPanel>
<RichTextBox x:Name="ErrorLog" IsReadOnly="True" Margin="10" BorderThickness="0">
<FlowDocument>
<Paragraph FontSize="13">
Error data will appear here
</Paragraph>
</FlowDocument>
</RichTextBox>
</WrapPanel>
</TabItem>
</TabControl>
<Canvas Grid.Row="2" Margin="0" HorizontalAlignment="Stretch">
<Button x:Name="Refresh" Content="Refresh All" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="75" Click="LoadItemsClick" Canvas.Top="10" IsEnabled="False" Canvas.Left="0" />
<Button x:Name="Save" Content="Save" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="75" Click="SaveClick" Canvas.Left="109" Canvas.Top="10" IsEnabled="False" />
<Label x:Name="Notification" Content="You can only save if a value has been changed." Canvas.Right="10" Canvas.Top="7" Width="770" Canvas.Left="200"/>
<Button x:Name="LoadObjects" Content="Save Object List" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="95" Click="LoadObjectsClick" Canvas.Right="130" Canvas.Top="10" IsEnabled="False" Visibility="Visible" />
<Button x:Name="Test" Content="Test" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="75" Click="TestClick" Canvas.Right="10" Canvas.Top="10" RenderTransformOrigin="2.867,0.4" IsEnabled="False" />
</Canvas>
<Grid Grid.Row="3" HorizontalAlignment="Stretch">
<ProgressBar Height="15" x:Name="Progress" Foreground="#FF138127" />
<TextBlock x:Name="ProgressText" HorizontalAlignment="Center" VerticalAlignment="Center" Text="0/0"/>
</Grid>
</Grid>
</Window>