Skip to content

Commit

Permalink
Initial commit, cleaned up with VS 2013
Browse files Browse the repository at this point in the history
  • Loading branch information
HiddenRambler committed Nov 18, 2015
0 parents commit 23ab2d6
Show file tree
Hide file tree
Showing 29 changed files with 2,007 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
@@ -0,0 +1,5 @@
/*.suo
/*.sdf
Debug
bin
obj
44 changes: 44 additions & 0 deletions EZ4Patcher.sln
@@ -0,0 +1,44 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EZ4Patcher", "EZ4Patcher\EZ4Patcher.csproj", "{58C409A7-3574-4683-84B6-DB04EB315E24}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EZBridge", "EZBridge\EZBridge.vcxproj", "{539D006B-2F7B-436F-B590-E8795FF0FA0F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|Win32 = Debug|Win32
Debug|x86 = Debug|x86
Release|Mixed Platforms = Release|Mixed Platforms
Release|Win32 = Release|Win32
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{58C409A7-3574-4683-84B6-DB04EB315E24}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{58C409A7-3574-4683-84B6-DB04EB315E24}.Debug|Mixed Platforms.Build.0 = Debug|x86
{58C409A7-3574-4683-84B6-DB04EB315E24}.Debug|Win32.ActiveCfg = Debug|x86
{58C409A7-3574-4683-84B6-DB04EB315E24}.Debug|x86.ActiveCfg = Debug|x86
{58C409A7-3574-4683-84B6-DB04EB315E24}.Debug|x86.Build.0 = Debug|x86
{58C409A7-3574-4683-84B6-DB04EB315E24}.Release|Mixed Platforms.ActiveCfg = Release|x86
{58C409A7-3574-4683-84B6-DB04EB315E24}.Release|Mixed Platforms.Build.0 = Release|x86
{58C409A7-3574-4683-84B6-DB04EB315E24}.Release|Win32.ActiveCfg = Release|x86
{58C409A7-3574-4683-84B6-DB04EB315E24}.Release|x86.ActiveCfg = Release|x86
{58C409A7-3574-4683-84B6-DB04EB315E24}.Release|x86.Build.0 = Release|x86
{539D006B-2F7B-436F-B590-E8795FF0FA0F}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
{539D006B-2F7B-436F-B590-E8795FF0FA0F}.Debug|Mixed Platforms.Build.0 = Debug|Win32
{539D006B-2F7B-436F-B590-E8795FF0FA0F}.Debug|Win32.ActiveCfg = Debug|Win32
{539D006B-2F7B-436F-B590-E8795FF0FA0F}.Debug|Win32.Build.0 = Debug|Win32
{539D006B-2F7B-436F-B590-E8795FF0FA0F}.Debug|x86.ActiveCfg = Debug|Win32
{539D006B-2F7B-436F-B590-E8795FF0FA0F}.Release|Mixed Platforms.ActiveCfg = Release|Win32
{539D006B-2F7B-436F-B590-E8795FF0FA0F}.Release|Mixed Platforms.Build.0 = Release|Win32
{539D006B-2F7B-436F-B590-E8795FF0FA0F}.Release|Win32.ActiveCfg = Release|Win32
{539D006B-2F7B-436F-B590-E8795FF0FA0F}.Release|Win32.Build.0 = Release|Win32
{539D006B-2F7B-436F-B590-E8795FF0FA0F}.Release|x86.ActiveCfg = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
95 changes: 95 additions & 0 deletions EZ4Patcher/EZ4Patcher.csproj
@@ -0,0 +1,95 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{58C409A7-3574-4683-84B6-DB04EB315E24}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>EZ4Patcher</RootNamespace>
<AssemblyName>EZ4Patcher</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>favicon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="EZBridge.cs" />
<Compile Include="EZPatcher.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EZPatcher.Designer.cs">
<DependentUpon>EZPatcher.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="EZPatcher.resx">
<DependentUpon>EZPatcher.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="app.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="favicon.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
19 changes: 19 additions & 0 deletions EZ4Patcher/EZBridge.cs
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace EZ4Patcher
{
public class EZBridge
{
[DllImport("ezbridge.dll", CallingConvention=CallingConvention.Cdecl)]
public static extern void PatchRom(
[Out] byte[] data,
uint datasize,
ref uint truncatedSize,
ref ushort saveType,
ref uint saveSize);
}
}

0 comments on commit 23ab2d6

Please sign in to comment.