Upload V1.7.5 Src
This commit is contained in:
parent
d562adf8c7
commit
815f18d7cc
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
||||||
</startup>
|
</startup>
|
||||||
</configuration>
|
</configuration>
|
132
GayMaker/GMAC.cs
132
GayMaker/GMAC.cs
|
@ -1,66 +1,66 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
|
||||||
namespace GayMaker
|
namespace GayMaker
|
||||||
{
|
{
|
||||||
class GMAC
|
class GMAC
|
||||||
{
|
{
|
||||||
public enum FileMapProtection : uint
|
public enum FileMapProtection : uint
|
||||||
{
|
{
|
||||||
PageReadonly = 0x02,
|
PageReadonly = 0x02,
|
||||||
PageReadWrite = 0x04,
|
PageReadWrite = 0x04,
|
||||||
PageWriteCopy = 0x08,
|
PageWriteCopy = 0x08,
|
||||||
PageExecuteRead = 0x20,
|
PageExecuteRead = 0x20,
|
||||||
PageExecuteReadWrite = 0x40,
|
PageExecuteReadWrite = 0x40,
|
||||||
SectionCommit = 0x8000000,
|
SectionCommit = 0x8000000,
|
||||||
SectionImage = 0x1000000,
|
SectionImage = 0x1000000,
|
||||||
SectionNoCache = 0x10000000,
|
SectionNoCache = 0x10000000,
|
||||||
SectionReserve = 0x4000000,
|
SectionReserve = 0x4000000,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum FileMapAccess : uint
|
public enum FileMapAccess : uint
|
||||||
{
|
{
|
||||||
FileMapCopy = 0x0001,
|
FileMapCopy = 0x0001,
|
||||||
FileMapWrite = 0x0002,
|
FileMapWrite = 0x0002,
|
||||||
FileMapRead = 0x0004,
|
FileMapRead = 0x0004,
|
||||||
FileMapReadWrite = 0x0006,
|
FileMapReadWrite = 0x0006,
|
||||||
FileMapAllAccess = 0x001f,
|
FileMapAllAccess = 0x001f,
|
||||||
FileMapExecute = 0x0020,
|
FileMapExecute = 0x0020,
|
||||||
}
|
}
|
||||||
|
|
||||||
[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Auto)]
|
[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Auto)]
|
||||||
public static extern IntPtr CreateFileMapping(
|
public static extern IntPtr CreateFileMapping(
|
||||||
IntPtr hFile,
|
IntPtr hFile,
|
||||||
IntPtr lpFileMappingAttributes,
|
IntPtr lpFileMappingAttributes,
|
||||||
FileMapProtection flProtect,
|
FileMapProtection flProtect,
|
||||||
uint dwMaximumSizeHigh,
|
uint dwMaximumSizeHigh,
|
||||||
uint dwMaximumSizeLow,
|
uint dwMaximumSizeLow,
|
||||||
string lpName
|
string lpName
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport("kernel32", SetLastError = true)]
|
[DllImport("kernel32", SetLastError = true)]
|
||||||
public static extern IntPtr MapViewOfFile(IntPtr intptr_0, FileMapAccess dwDesiredAccess, int int_5, int int_6, IntPtr intptr_1);
|
public static extern IntPtr MapViewOfFile(IntPtr intptr_0, FileMapAccess dwDesiredAccess, int int_5, int int_6, IntPtr intptr_1);
|
||||||
|
|
||||||
[DllImport("kernel32", CharSet = CharSet.Auto, SetLastError = true)]
|
[DllImport("kernel32", CharSet = CharSet.Auto, SetLastError = true)]
|
||||||
public static extern IntPtr OpenFileMapping(
|
public static extern IntPtr OpenFileMapping(
|
||||||
FileMapAccess dwDesiredAccess,
|
FileMapAccess dwDesiredAccess,
|
||||||
bool bInheritHandle,
|
bool bInheritHandle,
|
||||||
string lpName
|
string lpName
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport("kernel32", SetLastError = true)]
|
[DllImport("kernel32", SetLastError = true)]
|
||||||
public static extern bool CloseHandle(IntPtr intptr_0);
|
public static extern bool CloseHandle(IntPtr intptr_0);
|
||||||
|
|
||||||
public static void GetPermissionToExecute()
|
public static void GetPermissionToExecute()
|
||||||
{
|
{
|
||||||
IntPtr Create = CreateFileMapping(new IntPtr(-1), IntPtr.Zero, FileMapProtection.PageReadWrite, 0x0, 0x1000, "YYMappingFileTestYY");
|
IntPtr Create = CreateFileMapping(new IntPtr(-1), IntPtr.Zero, FileMapProtection.PageReadWrite, 0x0, 0x1000, "YYMappingFileTestYY");
|
||||||
IntPtr DaFile = OpenFileMapping(FileMapAccess.FileMapWrite, false, "YYMappingFileTestYY");
|
IntPtr DaFile = OpenFileMapping(FileMapAccess.FileMapWrite, false, "YYMappingFileTestYY");
|
||||||
IntPtr MapView = MapViewOfFile(DaFile, FileMapAccess.FileMapWrite, 0, 0, new IntPtr(4));
|
IntPtr MapView = MapViewOfFile(DaFile, FileMapAccess.FileMapWrite, 0, 0, new IntPtr(4));
|
||||||
|
|
||||||
Marshal.WriteInt32(MapView, (int)(DateTime.Now - new DateTime(1970, 1, 1, 0, 0, 0)).TotalSeconds);
|
Marshal.WriteInt32(MapView, (int)(DateTime.Now - new DateTime(1970, 1, 1, 0, 0, 0)).TotalSeconds);
|
||||||
|
|
||||||
CloseHandle(DaFile);
|
CloseHandle(DaFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
2120
GayMaker/GayMaker.cs
2120
GayMaker/GayMaker.cs
File diff suppressed because it is too large
Load Diff
|
@ -1,158 +1,158 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<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')" />
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProjectGuid>{F189E983-481E-4740-81B7-13A415D68636}</ProjectGuid>
|
<ProjectGuid>{F189E983-481E-4740-81B7-13A415D68636}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<RootNamespace>GayMaker</RootNamespace>
|
<RootNamespace>GayMaker</RootNamespace>
|
||||||
<AssemblyName>GayMaker</AssemblyName>
|
<AssemblyName>GayMaker</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
<Deterministic>true</Deterministic>
|
<Deterministic>true</Deterministic>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ApplicationIcon>icon0.ico</ApplicationIcon>
|
<ApplicationIcon>icon0.ico</ApplicationIcon>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DotNetZip, Version=1.12.0.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL">
|
<Reference Include="DotNetZip, Version=1.12.0.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\DotNetZip.1.12.0\lib\net20\DotNetZip.dll</HintPath>
|
<HintPath>..\packages\DotNetZip.1.12.0\lib\net20\DotNetZip.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.IO.Compression" />
|
<Reference Include="System.IO.Compression" />
|
||||||
<Reference Include="System.IO.Compression.FileSystem" />
|
<Reference Include="System.IO.Compression.FileSystem" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Deployment" />
|
<Reference Include="System.Deployment" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Preferences.cs">
|
<Compile Include="Preferences.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Preferences.Designer.cs">
|
<Compile Include="Preferences.Designer.cs">
|
||||||
<DependentUpon>Preferences.cs</DependentUpon>
|
<DependentUpon>Preferences.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="VersionManager.cs">
|
<Compile Include="VersionManager.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="VersionManager.Designer.cs">
|
<Compile Include="VersionManager.Designer.cs">
|
||||||
<DependentUpon>VersionManager.cs</DependentUpon>
|
<DependentUpon>VersionManager.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="GlobalGameSettings.cs">
|
<Compile Include="GlobalGameSettings.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="GlobalGameSettings.Designer.cs">
|
<Compile Include="GlobalGameSettings.Designer.cs">
|
||||||
<DependentUpon>GlobalGameSettings.cs</DependentUpon>
|
<DependentUpon>GlobalGameSettings.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="GayMaker.cs">
|
<Compile Include="GayMaker.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="GayMaker.Designer.cs">
|
<Compile Include="GayMaker.Designer.cs">
|
||||||
<DependentUpon>GayMaker.cs</DependentUpon>
|
<DependentUpon>GayMaker.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="GMAC.cs" />
|
<Compile Include="GMAC.cs" />
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="Update.cs">
|
<Compile Include="Update.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Update.Designer.cs">
|
<Compile Include="Update.Designer.cs">
|
||||||
<DependentUpon>Update.cs</DependentUpon>
|
<DependentUpon>Update.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<EmbeddedResource Include="Preferences.resx">
|
<EmbeddedResource Include="Preferences.resx">
|
||||||
<DependentUpon>Preferences.cs</DependentUpon>
|
<DependentUpon>Preferences.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="VersionManager.resx">
|
<EmbeddedResource Include="VersionManager.resx">
|
||||||
<DependentUpon>VersionManager.cs</DependentUpon>
|
<DependentUpon>VersionManager.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="GlobalGameSettings.resx">
|
<EmbeddedResource Include="GlobalGameSettings.resx">
|
||||||
<DependentUpon>GlobalGameSettings.cs</DependentUpon>
|
<DependentUpon>GlobalGameSettings.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="GayMaker.resx">
|
<EmbeddedResource Include="GayMaker.resx">
|
||||||
<DependentUpon>GayMaker.cs</DependentUpon>
|
<DependentUpon>GayMaker.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Properties\Resources.resx">
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<Compile Include="Properties\Resources.Designer.cs">
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DependentUpon>Resources.resx</DependentUpon>
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
</Compile>
|
</Compile>
|
||||||
<EmbeddedResource Include="Update.resx">
|
<EmbeddedResource Include="Update.resx">
|
||||||
<DependentUpon>Update.cs</DependentUpon>
|
<DependentUpon>Update.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<None Include="app.manifest">
|
<None Include="app.manifest">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</None>
|
</None>
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
<None Include="Properties\Settings.settings">
|
<None Include="Properties\Settings.settings">
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
</None>
|
</None>
|
||||||
<Compile Include="Properties\Settings.Designer.cs">
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DependentUpon>Settings.settings</DependentUpon>
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\fnames" />
|
<None Include="Resources\fnames" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\Export.png" />
|
<None Include="Resources\Export.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\bg.png" />
|
<None Include="Resources\bg.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\template.png" />
|
<None Include="Resources\template.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\Icons.png" />
|
<None Include="Resources\Icons.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\Gate.png" />
|
<None Include="Resources\Gate.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="icon0.ico" />
|
<Content Include="icon0.ico" />
|
||||||
<None Include="Resources\template.xml" />
|
<None Include="Resources\template.xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
20226
GayMaker/GayMaker.resx
20226
GayMaker/GayMaker.resx
File diff suppressed because it is too large
Load Diff
|
@ -1,218 +1,218 @@
|
||||||
namespace GayMaker
|
namespace GayMaker
|
||||||
{
|
{
|
||||||
partial class GlobalGameSettings
|
partial class GlobalGameSettings
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private System.ComponentModel.IContainer components = null;
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Clean up any resources being used.
|
/// Clean up any resources being used.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
protected override void Dispose(bool disposing)
|
protected override void Dispose(bool disposing)
|
||||||
{
|
{
|
||||||
if (disposing && (components != null))
|
if (disposing && (components != null))
|
||||||
{
|
{
|
||||||
components.Dispose();
|
components.Dispose();
|
||||||
}
|
}
|
||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required method for Designer support - do not modify
|
/// Required method for Designer support - do not modify
|
||||||
/// the contents of this method with the code editor.
|
/// the contents of this method with the code editor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GlobalGameSettings));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GlobalGameSettings));
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.TexturePageSize = new System.Windows.Forms.ComboBox();
|
this.TexturePageSize = new System.Windows.Forms.ComboBox();
|
||||||
this.FullScale = new System.Windows.Forms.RadioButton();
|
this.FullScale = new System.Windows.Forms.RadioButton();
|
||||||
this.AspectRatio = new System.Windows.Forms.RadioButton();
|
this.AspectRatio = new System.Windows.Forms.RadioButton();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.Interporlate = new System.Windows.Forms.CheckBox();
|
this.Interporlate = new System.Windows.Forms.CheckBox();
|
||||||
this.Options = new System.Windows.Forms.Label();
|
this.Options = new System.Windows.Forms.Label();
|
||||||
this.FrontTouchPad = new System.Windows.Forms.CheckBox();
|
this.FrontTouchPad = new System.Windows.Forms.CheckBox();
|
||||||
this.RearTouchPad = new System.Windows.Forms.CheckBox();
|
this.RearTouchPad = new System.Windows.Forms.CheckBox();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.Save = new System.Windows.Forms.Button();
|
this.Save = new System.Windows.Forms.Button();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||||
this.panel1.Controls.Add(this.TexturePageSize);
|
this.panel1.Controls.Add(this.TexturePageSize);
|
||||||
this.panel1.Controls.Add(this.FullScale);
|
this.panel1.Controls.Add(this.FullScale);
|
||||||
this.panel1.Controls.Add(this.AspectRatio);
|
this.panel1.Controls.Add(this.AspectRatio);
|
||||||
this.panel1.Controls.Add(this.label3);
|
this.panel1.Controls.Add(this.label3);
|
||||||
this.panel1.Controls.Add(this.Interporlate);
|
this.panel1.Controls.Add(this.Interporlate);
|
||||||
this.panel1.Controls.Add(this.Options);
|
this.panel1.Controls.Add(this.Options);
|
||||||
this.panel1.Controls.Add(this.FrontTouchPad);
|
this.panel1.Controls.Add(this.FrontTouchPad);
|
||||||
this.panel1.Controls.Add(this.RearTouchPad);
|
this.panel1.Controls.Add(this.RearTouchPad);
|
||||||
this.panel1.Controls.Add(this.label2);
|
this.panel1.Controls.Add(this.label2);
|
||||||
this.panel1.Location = new System.Drawing.Point(15, 25);
|
this.panel1.Location = new System.Drawing.Point(15, 25);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(235, 164);
|
this.panel1.Size = new System.Drawing.Size(235, 164);
|
||||||
this.panel1.TabIndex = 0;
|
this.panel1.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// TexturePageSize
|
// TexturePageSize
|
||||||
//
|
//
|
||||||
this.TexturePageSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.TexturePageSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.TexturePageSize.FormattingEnabled = true;
|
this.TexturePageSize.FormattingEnabled = true;
|
||||||
this.TexturePageSize.Items.AddRange(new object[] {
|
this.TexturePageSize.Items.AddRange(new object[] {
|
||||||
"256",
|
"256",
|
||||||
"512",
|
"512",
|
||||||
"1024",
|
"1024",
|
||||||
"2048",
|
"2048",
|
||||||
"4096",
|
"4096",
|
||||||
"8192"});
|
"8192"});
|
||||||
this.TexturePageSize.Location = new System.Drawing.Point(124, 130);
|
this.TexturePageSize.Location = new System.Drawing.Point(124, 130);
|
||||||
this.TexturePageSize.Name = "TexturePageSize";
|
this.TexturePageSize.Name = "TexturePageSize";
|
||||||
this.TexturePageSize.Size = new System.Drawing.Size(94, 21);
|
this.TexturePageSize.Size = new System.Drawing.Size(94, 21);
|
||||||
this.TexturePageSize.TabIndex = 8;
|
this.TexturePageSize.TabIndex = 8;
|
||||||
//
|
//
|
||||||
// FullScale
|
// FullScale
|
||||||
//
|
//
|
||||||
this.FullScale.AutoSize = true;
|
this.FullScale.AutoSize = true;
|
||||||
this.FullScale.Location = new System.Drawing.Point(6, 135);
|
this.FullScale.Location = new System.Drawing.Point(6, 135);
|
||||||
this.FullScale.Name = "FullScale";
|
this.FullScale.Name = "FullScale";
|
||||||
this.FullScale.Size = new System.Drawing.Size(69, 17);
|
this.FullScale.Size = new System.Drawing.Size(69, 17);
|
||||||
this.FullScale.TabIndex = 7;
|
this.FullScale.TabIndex = 7;
|
||||||
this.FullScale.TabStop = true;
|
this.FullScale.TabStop = true;
|
||||||
this.FullScale.Text = "Full scale";
|
this.FullScale.Text = "Full scale";
|
||||||
this.FullScale.UseVisualStyleBackColor = true;
|
this.FullScale.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// AspectRatio
|
// AspectRatio
|
||||||
//
|
//
|
||||||
this.AspectRatio.AutoSize = true;
|
this.AspectRatio.AutoSize = true;
|
||||||
this.AspectRatio.Location = new System.Drawing.Point(6, 112);
|
this.AspectRatio.Location = new System.Drawing.Point(6, 112);
|
||||||
this.AspectRatio.Name = "AspectRatio";
|
this.AspectRatio.Name = "AspectRatio";
|
||||||
this.AspectRatio.Size = new System.Drawing.Size(108, 17);
|
this.AspectRatio.Size = new System.Drawing.Size(108, 17);
|
||||||
this.AspectRatio.TabIndex = 6;
|
this.AspectRatio.TabIndex = 6;
|
||||||
this.AspectRatio.TabStop = true;
|
this.AspectRatio.TabStop = true;
|
||||||
this.AspectRatio.Text = "Keep aspect ratio";
|
this.AspectRatio.Text = "Keep aspect ratio";
|
||||||
this.AspectRatio.UseVisualStyleBackColor = true;
|
this.AspectRatio.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// label3
|
// label3
|
||||||
//
|
//
|
||||||
this.label3.AutoSize = true;
|
this.label3.AutoSize = true;
|
||||||
this.label3.Location = new System.Drawing.Point(3, 96);
|
this.label3.Location = new System.Drawing.Point(3, 96);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(81, 13);
|
this.label3.Size = new System.Drawing.Size(81, 13);
|
||||||
this.label3.TabIndex = 5;
|
this.label3.TabIndex = 5;
|
||||||
this.label3.Text = "Scaling Options";
|
this.label3.Text = "Scaling Options";
|
||||||
//
|
//
|
||||||
// Interporlate
|
// Interporlate
|
||||||
//
|
//
|
||||||
this.Interporlate.AutoSize = true;
|
this.Interporlate.AutoSize = true;
|
||||||
this.Interporlate.Location = new System.Drawing.Point(4, 21);
|
this.Interporlate.Location = new System.Drawing.Point(4, 21);
|
||||||
this.Interporlate.Name = "Interporlate";
|
this.Interporlate.Name = "Interporlate";
|
||||||
this.Interporlate.Size = new System.Drawing.Size(183, 17);
|
this.Interporlate.Size = new System.Drawing.Size(183, 17);
|
||||||
this.Interporlate.TabIndex = 4;
|
this.Interporlate.TabIndex = 4;
|
||||||
this.Interporlate.Text = "Interporlate colors between pixels";
|
this.Interporlate.Text = "Interporlate colors between pixels";
|
||||||
this.Interporlate.UseVisualStyleBackColor = true;
|
this.Interporlate.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// Options
|
// Options
|
||||||
//
|
//
|
||||||
this.Options.AutoSize = true;
|
this.Options.AutoSize = true;
|
||||||
this.Options.Location = new System.Drawing.Point(1, 5);
|
this.Options.Location = new System.Drawing.Point(1, 5);
|
||||||
this.Options.Name = "Options";
|
this.Options.Name = "Options";
|
||||||
this.Options.Size = new System.Drawing.Size(43, 13);
|
this.Options.Size = new System.Drawing.Size(43, 13);
|
||||||
this.Options.TabIndex = 3;
|
this.Options.TabIndex = 3;
|
||||||
this.Options.Text = "Options";
|
this.Options.Text = "Options";
|
||||||
//
|
//
|
||||||
// FrontTouchPad
|
// FrontTouchPad
|
||||||
//
|
//
|
||||||
this.FrontTouchPad.AutoSize = true;
|
this.FrontTouchPad.AutoSize = true;
|
||||||
this.FrontTouchPad.Location = new System.Drawing.Point(3, 67);
|
this.FrontTouchPad.Location = new System.Drawing.Point(3, 67);
|
||||||
this.FrontTouchPad.Name = "FrontTouchPad";
|
this.FrontTouchPad.Name = "FrontTouchPad";
|
||||||
this.FrontTouchPad.Size = new System.Drawing.Size(120, 17);
|
this.FrontTouchPad.Size = new System.Drawing.Size(120, 17);
|
||||||
this.FrontTouchPad.TabIndex = 2;
|
this.FrontTouchPad.TabIndex = 2;
|
||||||
this.FrontTouchPad.Text = "Enable Front Touch";
|
this.FrontTouchPad.Text = "Enable Front Touch";
|
||||||
this.FrontTouchPad.UseVisualStyleBackColor = true;
|
this.FrontTouchPad.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// RearTouchPad
|
// RearTouchPad
|
||||||
//
|
//
|
||||||
this.RearTouchPad.AutoSize = true;
|
this.RearTouchPad.AutoSize = true;
|
||||||
this.RearTouchPad.Location = new System.Drawing.Point(3, 44);
|
this.RearTouchPad.Location = new System.Drawing.Point(3, 44);
|
||||||
this.RearTouchPad.Name = "RearTouchPad";
|
this.RearTouchPad.Name = "RearTouchPad";
|
||||||
this.RearTouchPad.Size = new System.Drawing.Size(119, 17);
|
this.RearTouchPad.Size = new System.Drawing.Size(119, 17);
|
||||||
this.RearTouchPad.TabIndex = 0;
|
this.RearTouchPad.TabIndex = 0;
|
||||||
this.RearTouchPad.Text = "Enable Rear Touch";
|
this.RearTouchPad.Text = "Enable Rear Touch";
|
||||||
this.RearTouchPad.UseVisualStyleBackColor = true;
|
this.RearTouchPad.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(121, 114);
|
this.label2.Location = new System.Drawing.Point(121, 114);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(97, 13);
|
this.label2.Size = new System.Drawing.Size(97, 13);
|
||||||
this.label2.TabIndex = 2;
|
this.label2.TabIndex = 2;
|
||||||
this.label2.Text = "Texture Page Size:";
|
this.label2.Text = "Texture Page Size:";
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.AutoSize = true;
|
this.label1.AutoSize = true;
|
||||||
this.label1.Location = new System.Drawing.Point(17, 9);
|
this.label1.Location = new System.Drawing.Point(17, 9);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(112, 13);
|
this.label1.Size = new System.Drawing.Size(112, 13);
|
||||||
this.label1.TabIndex = 1;
|
this.label1.TabIndex = 1;
|
||||||
this.label1.Text = "Global Game Settings:";
|
this.label1.Text = "Global Game Settings:";
|
||||||
//
|
//
|
||||||
// Save
|
// Save
|
||||||
//
|
//
|
||||||
this.Save.Location = new System.Drawing.Point(15, 195);
|
this.Save.Location = new System.Drawing.Point(15, 195);
|
||||||
this.Save.Name = "Save";
|
this.Save.Name = "Save";
|
||||||
this.Save.Size = new System.Drawing.Size(235, 23);
|
this.Save.Size = new System.Drawing.Size(235, 23);
|
||||||
this.Save.TabIndex = 2;
|
this.Save.TabIndex = 2;
|
||||||
this.Save.Text = "Save Changes";
|
this.Save.Text = "Save Changes";
|
||||||
this.Save.UseVisualStyleBackColor = true;
|
this.Save.UseVisualStyleBackColor = true;
|
||||||
this.Save.Click += new System.EventHandler(this.Save_Click);
|
this.Save.Click += new System.EventHandler(this.Save_Click);
|
||||||
//
|
//
|
||||||
// GlobalGameSettings
|
// GlobalGameSettings
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
this.ClientSize = new System.Drawing.Size(262, 230);
|
this.ClientSize = new System.Drawing.Size(262, 230);
|
||||||
this.Controls.Add(this.Save);
|
this.Controls.Add(this.Save);
|
||||||
this.Controls.Add(this.label1);
|
this.Controls.Add(this.label1);
|
||||||
this.Controls.Add(this.panel1);
|
this.Controls.Add(this.panel1);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
this.KeyPreview = true;
|
this.KeyPreview = true;
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.MinimizeBox = false;
|
this.MinimizeBox = false;
|
||||||
this.Name = "GlobalGameSettings";
|
this.Name = "GlobalGameSettings";
|
||||||
this.ShowInTaskbar = false;
|
this.ShowInTaskbar = false;
|
||||||
this.Text = "Global Game Settings";
|
this.Text = "Global Game Settings";
|
||||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.GlobalGameSettings_FormClosing);
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.GlobalGameSettings_FormClosing);
|
||||||
this.Load += new System.EventHandler(this.GlobalGameSettings_Load);
|
this.Load += new System.EventHandler(this.GlobalGameSettings_Load);
|
||||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.GlobalGameSettings_KeyDown);
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.GlobalGameSettings_KeyDown);
|
||||||
this.panel1.ResumeLayout(false);
|
this.panel1.ResumeLayout(false);
|
||||||
this.panel1.PerformLayout();
|
this.panel1.PerformLayout();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Panel panel1;
|
private System.Windows.Forms.Panel panel1;
|
||||||
private System.Windows.Forms.Label label2;
|
private System.Windows.Forms.Label label2;
|
||||||
private System.Windows.Forms.CheckBox FrontTouchPad;
|
private System.Windows.Forms.CheckBox FrontTouchPad;
|
||||||
private System.Windows.Forms.CheckBox RearTouchPad;
|
private System.Windows.Forms.CheckBox RearTouchPad;
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
private System.Windows.Forms.Button Save;
|
private System.Windows.Forms.Button Save;
|
||||||
private System.Windows.Forms.RadioButton FullScale;
|
private System.Windows.Forms.RadioButton FullScale;
|
||||||
private System.Windows.Forms.RadioButton AspectRatio;
|
private System.Windows.Forms.RadioButton AspectRatio;
|
||||||
private System.Windows.Forms.Label label3;
|
private System.Windows.Forms.Label label3;
|
||||||
private System.Windows.Forms.CheckBox Interporlate;
|
private System.Windows.Forms.CheckBox Interporlate;
|
||||||
private System.Windows.Forms.Label Options;
|
private System.Windows.Forms.Label Options;
|
||||||
private System.Windows.Forms.ComboBox TexturePageSize;
|
private System.Windows.Forms.ComboBox TexturePageSize;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,228 +1,228 @@
|
||||||
//IDC that my code is shit:
|
//IDC that my code is shit:
|
||||||
#pragma warning disable IDE1006
|
#pragma warning disable IDE1006
|
||||||
#pragma warning disable IDE0017
|
#pragma warning disable IDE0017
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
|
|
||||||
namespace GayMaker
|
namespace GayMaker
|
||||||
{
|
{
|
||||||
public partial class GlobalGameSettings : Form
|
public partial class GlobalGameSettings : Form
|
||||||
{
|
{
|
||||||
|
|
||||||
bool RearTouchEnabled = false;
|
bool RearTouchEnabled = false;
|
||||||
bool FrontTouchEnabled = false;
|
bool FrontTouchEnabled = false;
|
||||||
bool IntorpolateEnabled = false;
|
bool IntorpolateEnabled = false;
|
||||||
bool MakeFullScale = true;
|
bool MakeFullScale = true;
|
||||||
bool KeepAspectRatio = false;
|
bool KeepAspectRatio = false;
|
||||||
int PageSize = 2048;
|
int PageSize = 2048;
|
||||||
|
|
||||||
String ProjectPath;
|
String ProjectPath;
|
||||||
XmlDocument DefaultConfig = new XmlDocument();
|
XmlDocument DefaultConfig = new XmlDocument();
|
||||||
|
|
||||||
public GlobalGameSettings()
|
public GlobalGameSettings()
|
||||||
{
|
{
|
||||||
//Bypass Windows DPI Scaling
|
//Bypass Windows DPI Scaling
|
||||||
Font = new Font(Font.Name, 8.25f * 96f / CreateGraphics().DpiX, Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);
|
Font = new Font(Font.Name, 8.25f * 96f / CreateGraphics().DpiX, Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void GlobalGameSettings_Load(object sender, EventArgs e)
|
private void GlobalGameSettings_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Program.GM.Enabled = false;
|
Program.GM.Enabled = false;
|
||||||
|
|
||||||
ProjectPath = Path.GetDirectoryName(Program.GM.GetProjectPath());
|
ProjectPath = Path.GetDirectoryName(Program.GM.GetProjectPath());
|
||||||
Console.WriteLine(ProjectPath);
|
Console.WriteLine(ProjectPath);
|
||||||
DefaultConfig.Load(ProjectPath + "\\Configs\\Default.config.gmx");
|
DefaultConfig.Load(ProjectPath + "\\Configs\\Default.config.gmx");
|
||||||
|
|
||||||
XmlNode FT = DefaultConfig.GetElementsByTagName("option_psvita_fronttouch")[0];
|
XmlNode FT = DefaultConfig.GetElementsByTagName("option_psvita_fronttouch")[0];
|
||||||
XmlNode RT = DefaultConfig.GetElementsByTagName("option_psvita_reartouch")[0];
|
XmlNode RT = DefaultConfig.GetElementsByTagName("option_psvita_reartouch")[0];
|
||||||
XmlNode TP = DefaultConfig.GetElementsByTagName("option_psvita_texture_page")[0];
|
XmlNode TP = DefaultConfig.GetElementsByTagName("option_psvita_texture_page")[0];
|
||||||
XmlNode IT = DefaultConfig.GetElementsByTagName("option_psvita_interpolate")[0];
|
XmlNode IT = DefaultConfig.GetElementsByTagName("option_psvita_interpolate")[0];
|
||||||
XmlNode SC = DefaultConfig.GetElementsByTagName("option_psvita_scale")[0];
|
XmlNode SC = DefaultConfig.GetElementsByTagName("option_psvita_scale")[0];
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
//If global game settings was never opened then its true/false for some reason
|
//If global game settings was never opened then its true/false for some reason
|
||||||
|
|
||||||
if (bool.Parse(FT.InnerText))
|
if (bool.Parse(FT.InnerText))
|
||||||
{
|
{
|
||||||
FrontTouchEnabled = true;
|
FrontTouchEnabled = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
FrontTouchEnabled = false;
|
FrontTouchEnabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(bool.Parse(RT.InnerText))
|
if(bool.Parse(RT.InnerText))
|
||||||
{
|
{
|
||||||
RearTouchEnabled = true;
|
RearTouchEnabled = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RearTouchEnabled = false;
|
RearTouchEnabled = false;
|
||||||
}
|
}
|
||||||
if(bool.Parse(IT.InnerText))
|
if(bool.Parse(IT.InnerText))
|
||||||
{
|
{
|
||||||
IntorpolateEnabled = true;
|
IntorpolateEnabled = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
IntorpolateEnabled = false;
|
IntorpolateEnabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
//Otherwise its -1 / 0 (GM IS WEIRD)
|
//Otherwise its -1 / 0 (GM IS WEIRD)
|
||||||
|
|
||||||
if (int.Parse(FT.InnerText) == 0)
|
if (int.Parse(FT.InnerText) == 0)
|
||||||
{
|
{
|
||||||
FrontTouchEnabled = false;
|
FrontTouchEnabled = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
FrontTouchEnabled = true;
|
FrontTouchEnabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (int.Parse(RT.InnerText) == 0)
|
if (int.Parse(RT.InnerText) == 0)
|
||||||
{
|
{
|
||||||
RearTouchEnabled = false;
|
RearTouchEnabled = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RearTouchEnabled = true;
|
RearTouchEnabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (int.Parse(IT.InnerText) == 0)
|
if (int.Parse(IT.InnerText) == 0)
|
||||||
{
|
{
|
||||||
IntorpolateEnabled = false;
|
IntorpolateEnabled = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
IntorpolateEnabled = true;
|
IntorpolateEnabled = true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (int.Parse(SC.InnerText) == 0)
|
if (int.Parse(SC.InnerText) == 0)
|
||||||
{
|
{
|
||||||
MakeFullScale = true;
|
MakeFullScale = true;
|
||||||
KeepAspectRatio = false;
|
KeepAspectRatio = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MakeFullScale = false;
|
MakeFullScale = false;
|
||||||
KeepAspectRatio = true;
|
KeepAspectRatio = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
PageSize = int.Parse(TP.InnerText);
|
PageSize = int.Parse(TP.InnerText);
|
||||||
|
|
||||||
//Update Form
|
//Update Form
|
||||||
|
|
||||||
FrontTouchPad.Checked = FrontTouchEnabled;
|
FrontTouchPad.Checked = FrontTouchEnabled;
|
||||||
RearTouchPad.Checked = RearTouchEnabled;
|
RearTouchPad.Checked = RearTouchEnabled;
|
||||||
Interporlate.Checked = IntorpolateEnabled;
|
Interporlate.Checked = IntorpolateEnabled;
|
||||||
|
|
||||||
FullScale.Checked = MakeFullScale;
|
FullScale.Checked = MakeFullScale;
|
||||||
AspectRatio.Checked = KeepAspectRatio;
|
AspectRatio.Checked = KeepAspectRatio;
|
||||||
|
|
||||||
TexturePageSize.Text = PageSize.ToString();
|
TexturePageSize.Text = PageSize.ToString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Save_Click(object sender, EventArgs e)
|
private void Save_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (FrontTouchPad.Checked)
|
if (FrontTouchPad.Checked)
|
||||||
{
|
{
|
||||||
XmlNode FT = DefaultConfig.GetElementsByTagName("option_psvita_fronttouch")[0];
|
XmlNode FT = DefaultConfig.GetElementsByTagName("option_psvita_fronttouch")[0];
|
||||||
FT.InnerText = "-1";
|
FT.InnerText = "-1";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
XmlNode FT = DefaultConfig.GetElementsByTagName("option_psvita_fronttouch")[0];
|
XmlNode FT = DefaultConfig.GetElementsByTagName("option_psvita_fronttouch")[0];
|
||||||
FT.InnerText = "0";
|
FT.InnerText = "0";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (RearTouchPad.Checked)
|
if (RearTouchPad.Checked)
|
||||||
{
|
{
|
||||||
XmlNode RT = DefaultConfig.GetElementsByTagName("option_psvita_reartouch")[0];
|
XmlNode RT = DefaultConfig.GetElementsByTagName("option_psvita_reartouch")[0];
|
||||||
RT.InnerText = "-1";
|
RT.InnerText = "-1";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
XmlNode RT = DefaultConfig.GetElementsByTagName("option_psvita_reartouch")[0];
|
XmlNode RT = DefaultConfig.GetElementsByTagName("option_psvita_reartouch")[0];
|
||||||
RT.InnerText = "0";
|
RT.InnerText = "0";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Interporlate.Checked)
|
if (Interporlate.Checked)
|
||||||
{
|
{
|
||||||
XmlNode IT = DefaultConfig.GetElementsByTagName("option_psvita_interpolate")[0];
|
XmlNode IT = DefaultConfig.GetElementsByTagName("option_psvita_interpolate")[0];
|
||||||
IT.InnerText = "-1";
|
IT.InnerText = "-1";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
XmlNode IT = DefaultConfig.GetElementsByTagName("option_psvita_interpolate")[0];
|
XmlNode IT = DefaultConfig.GetElementsByTagName("option_psvita_interpolate")[0];
|
||||||
IT.InnerText = "0";
|
IT.InnerText = "0";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(AspectRatio.Checked)
|
if(AspectRatio.Checked)
|
||||||
{
|
{
|
||||||
XmlNode SC = DefaultConfig.GetElementsByTagName("option_psvita_scale")[0];
|
XmlNode SC = DefaultConfig.GetElementsByTagName("option_psvita_scale")[0];
|
||||||
SC.InnerText = "-1";
|
SC.InnerText = "-1";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
XmlNode SC = DefaultConfig.GetElementsByTagName("option_psvita_scale")[0];
|
XmlNode SC = DefaultConfig.GetElementsByTagName("option_psvita_scale")[0];
|
||||||
SC.InnerText = "0";
|
SC.InnerText = "0";
|
||||||
}
|
}
|
||||||
|
|
||||||
XmlNode TP = DefaultConfig.GetElementsByTagName("option_psvita_texture_page")[0];
|
XmlNode TP = DefaultConfig.GetElementsByTagName("option_psvita_texture_page")[0];
|
||||||
TP.InnerText = TexturePageSize.Text;
|
TP.InnerText = TexturePageSize.Text;
|
||||||
|
|
||||||
//Save without creating newlines (i dont think it really matters but its good to be as accurate as possible)
|
//Save without creating newlines (i dont think it really matters but its good to be as accurate as possible)
|
||||||
XmlWriterSettings settings = new XmlWriterSettings { Indent = true, OmitXmlDeclaration = true };
|
XmlWriterSettings settings = new XmlWriterSettings { Indent = true, OmitXmlDeclaration = true };
|
||||||
XmlWriter writer = XmlWriter.Create(ProjectPath + "\\Configs\\Default.config.gmx", settings);
|
XmlWriter writer = XmlWriter.Create(ProjectPath + "\\Configs\\Default.config.gmx", settings);
|
||||||
DefaultConfig.Save(writer);
|
DefaultConfig.Save(writer);
|
||||||
writer.Close();
|
writer.Close();
|
||||||
}
|
}
|
||||||
catch(Exception)
|
catch(Exception)
|
||||||
{
|
{
|
||||||
MessageBox.Show("There was an error while saving settings!","Error",MessageBoxButtons.OK,MessageBoxIcon.Error);
|
MessageBox.Show("There was an error while saving settings!","Error",MessageBoxButtons.OK,MessageBoxIcon.Error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Program.GM.Enabled = true;
|
Program.GM.Enabled = true;
|
||||||
|
|
||||||
Close();
|
Close();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void GlobalGameSettings_KeyDown(object sender, KeyEventArgs e)
|
private void GlobalGameSettings_KeyDown(object sender, KeyEventArgs e)
|
||||||
{
|
{
|
||||||
//Keyboard Shortcuts are Nice.
|
//Keyboard Shortcuts are Nice.
|
||||||
|
|
||||||
if(e.KeyCode == Keys.Enter)
|
if(e.KeyCode == Keys.Enter)
|
||||||
{
|
{
|
||||||
Save_Click(null, null);
|
Save_Click(null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(e.KeyCode == Keys.Escape)
|
else if(e.KeyCode == Keys.Escape)
|
||||||
{
|
{
|
||||||
Program.GM.Enabled = true;
|
Program.GM.Enabled = true;
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void GlobalGameSettings_FormClosing(object sender, FormClosingEventArgs e)
|
private void GlobalGameSettings_FormClosing(object sender, FormClosingEventArgs e)
|
||||||
{
|
{
|
||||||
Program.GM.Enabled = true;
|
Program.GM.Enabled = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,275 +1,275 @@
|
||||||
namespace GayMaker
|
namespace GayMaker
|
||||||
{
|
{
|
||||||
partial class Preferences
|
partial class Preferences
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private System.ComponentModel.IContainer components = null;
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Clean up any resources being used.
|
/// Clean up any resources being used.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
protected override void Dispose(bool disposing)
|
protected override void Dispose(bool disposing)
|
||||||
{
|
{
|
||||||
if (disposing && (components != null))
|
if (disposing && (components != null))
|
||||||
{
|
{
|
||||||
components.Dispose();
|
components.Dispose();
|
||||||
}
|
}
|
||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required method for Designer support - do not modify
|
/// Required method for Designer support - do not modify
|
||||||
/// the contents of this method with the code editor.
|
/// the contents of this method with the code editor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Preferences));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Preferences));
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.browse = new System.Windows.Forms.Button();
|
this.browse = new System.Windows.Forms.Button();
|
||||||
this.pathLabel = new System.Windows.Forms.Label();
|
this.pathLabel = new System.Windows.Forms.Label();
|
||||||
this.SDKDir = new System.Windows.Forms.TextBox();
|
this.SDKDir = new System.Windows.Forms.TextBox();
|
||||||
this.unOfficalSDK = new System.Windows.Forms.RadioButton();
|
this.unOfficalSDK = new System.Windows.Forms.RadioButton();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.officalSDK = new System.Windows.Forms.RadioButton();
|
this.officalSDK = new System.Windows.Forms.RadioButton();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.panel2 = new System.Windows.Forms.Panel();
|
this.panel2 = new System.Windows.Forms.Panel();
|
||||||
this.IndexedColor = new System.Windows.Forms.CheckBox();
|
this.IndexedColor = new System.Windows.Forms.CheckBox();
|
||||||
this.SaveLast = new System.Windows.Forms.CheckBox();
|
this.SaveLast = new System.Windows.Forms.CheckBox();
|
||||||
this.Updates = new System.Windows.Forms.CheckBox();
|
this.Updates = new System.Windows.Forms.CheckBox();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.SaveChanges = new System.Windows.Forms.Button();
|
this.SaveChanges = new System.Windows.Forms.Button();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
this.VcVarsBatDir = new System.Windows.Forms.TextBox();
|
this.VcVarsBatDir = new System.Windows.Forms.TextBox();
|
||||||
this.browseVCVARS = new System.Windows.Forms.Button();
|
this.browseVCVARS = new System.Windows.Forms.Button();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.panel2.SuspendLayout();
|
this.panel2.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||||
this.panel1.Controls.Add(this.browseVCVARS);
|
this.panel1.Controls.Add(this.browseVCVARS);
|
||||||
this.panel1.Controls.Add(this.VcVarsBatDir);
|
this.panel1.Controls.Add(this.VcVarsBatDir);
|
||||||
this.panel1.Controls.Add(this.label4);
|
this.panel1.Controls.Add(this.label4);
|
||||||
this.panel1.Controls.Add(this.browse);
|
this.panel1.Controls.Add(this.browse);
|
||||||
this.panel1.Controls.Add(this.pathLabel);
|
this.panel1.Controls.Add(this.pathLabel);
|
||||||
this.panel1.Controls.Add(this.SDKDir);
|
this.panel1.Controls.Add(this.SDKDir);
|
||||||
this.panel1.Controls.Add(this.unOfficalSDK);
|
this.panel1.Controls.Add(this.unOfficalSDK);
|
||||||
this.panel1.Controls.Add(this.label2);
|
this.panel1.Controls.Add(this.label2);
|
||||||
this.panel1.Controls.Add(this.officalSDK);
|
this.panel1.Controls.Add(this.officalSDK);
|
||||||
this.panel1.Controls.Add(this.label1);
|
this.panel1.Controls.Add(this.label1);
|
||||||
this.panel1.Location = new System.Drawing.Point(12, 12);
|
this.panel1.Location = new System.Drawing.Point(12, 12);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(296, 187);
|
this.panel1.Size = new System.Drawing.Size(296, 187);
|
||||||
this.panel1.TabIndex = 1;
|
this.panel1.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// browse
|
// browse
|
||||||
//
|
//
|
||||||
this.browse.Location = new System.Drawing.Point(210, 110);
|
this.browse.Location = new System.Drawing.Point(210, 110);
|
||||||
this.browse.Name = "browse";
|
this.browse.Name = "browse";
|
||||||
this.browse.Size = new System.Drawing.Size(75, 23);
|
this.browse.Size = new System.Drawing.Size(75, 23);
|
||||||
this.browse.TabIndex = 2;
|
this.browse.TabIndex = 2;
|
||||||
this.browse.Text = "Browse";
|
this.browse.Text = "Browse";
|
||||||
this.browse.UseVisualStyleBackColor = true;
|
this.browse.UseVisualStyleBackColor = true;
|
||||||
this.browse.Click += new System.EventHandler(this.browse_Click);
|
this.browse.Click += new System.EventHandler(this.browse_Click);
|
||||||
//
|
//
|
||||||
// pathLabel
|
// pathLabel
|
||||||
//
|
//
|
||||||
this.pathLabel.AutoSize = true;
|
this.pathLabel.AutoSize = true;
|
||||||
this.pathLabel.Location = new System.Drawing.Point(7, 97);
|
this.pathLabel.Location = new System.Drawing.Point(7, 97);
|
||||||
this.pathLabel.Name = "pathLabel";
|
this.pathLabel.Name = "pathLabel";
|
||||||
this.pathLabel.Size = new System.Drawing.Size(76, 13);
|
this.pathLabel.Size = new System.Drawing.Size(76, 13);
|
||||||
this.pathLabel.TabIndex = 2;
|
this.pathLabel.TabIndex = 2;
|
||||||
this.pathLabel.Text = "SDK Location:";
|
this.pathLabel.Text = "SDK Location:";
|
||||||
//
|
//
|
||||||
// SDKDir
|
// SDKDir
|
||||||
//
|
//
|
||||||
this.SDKDir.Location = new System.Drawing.Point(10, 113);
|
this.SDKDir.Location = new System.Drawing.Point(10, 113);
|
||||||
this.SDKDir.Name = "SDKDir";
|
this.SDKDir.Name = "SDKDir";
|
||||||
this.SDKDir.Size = new System.Drawing.Size(193, 20);
|
this.SDKDir.Size = new System.Drawing.Size(193, 20);
|
||||||
this.SDKDir.TabIndex = 2;
|
this.SDKDir.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// unOfficalSDK
|
// unOfficalSDK
|
||||||
//
|
//
|
||||||
this.unOfficalSDK.AutoSize = true;
|
this.unOfficalSDK.AutoSize = true;
|
||||||
this.unOfficalSDK.Enabled = false;
|
this.unOfficalSDK.Enabled = false;
|
||||||
this.unOfficalSDK.Location = new System.Drawing.Point(6, 68);
|
this.unOfficalSDK.Location = new System.Drawing.Point(6, 68);
|
||||||
this.unOfficalSDK.Name = "unOfficalSDK";
|
this.unOfficalSDK.Name = "unOfficalSDK";
|
||||||
this.unOfficalSDK.Size = new System.Drawing.Size(109, 17);
|
this.unOfficalSDK.Size = new System.Drawing.Size(109, 17);
|
||||||
this.unOfficalSDK.TabIndex = 2;
|
this.unOfficalSDK.TabIndex = 2;
|
||||||
this.unOfficalSDK.Text = "UNOFFICAL SDK";
|
this.unOfficalSDK.Text = "UNOFFICAL SDK";
|
||||||
this.unOfficalSDK.UseVisualStyleBackColor = true;
|
this.unOfficalSDK.UseVisualStyleBackColor = true;
|
||||||
this.unOfficalSDK.CheckedChanged += new System.EventHandler(this.unOfficalSDK_CheckedChanged);
|
this.unOfficalSDK.CheckedChanged += new System.EventHandler(this.unOfficalSDK_CheckedChanged);
|
||||||
//
|
//
|
||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(7, 29);
|
this.label2.Location = new System.Drawing.Point(7, 29);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(59, 13);
|
this.label2.Size = new System.Drawing.Size(59, 13);
|
||||||
this.label2.TabIndex = 4;
|
this.label2.TabIndex = 4;
|
||||||
this.label2.Text = "SDK Type:";
|
this.label2.Text = "SDK Type:";
|
||||||
//
|
//
|
||||||
// officalSDK
|
// officalSDK
|
||||||
//
|
//
|
||||||
this.officalSDK.AutoSize = true;
|
this.officalSDK.AutoSize = true;
|
||||||
this.officalSDK.Checked = true;
|
this.officalSDK.Checked = true;
|
||||||
this.officalSDK.Location = new System.Drawing.Point(6, 45);
|
this.officalSDK.Location = new System.Drawing.Point(6, 45);
|
||||||
this.officalSDK.Name = "officalSDK";
|
this.officalSDK.Name = "officalSDK";
|
||||||
this.officalSDK.Size = new System.Drawing.Size(93, 17);
|
this.officalSDK.Size = new System.Drawing.Size(93, 17);
|
||||||
this.officalSDK.TabIndex = 3;
|
this.officalSDK.TabIndex = 3;
|
||||||
this.officalSDK.TabStop = true;
|
this.officalSDK.TabStop = true;
|
||||||
this.officalSDK.Text = "OFFICAL SDK";
|
this.officalSDK.Text = "OFFICAL SDK";
|
||||||
this.officalSDK.UseVisualStyleBackColor = true;
|
this.officalSDK.UseVisualStyleBackColor = true;
|
||||||
this.officalSDK.CheckedChanged += new System.EventHandler(this.officalSDK_CheckedChanged);
|
this.officalSDK.CheckedChanged += new System.EventHandler(this.officalSDK_CheckedChanged);
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.AutoSize = true;
|
this.label1.AutoSize = true;
|
||||||
this.label1.Location = new System.Drawing.Point(3, 0);
|
this.label1.Location = new System.Drawing.Point(3, 0);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(70, 13);
|
this.label1.Size = new System.Drawing.Size(70, 13);
|
||||||
this.label1.TabIndex = 2;
|
this.label1.TabIndex = 2;
|
||||||
this.label1.Text = "YYC Options:";
|
this.label1.Text = "YYC Options:";
|
||||||
//
|
//
|
||||||
// panel2
|
// panel2
|
||||||
//
|
//
|
||||||
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||||
this.panel2.Controls.Add(this.IndexedColor);
|
this.panel2.Controls.Add(this.IndexedColor);
|
||||||
this.panel2.Controls.Add(this.SaveLast);
|
this.panel2.Controls.Add(this.SaveLast);
|
||||||
this.panel2.Controls.Add(this.Updates);
|
this.panel2.Controls.Add(this.Updates);
|
||||||
this.panel2.Controls.Add(this.label3);
|
this.panel2.Controls.Add(this.label3);
|
||||||
this.panel2.Location = new System.Drawing.Point(12, 205);
|
this.panel2.Location = new System.Drawing.Point(12, 205);
|
||||||
this.panel2.Name = "panel2";
|
this.panel2.Name = "panel2";
|
||||||
this.panel2.Size = new System.Drawing.Size(296, 107);
|
this.panel2.Size = new System.Drawing.Size(296, 107);
|
||||||
this.panel2.TabIndex = 2;
|
this.panel2.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// IndexedColor
|
// IndexedColor
|
||||||
//
|
//
|
||||||
this.IndexedColor.AutoSize = true;
|
this.IndexedColor.AutoSize = true;
|
||||||
this.IndexedColor.Checked = true;
|
this.IndexedColor.Checked = true;
|
||||||
this.IndexedColor.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.IndexedColor.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.IndexedColor.Location = new System.Drawing.Point(6, 71);
|
this.IndexedColor.Location = new System.Drawing.Point(6, 71);
|
||||||
this.IndexedColor.Name = "IndexedColor";
|
this.IndexedColor.Name = "IndexedColor";
|
||||||
this.IndexedColor.Size = new System.Drawing.Size(176, 17);
|
this.IndexedColor.Size = new System.Drawing.Size(176, 17);
|
||||||
this.IndexedColor.TabIndex = 3;
|
this.IndexedColor.TabIndex = 3;
|
||||||
this.IndexedColor.Text = "Convert PNG\'s to Indexed Color";
|
this.IndexedColor.Text = "Convert PNG\'s to Indexed Color";
|
||||||
this.IndexedColor.UseVisualStyleBackColor = true;
|
this.IndexedColor.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// SaveLast
|
// SaveLast
|
||||||
//
|
//
|
||||||
this.SaveLast.AutoSize = true;
|
this.SaveLast.AutoSize = true;
|
||||||
this.SaveLast.Checked = true;
|
this.SaveLast.Checked = true;
|
||||||
this.SaveLast.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.SaveLast.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.SaveLast.Location = new System.Drawing.Point(6, 48);
|
this.SaveLast.Location = new System.Drawing.Point(6, 48);
|
||||||
this.SaveLast.Name = "SaveLast";
|
this.SaveLast.Name = "SaveLast";
|
||||||
this.SaveLast.Size = new System.Drawing.Size(173, 17);
|
this.SaveLast.Size = new System.Drawing.Size(173, 17);
|
||||||
this.SaveLast.TabIndex = 2;
|
this.SaveLast.TabIndex = 2;
|
||||||
this.SaveLast.Text = "Save last used Project Settings";
|
this.SaveLast.Text = "Save last used Project Settings";
|
||||||
this.SaveLast.UseVisualStyleBackColor = true;
|
this.SaveLast.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// Updates
|
// Updates
|
||||||
//
|
//
|
||||||
this.Updates.AutoSize = true;
|
this.Updates.AutoSize = true;
|
||||||
this.Updates.Checked = true;
|
this.Updates.Checked = true;
|
||||||
this.Updates.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.Updates.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.Updates.Location = new System.Drawing.Point(6, 25);
|
this.Updates.Location = new System.Drawing.Point(6, 25);
|
||||||
this.Updates.Name = "Updates";
|
this.Updates.Name = "Updates";
|
||||||
this.Updates.Size = new System.Drawing.Size(115, 17);
|
this.Updates.Size = new System.Drawing.Size(115, 17);
|
||||||
this.Updates.TabIndex = 1;
|
this.Updates.TabIndex = 1;
|
||||||
this.Updates.Text = "Check for Updates";
|
this.Updates.Text = "Check for Updates";
|
||||||
this.Updates.UseVisualStyleBackColor = true;
|
this.Updates.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// label3
|
// label3
|
||||||
//
|
//
|
||||||
this.label3.AutoSize = true;
|
this.label3.AutoSize = true;
|
||||||
this.label3.Location = new System.Drawing.Point(3, 0);
|
this.label3.Location = new System.Drawing.Point(3, 0);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(98, 13);
|
this.label3.Size = new System.Drawing.Size(98, 13);
|
||||||
this.label3.TabIndex = 0;
|
this.label3.TabIndex = 0;
|
||||||
this.label3.Text = "GayMaker Options:";
|
this.label3.Text = "GayMaker Options:";
|
||||||
//
|
//
|
||||||
// SaveChanges
|
// SaveChanges
|
||||||
//
|
//
|
||||||
this.SaveChanges.Location = new System.Drawing.Point(12, 318);
|
this.SaveChanges.Location = new System.Drawing.Point(12, 318);
|
||||||
this.SaveChanges.Name = "SaveChanges";
|
this.SaveChanges.Name = "SaveChanges";
|
||||||
this.SaveChanges.Size = new System.Drawing.Size(296, 23);
|
this.SaveChanges.Size = new System.Drawing.Size(296, 23);
|
||||||
this.SaveChanges.TabIndex = 3;
|
this.SaveChanges.TabIndex = 3;
|
||||||
this.SaveChanges.Text = "Save Preferences";
|
this.SaveChanges.Text = "Save Preferences";
|
||||||
this.SaveChanges.UseVisualStyleBackColor = true;
|
this.SaveChanges.UseVisualStyleBackColor = true;
|
||||||
this.SaveChanges.Click += new System.EventHandler(this.SaveChanges_Click);
|
this.SaveChanges.Click += new System.EventHandler(this.SaveChanges_Click);
|
||||||
//
|
//
|
||||||
// label4
|
// label4
|
||||||
//
|
//
|
||||||
this.label4.AutoSize = true;
|
this.label4.AutoSize = true;
|
||||||
this.label4.Location = new System.Drawing.Point(7, 136);
|
this.label4.Location = new System.Drawing.Point(7, 136);
|
||||||
this.label4.Name = "label4";
|
this.label4.Name = "label4";
|
||||||
this.label4.Size = new System.Drawing.Size(116, 13);
|
this.label4.Size = new System.Drawing.Size(116, 13);
|
||||||
this.label4.TabIndex = 5;
|
this.label4.TabIndex = 5;
|
||||||
this.label4.Text = "vcvars32.bat Location:";
|
this.label4.Text = "vcvars32.bat Location:";
|
||||||
//
|
//
|
||||||
// VcVarsBatDir
|
// VcVarsBatDir
|
||||||
//
|
//
|
||||||
this.VcVarsBatDir.Location = new System.Drawing.Point(10, 152);
|
this.VcVarsBatDir.Location = new System.Drawing.Point(10, 152);
|
||||||
this.VcVarsBatDir.Name = "VcVarsBatDir";
|
this.VcVarsBatDir.Name = "VcVarsBatDir";
|
||||||
this.VcVarsBatDir.Size = new System.Drawing.Size(193, 20);
|
this.VcVarsBatDir.Size = new System.Drawing.Size(193, 20);
|
||||||
this.VcVarsBatDir.TabIndex = 6;
|
this.VcVarsBatDir.TabIndex = 6;
|
||||||
//
|
//
|
||||||
// browseVCVARS
|
// browseVCVARS
|
||||||
//
|
//
|
||||||
this.browseVCVARS.Location = new System.Drawing.Point(210, 149);
|
this.browseVCVARS.Location = new System.Drawing.Point(210, 149);
|
||||||
this.browseVCVARS.Name = "browseVCVARS";
|
this.browseVCVARS.Name = "browseVCVARS";
|
||||||
this.browseVCVARS.Size = new System.Drawing.Size(75, 23);
|
this.browseVCVARS.Size = new System.Drawing.Size(75, 23);
|
||||||
this.browseVCVARS.TabIndex = 7;
|
this.browseVCVARS.TabIndex = 7;
|
||||||
this.browseVCVARS.Text = "Browse";
|
this.browseVCVARS.Text = "Browse";
|
||||||
this.browseVCVARS.UseVisualStyleBackColor = true;
|
this.browseVCVARS.UseVisualStyleBackColor = true;
|
||||||
this.browseVCVARS.Click += new System.EventHandler(this.browseVCVARS_Click);
|
this.browseVCVARS.Click += new System.EventHandler(this.browseVCVARS_Click);
|
||||||
//
|
//
|
||||||
// Preferences
|
// Preferences
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
this.ClientSize = new System.Drawing.Size(314, 353);
|
this.ClientSize = new System.Drawing.Size(314, 353);
|
||||||
this.Controls.Add(this.SaveChanges);
|
this.Controls.Add(this.SaveChanges);
|
||||||
this.Controls.Add(this.panel2);
|
this.Controls.Add(this.panel2);
|
||||||
this.Controls.Add(this.panel1);
|
this.Controls.Add(this.panel1);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.MinimizeBox = false;
|
this.MinimizeBox = false;
|
||||||
this.Name = "Preferences";
|
this.Name = "Preferences";
|
||||||
this.ShowInTaskbar = false;
|
this.ShowInTaskbar = false;
|
||||||
this.Text = "Preferences";
|
this.Text = "Preferences";
|
||||||
this.Load += new System.EventHandler(this.Preferences_Load);
|
this.Load += new System.EventHandler(this.Preferences_Load);
|
||||||
this.panel1.ResumeLayout(false);
|
this.panel1.ResumeLayout(false);
|
||||||
this.panel1.PerformLayout();
|
this.panel1.PerformLayout();
|
||||||
this.panel2.ResumeLayout(false);
|
this.panel2.ResumeLayout(false);
|
||||||
this.panel2.PerformLayout();
|
this.panel2.PerformLayout();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
private System.Windows.Forms.Panel panel1;
|
private System.Windows.Forms.Panel panel1;
|
||||||
private System.Windows.Forms.Label label2;
|
private System.Windows.Forms.Label label2;
|
||||||
private System.Windows.Forms.RadioButton officalSDK;
|
private System.Windows.Forms.RadioButton officalSDK;
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
private System.Windows.Forms.Button browse;
|
private System.Windows.Forms.Button browse;
|
||||||
private System.Windows.Forms.Label pathLabel;
|
private System.Windows.Forms.Label pathLabel;
|
||||||
private System.Windows.Forms.TextBox SDKDir;
|
private System.Windows.Forms.TextBox SDKDir;
|
||||||
private System.Windows.Forms.RadioButton unOfficalSDK;
|
private System.Windows.Forms.RadioButton unOfficalSDK;
|
||||||
private System.Windows.Forms.Panel panel2;
|
private System.Windows.Forms.Panel panel2;
|
||||||
private System.Windows.Forms.CheckBox SaveLast;
|
private System.Windows.Forms.CheckBox SaveLast;
|
||||||
private System.Windows.Forms.CheckBox Updates;
|
private System.Windows.Forms.CheckBox Updates;
|
||||||
private System.Windows.Forms.Label label3;
|
private System.Windows.Forms.Label label3;
|
||||||
private System.Windows.Forms.Button SaveChanges;
|
private System.Windows.Forms.Button SaveChanges;
|
||||||
private System.Windows.Forms.CheckBox IndexedColor;
|
private System.Windows.Forms.CheckBox IndexedColor;
|
||||||
private System.Windows.Forms.Button browseVCVARS;
|
private System.Windows.Forms.Button browseVCVARS;
|
||||||
private System.Windows.Forms.TextBox VcVarsBatDir;
|
private System.Windows.Forms.TextBox VcVarsBatDir;
|
||||||
private System.Windows.Forms.Label label4;
|
private System.Windows.Forms.Label label4;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,135 +1,135 @@
|
||||||
//IDC that my code is shit:
|
//IDC that my code is shit:
|
||||||
#pragma warning disable IDE1006
|
#pragma warning disable IDE1006
|
||||||
#pragma warning disable IDE0017
|
#pragma warning disable IDE0017
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GayMaker
|
namespace GayMaker
|
||||||
{
|
{
|
||||||
public partial class Preferences : Form
|
public partial class Preferences : Form
|
||||||
{
|
{
|
||||||
public bool ReadBoolean(string Bool)
|
public bool ReadBoolean(string Bool)
|
||||||
{
|
{
|
||||||
if (Bool == "True")
|
if (Bool == "True")
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Preferences()
|
public Preferences()
|
||||||
{
|
{
|
||||||
//Bypass Windows DPI Scaling (See issue #8 to see why its important)
|
//Bypass Windows DPI Scaling (See issue #8 to see why its important)
|
||||||
Font = new Font(Font.Name, 8.25f * 96f / CreateGraphics().DpiX, Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);
|
Font = new Font(Font.Name, 8.25f * 96f / CreateGraphics().DpiX, Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void CheckSdkPath()
|
public void CheckSdkPath()
|
||||||
{
|
{
|
||||||
if(officalSDK.Checked)
|
if(officalSDK.Checked)
|
||||||
{
|
{
|
||||||
SDKDir.Enabled = true;
|
SDKDir.Enabled = true;
|
||||||
browse.Enabled = true;
|
browse.Enabled = true;
|
||||||
VcVarsBatDir.Enabled = true;
|
VcVarsBatDir.Enabled = true;
|
||||||
browseVCVARS.Enabled = true;
|
browseVCVARS.Enabled = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
SDKDir.Enabled = false;
|
SDKDir.Enabled = false;
|
||||||
browse.Enabled = false;
|
browse.Enabled = false;
|
||||||
VcVarsBatDir.Enabled = false;
|
VcVarsBatDir.Enabled = false;
|
||||||
browseVCVARS.Enabled = false;
|
browseVCVARS.Enabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Preferences_Load(object sender, EventArgs e)
|
private void Preferences_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
Microsoft.Win32.RegistryKey key;
|
Microsoft.Win32.RegistryKey key;
|
||||||
key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey(@"Software\GayMaker");
|
key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey(@"Software\GayMaker");
|
||||||
|
|
||||||
Updates.Checked = ReadBoolean(key.GetValue("CheckForUpdates").ToString());
|
Updates.Checked = ReadBoolean(key.GetValue("CheckForUpdates").ToString());
|
||||||
SaveLast.Checked = ReadBoolean(key.GetValue("SaveLast").ToString());
|
SaveLast.Checked = ReadBoolean(key.GetValue("SaveLast").ToString());
|
||||||
IndexedColor.Checked = ReadBoolean(key.GetValue("IndexedColor").ToString());
|
IndexedColor.Checked = ReadBoolean(key.GetValue("IndexedColor").ToString());
|
||||||
|
|
||||||
SDKDir.Text = key.GetValue("SDKPath").ToString();
|
SDKDir.Text = key.GetValue("SDKPath").ToString();
|
||||||
VcVarsBatDir.Text = key.GetValue("VCVarsPath").ToString();
|
VcVarsBatDir.Text = key.GetValue("VCVarsPath").ToString();
|
||||||
|
|
||||||
officalSDK.Checked = ReadBoolean(key.GetValue("OfficalSDK").ToString());
|
officalSDK.Checked = ReadBoolean(key.GetValue("OfficalSDK").ToString());
|
||||||
unOfficalSDK.Checked = ReadBoolean(key.GetValue("UNOfficalSDK").ToString());
|
unOfficalSDK.Checked = ReadBoolean(key.GetValue("UNOfficalSDK").ToString());
|
||||||
|
|
||||||
key.Close();
|
key.Close();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception) { };
|
catch (Exception) { };
|
||||||
|
|
||||||
CheckSdkPath();
|
CheckSdkPath();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SaveChanges_Click(object sender, EventArgs e)
|
private void SaveChanges_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Microsoft.Win32.RegistryKey key;
|
Microsoft.Win32.RegistryKey key;
|
||||||
key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey(@"Software\GayMaker");
|
key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey(@"Software\GayMaker");
|
||||||
key.SetValue("CheckForUpdates", Updates.Checked);
|
key.SetValue("CheckForUpdates", Updates.Checked);
|
||||||
key.SetValue("SaveLast", SaveLast.Checked);
|
key.SetValue("SaveLast", SaveLast.Checked);
|
||||||
key.SetValue("IndexedColor", IndexedColor.Checked);
|
key.SetValue("IndexedColor", IndexedColor.Checked);
|
||||||
|
|
||||||
key.SetValue("SDKPath", SDKDir.Text);
|
key.SetValue("SDKPath", SDKDir.Text);
|
||||||
key.SetValue("VCVarsPath", VcVarsBatDir.Text);
|
key.SetValue("VCVarsPath", VcVarsBatDir.Text);
|
||||||
|
|
||||||
key.SetValue("OfficalSDK", officalSDK.Checked);
|
key.SetValue("OfficalSDK", officalSDK.Checked);
|
||||||
key.SetValue("UNOfficalSDK", unOfficalSDK.Checked);
|
key.SetValue("UNOfficalSDK", unOfficalSDK.Checked);
|
||||||
|
|
||||||
key.Close();
|
key.Close();
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
MessageBox.Show("There was an error while saving preferences!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show("There was an error while saving preferences!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
}
|
}
|
||||||
|
|
||||||
Environment.SetEnvironmentVariable("SCE_PSP2_SDK_DIR", SDKDir.Text);
|
Environment.SetEnvironmentVariable("SCE_PSP2_SDK_DIR", SDKDir.Text);
|
||||||
|
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void unOfficalSDK_CheckedChanged(object sender, EventArgs e)
|
private void unOfficalSDK_CheckedChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
CheckSdkPath();
|
CheckSdkPath();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void officalSDK_CheckedChanged(object sender, EventArgs e)
|
private void officalSDK_CheckedChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
CheckSdkPath();
|
CheckSdkPath();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void browse_Click(object sender, EventArgs e)
|
private void browse_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
FolderBrowserDialog FBD = new FolderBrowserDialog();
|
FolderBrowserDialog FBD = new FolderBrowserDialog();
|
||||||
FBD.ShowDialog();
|
FBD.ShowDialog();
|
||||||
SDKDir.Text = FBD.SelectedPath;
|
SDKDir.Text = FBD.SelectedPath;
|
||||||
FBD.Dispose();
|
FBD.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void browseVCVARS_Click(object sender, EventArgs e)
|
private void browseVCVARS_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
OpenFileDialog FBD = new OpenFileDialog();
|
OpenFileDialog FBD = new OpenFileDialog();
|
||||||
FBD.Filter = "vcvars32.bat|vcvars32.bat";
|
FBD.Filter = "vcvars32.bat|vcvars32.bat";
|
||||||
FBD.ShowDialog();
|
FBD.ShowDialog();
|
||||||
VcVarsBatDir.Text = FBD.FileName;
|
VcVarsBatDir.Text = FBD.FileName;
|
||||||
FBD.Dispose();
|
FBD.Dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,21 +1,21 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GayMaker
|
namespace GayMaker
|
||||||
{
|
{
|
||||||
static class Program
|
static class Program
|
||||||
{
|
{
|
||||||
public static GayMaker GM;
|
public static GayMaker GM;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The main entry point for the application.
|
/// The main entry point for the application.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[STAThread]
|
[STAThread]
|
||||||
static void Main()
|
static void Main()
|
||||||
{
|
{
|
||||||
Application.EnableVisualStyles();
|
Application.EnableVisualStyles();
|
||||||
Application.SetCompatibleTextRenderingDefault(false);
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
GM = new GayMaker();
|
GM = new GayMaker();
|
||||||
Application.Run(GM);
|
Application.Run(GM);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,36 +1,36 @@
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
// General Information about an assembly is controlled through the following
|
||||||
// set of attributes. Change these attribute values to modify the information
|
// set of attributes. Change these attribute values to modify the information
|
||||||
// associated with an assembly.
|
// associated with an assembly.
|
||||||
[assembly: AssemblyTitle("GayMaker")]
|
[assembly: AssemblyTitle("GayMaker")]
|
||||||
[assembly: AssemblyDescription("GameMaker:Studio -> PSVita Export Tool")]
|
[assembly: AssemblyDescription("GameMaker:Studio -> PSVita Export Tool")]
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("GayMaker")]
|
[assembly: AssemblyProduct("GayMaker")]
|
||||||
[assembly: AssemblyCopyright("MIT License - SilicaAndPina")]
|
[assembly: AssemblyCopyright("MIT License - SilicaAndPina")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
// Setting ComVisible to false makes the types in this assembly not visible
|
// Setting ComVisible to false makes the types in this assembly not visible
|
||||||
// to COM components. If you need to access a type in this assembly from
|
// to COM components. If you need to access a type in this assembly from
|
||||||
// COM, set the ComVisible attribute to true on that type.
|
// COM, set the ComVisible attribute to true on that type.
|
||||||
[assembly: ComVisible(false)]
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
[assembly: Guid("f189e983-481e-4740-81b7-13a415d68636")]
|
[assembly: Guid("f189e983-481e-4740-81b7-13a415d68636")]
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
// Version information for an assembly consists of the following four values:
|
||||||
//
|
//
|
||||||
// Major Version
|
// Major Version
|
||||||
// Minor Version
|
// Minor Version
|
||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
|
|
|
@ -1,173 +1,173 @@
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
// Runtime Version:4.0.30319.42000
|
// Runtime Version:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace GayMaker.Properties {
|
namespace GayMaker.Properties {
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||||
// class via a tool like ResGen or Visual Studio.
|
// class via a tool like ResGen or Visual Studio.
|
||||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||||
// with the /str option, or rebuild your VS project.
|
// with the /str option, or rebuild your VS project.
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
internal class Resources {
|
internal class Resources {
|
||||||
|
|
||||||
private static global::System.Resources.ResourceManager resourceMan;
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
internal Resources() {
|
internal Resources() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the cached ResourceManager instance used by this class.
|
/// Returns the cached ResourceManager instance used by this class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||||
get {
|
get {
|
||||||
if (object.ReferenceEquals(resourceMan, null)) {
|
if (object.ReferenceEquals(resourceMan, null)) {
|
||||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GayMaker.Properties.Resources", typeof(Resources).Assembly);
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GayMaker.Properties.Resources", typeof(Resources).Assembly);
|
||||||
resourceMan = temp;
|
resourceMan = temp;
|
||||||
}
|
}
|
||||||
return resourceMan;
|
return resourceMan;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Overrides the current thread's CurrentUICulture property for all
|
/// Overrides the current thread's CurrentUICulture property for all
|
||||||
/// resource lookups using this strongly typed resource class.
|
/// resource lookups using this strongly typed resource class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Globalization.CultureInfo Culture {
|
internal static global::System.Globalization.CultureInfo Culture {
|
||||||
get {
|
get {
|
||||||
return resourceCulture;
|
return resourceCulture;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
resourceCulture = value;
|
resourceCulture = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap bg {
|
internal static System.Drawing.Bitmap bg {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("bg", resourceCulture);
|
object obj = ResourceManager.GetObject("bg", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Export {
|
internal static System.Drawing.Bitmap Export {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("Export", resourceCulture);
|
object obj = ResourceManager.GetObject("Export", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to ///////////////////////////////
|
/// Looks up a localized string similar to ///////////////////////////////
|
||||||
///// PlayStation Vita specific
|
///// PlayStation Vita specific
|
||||||
//////////////////////////////////
|
//////////////////////////////////
|
||||||
///
|
///
|
||||||
///// # = constant
|
///// # = constant
|
||||||
///// * = readonly
|
///// * = readonly
|
||||||
///// & = obsolete
|
///// & = obsolete
|
||||||
///
|
///
|
||||||
///psn_get_leaderboard_score_range(pad_index, leaderboard_id, start_index, end_index)
|
///psn_get_leaderboard_score_range(pad_index, leaderboard_id, start_index, end_index)
|
||||||
///psn_default_user_name()
|
///psn_default_user_name()
|
||||||
///psn_name_for_pad(pad_index)
|
///psn_name_for_pad(pad_index)
|
||||||
///psn_unlock_trophy(pad_index, trophy_index)
|
///psn_unlock_trophy(pad_index, trophy_index)
|
||||||
///psn_get_trophy_unlock_state(pad_index)
|
///psn_get_trophy_unlock_state(pad_index)
|
||||||
///psn_init_np_libs(title_id, np_title_secret, np_passphrase, enable_online)
|
///psn_init_np_libs(title_id, np_title_secret, np_passphrase, enable_online)
|
||||||
///psn_exit_np_libs()
|
///psn_exit_np_libs()
|
||||||
///psn_get_leaderboard_score(pad_index, leaderboard_id)
|
///psn_get_leaderboard_score(pad_index, leaderboard_id)
|
||||||
///psn_po [rest of string was truncated]";.
|
///psn_po [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static string fnames {
|
internal static string fnames {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("fnames", resourceCulture);
|
return ResourceManager.GetString("fnames", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Gate {
|
internal static System.Drawing.Bitmap Gate {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("Gate", resourceCulture);
|
object obj = ResourceManager.GetObject("Gate", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to <?xml version="1.0" encoding="utf-8"?>
|
/// Looks up a localized string similar to <?xml version="1.0" encoding="utf-8"?>
|
||||||
///
|
///
|
||||||
///<livearea style="psmobile" format-ver="01.00" content-rev="1">
|
///<livearea style="psmobile" format-ver="01.00" content-rev="1">
|
||||||
/// <livearea-background>
|
/// <livearea-background>
|
||||||
/// <image>bg0.png</image>
|
/// <image>bg0.png</image>
|
||||||
/// </livearea-background>
|
/// </livearea-background>
|
||||||
///
|
///
|
||||||
/// <gate>
|
/// <gate>
|
||||||
/// <startup-image>startup.png</startup-image>
|
/// <startup-image>startup.png</startup-image>
|
||||||
/// </gate>
|
/// </gate>
|
||||||
///
|
///
|
||||||
/// <frame id="frame1">
|
/// <frame id="frame1">
|
||||||
/// </frame>
|
/// </frame>
|
||||||
///
|
///
|
||||||
/// <frame id="frame2">
|
/// <frame id="frame2">
|
||||||
/// </frame>
|
/// </frame>
|
||||||
///
|
///
|
||||||
/// <frame id="frame3">
|
/// <frame id="frame3">
|
||||||
/// </frame>
|
/// </frame>
|
||||||
///
|
///
|
||||||
/// <frame id="frame4">
|
/// <frame id="frame4">
|
||||||
/// </frame>
|
/// </frame>
|
||||||
///
|
///
|
||||||
///</livearea>
|
///</livearea>
|
||||||
///
|
///
|
||||||
///
|
///
|
||||||
///.
|
///.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static string gdbTemplate {
|
internal static string gdbTemplate {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("gdbTemplate", resourceCulture);
|
return ResourceManager.GetString("gdbTemplate", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Icons {
|
internal static System.Drawing.Bitmap Icons {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("Icons", resourceCulture);
|
object obj = ResourceManager.GetObject("Icons", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap template {
|
internal static System.Drawing.Bitmap template {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("template", resourceCulture);
|
object obj = ResourceManager.GetObject("template", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,142 +1,142 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<root>
|
<root>
|
||||||
<!--
|
<!--
|
||||||
Microsoft ResX Schema
|
Microsoft ResX Schema
|
||||||
|
|
||||||
Version 2.0
|
Version 2.0
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
The primary goals of this format is to allow a simple XML format
|
||||||
that is mostly human readable. The generation and parsing of the
|
that is mostly human readable. The generation and parsing of the
|
||||||
various data types are done through the TypeConverter classes
|
various data types are done through the TypeConverter classes
|
||||||
associated with the data types.
|
associated with the data types.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
<comment>This is a comment</comment>
|
<comment>This is a comment</comment>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
There are any number of "resheader" rows that contain simple
|
||||||
name/value pairs.
|
name/value pairs.
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
Each data row contains a name, and value. The row also contains a
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
text/value conversion through the TypeConverter architecture.
|
text/value conversion through the TypeConverter architecture.
|
||||||
Classes that don't support this are serialized and stored with the
|
Classes that don't support this are serialized and stored with the
|
||||||
mimetype set.
|
mimetype set.
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
The mimetype is used for serialized objects, and tells the
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
read any of the formats listed below.
|
read any of the formats listed below.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
value : The object must be serialized into a byte array
|
value : The object must be serialized into a byte array
|
||||||
: using a System.ComponentModel.TypeConverter
|
: using a System.ComponentModel.TypeConverter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
-->
|
-->
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:choice maxOccurs="unbounded">
|
<xsd:choice maxOccurs="unbounded">
|
||||||
<xsd:element name="metadata">
|
<xsd:element name="metadata">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
<xsd:attribute ref="xml:space" />
|
<xsd:attribute ref="xml:space" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="assembly">
|
<xsd:element name="assembly">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="data">
|
<xsd:element name="data">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
<xsd:attribute ref="xml:space" />
|
<xsd:attribute ref="xml:space" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="resheader">
|
<xsd:element name="resheader">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:choice>
|
</xsd:choice>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:schema>
|
</xsd:schema>
|
||||||
<resheader name="resmimetype">
|
<resheader name="resmimetype">
|
||||||
<value>text/microsoft-resx</value>
|
<value>text/microsoft-resx</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="version">
|
<resheader name="version">
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<resheader name="reader">
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
<data name="Gate" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Gate" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Gate.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Gate.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="fnames" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="fnames" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\fnames;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
|
<value>..\Resources\fnames;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Icons" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Icons" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Icons.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Icons.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="gdbTemplate" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="gdbTemplate" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\template.xml;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
<value>..\Resources\template.xml;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Export" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Export" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Export.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Export.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="template" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="template" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\template.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\template.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="bg" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="bg" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
</root>
|
</root>
|
|
@ -1,30 +1,30 @@
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
// Runtime Version:4.0.30319.42000
|
// Runtime Version:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace GayMaker.Properties
|
namespace GayMaker.Properties
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||||
{
|
{
|
||||||
|
|
||||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
public static Settings Default
|
public static Settings Default
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||||
<Profiles>
|
<Profiles>
|
||||||
<Profile Name="(Default)" />
|
<Profile Name="(Default)" />
|
||||||
</Profiles>
|
</Profiles>
|
||||||
<Settings />
|
<Settings />
|
||||||
</SettingsFile>
|
</SettingsFile>
|
||||||
|
|
|
@ -1,87 +1,87 @@
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
// PlayStation Vita specific
|
// PlayStation Vita specific
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
||||||
// # = constant
|
// # = constant
|
||||||
// * = readonly
|
// * = readonly
|
||||||
// & = obsolete
|
// & = obsolete
|
||||||
|
|
||||||
psn_get_leaderboard_score_range(pad_index, leaderboard_id, start_index, end_index)
|
psn_get_leaderboard_score_range(pad_index, leaderboard_id, start_index, end_index)
|
||||||
psn_default_user_name()
|
psn_default_user_name()
|
||||||
psn_name_for_pad(pad_index)
|
psn_name_for_pad(pad_index)
|
||||||
psn_unlock_trophy(pad_index, trophy_index)
|
psn_unlock_trophy(pad_index, trophy_index)
|
||||||
psn_get_trophy_unlock_state(pad_index)
|
psn_get_trophy_unlock_state(pad_index)
|
||||||
psn_init_np_libs(title_id, np_title_secret, np_passphrase, enable_online)
|
psn_init_np_libs(title_id, np_title_secret, np_passphrase, enable_online)
|
||||||
psn_exit_np_libs()
|
psn_exit_np_libs()
|
||||||
psn_get_leaderboard_score(pad_index, leaderboard_id)
|
psn_get_leaderboard_score(pad_index, leaderboard_id)
|
||||||
psn_post_leaderboard_score(pad_index, leaderboard_id, score)
|
psn_post_leaderboard_score(pad_index, leaderboard_id, score)
|
||||||
psn_post_leaderboard_score_comment(pad_index, leaderboard_id, score, comment)
|
psn_post_leaderboard_score_comment(pad_index, leaderboard_id, score, comment)
|
||||||
psn_check_np_availability(pad_index, show_error)
|
psn_check_np_availability(pad_index, show_error)
|
||||||
psn_tick_error_dialog()
|
psn_tick_error_dialog()
|
||||||
psn_tick()
|
psn_tick()
|
||||||
psn_np_status(pad_index)
|
psn_np_status(pad_index)
|
||||||
psn_get_friends_scores(pad_index, leaderboard_id, start_index, end_index)
|
psn_get_friends_scores(pad_index, leaderboard_id, start_index, end_index)
|
||||||
psn_name_for_user(user_id)
|
psn_name_for_user(user_id)
|
||||||
psn_default_user()
|
psn_default_user()
|
||||||
psn_user_for_pad(pad_index)
|
psn_user_for_pad(pad_index)
|
||||||
|
|
||||||
matchmaking_reset_create_params()
|
matchmaking_reset_create_params()
|
||||||
matchmaking_add_create_param(param_index, param_value)
|
matchmaking_add_create_param(param_index, param_value)
|
||||||
matchmaking_session_create(num_slots, session_name)
|
matchmaking_session_create(num_slots, session_name)
|
||||||
matchmaking_session_update(session_id)
|
matchmaking_session_update(session_id)
|
||||||
matchmaking_session_get_users(session_id)
|
matchmaking_session_get_users(session_id)
|
||||||
matchmaking_session_get_owner(session_id)
|
matchmaking_session_get_owner(session_id)
|
||||||
matchmaking_session_set_closed(session_id)
|
matchmaking_session_set_closed(session_id)
|
||||||
matchmaking_session_set_open(session_id)
|
matchmaking_session_set_open(session_id)
|
||||||
matchmaking_reset_find_params()
|
matchmaking_reset_find_params()
|
||||||
matchmaking_add_find_param(index, value, operation)
|
matchmaking_add_find_param(index, value, operation)
|
||||||
matchmaking_session_find()
|
matchmaking_session_find()
|
||||||
matchmaking_session_join(session_id)
|
matchmaking_session_join(session_id)
|
||||||
matchmaking_session_leave(session_id)
|
matchmaking_session_leave(session_id)
|
||||||
matchmaking_start(user_id, pad_index)
|
matchmaking_start(user_id, pad_index)
|
||||||
matchmaking_stop()
|
matchmaking_stop()
|
||||||
matchmaking_send_invites(room_id, user_message, max_recipients)
|
matchmaking_send_invites(room_id, user_message, max_recipients)
|
||||||
matchmaking_tick_invites()
|
matchmaking_tick_invites()
|
||||||
matchmaking_join_invite(invitation_id)
|
matchmaking_join_invite(invitation_id)
|
||||||
|
|
||||||
psn_content_restriction_add(country_code, age)
|
psn_content_restriction_add(country_code, age)
|
||||||
psn_net_check(default_age_restriction)
|
psn_net_check(default_age_restriction)
|
||||||
psn_setup_trophies()
|
psn_setup_trophies()
|
||||||
|
|
||||||
psn_init_trophy(pad_index)
|
psn_init_trophy(pad_index)
|
||||||
|
|
||||||
PSN_LEADERBOARD_SCORE_MSG#
|
PSN_LEADERBOARD_SCORE_MSG#
|
||||||
PSN_LEADERBOARD_SCORE_RANGE_MSG#
|
PSN_LEADERBOARD_SCORE_RANGE_MSG#
|
||||||
PSN_LEADERBOARD_FRIENDS_SCORES_MSG#
|
PSN_LEADERBOARD_FRIENDS_SCORES_MSG#
|
||||||
PSN_LEADERBOARD_SCORE_POSTED_MSG#
|
PSN_LEADERBOARD_SCORE_POSTED_MSG#
|
||||||
PSN_TROPHY_INFO_MSG#
|
PSN_TROPHY_INFO_MSG#
|
||||||
PSN_TROPHY_UNLOCKED_MSG#
|
PSN_TROPHY_UNLOCKED_MSG#
|
||||||
PSN_TROPHY_UNLOCK_STATE#
|
PSN_TROPHY_UNLOCK_STATE#
|
||||||
|
|
||||||
psn_np_check_plus(real_time, async, pad_index)
|
psn_np_check_plus(real_time, async, pad_index)
|
||||||
psn_np_commerce_dialog_open(real_time, async, pad_index)
|
psn_np_commerce_dialog_open(real_time, async, pad_index)
|
||||||
psn_np_commerce_dialog_tick()
|
psn_np_commerce_dialog_tick()
|
||||||
psn_np_notify_plus_feature(real_time, async, pad_index)
|
psn_np_notify_plus_feature(real_time, async, pad_index)
|
||||||
psn_set_content_restriction(age)
|
psn_set_content_restriction(age)
|
||||||
psn_load_modules()
|
psn_load_modules()
|
||||||
|
|
||||||
MATCHMAKING_CONNECTION#
|
MATCHMAKING_CONNECTION#
|
||||||
MATCHMAKING_SESSION#
|
MATCHMAKING_SESSION#
|
||||||
|
|
||||||
MATCHMAKING_INVITATION#
|
MATCHMAKING_INVITATION#
|
||||||
PSN_SERVICE_STATE#
|
PSN_SERVICE_STATE#
|
||||||
|
|
||||||
MATCHMAKING_OPERATOR_EQUAL#
|
MATCHMAKING_OPERATOR_EQUAL#
|
||||||
MATCHMAKING_OPERATOR_NOTEQUAL#
|
MATCHMAKING_OPERATOR_NOTEQUAL#
|
||||||
MATCHMAKING_OPERATOR_LESSTHAN#
|
MATCHMAKING_OPERATOR_LESSTHAN#
|
||||||
MATCHMAKING_OPERATOR_LESSTHANOREQUAL#
|
MATCHMAKING_OPERATOR_LESSTHANOREQUAL#
|
||||||
MATCHMAKING_OPERATOR_GREATERTHAN#
|
MATCHMAKING_OPERATOR_GREATERTHAN#
|
||||||
MATCHMAKING_OPERATOR_GREATERTHANOREQUAL#
|
MATCHMAKING_OPERATOR_GREATERTHANOREQUAL#
|
||||||
|
|
||||||
psn_get_tus_data(pad_index, tus_slot_number)
|
psn_get_tus_data(pad_index, tus_slot_number)
|
||||||
psn_set_tus_data(pad_index, tus_slot_number, data_size, data)
|
psn_set_tus_data(pad_index, tus_slot_number, data_size, data)
|
||||||
psn_get_tus_variable(pad_index, tus_slot_number)
|
psn_get_tus_variable(pad_index, tus_slot_number)
|
||||||
psn_set_tus_variable(pad_index, tus_slot_number, data_value)
|
psn_set_tus_variable(pad_index, tus_slot_number, data_value)
|
||||||
psn_delete_tus_data(pad_index, tus_slot_number)
|
psn_delete_tus_data(pad_index, tus_slot_number)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<livearea style="psmobile" format-ver="01.00" content-rev="1">
|
<livearea style="psmobile" format-ver="01.00" content-rev="1">
|
||||||
<livearea-background>
|
<livearea-background>
|
||||||
<image>bg0.png</image>
|
<image>bg0.png</image>
|
||||||
</livearea-background>
|
</livearea-background>
|
||||||
|
|
||||||
<gate>
|
<gate>
|
||||||
<startup-image>startup.png</startup-image>
|
<startup-image>startup.png</startup-image>
|
||||||
</gate>
|
</gate>
|
||||||
|
|
||||||
<frame id="frame1">
|
<frame id="frame1">
|
||||||
</frame>
|
</frame>
|
||||||
|
|
||||||
<frame id="frame2">
|
<frame id="frame2">
|
||||||
</frame>
|
</frame>
|
||||||
|
|
||||||
<frame id="frame3">
|
<frame id="frame3">
|
||||||
</frame>
|
</frame>
|
||||||
|
|
||||||
<frame id="frame4">
|
<frame id="frame4">
|
||||||
</frame>
|
</frame>
|
||||||
|
|
||||||
</livearea>
|
</livearea>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,71 +1,71 @@
|
||||||
namespace GayMaker
|
namespace GayMaker
|
||||||
{
|
{
|
||||||
partial class Update
|
partial class Update
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private System.ComponentModel.IContainer components = null;
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Clean up any resources being used.
|
/// Clean up any resources being used.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
protected override void Dispose(bool disposing)
|
protected override void Dispose(bool disposing)
|
||||||
{
|
{
|
||||||
if (disposing && (components != null))
|
if (disposing && (components != null))
|
||||||
{
|
{
|
||||||
components.Dispose();
|
components.Dispose();
|
||||||
}
|
}
|
||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required method for Designer support - do not modify
|
/// Required method for Designer support - do not modify
|
||||||
/// the contents of this method with the code editor.
|
/// the contents of this method with the code editor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.DownloadProgress = new System.Windows.Forms.ProgressBar();
|
this.DownloadProgress = new System.Windows.Forms.ProgressBar();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// DownloadProgress
|
// DownloadProgress
|
||||||
//
|
//
|
||||||
this.DownloadProgress.Location = new System.Drawing.Point(12, 42);
|
this.DownloadProgress.Location = new System.Drawing.Point(12, 42);
|
||||||
this.DownloadProgress.Name = "DownloadProgress";
|
this.DownloadProgress.Name = "DownloadProgress";
|
||||||
this.DownloadProgress.Size = new System.Drawing.Size(394, 23);
|
this.DownloadProgress.Size = new System.Drawing.Size(394, 23);
|
||||||
this.DownloadProgress.TabIndex = 0;
|
this.DownloadProgress.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.Location = new System.Drawing.Point(12, 9);
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(388, 18);
|
this.label1.Size = new System.Drawing.Size(388, 18);
|
||||||
this.label1.TabIndex = 1;
|
this.label1.TabIndex = 1;
|
||||||
this.label1.Text = "Starting Download";
|
this.label1.Text = "Starting Download";
|
||||||
//
|
//
|
||||||
// Update
|
// Update
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
this.ClientSize = new System.Drawing.Size(418, 97);
|
this.ClientSize = new System.Drawing.Size(418, 97);
|
||||||
this.ControlBox = false;
|
this.ControlBox = false;
|
||||||
this.Controls.Add(this.label1);
|
this.Controls.Add(this.label1);
|
||||||
this.Controls.Add(this.DownloadProgress);
|
this.Controls.Add(this.DownloadProgress);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||||
this.Name = "Update";
|
this.Name = "Update";
|
||||||
this.ShowInTaskbar = false;
|
this.ShowInTaskbar = false;
|
||||||
this.Text = "Update";
|
this.Text = "Update";
|
||||||
this.Load += new System.EventHandler(this.Update_Load);
|
this.Load += new System.EventHandler(this.Update_Load);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.ProgressBar DownloadProgress;
|
private System.Windows.Forms.ProgressBar DownloadProgress;
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,81 +1,81 @@
|
||||||
//IDC that my code is shit:
|
//IDC that my code is shit:
|
||||||
#pragma warning disable IDE1006
|
#pragma warning disable IDE1006
|
||||||
#pragma warning disable IDE0017
|
#pragma warning disable IDE0017
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.IO.Compression;
|
using System.IO.Compression;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Cache;
|
using System.Net.Cache;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GayMaker
|
namespace GayMaker
|
||||||
{
|
{
|
||||||
public partial class Update : Form
|
public partial class Update : Form
|
||||||
{
|
{
|
||||||
public Update()
|
public Update()
|
||||||
{
|
{
|
||||||
//Bypass Windows DPI Scaling
|
//Bypass Windows DPI Scaling
|
||||||
Font = new Font(Font.Name, 8.25f * 96f / CreateGraphics().DpiX, Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);
|
Font = new Font(Font.Name, 8.25f * 96f / CreateGraphics().DpiX, Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void startDownload()
|
private void startDownload()
|
||||||
{
|
{
|
||||||
WebClient wc = new WebClient();
|
WebClient wc = new WebClient();
|
||||||
wc.CachePolicy = new RequestCachePolicy(RequestCacheLevel.NoCacheNoStore);
|
wc.CachePolicy = new RequestCachePolicy(RequestCacheLevel.NoCacheNoStore);
|
||||||
String UpdateString = wc.DownloadString("https://bitbucket.org/SilicaAndPina/gaymaker/raw/master/latest.md");
|
String UpdateString = wc.DownloadString("https://bitbucket.org/SilicaAndPina/gaymaker/raw/master/latest.md");
|
||||||
String[] Data = UpdateString.Split('~');
|
String[] Data = UpdateString.Split('~');
|
||||||
String UpdateUrl = Data[1];
|
String UpdateUrl = Data[1];
|
||||||
wc.Dispose();
|
wc.Dispose();
|
||||||
|
|
||||||
WebClient client = new WebClient();
|
WebClient client = new WebClient();
|
||||||
client.Headers.Add("pragma", "no-cache");
|
client.Headers.Add("pragma", "no-cache");
|
||||||
|
|
||||||
client.DownloadProgressChanged += new DownloadProgressChangedEventHandler(client_DownloadProgressChanged);
|
client.DownloadProgressChanged += new DownloadProgressChangedEventHandler(client_DownloadProgressChanged);
|
||||||
client.DownloadFileCompleted += new AsyncCompletedEventHandler(client_DownloadFileCompleted);
|
client.DownloadFileCompleted += new AsyncCompletedEventHandler(client_DownloadFileCompleted);
|
||||||
client.DownloadFileAsync(new Uri(UpdateUrl),"upgrade.zip");
|
client.DownloadFileAsync(new Uri(UpdateUrl),"upgrade.zip");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void client_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e)
|
private void client_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
label1.Text = "Extracting";
|
label1.Text = "Extracting";
|
||||||
|
|
||||||
String EXEPath = Assembly.GetExecutingAssembly().Location;
|
String EXEPath = Assembly.GetExecutingAssembly().Location;
|
||||||
|
|
||||||
File.Move(EXEPath, Path.ChangeExtension(EXEPath, ".old"));
|
File.Move(EXEPath, Path.ChangeExtension(EXEPath, ".old"));
|
||||||
|
|
||||||
ZipArchive archive = new ZipArchive(File.OpenRead("upgrade.zip"));
|
ZipArchive archive = new ZipArchive(File.OpenRead("upgrade.zip"));
|
||||||
foreach(ZipArchiveEntry file in archive.Entries)
|
foreach(ZipArchiveEntry file in archive.Entries)
|
||||||
{
|
{
|
||||||
if (File.Exists(file.FullName))
|
if (File.Exists(file.FullName))
|
||||||
{
|
{
|
||||||
File.Delete(file.FullName);
|
File.Delete(file.FullName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ZipFile.ExtractToDirectory("upgrade.zip", Path.GetDirectoryName(EXEPath));
|
ZipFile.ExtractToDirectory("upgrade.zip", Path.GetDirectoryName(EXEPath));
|
||||||
|
|
||||||
File.Delete("upgrade.zip");
|
File.Delete("upgrade.zip");
|
||||||
|
|
||||||
Application.Restart();
|
Application.Restart();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void client_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)
|
private void client_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)
|
||||||
{
|
{
|
||||||
DownloadProgress.Value = e.ProgressPercentage;
|
DownloadProgress.Value = e.ProgressPercentage;
|
||||||
label1.Text = "Downloading: " + e.ProgressPercentage + "%";
|
label1.Text = "Downloading: " + e.ProgressPercentage + "%";
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Update_Load(object sender, EventArgs e)
|
private void Update_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
startDownload();
|
startDownload();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,120 +1,120 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<root>
|
<root>
|
||||||
<!--
|
<!--
|
||||||
Microsoft ResX Schema
|
Microsoft ResX Schema
|
||||||
|
|
||||||
Version 2.0
|
Version 2.0
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
The primary goals of this format is to allow a simple XML format
|
||||||
that is mostly human readable. The generation and parsing of the
|
that is mostly human readable. The generation and parsing of the
|
||||||
various data types are done through the TypeConverter classes
|
various data types are done through the TypeConverter classes
|
||||||
associated with the data types.
|
associated with the data types.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
<comment>This is a comment</comment>
|
<comment>This is a comment</comment>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
There are any number of "resheader" rows that contain simple
|
||||||
name/value pairs.
|
name/value pairs.
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
Each data row contains a name, and value. The row also contains a
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
text/value conversion through the TypeConverter architecture.
|
text/value conversion through the TypeConverter architecture.
|
||||||
Classes that don't support this are serialized and stored with the
|
Classes that don't support this are serialized and stored with the
|
||||||
mimetype set.
|
mimetype set.
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
The mimetype is used for serialized objects, and tells the
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
read any of the formats listed below.
|
read any of the formats listed below.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
value : The object must be serialized into a byte array
|
value : The object must be serialized into a byte array
|
||||||
: using a System.ComponentModel.TypeConverter
|
: using a System.ComponentModel.TypeConverter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
-->
|
-->
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:choice maxOccurs="unbounded">
|
<xsd:choice maxOccurs="unbounded">
|
||||||
<xsd:element name="metadata">
|
<xsd:element name="metadata">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
<xsd:attribute ref="xml:space" />
|
<xsd:attribute ref="xml:space" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="assembly">
|
<xsd:element name="assembly">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="data">
|
<xsd:element name="data">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
<xsd:attribute ref="xml:space" />
|
<xsd:attribute ref="xml:space" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="resheader">
|
<xsd:element name="resheader">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:choice>
|
</xsd:choice>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:schema>
|
</xsd:schema>
|
||||||
<resheader name="resmimetype">
|
<resheader name="resmimetype">
|
||||||
<value>text/microsoft-resx</value>
|
<value>text/microsoft-resx</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="version">
|
<resheader name="version">
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<resheader name="reader">
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
</root>
|
</root>
|
|
@ -1,149 +1,149 @@
|
||||||
namespace GayMaker
|
namespace GayMaker
|
||||||
{
|
{
|
||||||
partial class versionManager
|
partial class versionManager
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private System.ComponentModel.IContainer components = null;
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Clean up any resources being used.
|
/// Clean up any resources being used.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
protected override void Dispose(bool disposing)
|
protected override void Dispose(bool disposing)
|
||||||
{
|
{
|
||||||
if (disposing && (components != null))
|
if (disposing && (components != null))
|
||||||
{
|
{
|
||||||
components.Dispose();
|
components.Dispose();
|
||||||
}
|
}
|
||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required method for Designer support - do not modify
|
/// Required method for Designer support - do not modify
|
||||||
/// the contents of this method with the code editor.
|
/// the contents of this method with the code editor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(versionManager));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(versionManager));
|
||||||
this.downloadList = new System.Windows.Forms.ListBox();
|
this.downloadList = new System.Windows.Forms.ListBox();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.downloadVersion = new System.Windows.Forms.Button();
|
this.downloadVersion = new System.Windows.Forms.Button();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.installedList = new System.Windows.Forms.ListBox();
|
this.installedList = new System.Windows.Forms.ListBox();
|
||||||
this.deleteVersion = new System.Windows.Forms.Button();
|
this.deleteVersion = new System.Windows.Forms.Button();
|
||||||
this.DownloadProgress = new System.Windows.Forms.ProgressBar();
|
this.DownloadProgress = new System.Windows.Forms.ProgressBar();
|
||||||
this.Status = new System.Windows.Forms.Label();
|
this.Status = new System.Windows.Forms.Label();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// downloadList
|
// downloadList
|
||||||
//
|
//
|
||||||
this.downloadList.FormattingEnabled = true;
|
this.downloadList.FormattingEnabled = true;
|
||||||
this.downloadList.Location = new System.Drawing.Point(12, 25);
|
this.downloadList.Location = new System.Drawing.Point(12, 25);
|
||||||
this.downloadList.Name = "downloadList";
|
this.downloadList.Name = "downloadList";
|
||||||
this.downloadList.Size = new System.Drawing.Size(458, 186);
|
this.downloadList.Size = new System.Drawing.Size(458, 186);
|
||||||
this.downloadList.TabIndex = 2;
|
this.downloadList.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(9, 9);
|
this.label2.Location = new System.Drawing.Point(9, 9);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(109, 13);
|
this.label2.Size = new System.Drawing.Size(109, 13);
|
||||||
this.label2.TabIndex = 3;
|
this.label2.TabIndex = 3;
|
||||||
this.label2.Text = "Available Downloads:";
|
this.label2.Text = "Available Downloads:";
|
||||||
//
|
//
|
||||||
// downloadVersion
|
// downloadVersion
|
||||||
//
|
//
|
||||||
this.downloadVersion.Location = new System.Drawing.Point(12, 217);
|
this.downloadVersion.Location = new System.Drawing.Point(12, 217);
|
||||||
this.downloadVersion.Name = "downloadVersion";
|
this.downloadVersion.Name = "downloadVersion";
|
||||||
this.downloadVersion.Size = new System.Drawing.Size(458, 23);
|
this.downloadVersion.Size = new System.Drawing.Size(458, 23);
|
||||||
this.downloadVersion.TabIndex = 4;
|
this.downloadVersion.TabIndex = 4;
|
||||||
this.downloadVersion.Text = "Download This Version";
|
this.downloadVersion.Text = "Download This Version";
|
||||||
this.downloadVersion.UseVisualStyleBackColor = true;
|
this.downloadVersion.UseVisualStyleBackColor = true;
|
||||||
this.downloadVersion.Click += new System.EventHandler(this.downloadVersion_Click);
|
this.downloadVersion.Click += new System.EventHandler(this.downloadVersion_Click);
|
||||||
//
|
//
|
||||||
// label3
|
// label3
|
||||||
//
|
//
|
||||||
this.label3.AutoSize = true;
|
this.label3.AutoSize = true;
|
||||||
this.label3.Location = new System.Drawing.Point(12, 288);
|
this.label3.Location = new System.Drawing.Point(12, 288);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(110, 13);
|
this.label3.Size = new System.Drawing.Size(110, 13);
|
||||||
this.label3.TabIndex = 5;
|
this.label3.TabIndex = 5;
|
||||||
this.label3.Text = "Allready Downloaded:";
|
this.label3.Text = "Allready Downloaded:";
|
||||||
//
|
//
|
||||||
// installedList
|
// installedList
|
||||||
//
|
//
|
||||||
this.installedList.FormattingEnabled = true;
|
this.installedList.FormattingEnabled = true;
|
||||||
this.installedList.Items.AddRange(new object[] {
|
this.installedList.Items.AddRange(new object[] {
|
||||||
"1.4.9999"});
|
"1.4.9999"});
|
||||||
this.installedList.Location = new System.Drawing.Point(15, 304);
|
this.installedList.Location = new System.Drawing.Point(15, 304);
|
||||||
this.installedList.Name = "installedList";
|
this.installedList.Name = "installedList";
|
||||||
this.installedList.Size = new System.Drawing.Size(458, 199);
|
this.installedList.Size = new System.Drawing.Size(458, 199);
|
||||||
this.installedList.TabIndex = 6;
|
this.installedList.TabIndex = 6;
|
||||||
//
|
//
|
||||||
// deleteVersion
|
// deleteVersion
|
||||||
//
|
//
|
||||||
this.deleteVersion.Location = new System.Drawing.Point(12, 509);
|
this.deleteVersion.Location = new System.Drawing.Point(12, 509);
|
||||||
this.deleteVersion.Name = "deleteVersion";
|
this.deleteVersion.Name = "deleteVersion";
|
||||||
this.deleteVersion.Size = new System.Drawing.Size(458, 23);
|
this.deleteVersion.Size = new System.Drawing.Size(458, 23);
|
||||||
this.deleteVersion.TabIndex = 7;
|
this.deleteVersion.TabIndex = 7;
|
||||||
this.deleteVersion.Text = "Delete This Version";
|
this.deleteVersion.Text = "Delete This Version";
|
||||||
this.deleteVersion.UseVisualStyleBackColor = true;
|
this.deleteVersion.UseVisualStyleBackColor = true;
|
||||||
this.deleteVersion.Click += new System.EventHandler(this.deleteVersion_Click);
|
this.deleteVersion.Click += new System.EventHandler(this.deleteVersion_Click);
|
||||||
//
|
//
|
||||||
// DownloadProgress
|
// DownloadProgress
|
||||||
//
|
//
|
||||||
this.DownloadProgress.Location = new System.Drawing.Point(12, 259);
|
this.DownloadProgress.Location = new System.Drawing.Point(12, 259);
|
||||||
this.DownloadProgress.Name = "DownloadProgress";
|
this.DownloadProgress.Name = "DownloadProgress";
|
||||||
this.DownloadProgress.Size = new System.Drawing.Size(461, 23);
|
this.DownloadProgress.Size = new System.Drawing.Size(461, 23);
|
||||||
this.DownloadProgress.TabIndex = 8;
|
this.DownloadProgress.TabIndex = 8;
|
||||||
//
|
//
|
||||||
// Status
|
// Status
|
||||||
//
|
//
|
||||||
this.Status.Location = new System.Drawing.Point(12, 243);
|
this.Status.Location = new System.Drawing.Point(12, 243);
|
||||||
this.Status.Name = "Status";
|
this.Status.Name = "Status";
|
||||||
this.Status.Size = new System.Drawing.Size(458, 13);
|
this.Status.Size = new System.Drawing.Size(458, 13);
|
||||||
this.Status.TabIndex = 9;
|
this.Status.TabIndex = 9;
|
||||||
this.Status.Text = "Waiting";
|
this.Status.Text = "Waiting";
|
||||||
//
|
//
|
||||||
// versionManager
|
// versionManager
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
this.ClientSize = new System.Drawing.Size(485, 544);
|
this.ClientSize = new System.Drawing.Size(485, 544);
|
||||||
this.Controls.Add(this.Status);
|
this.Controls.Add(this.Status);
|
||||||
this.Controls.Add(this.DownloadProgress);
|
this.Controls.Add(this.DownloadProgress);
|
||||||
this.Controls.Add(this.deleteVersion);
|
this.Controls.Add(this.deleteVersion);
|
||||||
this.Controls.Add(this.installedList);
|
this.Controls.Add(this.installedList);
|
||||||
this.Controls.Add(this.label3);
|
this.Controls.Add(this.label3);
|
||||||
this.Controls.Add(this.downloadVersion);
|
this.Controls.Add(this.downloadVersion);
|
||||||
this.Controls.Add(this.label2);
|
this.Controls.Add(this.label2);
|
||||||
this.Controls.Add(this.downloadList);
|
this.Controls.Add(this.downloadList);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.MinimizeBox = false;
|
this.MinimizeBox = false;
|
||||||
this.Name = "versionManager";
|
this.Name = "versionManager";
|
||||||
this.ShowInTaskbar = false;
|
this.ShowInTaskbar = false;
|
||||||
this.Text = "GameMaker Studio Version Manager";
|
this.Text = "GameMaker Studio Version Manager";
|
||||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.versionManager_FormClosing);
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.versionManager_FormClosing);
|
||||||
this.Load += new System.EventHandler(this.versionManager_Load);
|
this.Load += new System.EventHandler(this.versionManager_Load);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
private System.Windows.Forms.ListBox downloadList;
|
private System.Windows.Forms.ListBox downloadList;
|
||||||
private System.Windows.Forms.Label label2;
|
private System.Windows.Forms.Label label2;
|
||||||
private System.Windows.Forms.Button downloadVersion;
|
private System.Windows.Forms.Button downloadVersion;
|
||||||
private System.Windows.Forms.Label label3;
|
private System.Windows.Forms.Label label3;
|
||||||
private System.Windows.Forms.ListBox installedList;
|
private System.Windows.Forms.ListBox installedList;
|
||||||
private System.Windows.Forms.Button deleteVersion;
|
private System.Windows.Forms.Button deleteVersion;
|
||||||
private System.Windows.Forms.ProgressBar DownloadProgress;
|
private System.Windows.Forms.ProgressBar DownloadProgress;
|
||||||
private System.Windows.Forms.Label Status;
|
private System.Windows.Forms.Label Status;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,375 +1,375 @@
|
||||||
//IDC that my code is shit:
|
//IDC that my code is shit:
|
||||||
#pragma warning disable IDE1006
|
#pragma warning disable IDE1006
|
||||||
#pragma warning disable IDE0017
|
#pragma warning disable IDE0017
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Ionic.Zip;
|
using Ionic.Zip;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Cache;
|
using System.Net.Cache;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
namespace GayMaker
|
namespace GayMaker
|
||||||
{
|
{
|
||||||
public partial class versionManager : Form
|
public partial class versionManager : Form
|
||||||
{
|
{
|
||||||
private void CopyDir(string source, string target)
|
private void CopyDir(string source, string target)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!Directory.Exists(target)) Directory.CreateDirectory(target);
|
if (!Directory.Exists(target)) Directory.CreateDirectory(target);
|
||||||
string[] sysEntries = Directory.GetFileSystemEntries(source);
|
string[] sysEntries = Directory.GetFileSystemEntries(source);
|
||||||
|
|
||||||
foreach (string sysEntry in sysEntries)
|
foreach (string sysEntry in sysEntries)
|
||||||
{
|
{
|
||||||
string fileName = Path.GetFileName(sysEntry);
|
string fileName = Path.GetFileName(sysEntry);
|
||||||
string targetPath = Path.Combine(target, fileName);
|
string targetPath = Path.Combine(target, fileName);
|
||||||
if (Directory.Exists(sysEntry))
|
if (Directory.Exists(sysEntry))
|
||||||
CopyDir(sysEntry, targetPath);
|
CopyDir(sysEntry, targetPath);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
File.Copy(sysEntry, targetPath, true);
|
File.Copy(sysEntry, targetPath, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
String[] Versions = { "1.4.1464", "1.4.1468", "1.4.1469", "1.4.1470", "1.4.1474", "1.4.1495", "1.4.1496", "1.4.1499", "1.4.1514", "1.4.1522", "1.4.1542", "1.4.1556", "1.4.1565", "1.4.1567", "1.4.1598", "1.4.1629", "1.4.1657", "1.4.1675", "1.4.1683", "1.4.1690", "1.4.1711", "1.4.1747", "1.4.1749", "1.4.1757", "1.4.1760", "1.4.1763", "1.4.1767", "1.4.1772", "1.4.1773", "1.4.1788", "1.4.1804", "1.99.505", "1.99.525", "1.99.533", "1.99.548", "1.99.549", "1.99.550", "1.99.551" };
|
String[] Versions = { "1.4.1464", "1.4.1468", "1.4.1469", "1.4.1470", "1.4.1474", "1.4.1495", "1.4.1496", "1.4.1499", "1.4.1514", "1.4.1522", "1.4.1542", "1.4.1556", "1.4.1565", "1.4.1567", "1.4.1598", "1.4.1629", "1.4.1657", "1.4.1675", "1.4.1683", "1.4.1690", "1.4.1711", "1.4.1747", "1.4.1749", "1.4.1757", "1.4.1760", "1.4.1763", "1.4.1767", "1.4.1772", "1.4.1773", "1.4.1788", "1.4.1804", "1.99.505", "1.99.525", "1.99.533", "1.99.548", "1.99.549", "1.99.550", "1.99.551" };
|
||||||
String[] VitaUrls = { "https://updater.yoyogames.com/api/download/psvita/71880e2e-e496-449f-9211-1a700f198335.zip", "https://updater.yoyogames.com/api/download/psvita/fb89b27d-7a56-4cdd-adbc-3b8e62ca2cc3.zip", "https://updater.yoyogames.com/api/download/psvita/da46f54f-5c00-4094-a26e-349035ae01a7.zip", "https://updater.yoyogames.com/api/download/psvita/c1761a9d-6420-44d0-835e-f3365e20a5ab.zip", "https://updater.yoyogames.com/api/download/psvita/aa7f0e02-6b9d-4d6f-8127-f4916d84c8fa.zip", "https://updater.yoyogames.com/api/download/psvita/8e7a116a-3518-482b-9d68-dc70aafa9772.zip", "https://updater.yoyogames.com/api/download/psvita/b5a773c3-8c81-4d50-937f-f2037dd6949a.zip", "https://updater.yoyogames.com/api/download/psvita/652004f6-4ba0-4779-93a9-3e8eacf31928.zip", "https://updater.yoyogames.com/api/download/psvita/e462256c-bed3-4301-9340-af428a41ba50.zip", "https://updater.yoyogames.com/api/download/psvita/59cca874-7bc7-426e-8535-434aa6dfc813.zip", "https://updater.yoyogames.com/api/download/psvita/4e51d1b5-3849-4cf4-86c6-d6b81bcf4e46.zip", "https://updater.yoyogames.com/api/download/psvita/53456f90-c66d-4b44-aa0d-db6e1d37e376.zip", "https://updater.yoyogames.com/api/download/psvita/bd1d4e64-5543-41ef-b0b6-94f3b5c377ac.zip", "https://updater.yoyogames.com/api/download/psvita/de15be40-b8e9-496a-aadb-46c3ea69e93c.zip", "https://updater.yoyogames.com/api/download/psvita/faf56e92-16f8-447b-a2a1-acbbbc31a659.zip", "https://updater.yoyogames.com/api/download/psvita/1a13f8d4-d9a6-43e4-b5cf-a2396fb1103c.zip", "https://updater.yoyogames.com/api/download/psvita/6dbeddb8-1468-4a2e-9c98-cc0117526c52.zip", "https://updater.yoyogames.com/api/download/psvita/18500239-c6cb-431f-9478-969bc5aa7e45.zip", "https://updater.yoyogames.com/api/download/psvita/9f4441e4-d72a-491c-9061-23db81308616.zip", "https://updater.yoyogames.com/api/download/psvita/640b0323-88f2-4e94-bb07-97034777a305.zip", "https://updater.yoyogames.com/api/download/psvita/52cfe6e4-9d4a-43a0-bfba-a38802b96be6.zip", "https://updater.yoyogames.com/api/download/psvita/501d070a-c53a-40a7-bf06-558161b77b30.zip", "https://updater.yoyogames.com/api/download/psvita/a7d57b1e-24dc-4e61-b402-9ec845cbb098.zip", "https://updater.yoyogames.com/api/download/psvita/dc390c15-b2de-494b-8031-651efee2020e.zip", "https://updater.yoyogames.com/api/download/psvita/213f252a-aa11-49fb-96e7-91b9242fad29.zip", "https://updater.yoyogames.com/api/download/psvita/0c23316a-f349-42f7-b267-59033632a77c.zip", "https://updater.yoyogames.com/api/download/psvita/58e19718-61a1-4be7-811b-b7558925d7ed.zip", "https://updater.yoyogames.com/api/download/psvita/95c61747-1ed2-4ec3-8ea0-037430417b34.zip", "https://updater.yoyogames.com/api/download/psvita/5fd1304c-42be-4d09-9359-4165a4d39591.zip", "https://updater.yoyogames.com/api/download/psvita/c9f28194-5994-459e-8218-b3bf45ddf1e0.zip", "https://updater.yoyogames.com/api/download/psvita/f8d08841-b6ae-4e34-a3d6-67407c4343b5.zip", "https://updater.yoyogames.com/api/download/psvita/09b42fab-6da7-4fe9-a60d-44e29fe6cf9a.zip", "https://updater.yoyogames.com/api/download/psvita/2dd4b46f-7a4e-4234-933c-1bcf0e34523e.zip", "https://updater.yoyogames.com/api/download/psvita/4b9f6329-4552-46d5-a401-e9f0d9c2a230.zip", "https://updater.yoyogames.com/api/download/psvita/77244b67-7e41-4f28-b83a-019f06739f9e.zip", "https://updater.yoyogames.com/api/download/psvita/b392e1d2-c431-4baa-9235-2dd1e95fc383.zip", "https://updater.yoyogames.com/api/download/psvita/afd82c60-daf5-4052-b785-a8327e8e509b.zip", "https://updater.yoyogames.com/api/download/psvita/a770d6eb-bf78-4ff6-8065-03ae79cda515.zip" };
|
String[] VitaUrls = { "https://updater.yoyogames.com/api/download/psvita/71880e2e-e496-449f-9211-1a700f198335.zip", "https://updater.yoyogames.com/api/download/psvita/fb89b27d-7a56-4cdd-adbc-3b8e62ca2cc3.zip", "https://updater.yoyogames.com/api/download/psvita/da46f54f-5c00-4094-a26e-349035ae01a7.zip", "https://updater.yoyogames.com/api/download/psvita/c1761a9d-6420-44d0-835e-f3365e20a5ab.zip", "https://updater.yoyogames.com/api/download/psvita/aa7f0e02-6b9d-4d6f-8127-f4916d84c8fa.zip", "https://updater.yoyogames.com/api/download/psvita/8e7a116a-3518-482b-9d68-dc70aafa9772.zip", "https://updater.yoyogames.com/api/download/psvita/b5a773c3-8c81-4d50-937f-f2037dd6949a.zip", "https://updater.yoyogames.com/api/download/psvita/652004f6-4ba0-4779-93a9-3e8eacf31928.zip", "https://updater.yoyogames.com/api/download/psvita/e462256c-bed3-4301-9340-af428a41ba50.zip", "https://updater.yoyogames.com/api/download/psvita/59cca874-7bc7-426e-8535-434aa6dfc813.zip", "https://updater.yoyogames.com/api/download/psvita/4e51d1b5-3849-4cf4-86c6-d6b81bcf4e46.zip", "https://updater.yoyogames.com/api/download/psvita/53456f90-c66d-4b44-aa0d-db6e1d37e376.zip", "https://updater.yoyogames.com/api/download/psvita/bd1d4e64-5543-41ef-b0b6-94f3b5c377ac.zip", "https://updater.yoyogames.com/api/download/psvita/de15be40-b8e9-496a-aadb-46c3ea69e93c.zip", "https://updater.yoyogames.com/api/download/psvita/faf56e92-16f8-447b-a2a1-acbbbc31a659.zip", "https://updater.yoyogames.com/api/download/psvita/1a13f8d4-d9a6-43e4-b5cf-a2396fb1103c.zip", "https://updater.yoyogames.com/api/download/psvita/6dbeddb8-1468-4a2e-9c98-cc0117526c52.zip", "https://updater.yoyogames.com/api/download/psvita/18500239-c6cb-431f-9478-969bc5aa7e45.zip", "https://updater.yoyogames.com/api/download/psvita/9f4441e4-d72a-491c-9061-23db81308616.zip", "https://updater.yoyogames.com/api/download/psvita/640b0323-88f2-4e94-bb07-97034777a305.zip", "https://updater.yoyogames.com/api/download/psvita/52cfe6e4-9d4a-43a0-bfba-a38802b96be6.zip", "https://updater.yoyogames.com/api/download/psvita/501d070a-c53a-40a7-bf06-558161b77b30.zip", "https://updater.yoyogames.com/api/download/psvita/a7d57b1e-24dc-4e61-b402-9ec845cbb098.zip", "https://updater.yoyogames.com/api/download/psvita/dc390c15-b2de-494b-8031-651efee2020e.zip", "https://updater.yoyogames.com/api/download/psvita/213f252a-aa11-49fb-96e7-91b9242fad29.zip", "https://updater.yoyogames.com/api/download/psvita/0c23316a-f349-42f7-b267-59033632a77c.zip", "https://updater.yoyogames.com/api/download/psvita/58e19718-61a1-4be7-811b-b7558925d7ed.zip", "https://updater.yoyogames.com/api/download/psvita/95c61747-1ed2-4ec3-8ea0-037430417b34.zip", "https://updater.yoyogames.com/api/download/psvita/5fd1304c-42be-4d09-9359-4165a4d39591.zip", "https://updater.yoyogames.com/api/download/psvita/c9f28194-5994-459e-8218-b3bf45ddf1e0.zip", "https://updater.yoyogames.com/api/download/psvita/f8d08841-b6ae-4e34-a3d6-67407c4343b5.zip", "https://updater.yoyogames.com/api/download/psvita/09b42fab-6da7-4fe9-a60d-44e29fe6cf9a.zip", "https://updater.yoyogames.com/api/download/psvita/2dd4b46f-7a4e-4234-933c-1bcf0e34523e.zip", "https://updater.yoyogames.com/api/download/psvita/4b9f6329-4552-46d5-a401-e9f0d9c2a230.zip", "https://updater.yoyogames.com/api/download/psvita/77244b67-7e41-4f28-b83a-019f06739f9e.zip", "https://updater.yoyogames.com/api/download/psvita/b392e1d2-c431-4baa-9235-2dd1e95fc383.zip", "https://updater.yoyogames.com/api/download/psvita/afd82c60-daf5-4052-b785-a8327e8e509b.zip", "https://updater.yoyogames.com/api/download/psvita/a770d6eb-bf78-4ff6-8065-03ae79cda515.zip" };
|
||||||
String[] Passwords = { "YJYDyTRu//reGTDMRtvqeA==", "qF5w5XngIlsjfF+Lgjvddg==", "HKMg1V1AJRyp4+fIpZe43Q==", "0fWronXzSHo0N3vP1OhXkw==", "mcUqbOFUxmKN/kfz0uczhA==", "Jo27hTbHw/fwIn6FWVyIiw==", "d0buqe+qJ7PoJ/+pO8UO8g==", "Psz0UkA3muQV9s+sJXQyyw==", "g7X4CTCE2P7zjHQjlUJjhg==", "VnKXoy+yOI1qt3ozXFW+VA==", "Wg4noeglJDRfAvzdHFMPAg==", "qzH9EbGL+EiQWERbAj63Hg==", "2l9hlMtrgVsXssl6BwGaaQ==", "pu05nMHNyzUYry9kF7WFdw==", "jM6jCc+Pr3muL/r+MXrJGQ==", "LdxwOYgTuC3kkPBHscNWZQ==", "eqJM94iGbbBsIA7iMCbCzg==", "nus0kqTASRp4r+cZQz4dHA==", "gXxOQ/hMdAG5XDnmzwRJBA==", "B8Yn0JHxXkE+q8DfboNZsw==", "2ZoimLxEz/Na7zoZnmQjbg==", "ftW7sk7jsT3tv09qQiOg9A==", "jvEhtQpW6yqRL0HLrU/k5w==", "9GsaUhrUn69As/n0hjyrDg==", "Xc13EtzfcI0wBdB46T8bCg==", "8ItorzszZnkr+AMeqvKt/g==", "z7jo2sFobX4wjv9sbokX5g==", "bfsOB+ih0Voayb+xuD+hmg==", "O8e/g0v8bnmVaxP0Mj+lTQ==", "CoUKbUNjJhUhN2Nis2Ofng==", "mnRXlyAzJDLXCk9xi5frmA==", "f+cjma9wcRLTqDBd5mpAgQ==", "WieG/fzWg+zksBrzMH0n0A==", "khCX7Bp6xPt9NdbhVMXzKg==", "AyvTY0JjJ8FcH93GNsqaMQ==", "hncejwoHFaVYgT4iQ1pKgg==", "DLP9sUfmMgcZ+q0BIncr8A==", "Z1E5Ad1HzQe9EzTuA7fbjg==" };
|
String[] Passwords = { "YJYDyTRu//reGTDMRtvqeA==", "qF5w5XngIlsjfF+Lgjvddg==", "HKMg1V1AJRyp4+fIpZe43Q==", "0fWronXzSHo0N3vP1OhXkw==", "mcUqbOFUxmKN/kfz0uczhA==", "Jo27hTbHw/fwIn6FWVyIiw==", "d0buqe+qJ7PoJ/+pO8UO8g==", "Psz0UkA3muQV9s+sJXQyyw==", "g7X4CTCE2P7zjHQjlUJjhg==", "VnKXoy+yOI1qt3ozXFW+VA==", "Wg4noeglJDRfAvzdHFMPAg==", "qzH9EbGL+EiQWERbAj63Hg==", "2l9hlMtrgVsXssl6BwGaaQ==", "pu05nMHNyzUYry9kF7WFdw==", "jM6jCc+Pr3muL/r+MXrJGQ==", "LdxwOYgTuC3kkPBHscNWZQ==", "eqJM94iGbbBsIA7iMCbCzg==", "nus0kqTASRp4r+cZQz4dHA==", "gXxOQ/hMdAG5XDnmzwRJBA==", "B8Yn0JHxXkE+q8DfboNZsw==", "2ZoimLxEz/Na7zoZnmQjbg==", "ftW7sk7jsT3tv09qQiOg9A==", "jvEhtQpW6yqRL0HLrU/k5w==", "9GsaUhrUn69As/n0hjyrDg==", "Xc13EtzfcI0wBdB46T8bCg==", "8ItorzszZnkr+AMeqvKt/g==", "z7jo2sFobX4wjv9sbokX5g==", "bfsOB+ih0Voayb+xuD+hmg==", "O8e/g0v8bnmVaxP0Mj+lTQ==", "CoUKbUNjJhUhN2Nis2Ofng==", "mnRXlyAzJDLXCk9xi5frmA==", "f+cjma9wcRLTqDBd5mpAgQ==", "WieG/fzWg+zksBrzMH0n0A==", "khCX7Bp6xPt9NdbhVMXzKg==", "AyvTY0JjJ8FcH93GNsqaMQ==", "hncejwoHFaVYgT4iQ1pKgg==", "DLP9sUfmMgcZ+q0BIncr8A==", "Z1E5Ad1HzQe9EzTuA7fbjg==" };
|
||||||
|
|
||||||
String[] ProUrls = { "https://updater.yoyogames.com/api/download/pro/2aa95d44-cf9e-4a58-9d09-2a240bae2590.zip", "https://updater.yoyogames.com/api/download/pro/9c06dd3b-8105-4637-b720-93dbc7de7e7b.zip", "https://updater.yoyogames.com/api/download/pro/ea4c8359-2755-43b0-8c8c-21028d2e926f.zip", "https://updater.yoyogames.com/api/download/pro/34146826-64be-4ae2-b2ea-3d405f521bf4.zip", "https://updater.yoyogames.com/api/download/pro/7e1b4a27-c4cc-433a-a6cd-790c8370f69e.zip", "https://updater.yoyogames.com/api/download/pro/7ddfcb90-6d15-4593-9310-7effd86d5c5f.zip", "https://updater.yoyogames.com/api/download/pro/60809534-d886-4134-9b39-4f2a4b2d5417.zip", "https://updater.yoyogames.com/api/download/pro/7068d83c-5105-4e38-97cd-c8589ba995ac.zip", "https://updater.yoyogames.com/api/download/pro/e1c7104b-b79e-4f62-88b9-f5422b3a0062.zip", "https://updater.yoyogames.com/api/download/pro/8a2fadd8-9cbb-4c8b-b36d-34155a8b8366.zip", "https://updater.yoyogames.com/api/download/pro/422d570d-c0ba-46b1-90c6-96d4bb097198.zip", "https://updater.yoyogames.com/api/download/pro/3b8df5a4-61d3-42b2-8131-a7e3276a9d45.zip", "https://updater.yoyogames.com/api/download/pro/67808b11-d116-4f3b-9743-c3c56ca3fa11.zip", "https://updater.yoyogames.com/api/download/pro/0e138e3d-9f09-4a9e-9bb1-75de9dc35247.zip", "https://updater.yoyogames.com/api/download/pro/40d52eaf-d50e-46b0-b183-d45dea5fd1d3.zip", "https://updater.yoyogames.com/api/download/pro/015e9bdc-7e99-4815-a630-c2cb7fbad2bc.zip", "https://updater.yoyogames.com/api/download/pro/3c5ffb88-cc42-41e2-9365-2a3cd19f9f1c.zip", "https://updater.yoyogames.com/api/download/pro/e8a82731-30b9-4cbd-bb4a-23adb65918d7.zip", "https://updater.yoyogames.com/api/download/pro/951d162a-98a3-482b-b650-584c1b40638f.zip", "https://updater.yoyogames.com/api/download/pro/0acfc6df-06d8-4f58-9496-7a38c20c4efb.zip", "https://updater.yoyogames.com/api/download/pro/10ab3c1c-b1ee-4d80-90d2-0c189c508429.zip", "https://updater.yoyogames.com/api/download/pro/6df40635-9cf0-4ecb-9171-72ad3ecf96fe.zip", "https://updater.yoyogames.com/api/download/pro/86f8bf2a-8d70-4eb5-bd83-a2f2eb92bc7a.zip", "https://updater.yoyogames.com/api/download/pro/e703ba9b-b315-4b6a-b13b-5b0e2c816447.zip", "https://updater.yoyogames.com/api/download/pro/69966fb5-e022-4c9d-8c91-e5b82433fdbf.zip", "https://updater.yoyogames.com/api/download/pro/7ab65890-a469-41d4-b911-71b0ec18130c.zip", "https://updater.yoyogames.com/api/download/pro/1dcde91f-266a-4f83-b6aa-ae52706d11de.zip", "https://updater.yoyogames.com/api/download/pro/0f7d7ae9-c0ec-4518-867d-835b5657c301.zip", "https://updater.yoyogames.com/api/download/pro/4bf55408-2de9-426d-973c-27f8ffb25982.zip", "https://updater.yoyogames.com/api/download/pro/c132db45-6b5b-4dae-8a67-577bd8a3c77b.zip", "https://updater.yoyogames.com/api/download/pro/c7d823f5-9b53-4f23-8cfa-133814ae1d18.zip", "https://updater.yoyogames.com/api/download/pro/d7ebbb34-ee04-41b0-9d43-a751fd5c77e8.zip", "https://updater.yoyogames.com/api/download/pro/15d3bece-ebb8-49e9-b2ef-9a3eb8c0976a.zip", "https://updater.yoyogames.com/api/download/pro/7dfa06f9-ea44-4932-89fe-9efdaf0ba5c7.zip", "https://updater.yoyogames.com/api/download/pro/5fe561c7-a8b1-4cc3-9839-08268a1c6031.zip", "https://updater.yoyogames.com/api/download/pro/532013db-efb3-4227-81a4-36b6d8cb9029.zip", "https://updater.yoyogames.com/api/download/pro/7f485047-6575-476a-94f0-c27776664543.zip", "https://updater.yoyogames.com/api/download/pro/aa180c74-2b1c-4bc1-98b9-304394f8619d.zip", "https://updater.yoyogames.com/api/download/pro/82d49e93-c0e3-470e-8a5d-4bf3cd1db7db.zip", "https://updater.yoyogames.com/api/download/pro/15d3bece-ebb8-49e9-b2ef-9a3eb8c0976a.zip", "https://updater.yoyogames.com/api/download/pro/7dfa06f9-ea44-4932-89fe-9efdaf0ba5c7.zip", "https://updater.yoyogames.com/api/download/pro/5fe561c7-a8b1-4cc3-9839-08268a1c6031.zip", "https://updater.yoyogames.com/api/download/pro/532013db-efb3-4227-81a4-36b6d8cb9029.zip", "https://updater.yoyogames.com/api/download/pro/7f485047-6575-476a-94f0-c27776664543.zip", "https://updater.yoyogames.com/api/download/pro/aa180c74-2b1c-4bc1-98b9-304394f8619d.zip", "https://updater.yoyogames.com/api/download/pro/82d49e93-c0e3-470e-8a5d-4bf3cd1db7db.zip" };
|
String[] ProUrls = { "https://updater.yoyogames.com/api/download/pro/2aa95d44-cf9e-4a58-9d09-2a240bae2590.zip", "https://updater.yoyogames.com/api/download/pro/9c06dd3b-8105-4637-b720-93dbc7de7e7b.zip", "https://updater.yoyogames.com/api/download/pro/ea4c8359-2755-43b0-8c8c-21028d2e926f.zip", "https://updater.yoyogames.com/api/download/pro/34146826-64be-4ae2-b2ea-3d405f521bf4.zip", "https://updater.yoyogames.com/api/download/pro/7e1b4a27-c4cc-433a-a6cd-790c8370f69e.zip", "https://updater.yoyogames.com/api/download/pro/7ddfcb90-6d15-4593-9310-7effd86d5c5f.zip", "https://updater.yoyogames.com/api/download/pro/60809534-d886-4134-9b39-4f2a4b2d5417.zip", "https://updater.yoyogames.com/api/download/pro/7068d83c-5105-4e38-97cd-c8589ba995ac.zip", "https://updater.yoyogames.com/api/download/pro/e1c7104b-b79e-4f62-88b9-f5422b3a0062.zip", "https://updater.yoyogames.com/api/download/pro/8a2fadd8-9cbb-4c8b-b36d-34155a8b8366.zip", "https://updater.yoyogames.com/api/download/pro/422d570d-c0ba-46b1-90c6-96d4bb097198.zip", "https://updater.yoyogames.com/api/download/pro/3b8df5a4-61d3-42b2-8131-a7e3276a9d45.zip", "https://updater.yoyogames.com/api/download/pro/67808b11-d116-4f3b-9743-c3c56ca3fa11.zip", "https://updater.yoyogames.com/api/download/pro/0e138e3d-9f09-4a9e-9bb1-75de9dc35247.zip", "https://updater.yoyogames.com/api/download/pro/40d52eaf-d50e-46b0-b183-d45dea5fd1d3.zip", "https://updater.yoyogames.com/api/download/pro/015e9bdc-7e99-4815-a630-c2cb7fbad2bc.zip", "https://updater.yoyogames.com/api/download/pro/3c5ffb88-cc42-41e2-9365-2a3cd19f9f1c.zip", "https://updater.yoyogames.com/api/download/pro/e8a82731-30b9-4cbd-bb4a-23adb65918d7.zip", "https://updater.yoyogames.com/api/download/pro/951d162a-98a3-482b-b650-584c1b40638f.zip", "https://updater.yoyogames.com/api/download/pro/0acfc6df-06d8-4f58-9496-7a38c20c4efb.zip", "https://updater.yoyogames.com/api/download/pro/10ab3c1c-b1ee-4d80-90d2-0c189c508429.zip", "https://updater.yoyogames.com/api/download/pro/6df40635-9cf0-4ecb-9171-72ad3ecf96fe.zip", "https://updater.yoyogames.com/api/download/pro/86f8bf2a-8d70-4eb5-bd83-a2f2eb92bc7a.zip", "https://updater.yoyogames.com/api/download/pro/e703ba9b-b315-4b6a-b13b-5b0e2c816447.zip", "https://updater.yoyogames.com/api/download/pro/69966fb5-e022-4c9d-8c91-e5b82433fdbf.zip", "https://updater.yoyogames.com/api/download/pro/7ab65890-a469-41d4-b911-71b0ec18130c.zip", "https://updater.yoyogames.com/api/download/pro/1dcde91f-266a-4f83-b6aa-ae52706d11de.zip", "https://updater.yoyogames.com/api/download/pro/0f7d7ae9-c0ec-4518-867d-835b5657c301.zip", "https://updater.yoyogames.com/api/download/pro/4bf55408-2de9-426d-973c-27f8ffb25982.zip", "https://updater.yoyogames.com/api/download/pro/c132db45-6b5b-4dae-8a67-577bd8a3c77b.zip", "https://updater.yoyogames.com/api/download/pro/c7d823f5-9b53-4f23-8cfa-133814ae1d18.zip", "https://updater.yoyogames.com/api/download/pro/d7ebbb34-ee04-41b0-9d43-a751fd5c77e8.zip", "https://updater.yoyogames.com/api/download/pro/15d3bece-ebb8-49e9-b2ef-9a3eb8c0976a.zip", "https://updater.yoyogames.com/api/download/pro/7dfa06f9-ea44-4932-89fe-9efdaf0ba5c7.zip", "https://updater.yoyogames.com/api/download/pro/5fe561c7-a8b1-4cc3-9839-08268a1c6031.zip", "https://updater.yoyogames.com/api/download/pro/532013db-efb3-4227-81a4-36b6d8cb9029.zip", "https://updater.yoyogames.com/api/download/pro/7f485047-6575-476a-94f0-c27776664543.zip", "https://updater.yoyogames.com/api/download/pro/aa180c74-2b1c-4bc1-98b9-304394f8619d.zip", "https://updater.yoyogames.com/api/download/pro/82d49e93-c0e3-470e-8a5d-4bf3cd1db7db.zip", "https://updater.yoyogames.com/api/download/pro/15d3bece-ebb8-49e9-b2ef-9a3eb8c0976a.zip", "https://updater.yoyogames.com/api/download/pro/7dfa06f9-ea44-4932-89fe-9efdaf0ba5c7.zip", "https://updater.yoyogames.com/api/download/pro/5fe561c7-a8b1-4cc3-9839-08268a1c6031.zip", "https://updater.yoyogames.com/api/download/pro/532013db-efb3-4227-81a4-36b6d8cb9029.zip", "https://updater.yoyogames.com/api/download/pro/7f485047-6575-476a-94f0-c27776664543.zip", "https://updater.yoyogames.com/api/download/pro/aa180c74-2b1c-4bc1-98b9-304394f8619d.zip", "https://updater.yoyogames.com/api/download/pro/82d49e93-c0e3-470e-8a5d-4bf3cd1db7db.zip" };
|
||||||
String[] ProPasswords = { "w8LU7n7qL/TTKYZ50Y+GJA==", "1a1kbg/He96W1kXu5MUtSw==", "cyUh9CJIX3fgyuugcqBgWw==", "yrMrZw1Nd5vgItLAMWWsWw==", "kp4xpA/K5cOuy9NefH6OiQ==", "j1eACYo4HFD8QgXLSc+WWA==", "CnIc2NJgxxf9CnvI2Jk1jg==", "AcyXSwl+I9HJXGW3lqr+wA==", "638Ow1jt7Fx1IzbZ91ZLUw==", "b56/tGBLlwj1aBS36ojAuw==", "UZnpjFq2a23rWg8OdTbOWw==", "pdpcCRrvm4NDK0Ak1V0KDw==", "csw6SBPb3FeJ+awgZVTJIA==", "QigzRUrPh6a1cruYfJIMSg==", "fk5N0e4Z4SNXwjaG3hTfbw==", "6knIcKZmICifwDFkPqnCiQ==", "DME9DhhFSmGQ4m+nSfXNew==", "r/XHptEBE+h2vU1aR9zZ6w==", "F/9CW15HDFGv9I/WLLBtJw==", "8lfa+wgkHFkJ9Eg6yXoB6w==", "gguQVlH7ZGIfbtKIY3YZbA==", "16I2d9EyM2j/zVyQmh3uxg==", "4O3W3Ih5MDgjEhSXlNSmtw==", "3COCVXB99MmOkp2CLddzmA==", "2ObB6N0sIVzBd76ysXC3Vg==", "4ZfC1NtXipOJPaF0m9UWHA==", "8xokrO5dadWdbTJkGmBF+w==", "RFR+3IEW+K9Q4SDndIaJGQ==", "QM3DGdmPRpwB7viZe85MUg==", "qF34ZrOIzWhOXBABarMAHg==", "GeAcP5ZmDHta/n7AO0vwYg==", "AR5cF7r65VTU8TThe6quaQ==", "cYc1VtX2k+oScURpEbyjRg==", "PJQAvameW9Mw9JY3FhW37A==", "yKJqh2+YvmwqXFThnJ6WtA==", "lzVJHoz+3J22cAKqS0kB1w==", "m7UQ8DLCMwnS+eOjgPkeYA==", "K25ONcZeWZ6Hj2QZhFiurQ==", "hQCOwIqppCXZ4TNlyEs9Ag==", "cYc1VtX2k+oScURpEbyjRg==", "PJQAvameW9Mw9JY3FhW37A==", "yKJqh2+YvmwqXFThnJ6WtA==", "lzVJHoz+3J22cAKqS0kB1w==", "m7UQ8DLCMwnS+eOjgPkeYA==", "K25ONcZeWZ6Hj2QZhFiurQ==", "hQCOwIqppCXZ4TNlyEs9Ag==" };
|
String[] ProPasswords = { "w8LU7n7qL/TTKYZ50Y+GJA==", "1a1kbg/He96W1kXu5MUtSw==", "cyUh9CJIX3fgyuugcqBgWw==", "yrMrZw1Nd5vgItLAMWWsWw==", "kp4xpA/K5cOuy9NefH6OiQ==", "j1eACYo4HFD8QgXLSc+WWA==", "CnIc2NJgxxf9CnvI2Jk1jg==", "AcyXSwl+I9HJXGW3lqr+wA==", "638Ow1jt7Fx1IzbZ91ZLUw==", "b56/tGBLlwj1aBS36ojAuw==", "UZnpjFq2a23rWg8OdTbOWw==", "pdpcCRrvm4NDK0Ak1V0KDw==", "csw6SBPb3FeJ+awgZVTJIA==", "QigzRUrPh6a1cruYfJIMSg==", "fk5N0e4Z4SNXwjaG3hTfbw==", "6knIcKZmICifwDFkPqnCiQ==", "DME9DhhFSmGQ4m+nSfXNew==", "r/XHptEBE+h2vU1aR9zZ6w==", "F/9CW15HDFGv9I/WLLBtJw==", "8lfa+wgkHFkJ9Eg6yXoB6w==", "gguQVlH7ZGIfbtKIY3YZbA==", "16I2d9EyM2j/zVyQmh3uxg==", "4O3W3Ih5MDgjEhSXlNSmtw==", "3COCVXB99MmOkp2CLddzmA==", "2ObB6N0sIVzBd76ysXC3Vg==", "4ZfC1NtXipOJPaF0m9UWHA==", "8xokrO5dadWdbTJkGmBF+w==", "RFR+3IEW+K9Q4SDndIaJGQ==", "QM3DGdmPRpwB7viZe85MUg==", "qF34ZrOIzWhOXBABarMAHg==", "GeAcP5ZmDHta/n7AO0vwYg==", "AR5cF7r65VTU8TThe6quaQ==", "cYc1VtX2k+oScURpEbyjRg==", "PJQAvameW9Mw9JY3FhW37A==", "yKJqh2+YvmwqXFThnJ6WtA==", "lzVJHoz+3J22cAKqS0kB1w==", "m7UQ8DLCMwnS+eOjgPkeYA==", "K25ONcZeWZ6Hj2QZhFiurQ==", "hQCOwIqppCXZ4TNlyEs9Ag==", "cYc1VtX2k+oScURpEbyjRg==", "PJQAvameW9Mw9JY3FhW37A==", "yKJqh2+YvmwqXFThnJ6WtA==", "lzVJHoz+3J22cAKqS0kB1w==", "m7UQ8DLCMwnS+eOjgPkeYA==", "K25ONcZeWZ6Hj2QZhFiurQ==", "hQCOwIqppCXZ4TNlyEs9Ag==" };
|
||||||
|
|
||||||
private string currentDownload = "";
|
private string currentDownload = "";
|
||||||
|
|
||||||
String version;
|
String version;
|
||||||
String url;
|
String url;
|
||||||
String password;
|
String password;
|
||||||
String yoyoUrl;
|
String yoyoUrl;
|
||||||
|
|
||||||
String proUrl;
|
String proUrl;
|
||||||
String proPassword;
|
String proPassword;
|
||||||
|
|
||||||
|
|
||||||
private void startDownload(string URL,string path)
|
private void startDownload(string URL,string path)
|
||||||
{
|
{
|
||||||
currentDownload = path;
|
currentDownload = path;
|
||||||
WebClient wc = new WebClient();
|
WebClient wc = new WebClient();
|
||||||
wc.CachePolicy = new RequestCachePolicy(RequestCacheLevel.NoCacheNoStore);
|
wc.CachePolicy = new RequestCachePolicy(RequestCacheLevel.NoCacheNoStore);
|
||||||
wc.Dispose();
|
wc.Dispose();
|
||||||
|
|
||||||
WebClient client = new WebClient();
|
WebClient client = new WebClient();
|
||||||
client.Headers.Add("pragma", "no-cache");
|
client.Headers.Add("pragma", "no-cache");
|
||||||
|
|
||||||
client.DownloadProgressChanged += new DownloadProgressChangedEventHandler(client_DownloadProgressChanged);
|
client.DownloadProgressChanged += new DownloadProgressChangedEventHandler(client_DownloadProgressChanged);
|
||||||
client.DownloadFileCompleted += new AsyncCompletedEventHandler(client_DownloadFileCompleted);
|
client.DownloadFileCompleted += new AsyncCompletedEventHandler(client_DownloadFileCompleted);
|
||||||
client.DownloadFileAsync(new Uri(URL), path);
|
client.DownloadFileAsync(new Uri(URL), path);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void client_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e)
|
private void client_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
if(currentDownload == "psvita.zip")
|
if(currentDownload == "psvita.zip")
|
||||||
{
|
{
|
||||||
startDownload(proUrl, "pro.zip");
|
startDownload(proUrl, "pro.zip");
|
||||||
}
|
}
|
||||||
else if(currentDownload == "pro.zip")
|
else if(currentDownload == "pro.zip")
|
||||||
{
|
{
|
||||||
startDownload(yoyoUrl, "gamemaker.zip");
|
startDownload(yoyoUrl, "gamemaker.zip");
|
||||||
}
|
}
|
||||||
else if(currentDownload == "gamemaker.zip")
|
else if(currentDownload == "gamemaker.zip")
|
||||||
{
|
{
|
||||||
DownloadProgress.Style = ProgressBarStyle.Marquee;
|
DownloadProgress.Style = ProgressBarStyle.Marquee;
|
||||||
new Thread(() =>
|
new Thread(() =>
|
||||||
{
|
{
|
||||||
Thread.CurrentThread.IsBackground = true;
|
Thread.CurrentThread.IsBackground = true;
|
||||||
|
|
||||||
Invoke((Action)delegate { Status.Text = "Extracting psvita.zip"; });
|
Invoke((Action)delegate { Status.Text = "Extracting psvita.zip"; });
|
||||||
if (Directory.Exists(@"_psvita"))
|
if (Directory.Exists(@"_psvita"))
|
||||||
{
|
{
|
||||||
Directory.Delete(@"_psvita", true);
|
Directory.Delete(@"_psvita", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
using (ZipFile archive = new ZipFile(@"psvita.zip"))
|
using (ZipFile archive = new ZipFile(@"psvita.zip"))
|
||||||
{
|
{
|
||||||
archive.Password = password;
|
archive.Password = password;
|
||||||
archive.Encryption = EncryptionAlgorithm.PkzipWeak;
|
archive.Encryption = EncryptionAlgorithm.PkzipWeak;
|
||||||
archive.ExtractAll(@"_psvita");
|
archive.ExtractAll(@"_psvita");
|
||||||
}
|
}
|
||||||
|
|
||||||
Invoke((Action)delegate { Status.Text = "Extracting pro.zip"; });
|
Invoke((Action)delegate { Status.Text = "Extracting pro.zip"; });
|
||||||
|
|
||||||
if (Directory.Exists(@"_pro"))
|
if (Directory.Exists(@"_pro"))
|
||||||
{
|
{
|
||||||
Directory.Delete(@"_pro", true);
|
Directory.Delete(@"_pro", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
using (ZipFile archive = new ZipFile(@"pro.zip"))
|
using (ZipFile archive = new ZipFile(@"pro.zip"))
|
||||||
{
|
{
|
||||||
archive.Password = proPassword;
|
archive.Password = proPassword;
|
||||||
archive.Encryption = EncryptionAlgorithm.PkzipWeak;
|
archive.Encryption = EncryptionAlgorithm.PkzipWeak;
|
||||||
archive.ExtractAll(@"_pro");
|
archive.ExtractAll(@"_pro");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Invoke((Action)delegate { Status.Text = "Extracting gamemaker.zip"; });
|
Invoke((Action)delegate { Status.Text = "Extracting gamemaker.zip"; });
|
||||||
|
|
||||||
if (Directory.Exists(@"_gamemaker"))
|
if (Directory.Exists(@"_gamemaker"))
|
||||||
{
|
{
|
||||||
Directory.Delete(@"_gamemaker", true);
|
Directory.Delete(@"_gamemaker", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
using (ZipFile archive = new ZipFile((@"gamemaker.zip")))
|
using (ZipFile archive = new ZipFile((@"gamemaker.zip")))
|
||||||
{
|
{
|
||||||
archive.Password = "12#_p@o3w$ir_ADD-_$#";
|
archive.Password = "12#_p@o3w$ir_ADD-_$#";
|
||||||
archive.Encryption = EncryptionAlgorithm.PkzipWeak;
|
archive.Encryption = EncryptionAlgorithm.PkzipWeak;
|
||||||
archive.ExtractAll(@"_gamemaker");
|
archive.ExtractAll(@"_gamemaker");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Directory.Exists(@"versions"))
|
if (!Directory.Exists(@"versions"))
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(@"versions");
|
Directory.CreateDirectory(@"versions");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Directory.Exists(@"versions\\" + version))
|
if (!Directory.Exists(@"versions\\" + version))
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(@"versions\\" + version);
|
Directory.CreateDirectory(@"versions\\" + version);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Directory.Exists(@"versions\\" + version + "\\Runner"))
|
if (!Directory.Exists(@"versions\\" + version + "\\Runner"))
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(@"versions\\" + version + "\\Runner");
|
Directory.CreateDirectory(@"versions\\" + version + "\\Runner");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Directory.Exists(@"versions\\" + version + "\\Shaders"))
|
if (!Directory.Exists(@"versions\\" + version + "\\Shaders"))
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(@"versions\\" + version + "\\Shaders");
|
Directory.CreateDirectory(@"versions\\" + version + "\\Shaders");
|
||||||
}
|
}
|
||||||
if (!Directory.Exists(@"versions\\" + version + "\\YYC"))
|
if (!Directory.Exists(@"versions\\" + version + "\\YYC"))
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(@"versions\\" + version + "\\YYC");
|
Directory.CreateDirectory(@"versions\\" + version + "\\YYC");
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
File.Copy(@"_gamemaker\\BouncyCastle.Crypto.dll", @"versions\\" + version + "\\BouncyCastle.Crypto.dll", true);
|
File.Copy(@"_gamemaker\\BouncyCastle.Crypto.dll", @"versions\\" + version + "\\BouncyCastle.Crypto.dll", true);
|
||||||
File.Copy(@"_gamemaker\\spine-csharp.dll", @"versions\\" + version + "\\spine-csharp.dll", true);
|
File.Copy(@"_gamemaker\\spine-csharp.dll", @"versions\\" + version + "\\spine-csharp.dll", true);
|
||||||
File.Copy(@"_gamemaker\\SharpCompress.dll", @"versions\\" + version + "\\SharpCompress.dll", true);
|
File.Copy(@"_gamemaker\\SharpCompress.dll", @"versions\\" + version + "\\SharpCompress.dll", true);
|
||||||
File.Copy(@"_gamemaker\\Ionic.Zip.Reduced.dll", @"versions\\" + version + "\\Ionic.Zip.Reduced.dll", true);
|
File.Copy(@"_gamemaker\\Ionic.Zip.Reduced.dll", @"versions\\" + version + "\\Ionic.Zip.Reduced.dll", true);
|
||||||
File.Copy(@"_gamemaker\\Newtonsoft.Json.dll", @"versions\\" + version + "\\Ionic.Zip.Reduced.dll", true);
|
File.Copy(@"_gamemaker\\Newtonsoft.Json.dll", @"versions\\" + version + "\\Ionic.Zip.Reduced.dll", true);
|
||||||
}
|
}
|
||||||
catch (Exception) { };
|
catch (Exception) { };
|
||||||
|
|
||||||
File.Copy(@"_gamemaker\\GMAssetCompiler.exe", @"versions\\" + version + "\\GMAssetCompiler.exe", true);
|
File.Copy(@"_gamemaker\\GMAssetCompiler.exe", @"versions\\" + version + "\\GMAssetCompiler.exe", true);
|
||||||
File.Copy(@"_gamemaker\\ffmpeg.exe", @"versions\\" + version + "\\ffmpeg.exe", true);
|
File.Copy(@"_gamemaker\\ffmpeg.exe", @"versions\\" + version + "\\ffmpeg.exe", true);
|
||||||
|
|
||||||
CopyDir(@"_gamemaker\\Shaders", @"versions\\" + version + "\\Shaders");
|
CopyDir(@"_gamemaker\\Shaders", @"versions\\" + version + "\\Shaders");
|
||||||
CopyDir(@"_psvita\\YYC", @"versions\\" + version + "\\YYC");
|
CopyDir(@"_psvita\\YYC", @"versions\\" + version + "\\YYC");
|
||||||
CopyDir(@"_pro\YYC\\include", @"versions\\" + version + "\\YYC\\include");
|
CopyDir(@"_pro\YYC\\include", @"versions\\" + version + "\\YYC\\include");
|
||||||
|
|
||||||
File.Copy(@"_psvita\\PSVita\\CG_PShaderCommon.shader", @"versions\\" + version + "\\Shaders\\CG_PShaderCommon.shader", true);
|
File.Copy(@"_psvita\\PSVita\\CG_PShaderCommon.shader", @"versions\\" + version + "\\Shaders\\CG_PShaderCommon.shader", true);
|
||||||
File.Copy(@"_psvita\\PSVita\\CG_VShaderCommon.shader", @"versions\\" + version + "\\Shaders\\CG_VShaderCommon.shader", true);
|
File.Copy(@"_psvita\\PSVita\\CG_VShaderCommon.shader", @"versions\\" + version + "\\Shaders\\CG_VShaderCommon.shader", true);
|
||||||
|
|
||||||
CopyDir(@"Runner", @"versions\\" + version + "\\Runner");
|
CopyDir(@"Runner", @"versions\\" + version + "\\Runner");
|
||||||
|
|
||||||
File.Copy(@"_psvita\\PSVita\\PSVitaRunner.self", @"versions\\" + version + "\\Runner\\eboot.bin", true);
|
File.Copy(@"_psvita\\PSVita\\PSVitaRunner.self", @"versions\\" + version + "\\Runner\\eboot.bin", true);
|
||||||
|
|
||||||
Directory.Delete(@"_gamemaker", true);
|
Directory.Delete(@"_gamemaker", true);
|
||||||
Directory.Delete(@"_psvita", true);
|
Directory.Delete(@"_psvita", true);
|
||||||
Directory.Delete(@"_pro", true);
|
Directory.Delete(@"_pro", true);
|
||||||
|
|
||||||
File.Delete("psvita.zip");
|
File.Delete("psvita.zip");
|
||||||
File.Delete("gamemaker.zip");
|
File.Delete("gamemaker.zip");
|
||||||
File.Delete("pro.zip");
|
File.Delete("pro.zip");
|
||||||
|
|
||||||
Invoke((Action)delegate {
|
Invoke((Action)delegate {
|
||||||
|
|
||||||
downloadList.Enabled = true;
|
downloadList.Enabled = true;
|
||||||
downloadVersion.Enabled = true;
|
downloadVersion.Enabled = true;
|
||||||
|
|
||||||
downloadList.Items.Remove(version);
|
downloadList.Items.Remove(version);
|
||||||
installedList.Items.Add(version);
|
installedList.Items.Add(version);
|
||||||
|
|
||||||
Status.Text = "Waiting";
|
Status.Text = "Waiting";
|
||||||
DownloadProgress.Value = 0;
|
DownloadProgress.Value = 0;
|
||||||
DownloadProgress.Style = ProgressBarStyle.Continuous;
|
DownloadProgress.Style = ProgressBarStyle.Continuous;
|
||||||
ControlBox = true;
|
ControlBox = true;
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
}).Start();
|
}).Start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void client_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)
|
private void client_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)
|
||||||
{
|
{
|
||||||
DownloadProgress.Value = e.ProgressPercentage;
|
DownloadProgress.Value = e.ProgressPercentage;
|
||||||
Status.Text = "Downloading " + currentDownload + " " +e.ProgressPercentage + "%";
|
Status.Text = "Downloading " + currentDownload + " " +e.ProgressPercentage + "%";
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getOriginalUrl(string version)
|
public String getOriginalUrl(string version)
|
||||||
{
|
{
|
||||||
return "https://updater.yoyogames.com/api/download/original?filename=Original-" + version + ".zip";
|
return "https://updater.yoyogames.com/api/download/original?filename=Original-" + version + ".zip";
|
||||||
}
|
}
|
||||||
|
|
||||||
public string findUrl(string version, bool pro)
|
public string findUrl(string version, bool pro)
|
||||||
{
|
{
|
||||||
int index = 0;
|
int index = 0;
|
||||||
foreach(string ver in Versions)
|
foreach(string ver in Versions)
|
||||||
{
|
{
|
||||||
if(ver == version)
|
if(ver == version)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(pro)
|
if(pro)
|
||||||
{
|
{
|
||||||
String realUrl = "http://updatecdn.yoyogames.com/" + Path.GetFileName(ProUrls[index]);
|
String realUrl = "http://updatecdn.yoyogames.com/" + Path.GetFileName(ProUrls[index]);
|
||||||
return realUrl;
|
return realUrl;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
String realUrl = "http://updatecdn.yoyogames.com/" + Path.GetFileName(VitaUrls[index]);
|
String realUrl = "http://updatecdn.yoyogames.com/" + Path.GetFileName(VitaUrls[index]);
|
||||||
return realUrl;
|
return realUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public string getPassword(string url, bool pro)
|
public string getPassword(string url, bool pro)
|
||||||
{
|
{
|
||||||
string zip = Path.GetFileName(url);
|
string zip = Path.GetFileName(url);
|
||||||
|
|
||||||
if (zip.Contains("Original"))
|
if (zip.Contains("Original"))
|
||||||
{
|
{
|
||||||
return "12#_p@o3w$ir_ADD-_$#";
|
return "12#_p@o3w$ir_ADD-_$#";
|
||||||
}
|
}
|
||||||
|
|
||||||
int index = 0;
|
int index = 0;
|
||||||
|
|
||||||
if (pro)
|
if (pro)
|
||||||
{
|
{
|
||||||
foreach (String URL in ProUrls)
|
foreach (String URL in ProUrls)
|
||||||
{
|
{
|
||||||
if (Path.GetFileName(URL) == zip)
|
if (Path.GetFileName(URL) == zip)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
foreach (String URL in VitaUrls)
|
foreach (String URL in VitaUrls)
|
||||||
{
|
{
|
||||||
if (Path.GetFileName(URL) == zip)
|
if (Path.GetFileName(URL) == zip)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(pro)
|
if(pro)
|
||||||
{
|
{
|
||||||
return ProPasswords[index];
|
return ProPasswords[index];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return Passwords[index];
|
return Passwords[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public versionManager()
|
public versionManager()
|
||||||
{
|
{
|
||||||
|
|
||||||
//Bypass Windows DPI Scaling (See issue #8 to see why its important)
|
//Bypass Windows DPI Scaling (See issue #8 to see why its important)
|
||||||
Font = new Font(Font.Name, 8.25f * 96f / CreateGraphics().DpiX, Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);
|
Font = new Font(Font.Name, 8.25f * 96f / CreateGraphics().DpiX, Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void versionManager_Load(object sender, EventArgs e)
|
private void versionManager_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
foreach(String Version in Versions)
|
foreach(String Version in Versions)
|
||||||
{
|
{
|
||||||
downloadList.Items.Add(Version);
|
downloadList.Items.Add(Version);
|
||||||
}
|
}
|
||||||
foreach (String dir in Directory.GetDirectories(@"versions"))
|
foreach (String dir in Directory.GetDirectories(@"versions"))
|
||||||
{
|
{
|
||||||
installedList.Items.Add(Path.GetFileName(dir));
|
installedList.Items.Add(Path.GetFileName(dir));
|
||||||
downloadList.Items.Remove(Path.GetFileName(dir));
|
downloadList.Items.Remove(Path.GetFileName(dir));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception) { };
|
catch (Exception) { };
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void downloadVersion_Click(object sender, EventArgs e)
|
private void downloadVersion_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if(downloadList.SelectedIndex == -1){ return; }
|
if(downloadList.SelectedIndex == -1){ return; }
|
||||||
downloadVersion.Enabled = false;
|
downloadVersion.Enabled = false;
|
||||||
downloadList.Enabled = false;
|
downloadList.Enabled = false;
|
||||||
ControlBox = false;
|
ControlBox = false;
|
||||||
|
|
||||||
version = downloadList.SelectedItem.ToString();
|
version = downloadList.SelectedItem.ToString();
|
||||||
url = findUrl(version, false);
|
url = findUrl(version, false);
|
||||||
password = getPassword(url,false);
|
password = getPassword(url,false);
|
||||||
|
|
||||||
proUrl = findUrl(version, true);
|
proUrl = findUrl(version, true);
|
||||||
proPassword = getPassword(proUrl, true);
|
proPassword = getPassword(proUrl, true);
|
||||||
|
|
||||||
yoyoUrl = getOriginalUrl(version);
|
yoyoUrl = getOriginalUrl(version);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
startDownload(url, "psvita.zip");
|
startDownload(url, "psvita.zip");
|
||||||
}
|
}
|
||||||
catch(Exception)
|
catch(Exception)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Could not connect to yoyogames.com", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show("Could not connect to yoyogames.com", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
downloadVersion.Enabled = true;
|
downloadVersion.Enabled = true;
|
||||||
downloadList.Enabled = true;
|
downloadList.Enabled = true;
|
||||||
ControlBox = true;
|
ControlBox = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void deleteVersion_Click(object sender, EventArgs e)
|
private void deleteVersion_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (installedList.SelectedIndex == -1) { return; }
|
if (installedList.SelectedIndex == -1) { return; }
|
||||||
string toRemove = installedList.SelectedItem.ToString();
|
string toRemove = installedList.SelectedItem.ToString();
|
||||||
if(toRemove == "1.4.9999")
|
if(toRemove == "1.4.9999")
|
||||||
{
|
{
|
||||||
MessageBox.Show("Cannot delete builtin 1.4.9999 version!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show("Cannot delete builtin 1.4.9999 version!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Directory.Delete(@"versions\\" + toRemove, true);
|
Directory.Delete(@"versions\\" + toRemove, true);
|
||||||
installedList.Items.Remove(toRemove);
|
installedList.Items.Remove(toRemove);
|
||||||
downloadList.Items.Add(toRemove);
|
downloadList.Items.Add(toRemove);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void versionManager_FormClosing(object sender, FormClosingEventArgs e)
|
private void versionManager_FormClosing(object sender, FormClosingEventArgs e)
|
||||||
{
|
{
|
||||||
if(ControlBox == false)
|
if(ControlBox == false)
|
||||||
{
|
{
|
||||||
e.Cancel = true;
|
e.Cancel = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Program.GM.Enabled = true;
|
Program.GM.Enabled = true;
|
||||||
|
|
||||||
Program.GM.reloadVersions();
|
Program.GM.reloadVersions();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,72 +1,72 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
||||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||||
<security>
|
<security>
|
||||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
<!-- UAC Manifest Options
|
<!-- UAC Manifest Options
|
||||||
If you want to change the Windows User Account Control level replace the
|
If you want to change the Windows User Account Control level replace the
|
||||||
requestedExecutionLevel node with one of the following.
|
requestedExecutionLevel node with one of the following.
|
||||||
|
|
||||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||||
|
|
||||||
Specifying requestedExecutionLevel element will disable file and registry virtualization.
|
Specifying requestedExecutionLevel element will disable file and registry virtualization.
|
||||||
Remove this element if your application requires this virtualization for backwards
|
Remove this element if your application requires this virtualization for backwards
|
||||||
compatibility.
|
compatibility.
|
||||||
-->
|
-->
|
||||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||||
</requestedPrivileges>
|
</requestedPrivileges>
|
||||||
</security>
|
</security>
|
||||||
</trustInfo>
|
</trustInfo>
|
||||||
|
|
||||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||||
<application>
|
<application>
|
||||||
<!-- A list of the Windows versions that this application has been tested on
|
<!-- A list of the Windows versions that this application has been tested on
|
||||||
and is designed to work with. Uncomment the appropriate elements
|
and is designed to work with. Uncomment the appropriate elements
|
||||||
and Windows will automatically select the most compatible environment. -->
|
and Windows will automatically select the most compatible environment. -->
|
||||||
|
|
||||||
<!-- Windows Vista -->
|
<!-- Windows Vista -->
|
||||||
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
|
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
|
||||||
|
|
||||||
<!-- Windows 7 -->
|
<!-- Windows 7 -->
|
||||||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
|
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
|
||||||
|
|
||||||
<!-- Windows 8 -->
|
<!-- Windows 8 -->
|
||||||
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
|
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
|
||||||
|
|
||||||
<!-- Windows 8.1 -->
|
<!-- Windows 8.1 -->
|
||||||
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
|
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
|
||||||
|
|
||||||
<!-- Windows 10 -->
|
<!-- Windows 10 -->
|
||||||
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
|
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
|
||||||
|
|
||||||
</application>
|
</application>
|
||||||
</compatibility>
|
</compatibility>
|
||||||
|
|
||||||
<!-- Lie to windows and say GayMaker is GPI-Aware so that windows wont rescale my shit.. -->
|
<!-- Lie to windows and say GayMaker is GPI-Aware so that windows wont rescale my shit.. -->
|
||||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
<windowsSettings>
|
<windowsSettings>
|
||||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||||
</windowsSettings>
|
</windowsSettings>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
|
|
||||||
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
|
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
|
||||||
<!--
|
<!--
|
||||||
<dependency>
|
<dependency>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity
|
<assemblyIdentity
|
||||||
type="win32"
|
type="win32"
|
||||||
name="Microsoft.Windows.Common-Controls"
|
name="Microsoft.Windows.Common-Controls"
|
||||||
version="6.0.0.0"
|
version="6.0.0.0"
|
||||||
processorArchitecture="*"
|
processorArchitecture="*"
|
||||||
publicKeyToken="6595b64144ccf1df"
|
publicKeyToken="6595b64144ccf1df"
|
||||||
language="*"
|
language="*"
|
||||||
/>
|
/>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</dependency>
|
</dependency>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
</assembly>
|
</assembly>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="DotNetZip" version="1.12.0" targetFramework="net461" />
|
<package id="DotNetZip" version="1.12.0" targetFramework="net461" />
|
||||||
</packages>
|
</packages>
|
Loading…
Reference in New Issue