Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
Add project files.
Browse files Browse the repository at this point in the history
  • Loading branch information
cooldudemcgeexl committed Mar 3, 2021
1 parent 19a9243 commit 8428f6a
Show file tree
Hide file tree
Showing 13 changed files with 759 additions and 0 deletions.
25 changes: 25 additions & 0 deletions HWSTC-patcher.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31019.35
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HWSTC-patcher", "HWSTC-patcher\HWSTC-patcher.csproj", "{D6B2C752-42DE-4A5C-A871-652C21DBD1BD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D6B2C752-42DE-4A5C-A871-652C21DBD1BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D6B2C752-42DE-4A5C-A871-652C21DBD1BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D6B2C752-42DE-4A5C-A871-652C21DBD1BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D6B2C752-42DE-4A5C-A871-652C21DBD1BD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C7DF903F-9E91-48AC-B9DC-FBBD89ACE3D3}
EndGlobalSection
EndGlobal
18 changes: 18 additions & 0 deletions HWSTC-patcher/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="HWSTC_patcher.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<userSettings>
<HWSTC_patcher.Properties.Settings>
<setting name="ExecutableLocation" serializeAs="String">
<value />
</setting>
</HWSTC_patcher.Properties.Settings>
</userSettings>
</configuration>
9 changes: 9 additions & 0 deletions HWSTC-patcher/App.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Application x:Class="HWSTC_patcher.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:HWSTC_patcher"
StartupUri="MainWindow.xaml">
<Application.Resources>

</Application.Resources>
</Application>
17 changes: 17 additions & 0 deletions HWSTC-patcher/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace HWSTC_patcher
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
103 changes: 103 additions & 0 deletions HWSTC-patcher/HWSTC-patcher.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D6B2C752-42DE-4A5C-A871-652C21DBD1BD}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>HWSTC_patcher</RootNamespace>
<AssemblyName>HWSTC-patcher</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="app.manifest" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
22 changes: 22 additions & 0 deletions HWSTC-patcher/MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Window x:Class="HWSTC_patcher.MainWindow"
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:HWSTC_patcher"
mc:Ignorable="d"
Title="MainWindow" Height="436" Width="517">
<Grid>
<TextBox x:Name="GameDir" HorizontalAlignment="Left" Height="23" Margin="61,53,0,0" VerticalAlignment="Top" Width="232"/>
<Label x:Name="gameDirLabel" Content="HW Stunt Track Challenge Game Location:" HorizontalAlignment="Left" Margin="61,27,0,0" VerticalAlignment="Top"/>
<Button x:Name="chooseGameDir" Content="..." HorizontalAlignment="Left" Margin="293,53,0,0" VerticalAlignment="Top" Width="42" Height="23" Click="chooseGameDir_Click"/>
<Button x:Name="patchBtn" Content="Patch!" HorizontalAlignment="Left" Margin="113,276,0,0" VerticalAlignment="Top" Width="180" Height="46" Click="patchBtn_Click"/>
<ComboBox x:Name="aspectRatioComboBox" HorizontalAlignment="Left" Margin="113,129,0,0" VerticalAlignment="Top" Width="120" SelectionChanged="aspectRatioComboBox_SelectionChanged"/>
<Label x:Name="lblAspectRatio" Content="Aspect Ratio" HorizontalAlignment="Left" Margin="113,103,0,0" VerticalAlignment="Top"/>
<TextBox x:Name="tbResX" HorizontalAlignment="Left" Height="23" Margin="113,206,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="60" TextChanged="tbResX_TextChanged" PreviewTextInput="tbResX_PreviewTextInput"/>
<TextBox x:Name="tbResY" HorizontalAlignment="Left" Height="23" Margin="202,206,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="57" TextChanged="tbResY_TextChanged" PreviewTextInput="tbResY_PreviewTextInput"/>
<TextBlock HorizontalAlignment="Left" Margin="183,209,0,0" TextWrapping="Wrap" Text="x" VerticalAlignment="Top"/>
<Label x:Name="lblRes" Content="Resolution" HorizontalAlignment="Left" Margin="113,180,0,0" VerticalAlignment="Top" Width="146"/>

</Grid>
</Window>
Loading

0 comments on commit 8428f6a

Please sign in to comment.