diff --git a/tools/installer/.gitignore b/tools/installer/.gitignore new file mode 100644 index 000000000..641a9bade --- /dev/null +++ b/tools/installer/.gitignore @@ -0,0 +1,16 @@ +*.suo +*.o +*.obj +*.pdb +*.lib +*.exp +[Dd]ebug/ +[Rr]elease/ +[Oo]bj/ +*.user +*.ipch +.vs/ +*.vcxproj +*.filters +*.pubxml +[Oo]ut/ diff --git a/tools/installer/TRX_InstallerLib.sln b/tools/installer/TRX_InstallerLib.sln new file mode 100644 index 000000000..087f2e568 --- /dev/null +++ b/tools/installer/TRX_InstallerLib.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35219.272 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TRX_InstallerLib", "TRX_InstallerLib\TRX_InstallerLib.csproj", "{27F08E8C-2910-4682-B8BC-96ED4C1ECE54}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {27F08E8C-2910-4682-B8BC-96ED4C1ECE54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {27F08E8C-2910-4682-B8BC-96ED4C1ECE54}.Debug|Any CPU.Build.0 = Debug|Any CPU + {27F08E8C-2910-4682-B8BC-96ED4C1ECE54}.Release|Any CPU.ActiveCfg = Release|Any CPU + {27F08E8C-2910-4682-B8BC-96ED4C1ECE54}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {BA21B1D5-1CC7-4ED8-8C79-A1A5B0ACC840} + EndGlobalSection +EndGlobal diff --git a/tools/installer/TRX_InstallerLib/Controls/FinishStepControl.xaml b/tools/installer/TRX_InstallerLib/Controls/FinishStepControl.xaml new file mode 100644 index 000000000..8c04ea48b --- /dev/null +++ b/tools/installer/TRX_InstallerLib/Controls/FinishStepControl.xaml @@ -0,0 +1,32 @@ + + + + + + + + + Step 4: Done + + + + Installation complete. To configure more advanced features, you can edit the JSON files in the cfg/ directory with a text editor. + + + + Happy raiding :) + + + + + + diff --git a/tools/installer/TRX_InstallerLib/Controls/FinishStepControl.xaml.cs b/tools/installer/TRX_InstallerLib/Controls/FinishStepControl.xaml.cs new file mode 100644 index 000000000..02be4e3c8 --- /dev/null +++ b/tools/installer/TRX_InstallerLib/Controls/FinishStepControl.xaml.cs @@ -0,0 +1,11 @@ +using WC = System.Windows.Controls; + +namespace TRX_InstallerLib.Controls; + +public partial class FinishStepControl : WC.UserControl +{ + public FinishStepControl() + { + InitializeComponent(); + } +} diff --git a/tools/installer/TRX_InstallerLib/Controls/InstallSettingsStepControl.xaml b/tools/installer/TRX_InstallerLib/Controls/InstallSettingsStepControl.xaml new file mode 100644 index 000000000..3336554fe --- /dev/null +++ b/tools/installer/TRX_InstallerLib/Controls/InstallSettingsStepControl.xaml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + Step 2: Installation options + + + + + + + + + + + + + + + + + + + + + + + + + + Download music tracks + + + + This option lets you download compatible music files for the game + automatically (60 MB). The legality of these files is disputable; + the most legal way to import the music to PC is to obtain them from + your own source - TR2 supports FLAC, OOG, MP3 and WAV files. + + + + + + + + + + + Download Unfinished Business expansion pack + + + + The Unfinished Business expansion pack was made freeware. However, the Steam and GOG versions do not ship it. This option lets you download the expansion files automatically (6 MB). + + + + + + + + + + Import saves + + + Imports existing savegame files. Only TombATI and TR1X savegame format is supported at this time. + + + + + + Create desktop shortcut + + + + + + + + + + +