C# source for GENH Creator

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@578 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
manakoAT 2009-02-08 11:14:33 +00:00
parent c8b7dc341d
commit ac4184fd03
25 changed files with 855 additions and 0 deletions

View File

@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C# Express 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generic Header Creator 4", "Generic Header Creator 4\Generic Header Creator 4.csproj", "{9AAD37A7-C0AB-463F-A8A4-23568C405AD6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9AAD37A7-C0AB-463F-A8A4-23568C405AD6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9AAD37A7-C0AB-463F-A8A4-23568C405AD6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9AAD37A7-C0AB-463F-A8A4-23568C405AD6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9AAD37A7-C0AB-463F-A8A4-23568C405AD6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Binary file not shown.

View File

@ -0,0 +1,215 @@
namespace Generic_Header_Creator_4
{
partial class Form1
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Vom Windows Form-Designer generierter Code
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </summary>
private void InitializeComponent()
{
this.listBox1 = new System.Windows.Forms.ListBox();
this.label1 = new System.Windows.Forms.Label();
this.txtInputFileCreator = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.txtGENHOutputNameCreator = new System.Windows.Forms.TextBox();
this.cmdCreateGENH = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.txtHeaderSkipCreator = new System.Windows.Forms.TextBox();
this.txtFrequencyCreator = new System.Windows.Forms.TextBox();
this.txtChannelsCreator = new System.Windows.Forms.TextBox();
this.txtInterleaveCreator = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// listBox1
//
this.listBox1.FormattingEnabled = true;
this.listBox1.Location = new System.Drawing.Point(12, 90);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(320, 212);
this.listBox1.TabIndex = 0;
this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(9, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(57, 13);
this.label1.TabIndex = 1;
this.label1.Text = "File Name:";
//
// txtInputFileCreator
//
this.txtInputFileCreator.Enabled = false;
this.txtInputFileCreator.Location = new System.Drawing.Point(12, 25);
this.txtInputFileCreator.Name = "txtInputFileCreator";
this.txtInputFileCreator.Size = new System.Drawing.Size(320, 20);
this.txtInputFileCreator.TabIndex = 2;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 48);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(73, 13);
this.label2.TabIndex = 3;
this.label2.Text = "Output Name:";
//
// txtGENHOutputNameCreator
//
this.txtGENHOutputNameCreator.Location = new System.Drawing.Point(12, 64);
this.txtGENHOutputNameCreator.Name = "txtGENHOutputNameCreator";
this.txtGENHOutputNameCreator.Size = new System.Drawing.Size(320, 20);
this.txtGENHOutputNameCreator.TabIndex = 4;
//
// cmdCreateGENH
//
this.cmdCreateGENH.Location = new System.Drawing.Point(12, 308);
this.cmdCreateGENH.Name = "cmdCreateGENH";
this.cmdCreateGENH.Size = new System.Drawing.Size(320, 24);
this.cmdCreateGENH.TabIndex = 5;
this.cmdCreateGENH.Text = "Create GENeric Header";
this.cmdCreateGENH.UseVisualStyleBackColor = true;
this.cmdCreateGENH.Click += new System.EventHandler(this.cmdCreateGENH_Click);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(366, 74);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(54, 13);
this.label3.TabIndex = 6;
this.label3.Text = "Channels:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(366, 25);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(69, 13);
this.label4.TabIndex = 7;
this.label4.Text = "Header Skip:";
//
// txtHeaderSkipCreator
//
this.txtHeaderSkipCreator.Location = new System.Drawing.Point(369, 41);
this.txtHeaderSkipCreator.Name = "txtHeaderSkipCreator";
this.txtHeaderSkipCreator.Size = new System.Drawing.Size(100, 20);
this.txtHeaderSkipCreator.TabIndex = 8;
//
// txtFrequencyCreator
//
this.txtFrequencyCreator.Location = new System.Drawing.Point(480, 90);
this.txtFrequencyCreator.Name = "txtFrequencyCreator";
this.txtFrequencyCreator.Size = new System.Drawing.Size(100, 20);
this.txtFrequencyCreator.TabIndex = 9;
//
// txtChannelsCreator
//
this.txtChannelsCreator.Location = new System.Drawing.Point(369, 90);
this.txtChannelsCreator.Name = "txtChannelsCreator";
this.txtChannelsCreator.Size = new System.Drawing.Size(100, 20);
this.txtChannelsCreator.TabIndex = 10;
//
// txtInterleaveCreator
//
this.txtInterleaveCreator.Location = new System.Drawing.Point(480, 41);
this.txtInterleaveCreator.Name = "txtInterleaveCreator";
this.txtInterleaveCreator.Size = new System.Drawing.Size(100, 20);
this.txtInterleaveCreator.TabIndex = 11;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(477, 74);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(60, 13);
this.label5.TabIndex = 12;
this.label5.Text = "Frequency:";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(477, 25);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(57, 13);
this.label6.TabIndex = 13;
this.label6.Text = "Interleave:";
//
// Form1
//
this.ClientSize = new System.Drawing.Size(652, 355);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.txtInterleaveCreator);
this.Controls.Add(this.txtChannelsCreator);
this.Controls.Add(this.txtFrequencyCreator);
this.Controls.Add(this.txtHeaderSkipCreator);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.cmdCreateGENH);
this.Controls.Add(this.txtGENHOutputNameCreator);
this.Controls.Add(this.label2);
this.Controls.Add(this.txtInputFileCreator);
this.Controls.Add(this.label1);
this.Controls.Add(this.listBox1);
this.Name = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtInputFileCreator;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtGENHOutputNameCreator;
private System.Windows.Forms.Button cmdCreateGENH;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox txtHeaderSkipCreator;
private System.Windows.Forms.TextBox txtFrequencyCreator;
private System.Windows.Forms.TextBox txtChannelsCreator;
private System.Windows.Forms.TextBox txtInterleaveCreator;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
}
}

