-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathSetupWizardWindow.xaml
More file actions
445 lines (443 loc) · 31.4 KB
/
SetupWizardWindow.xaml
File metadata and controls
445 lines (443 loc) · 31.4 KB
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
<Window x:Class="OpenKh.Tools.ModsManager.Views.SetupWizardWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:OpenKh.Tools.ModsManager.Views"
xmlns:converters="clr-namespace:OpenKh.Tools.ModsManager.Converters"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
Title="{Binding Title}" d:Title="OpenKH Mods Manager set-up"
Height="500" Width="400" ResizeMode="NoResize">
<Window.Resources>
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
<SolidColorBrush x:Key="textHyperlink" Color="#569CD6" />
<Style TargetType="xctk:WizardPage">
<Setter Property="Foreground" Value="{Binding ColorTheme.TextColor}"/>
<Setter Property="Background" Value="{Binding ColorTheme.BackgroundColor}"/>
<Setter Property="HeaderBackground" Value="{Binding ColorTheme.BackgroundColor}"/>
<Setter Property="ExteriorPanelBackground" Value="#FF4E4E4E"/>
</Style>
</Window.Resources>
<xctk:Wizard
Name="wizard"
HelpButtonVisibility="Collapsed"
CancelButtonClosesWindow="True"
FinishButtonClosesWindow="True"
CurrentPage="{Binding ElementName=PageGameEdition}"
PageChanged="Wizard_PageChanged"
Finish="Wizard_Finish" Background="{Binding ColorTheme.BackgroundColor}">
<xctk:WizardPage
x:Name="IntroPage"
Title="Welcome to OpenKH Mods Manager"
PageType="Exterior"
Description="This set-up will guide you through the basic configuration of this tool, allowing you to install and play mods from the best modders in the Kingdom Hearts community."
NextPage="{Binding ElementName=PageGameEdition}">
</xctk:WizardPage>
<xctk:WizardPage
x:Name="PageGameEdition"
PageType="Interior"
Title="Game edition"
CanSelectNextPage="{Binding IsGameSelected}"
Description="Selected the preferred edition to launch the game"
PreviousPage="{Binding PageStack.Back}"
NextPage="{Binding WizardPageAfterIntro}">
<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
<StackPanel>
<TextBlock Margin="0 0 0 3">Game edition</TextBlock>
<ComboBox Margin="0 0 0 6" SelectedIndex="{Binding GameEdition}">
<ComboBoxItem Visibility="{Binding OpenKhGameEngineVisible}">OpenKH Game Engine</ComboBoxItem>
<ComboBoxItem>PlayStation 2 using PCSX2 emulator</ComboBoxItem>
<ComboBoxItem>PC Release</ComboBoxItem>
</ComboBox>
<StackPanel Visibility="{Binding OpenKhGameEngineConfigVisibility}">
<TextBlock Margin="0 0 0 3">Please select the location of OpenKH Game Engine</TextBlock>
<Grid Margin="0 0 0 3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="20"/>
</Grid.ColumnDefinitions>
<TextBox Grid.Column="0" Text="{Binding OpenKhGameEngineLocation, UpdateSourceTrigger=PropertyChanged}"/>
<Button Grid.Column="1" Grid.Row="4" Command="{Binding SelectOpenKhGameEngineCommand}">
<Image Source="{StaticResource FolderOpen_16x}"/>
</Button>
</Grid>
<TextBlock Margin="0 0 0 3">NOTE: The engine is work in progress and might show inaccuracy.</TextBlock>
</StackPanel>
<StackPanel Visibility="{Binding Pcsx2ConfigVisibility}">
<TextBlock Margin="0 0 0 3">Please select the location of PCSX2 emulator</TextBlock>
<Grid Margin="0 0 0 3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="20"/>
</Grid.ColumnDefinitions>
<TextBox Grid.Column="0" Text="{Binding Pcsx2Location, UpdateSourceTrigger=PropertyChanged}"/>
<Button Grid.Column="1" Grid.Row="4" Command="{Binding SelectPcsx2Command}">
<Image Source="{StaticResource FolderOpen_16x}"/>
</Button>
</Grid>
<TextBlock Margin="0 0 0 3">NOTE: Only PCSX2 up to 1.6.0 and PCSX2-EX are supported.</TextBlock>
</StackPanel>
<StackPanel Visibility="{Binding PcReleaseConfigVisibility}">
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap">
Select if you have the Japanese version or the Global version.
</TextBlock>
<ComboBox Margin="0 0 0 6" SelectedIndex="{Binding PCReleaseLanguage}">
<ComboBoxItem>Global</ComboBoxItem>
<ComboBoxItem>Japanese</ComboBoxItem>
</ComboBox>
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap">
Select the launcher you use for the supported Kingdom Hearts games.
</TextBlock>
<ComboBox Margin="0 0 0 6" SelectedIndex="{Binding LaunchOption}">
<ComboBoxItem>Epic Games Store</ComboBoxItem>
<ComboBoxItem>Steam</ComboBoxItem>
<ComboBoxItem>Other</ComboBoxItem>
</ComboBox>
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap">
Mod Manager supports both the 1.5+2.5 collection and KH3D from the 2.8 collection choose the filepath for at least one of the collections.
</TextBlock>
<Button Margin="0 10 0 10" Command="{Binding DetectInstallsCommand}">Detect Installations</Button>
<TextBlock Margin="0 0 0 3">Folder location of the PC release of 1.5+2.5</TextBlock>
<Grid Margin="0 0 0 3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="20"/>
</Grid.ColumnDefinitions>
<TextBox Grid.Column="0" Text="{Binding PcReleaseLocation, UpdateSourceTrigger=PropertyChanged}"/>
<Button Grid.Column="1" Grid.Row="4" Command="{Binding SelectPcReleaseCommand}">
<Image Source="{StaticResource FolderOpen_16x}"/>
</Button>
</Grid>
<TextBlock Margin="0 0 0 3">Folder location of the PC release of 2.8</TextBlock>
<Grid Margin="0 0 0 3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="20"/>
</Grid.ColumnDefinitions>
<TextBox Grid.Column="0" Text="{Binding PcReleaseLocationKH3D, UpdateSourceTrigger=PropertyChanged}"/>
<Button Grid.Column="1" Grid.Row="4" Command="{Binding SelectPcReleaseKH3DCommand}">
<Image Source="{StaticResource FolderOpen_16x}"/>
</Button>
</Grid>
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap">NOTE: Always be sure to use a supported version or risk breaking compatibility</TextBlock>
</StackPanel>
</StackPanel>
</ScrollViewer>
</xctk:WizardPage>
<xctk:WizardPage
x:Name="PageIsoSelection"
PageType="Interior"
Title="Configure the game you want to mod"
Description="Do not worry, you can change this option later"
PreviousPage="{Binding PageStack.Back}"
NextPage="{Binding ElementName=PageGameData}">
<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
<StackPanel>
<TextBlock>Supported games:</TextBlock>
<StackPanel Margin="10 3 0 10">
<TextBlock>Kingdom Hearts I (Final Mix)</TextBlock>
<TextBlock>Kingdom Hearts II (JP, US, EU, Final Mix)</TextBlock>
<TextBlock>Kingdom Hearts Re:Chain of Memories (JP, US)</TextBlock>
</StackPanel>
<TextBlock Margin="0 0 0 3">Please select the location of the PlayStation 2 ISO Images.</TextBlock>
<TextBlock Margin="0 0 0 3">Kingdom Hearts 2 PlayStation 2 ISO Image.</TextBlock>
<Grid Margin="0 0 0 3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="20"/>
</Grid.ColumnDefinitions>
<TextBox Grid.Column="0" Text="{Binding IsoLocationKH2, UpdateSourceTrigger=PropertyChanged}"/>
<Button Grid.Column="1" Grid.Row="4" Command="{Binding SelectIsoCommand}" CommandParameter="kh2">
<Image Source="{StaticResource FolderOpen_16x}"/>
</Button>
</Grid>
<TextBlock Margin="0 0 0 3">Kingdom Hearts 1 PlayStation 2 ISO Image.</TextBlock>
<Grid Margin="0 0 0 3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="20"/>
</Grid.ColumnDefinitions>
<TextBox Grid.Column="0" Text="{Binding IsoLocationKH1, UpdateSourceTrigger=PropertyChanged}"/>
<Button Grid.Column="1" Grid.Row="4" Command="{Binding SelectIsoCommand}" CommandParameter="kh1">
<Image Source="{StaticResource FolderOpen_16x}"/>
</Button>
</Grid>
<TextBlock Margin="0 0 0 3">Kingdom Hearts Re: Chain of Memories PlayStation 2 ISO Image.</TextBlock>
<Grid Margin="0 0 0 3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="20"/>
</Grid.ColumnDefinitions>
<TextBox Grid.Column="0" Text="{Binding IsoLocationRecom, UpdateSourceTrigger=PropertyChanged}"/>
<Button Grid.Column="1" Grid.Row="4" Command="{Binding SelectIsoCommand}" CommandParameter="Recom">
<Image Source="{StaticResource FolderOpen_16x}"/>
</Button>
</Grid>
<TextBlock TextWrapping="Wrap" Visibility="{Binding GameRecognizedVisibility}">
<Run>A copy of </Run>
<Run Text="{Binding GameName}" d:Text="Some KH game"/>
<Run> was successfully recognized!</Run>
</TextBlock>
<TextBlock TextWrapping="Wrap" Visibility="{Binding GameNotRecognizedVisibility}">
<Run>It was not possible to recognize the game of the ISO you provided for </Run>
<Run Text="{Binding GameName}" d:Text="Some KH game"/>
<Run>. Be sure that the game is within the list of supported games and that you chose the corresponding game to provide the ISO for.</Run>
</TextBlock>
</StackPanel>
</ScrollViewer>
</xctk:WizardPage>
<xctk:WizardPage
x:Name="PageGameData"
PageType="Interior"
Title="Set Game Data Location"
Description="It might be necessary to extract game's data."
CanSelectNextPage="{Binding IsGameDataFound}"
CanSelectPreviousPage="{Binding IsNotExtracting}"
CanCancel="{Binding IsNotExtracting}"
PreviousPage="{Binding PageStack.Back}"
NextPage="{Binding WizardPageAfterGameData}"
IsEnabled="{Binding IsNotExtracting}">
<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
<StackPanel>
<TextBlock Margin="0,0,0,3" TextWrapping="Wrap" Visibility="{Binding PcReleaseConfigVisibility}">
OpenKH can extract all games in the 1.5 + 2.5 collection and KH3D from the 2.8 collection. Check the games below you wish to extract.
If you do not see the game you want to use Mod Manager for please go back to the Game Edition page and make sure you selected the correct filepath.
Size values are rounded up.
</TextBlock>
<TextBlock Margin="0,0,0,3" TextWrapping="Wrap" Visibility="{Binding Pcsx2ConfigVisibility}">
OpenKH can extract KH1, KH2, and Recom from their respective ISO files. Check the games below you wish to extract.
If you do not see the game you want to use Mod Manager for please go back to the ISO Selection page and make sure you provided the path to the ISO file.
Size values are estimates that are rounded up from known unmodified ISO files.
</TextBlock>
<StackPanel Visibility="{Binding BothPcReleaseSelected}">
<StackPanel Orientation="Horizontal">
<CheckBox IsChecked="{Binding Extractkh1}" Content="KH1-23GB" Margin="0 0 6 4"/>
<CheckBox IsChecked="{Binding Extractkh2}" Content="KH2-43GB" Margin="0 0 6 4"/>
<CheckBox IsChecked="{Binding Extractbbs}" Content="BBS-19GB" Margin="0 0 6 4"/>
<CheckBox IsChecked="{Binding Extractrecom}" Content="ReCoM-14GB" Margin="0 0 6 4"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<CheckBox IsChecked="{Binding Extractkh3d}" Content="KH3D-51GB" Margin="0 0 6 4"/>
</StackPanel>
</StackPanel>
<StackPanel Orientation="Horizontal" Visibility="{Binding PcRelease1525Selected}">
<CheckBox IsChecked="{Binding Extractkh1}" Content="KH1-23GB" Margin="0 0 6 4"/>
<CheckBox IsChecked="{Binding Extractkh2}" Content="KH2-43GB" Margin="0 0 6 4"/>
<CheckBox IsChecked="{Binding Extractbbs}" Content="BBS-19GB" Margin="0 0 6 4"/>
<CheckBox IsChecked="{Binding Extractrecom}" Content="ReCoM-14GB" Margin="0 0 6 4"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Visibility="{Binding PcRelease28Selected}">
<CheckBox IsChecked="{Binding Extractkh3d}" Content="KH3D-51GB" Margin="0 0 6 4"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Visibility="{Binding Pcsx2ConfigVisibility}">
<CheckBox IsChecked="{Binding Extractkh1}" Content="KH1-4GB" Margin="0 0 6 4" Visibility="{Binding KH1RecognizedVisibility}"/>
<CheckBox IsChecked="{Binding Extractkh2}" Content="KH2-4GB" Margin="0 0 6 4" Visibility="{Binding KH2RecognizedVisibility}"/>
<CheckBox IsChecked="{Binding Extractrecom}" Content="ReCoM-5GB" Margin="0 0 6 4" Visibility="{Binding RecomRecognizedVisibility}"/>
</StackPanel>
<TextBlock Margin="0 0 0 3">Extraction folder location:</TextBlock>
<Grid Margin="0 0 0 3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="20"/>
</Grid.ColumnDefinitions>
<TextBox Grid.Column="0" Text="{Binding GameDataLocation, UpdateSourceTrigger=PropertyChanged}"/>
<Button Grid.Column="1" Grid.Row="4" Command="{Binding SelectGameDataLocationCommand}">
<Image Source="{StaticResource FolderOpen_16x}"/>
</Button>
</Grid>
<StackPanel Visibility="{Binding Pcsx2ConfigVisibility}">
<TextBlock Margin="0 0 0 6" Visibility="{Binding GameDataNotFoundVisibility}">
It seems you do not have your Game Data extracted.
</TextBlock>
<TextBlock Margin="0 0 0 6" Visibility="{Binding GameDataFoundVisibility}">
You already have your Game Data extracted.
</TextBlock>
</StackPanel>
<StackPanel Visibility="{Binding PcReleaseConfigVisibility}">
<TextBlock Margin="0 0 0 6" Visibility="{Binding GameDataNotFoundVisibility}">
You do not have any extracted data from a supported game.
</TextBlock>
<TextBlock Margin="0 0 0 6" Visibility="{Binding GameDataFoundVisibility}">
You already have extracted data from a supported game.
</TextBlock>
</StackPanel>
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap" Visibility="{Binding Pcsx2ConfigVisibility}">
Press the button below to initialize the game extraction. It will take between 5 and 15 minutes based on the speed of your hard drive.
</TextBlock>
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap" Visibility="{Binding PcReleaseConfigVisibility}">
Press the button below to initialize the game extraction. Depending on the speed of your storage, if its a hard drive or an SSD, and how many games selected to extract extraction time may vary a lot.
</TextBlock>
<Button Margin="0 0 0 6" Width="120" Height="22" HorizontalAlignment="Left" Command="{Binding ExtractGameDataCommand}">Extract game data</Button>
<ProgressBar Margin="0 0 0 6" Height="22" Visibility="{Binding ProgressBarVisibility}" Minimum="0" Maximum="1" Value="{Binding ExtractionProgress}"/>
<TextBlock Margin="0 0 0 3" Visibility="{Binding ExtractionCompleteVisibility}">
The extraction of the game's data succeded!
</TextBlock>
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap" Visibility="{Binding PcReleaseConfigVisibility}">
<Run Foreground="Red">WARNING</Run>
If you do not extract a games data only Lua Scripts will function properly. Only check the box below if you will only be installing Lua Scripts in Mods Manager.
</TextBlock>
<CheckBox IsChecked="{Binding OverrideGameDataFound}" Content="Skip Game Extraction" Visibility="{Binding PcReleaseConfigVisibility}" Margin="0 0 0 4"/>
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap" Visibility="{Binding PcReleaseConfigVisibility}">
<Run Foreground="Red">WARNING</Run>
If you do not have the space to extract the remastered files for each game (which are about 80% of the sizes listed above) you can check the box below to skip extracting them.
The consequence of doing so depends on the game:<LineBreak/><LineBreak/>
- KH1 there are important data files that are needed for modifying the game beyond just visual.<LineBreak/><LineBreak/>
- KH2 there is only images so some mods may have visual issues because of this.<LineBreak/><LineBreak/>
- Other games I don't know I am unaware of people modifying the games in similar methods to KH1 and KH2 (This information mainly comes from KH1 AP Rando and KH2 Standalone and AP Rando.
</TextBlock>
<CheckBox Visibility="{Binding PcReleaseConfigVisibility}" IsChecked="{Binding SkipRemastered}" Content="Skip Extracting Remastered Files"/>
</StackPanel>
</ScrollViewer>
</xctk:WizardPage>
<xctk:WizardPage
x:Name="PageRegion"
PageType="Interior"
Title="Set your preferred region"
Description="This will instruct the game to force to load specific languages"
CanSelectNextPage="{Binding IsGameDataFound}"
PreviousPage="{Binding PageStack.Back}"
NextPage="{Binding ElementName=LastPage}">
<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
<StackPanel>
<TextBlock>Region</TextBlock>
<ComboBox Margin="0 0 0 6" SelectedIndex="{Binding RegionId}">
<ComboBoxItem>Use game default region</ComboBoxItem>
<ComboBoxItem>Japanese (text JP, menu JP, voice JP)</ComboBoxItem>
<ComboBoxItem>English (text US, menu US, voice US)</ComboBoxItem>
<ComboBoxItem>English (text US, menu UK, voice US)</ComboBoxItem>
<ComboBoxItem>Italian (text IT, menu IT, voice IT)</ComboBoxItem>
<ComboBoxItem>Spanish (text SP, menu SP, voice SP)</ComboBoxItem>
<ComboBoxItem>German (text GR, menu GR, voice GR)</ComboBoxItem>
<ComboBoxItem>French (text FR, menu FR, voice FR)</ComboBoxItem>
<ComboBoxItem>Final Mix (text JP, menu FM, voice US)</ComboBoxItem>
</ComboBox>
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap">
Forces to load the internal configuration to a specific region for supported games. This allows to effectively load files from other languages, swap the O and X buttons and use the font table in a different way.
Do not worry if some region files are not found as the Mods Manager has a fallback mechanic.
</TextBlock>
<TextBlock>Supported games:</TextBlock>
<StackPanel Margin="10 3 0 10">
<TextBlock>Kingdom Hearts II (JP, US, EU, Final Mix)</TextBlock>
</StackPanel>
</StackPanel>
</ScrollViewer>
</xctk:WizardPage>
<xctk:WizardPage
x:Name="PageEosInstall"
PageType="Interior"
Title="Install OpenKH Panacea (Optional and Experimental)"
Description="Install automatic mod loading support into the game's folder."
PreviousPage="{Binding PageStack.Back}"
NextPage="{Binding ElementName=PageLuaBackendInstall}">
<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
<StackPanel>
<TextBlock Margin="0 0 0 3">Game Collection</TextBlock>
<ComboBox Margin="0 0 0 6" SelectedIndex="{Binding GameCollection}">
<ComboBoxItem>KINGDOM HEARTS HD 1.5+2.5 ReMIX</ComboBoxItem>
<ComboBoxItem>KINGDOM HEARTS HD 2.8 Final Chapter Prologue</ComboBoxItem>
</ComboBox>
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap">
Panacea allows the PC version of Kingdom Hearts to load the mods you have installed, without
modifying the game files.
Panacea will run every time you start the game and attempt to load built mods. To uninstall Panacea, click Remove Panacea button.
</TextBlock>
<StackPanel Visibility="{Binding PanaceaNotInstalledVisibility}">
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap">
It seems you do not have Panacea installed or you are running a different version than the one
compatible with this version of Mods Manager. We need your permission to install it into the game's folder.
If you choose not to install, you may need to use one of the Build and Patch options to apply mods
to your game.
</TextBlock>
<Button
Margin="0 0 0 6"
Content="Install Panacea"
HorizontalAlignment="Left"
Width="205"
Command="{Binding InstallPanaceaCommand}"/>
</StackPanel>
<StackPanel Visibility="{Binding PanaceaInstalledVisibility}">
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap">
OpenKH Panacea is installed!
</TextBlock>
<Button
Margin="0 0 0 6"
Content="Remove Panacea"
HorizontalAlignment="Left"
Width="160"
Command="{Binding RemovePanaceaCommand}"/>
</StackPanel>
</StackPanel>
</ScrollViewer>
</xctk:WizardPage>
<xctk:WizardPage
x:Name="PageLuaBackendInstall"
PageType="Interior"
Title="Install Lua Backend"
Description="Lua Backend allows you to use Lua Scripts with the PC version of Kingdom Hearts."
PreviousPage="{Binding PageStack.Back}"
NextPage="{Binding WizardPageAfterLuaBackend}">
<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
<StackPanel>
<TextBlock Margin="0 0 0 3">Game Collection</TextBlock>
<ComboBox Margin="0 0 0 6" SelectedIndex="{Binding GameCollection}">
<ComboBoxItem>KINGDOM HEARTS HD 1.5+2.5 ReMIX</ComboBoxItem>
<ComboBoxItem>KINGDOM HEARTS HD 2.8 Final Chapter Prologue</ComboBoxItem>
</ComboBox>
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap" Visibility="{Binding LuaBackendNotFoundVisibility}">
It seems you have not installed Lua Backend for use with Panacea. If you wish to do this press the button below. Also if you wish to have OpenKH configure it so Lua Backend can load scripts installed in Mod Manager check the games below.
</TextBlock>
<TextBlock Margin="0 0 0 6" Visibility="{Binding LuaBackendFoundVisibility}" TextWrapping="Wrap">
Lua Backend is installed! for use with Panacea. If you have not already and wish to configure it so it runs scripts from mods installed into OpenKH check the games below and press the configure button.
</TextBlock>
<StackPanel Orientation="Horizontal" Visibility="{Binding InstallForPc1525}">
<CheckBox IsChecked="{Binding LuaConfigkh1}" Content="KH1" Margin="0 0 10 4"/>
<CheckBox IsChecked="{Binding LuaConfigkh2}" Content="KH2" Margin="0 0 10 4"/>
<CheckBox IsChecked="{Binding LuaConfigbbs}" Content="BBS" Margin="0 0 10 4"/>
<CheckBox IsChecked="{Binding LuaConfigrecom}" Content="ReCoM" Margin="0 0 10 4"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Visibility="{Binding InstallForPc28}">
<CheckBox IsChecked="{Binding LuaConfigkh3d}" Content="KH3D" Margin="0 0 10 4"/>
</StackPanel>
<Button Margin="0 0 0 6" Content="Install and Configure Lua Backend" HorizontalAlignment="Left" Width="200" Command="{Binding InstallLuaBackendCommand}" CommandParameter="false" Visibility="{Binding LuaBackendNotFoundVisibility}"/>
<Button Margin="0 0 0 6" Content="Configure Lua Backend" HorizontalAlignment="Left" Width="200" Command="{Binding InstallLuaBackendCommand}" CommandParameter="true" Visibility="{Binding LuaBackendFoundVisibility}"/>
<TextBlock Margin="0 2 0 10" Visibility="{Binding LuaBackendFoundVisibility}" TextWrapping="Wrap">
If you wish to uninstall Lua Backend completely press the button below.
</TextBlock>
<Button Margin="0 0 0 6" Content="Uninstall Lua Backend" HorizontalAlignment="Left" Width="200" Command="{Binding RemoveLuaBackendCommand}" Visibility="{Binding LuaBackendFoundVisibility}"/>
</StackPanel>
</ScrollViewer>
</xctk:WizardPage>
<xctk:WizardPage
x:Name="PageSteamAPITrick"
PageType="Interior"
Title="Launch Games Directly (Steam)"
Description="Steam allows you to launch the exes directly through a one line text file located in the games install folder."
PreviousPage="{Binding PageStack.Back}"
NextPage="{Binding ElementName=PageGameData}">
<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
<StackPanel>
<TextBlock Margin="0 0 0 3">Game Collection</TextBlock>
<ComboBox Margin="0 0 0 6" SelectedIndex="{Binding GameCollection}">
<ComboBoxItem>KINGDOM HEARTS HD 1.5+2.5 ReMIX</ComboBoxItem>
<ComboBoxItem>KINGDOM HEARTS HD 2.8 Final Chapter Prologue</ComboBoxItem>
</ComboBox>
<TextBlock Margin="0 0 0 3" TextWrapping="Wrap">
<Run Foreground="Red">WARNING</Run>
Steam must be running otherwise the game will fail to start. It will start to open then crash for seemingly no reason. Make sure steam is open if using this.
</TextBlock>
<Button Margin="0 0 0 6" Content="Create steam__appid.txt" HorizontalAlignment="Left" Width="200" Command="{Binding InstallSteamAPIFile}" Visibility="{Binding SteamAPIFileNotFound}"/>
<Button Margin="0 0 0 6" Content="Delete steam__appid.txt" HorizontalAlignment="Left" Width="200" Command="{Binding RemoveSteamAPIFile}" Visibility="{Binding SteamAPIFileFound}"/>
</StackPanel>
</ScrollViewer>
</xctk:WizardPage>
<xctk:WizardPage
x:Name="LastPage"
PageType="Exterior"
Title="You're set!"
Description="You successfully configured OpenKH Mods Manager. Have fun with all the amazing mods that the community has to offer!"
PreviousPage="{Binding PageStack.Back}"
CanFinish="True"/>
</xctk:Wizard>
</Window>