View File

@ -0,0 +1,110 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace Generic_Header_Creator_4
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
// Form Load, we will get every filename in the folder and
// give it to the ListBox
private void Form1_Load(object sender, EventArgs e)
{
string[] filenames = Directory.GetFiles(Path.GetDirectoryName(Application.ExecutablePath), "*.*");
foreach (string f in filenames)
this.listBox1.Items.Add(Path.GetFileName(f));
}
// Select a file by clicking the ListBox
private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
{ // Give the selected name to the "Input File" TextBox
this.txtInputFileCreator.Text = this.listBox1.Text;
// Set up the Output Name into a TextBox, which can be changed
this.txtGENHOutputNameCreator.Text = (Path.GetFileNameWithoutExtension(this.txtInputFileCreator.Text) + ".GENH");
// Open the Input File as "FileStream" from the previous first TextBox
// FileStream strInputFileCreator = new FileStream(Path.GetFullPath(this.txtInputFileCreator.Text), FileMode.Open, FileAccess.Read);
}
private void cmdCreateGENH_Click(object sender, EventArgs e)
{
// Call the Export Routine with given Values
// Name_Of_The_Function(Input_File,Start_Offset,Export_Length,File_To_Write_To)
FileStream strInputFileCreator = new FileStream(Path.GetFullPath(this.txtInputFileCreator.Text), FileMode.Open, FileAccess.Read);
FileStream strOutputFileCreator = new FileStream(Path.GetFullPath(this.txtGENHOutputNameCreator.Text), FileMode.Create, FileAccess.Write);
// Place checks for values and all needed stuff here
int GENHHeaderSkip = int.Parse(this.txtHeaderSkipCreator.Text);
int GENHChannels = int.Parse(this.txtChannelsCreator.Text);
int GENHInterleave = int.Parse(this.txtInterleaveCreator.Text);
int GENHFrequency = int.Parse(this.txtFrequencyCreator.Text);
BinaryWriter bw = new BinaryWriter(strOutputFileCreator);
int strGENH = 0x484E4547; //HNEG (GENH)
bw.Write(strGENH);
bw.Write(GENHChannels);
bw.Write(GENHInterleave);
// flush and close
bw.Flush();
bw.Close();
// Call the "Export Routine"
ExtractChunkToFile(strInputFileCreator, 0, (int)strInputFileCreator.Length, this.txtGENHOutputNameCreator.Text, 4096);
// Close the Input File after processing
strInputFileCreator.Close();
strInputFileCreator.Dispose();
}
// This is the "Export Routine", all needed values were calculated earlier
private void ExtractChunkToFile(Stream strInputFileCreator, long pOffset, int pLength, string strOutputFileCreator, int headerSkip)
{
BinaryWriter bw = null;
try
{ // Open the Output File
bw = new BinaryWriter(File.Open(strOutputFileCreator, FileMode.Create, FileAccess.Write));
int read = 0;
int totalBytes = 0;
byte[] bytes = new byte[2048];
strInputFileCreator.Seek((long)pOffset, SeekOrigin.Begin);
// write empty vals
bw.Write(new byte[headerSkip], 0, headerSkip);
int maxread = pLength > bytes.Length ? bytes.Length : pLength;
while ((read = strInputFileCreator.Read(bytes, 0, maxread)) > 0)
{
bw.Write(bytes, 0, read);
totalBytes += read;
maxread = (pLength - totalBytes) > bytes.Length ? bytes.Length : (pLength - totalBytes);
}
}
finally
{
if (bw != null)
{
bw.Close();
}
}
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, 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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<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>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: 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:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<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:sequence>
<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="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{9AAD37A7-C0AB-463F-A8A4-23568C405AD6}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Generic_Header_Creator_4</RootNamespace>
<AssemblyName>Generic Header Creator 4</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<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="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.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="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>
<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>

View File

@ -0,0 +1 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace Generic_Header_Creator_4
{
static class Program
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

View File

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: AssemblyTitle("Generic Header Creator 4")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Private")]
[assembly: AssemblyProduct("Generic Header Creator 4")]
[assembly: AssemblyCopyright("Copyright © Private 2009")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar
// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von
// COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest.
[assembly: ComVisible(false)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[assembly: Guid("d8ee2448-da6f-40eb-b626-7ce3e7c21ee2")]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:2.0.50727.3053
//
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
// der Code neu generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Generic_Header_Creator_4.Properties
{
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary>
// Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
// über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Generic_Header_Creator_4.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

View File

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, 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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<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>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: 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:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<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:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Generic_Header_Creator_4.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

View File

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

View File

@ -0,0 +1,8 @@
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\bin\Debug\Generic Header Creator 4.exe
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\bin\Debug\Generic Header Creator 4.pdb
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\obj\Debug\ResolveAssemblyReference.cache
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\obj\Debug\Generic_Header_Creator_4.Form1.resources
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\obj\Debug\Generic_Header_Creator_4.Properties.Resources.resources
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\obj\Debug\Generic Header Creator 4.csproj.GenerateResource.Cache
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\obj\Debug\Generic Header Creator 4.exe
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\obj\Debug\Generic Header Creator 4.pdb

View File

@ -0,0 +1,10 @@
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\bin\Release\Generic Header Creator 4.exe
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\bin\Release\Generic Header Creator 4.pdb
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\obj\Release\ResolveAssemblyReference.cache
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\obj\Release\Generic_Header_Creator_4.Properties.Resources.resources
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\obj\Release\Generic Header Creator 4.csproj.GenerateResource.Cache
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\obj\Release\Generic Header Creator 4.exe
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\obj\Release\Generic Header Creator 4.pdb
E:\_ARCHIV\#Tools - Programmieren\Visual C#\Generic Header Creator 4\Generic Header Creator 4\Generic Header Creator 4\obj\Release\Generic_Header_Creator_4.Form1.resources
E:\_ARCHIV\#Tools - Programmieren\Visual CPP\_PROJECTS\VGMSTREAM\Generic Header Creator 4\Generic Header Creator 4\obj\Release\Generic Header Creator 4.exe
E:\_ARCHIV\#Tools - Programmieren\Visual CPP\_PROJECTS\VGMSTREAM\Generic Header Creator 4\Generic Header Creator 4\obj\Release\Generic Header Creator 4.pdb