Mercurial > repos > RelicTools > SGAExplorer
changeset 0:b586cccc3d59 default tip
First commit under GPLv3!
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 06 Oct 2018 20:15:02 +0100 |
parents | |
children | |
files | .hgignore .vscode/launch.json .vscode/tasks.json AboutSGAExplorer.cs AboutSGAExplorer.resx App.ico AppIcon.ico AssemblyInfo.cs COPYING DebugWindow.cs DebugWindow.resx Form1.cs Form1.resx FrmFileType.cs FrmFileType.resx Options.cs Options.resx SGAExplorer.csproj SGAExplorer.csproj.user SGAExplorer.exe.manifest Unknown.ico Unknown32.ico W40k_101.ico W40k_SGAExp.ico WinFolderClosed.ico WinFolderOpen.ico WinUnknown.ico lua.ico lua32.ico rsh.ico rsh32.ico rtx.ico rtx32.ico wtp.ico wtp32.ico |
diffstat | 35 files changed, 4559 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,2 @@ +bin/ +obj/ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.vscode/launch.json Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Launch SGA Explorer", + "type": "mono", + "request": "launch", + "program": "${workspaceRoot}/bin/Debug/SGAExplorer.exe", + "cwd": "${workspaceRoot}" + } + ] +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.vscode/tasks.json Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,43 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Build SGA Explorer (Debug)", + "type": "shell", + "command": "xbuild", + "args": [ + // Ask msbuild to generate full paths for file names. + "/property:GenerateFullPaths=true", + "/t:build" + ], + "group": "build", + "presentation": { + // Reveal the output only if unrecognized errors occur. + "reveal": "silent" + }, + // Use the standard MS compiler pattern to detect errors, warnings and infos + "problemMatcher": "$msCompile" + }, + + { + "label": "Build SGA Explorer (Release)", + "type": "shell", + "command": "xbuild", + "args": [ + "/p:Configuration=Release", + // Ask msbuild to generate full paths for file names. + "/property:GenerateFullPaths=true", + "/t:build" + ], + "group": "build", + "presentation": { + // Reveal the output only if unrecognized errors occur. + "reveal": "silent" + }, + // Use the standard MS compiler pattern to detect errors, warnings and infos + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AboutSGAExplorer.cs Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,118 @@ +// This file is a part of the SGA Explorer app and is copyright 2006-2018 IBBoard. +// +// The file and the library/program it is in are licensed under the GNU GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. +using System; +using System.Drawing; +using System.Collections; +using System.ComponentModel; +using System.Windows.Forms; + +namespace IBBoard.Relic.SGAExplorer +{ + /// <summary> + /// Summary description for AboutTextureTool. + /// </summary> + public class AboutSGAExplorer : System.Windows.Forms.Form + { + private System.Windows.Forms.Button bttnClose; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.Container components = null; + + public AboutSGAExplorer() + { + // + // Required for Windows Form Designer support + // + InitializeComponent(); + + string version = Application.ProductVersion.Substring(0, Application.ProductVersion.LastIndexOf('.')); + + if (version.EndsWith(".0")) + { + version = version.Substring(0, version.Length-2); + } + + label2.Text = "SGA Explorer v"+version; + } + + /// <summary> + /// Clean up any resources being used. + /// </summary> + protected override void Dispose( bool disposing ) + { + if( disposing ) + { + if(components != null) + { + components.Dispose(); + } + } + base.Dispose( disposing ); + } + + #region Windows Form Designer generated code + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.bttnClose = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // bttnClose + // + this.bttnClose.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.bttnClose.Location = new System.Drawing.Point(200, 88); + this.bttnClose.Name = "bttnClose"; + this.bttnClose.TabIndex = 0; + this.bttnClose.Text = "Close"; + this.bttnClose.Click += new System.EventHandler(this.bttnClose_Click); + // + // label1 + // + this.label1.Location = new System.Drawing.Point(8, 32); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(272, 56); + this.label1.TabIndex = 1; + this.label1.Text = "Created by IBBoard for Skins @ Hive World Terra (http://skins.hiveworldterra.co." + + "uk)\r\n\r\nRelic SGA file format (archive) reader and extractor."; + // + // label2 + // + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); + this.label2.Location = new System.Drawing.Point(8, 8); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(264, 23); + this.label2.TabIndex = 2; + this.label2.Text = "Dawn of War SGA Explorer v1.0"; + // + // AboutSGAExplorer + // + this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); + this.ClientSize = new System.Drawing.Size(282, 113); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.bttnClose); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; + this.Name = "AboutSGAExplorer"; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "About"; + this.ResumeLayout(false); + + } + #endregion + + private void bttnClose_Click(object sender, System.EventArgs e) + { + this.Close(); + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AboutSGAExplorer.resx Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,157 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 1.3 + + 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">1.3</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1">this is my long string</data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + [base64 mime encoded serialized .NET Framework object] + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + [base64 mime encoded string representing a byte array form of the .NET Framework object] + </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 forserialized 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="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>1.3</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <data name="bttnClose.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="bttnClose.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnClose.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>(Default)</value> + </data> + <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.Name"> + <value>AboutSGAExplorer</value> + </data> + <data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>8, 8</value> + </data> + <data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>80</value> + </data> + <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> +</root> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AssemblyInfo.cs Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,61 @@ +// This file is a part of the SGA Explorer app and is copyright 2006-2018 IBBoard. +// +// The file and the library/program it is in are licensed under the GNU GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("SGA Explorer")] +[assembly: AssemblyDescription("An explorer-like application for Relic's SGA archive files (both v2, used by Dawn of War, and v4, used by Company of Heroes)")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SGAExplorer")] +[assembly: AssemblyCopyright("IBBoard, 2006-2007")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.1.0.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\<configuration>. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/COPYING Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + <program> Copyright (C) <year> <name of author> + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +<http://www.gnu.org/licenses/>. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +<http://www.gnu.org/philosophy/why-not-lgpl.html>.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DebugWindow.cs Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,115 @@ +// This file is a part of the SGA Explorer app and is copyright 2006-2018 IBBoard. +// +// The file and the library/program it is in are licensed under the GNU GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. +using System; +using System.Drawing; +using System.Collections; +using System.ComponentModel; +using System.Windows.Forms; + +namespace IBBoard.Relic.SGAExplorer +{ + /// <summary> + /// Summary description for DebugWindow. + /// </summary> + public class DebugWindow : System.Windows.Forms.Form + { + private System.Windows.Forms.TextBox txtDebugOutput; + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.Container components = null; + + public DebugWindow() + { + // + // Required for Windows Form Designer support + // + InitializeComponent(); + + ClearText(); + txtDebugOutput.Text = "SGA Explorer Debug information. Application started at "+DateTime.Now.ToString()+Environment.NewLine+txtDebugOutput.Text; + this.GotFocus+=new EventHandler(DebugWindow_GotFocus); + } + + /// <summary> + /// Clean up any resources being used. + /// </summary> + protected override void Dispose( bool disposing ) + { + if( disposing ) + { + if(components != null) + { + components.Dispose(); + } + } + base.Dispose( disposing ); + } + + #region Windows Form Designer generated code + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(DebugWindow)); + this.txtDebugOutput = new System.Windows.Forms.TextBox(); + this.SuspendLayout(); + // + // txtDebugOutput + // + this.txtDebugOutput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtDebugOutput.Location = new System.Drawing.Point(0, 0); + this.txtDebugOutput.Multiline = true; + this.txtDebugOutput.Name = "txtDebugOutput"; + this.txtDebugOutput.ReadOnly = true; + this.txtDebugOutput.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.txtDebugOutput.Size = new System.Drawing.Size(420, 272); + this.txtDebugOutput.TabIndex = 0; + this.txtDebugOutput.TabStop = false; + this.txtDebugOutput.Text = ""; + // + // DebugWindow + // + this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); + this.ClientSize = new System.Drawing.Size(416, 270); + this.Controls.Add(this.txtDebugOutput); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Name = "DebugWindow"; + this.ShowInTaskbar = false; + this.Text = "Debug"; + this.Closing += new System.ComponentModel.CancelEventHandler(this.DebugWindow_Closing); + this.ResumeLayout(false); + + } + #endregion + + public void AddText(string text) + { + txtDebugOutput.Text+= text; + txtDebugOutput.Select(txtDebugOutput.Text.Length, 0); + txtDebugOutput.ScrollToCaret(); + } + + public void ClearText() + { + txtDebugOutput.Text = "Last cleared: "+DateTime.Now.ToString()+Environment.NewLine+Environment.NewLine; + } + + private void DebugWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e) + { + this.Hide(); + e.Cancel = true; + } + + private void DebugWindow_GotFocus(object sender, EventArgs e) + { + txtDebugOutput.Select(0,0); + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DebugWindow.resx Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,204 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 1.3 + + 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">1.3</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1">this is my long string</data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + [base64 mime encoded serialized .NET Framework object] + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + [base64 mime encoded string representing a byte array form of the .NET Framework object] + </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 forserialized 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="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>1.3</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <data name="txtDebugOutput.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="txtDebugOutput.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="txtDebugOutput.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>(Default)</value> + </data> + <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.Name"> + <value>DebugWindow</value> + </data> + <data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>8, 8</value> + </data> + <data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>80</value> + </data> + <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + AAABAAIAICAAAAAAAACoCAAAJgAAABAQAAAAAAAAaAUAAM4IAAAoAAAAIAAAAEAAAAABAAgAAAAAAAAE + AAAAAAAAAAAAAAABAAAAAQAAAAAAAP///wADAhQAAgENAAUBHgAJBxYAHhhDACMiKgAFARoABAEWAAgC + JwAUC0QACAUaACcbbgAFABwAAwARAB4NaAAGBBAAYVmGAB8AmwAeAJYAHgCUAB0AkwAdAJEAHQCOABwA + iwAbAIYAGgB9ABgAegAXAHcAEQBSAA8ASQAOAEYACwA4AAoANAAHACQABwAjAAYAHwAGAB0AGwGIABwB + hwAaAYEAFgFtABYBaAAVAWEAEwFdABMBWQAfApYADgFBABoCeQANAT0ADAE6AAoBLAAbBHUAHgWAACUJ + lwAnCpkAIQmBACMLiwAoDZYAHwp0ACkOmAAlDocAKA+OAC0TlwAlEH0ANBekADMbmQAxG4YAOySbAAMC + BwBCMIgAJwCnAB8AkwAYAHEAHAF7ACQCngAjA5YAIgOOAAoEIABEJa4ANSJ3AEsypwApG1oARzZ/AFVG + jAAvALcAAgAIADAEvwBFG78ATCm2AHpc2ABhYGQAhIOHADcAyQA8A9Q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AAAAAAAAAB + AACFowAA//8AAIQhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIQhAAA= +</value> + </data> +</root> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Form1.cs Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,1173 @@ +// This file is a part of the SGA Explorer app and is copyright 2006-2018 IBBoard. +// +// The file and the library/program it is in are licensed under the GNU GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. +using System; +using System.Drawing; +using System.Collections; +using System.ComponentModel; +using System.Windows.Forms; +using System.Data; +using System.IO; +using System.Text.RegularExpressions; +using IBBoard; +using IBBoard.Graphics; +using IBBoard.Relic.RelicTools; +using IBBoard.Windows.Forms; + +namespace IBBoard.Relic.SGAExplorer +{ + /// <summary> + /// Summary description for Form1. + /// </summary> + public class Form1 : System.Windows.Forms.Form + { + #region Form and app variables + private Preferences pref; + private SgaArchive archive; + private TreeNode root; + private System.Windows.Forms.MainMenu mainMenu1; + private System.Windows.Forms.MenuItem menuItem1; + private System.Windows.Forms.MenuItem menuItem2; + private System.Windows.Forms.MenuItem menuItem3; + private System.Windows.Forms.MenuItem menuItem4; + private System.Windows.Forms.OpenFileDialog openFileDialog; + private System.Windows.Forms.TreeView treeView; + private System.Windows.Forms.ListView listView; + private System.Windows.Forms.ImageList folderList; + private System.Windows.Forms.StatusBar statusBar; + private System.Windows.Forms.Timer timer; + private System.Windows.Forms.MenuItem menuItem5; + private System.Windows.Forms.MenuItem menuItem6; + private System.Windows.Forms.MenuItem menuItem7; + private System.Windows.Forms.ImageList tinyImageList; + private System.Windows.Forms.ImageList iconImageList; + private System.Windows.Forms.MenuItem menuItem8; + private System.Windows.Forms.ColumnHeader colName; + private System.Windows.Forms.ColumnHeader colSize; + private System.Windows.Forms.ColumnHeader colSizeUncompressed; + private System.Windows.Forms.ColumnHeader colExtension; + private System.Windows.Forms.ColumnHeader colExtensionLong; + private System.Windows.Forms.ContextMenu contextMenuFiles; + private System.Windows.Forms.MenuItem menuItem9; + private System.Windows.Forms.MenuItem menuItem10; + private System.ComponentModel.IContainer components; + private System.Windows.Forms.MenuItem menuItem13; + private System.Windows.Forms.MenuItem menuItem14; + private System.Windows.Forms.MenuItem menuItem15; + private System.Windows.Forms.MenuItem menuItem16; + private System.Windows.Forms.Button bttnGo; + private System.Windows.Forms.TextBox txtPath; + private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog; + private IBBoard.Windows.Forms.ListViewColumnSorter listViewSorter; + private SgaArchive.ExtractionNotification notificationFailure; + private SgaArchive.ExtractionNotification notificationSuccess; + private SgaArchive.ExtractionNotification notificationEvent; + private string output; + private int extractSuccess; + private int extractFailure; + private System.Windows.Forms.MenuItem menuItem17; + private System.Windows.Forms.MenuItem menuItem18; + private DebugWindow debugWindow; + private System.Windows.Forms.ColumnHeader colCompressionType; + private System.Windows.Forms.MenuItem miTypeToDefault; + private System.Windows.Forms.MenuItem miTypeToLocation; + private System.Windows.Forms.MenuItem miTypeToDefaultHexedit; + private System.Windows.Forms.MenuItem miTypeToLocationHexedit; + private System.Windows.Forms.MenuItem miToDefaultHexedit; + private System.Windows.Forms.MenuItem miToLocationHexedit; + private Options opt; + #endregion + + public Form1(string[] args) + { + pref = new Preferences("SGAExplorer"); + debugWindow = new DebugWindow(); + debugWindow.Closing+= new CancelEventHandler(debugWindow_Closing); + opt = new Options(pref); + // + // Required for Windows Form Designer support + // + InitializeComponent(); + + listViewSorter = new ListViewColumnSorter(); + listView.ListViewItemSorter = listViewSorter; + + switch((View)pref["ViewType"]) + { + case View.List: menuItem6_Click(this, EventArgs.Empty); + break; + case View.LargeIcon: menuItem7_Click(this, EventArgs.Empty); + break; + case View.Details: menuItem8_Click(this, EventArgs.Empty); + break; + default: menuItem6_Click(this, EventArgs.Empty); + break; + } + + if ((bool)pref["ShowDebug"]) + { + debugWindow.Show(); + menuItem18.Checked = true; + this.Focus(); + } + + notificationFailure = new SgaArchive.ExtractionNotification(ExtractionFailure); + notificationSuccess = new SgaArchive.ExtractionNotification(ExtractionSuccess); + notificationEvent = new SgaArchive.ExtractionNotification(ExtractionEvent); + + if (args.Length==1 && args[0].EndsWith(".sga") && File.Exists(args[0])) + { + loadSGA(args[0]); + } + } + + /// <summary> + /// Clean up any resources being used. + /// </summary> + protected override void Dispose( bool disposing ) + { + if( disposing ) + { + if (components != null) + { + components.Dispose(); + } + } + base.Dispose( disposing ); + } + + #region Windows Form Designer generated code + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); + this.treeView = new System.Windows.Forms.TreeView(); + this.contextMenuFiles = new System.Windows.Forms.ContextMenu(); + this.menuItem9 = new System.Windows.Forms.MenuItem(); + this.menuItem10 = new System.Windows.Forms.MenuItem(); + this.miToDefaultHexedit = new System.Windows.Forms.MenuItem(); + this.miToLocationHexedit = new System.Windows.Forms.MenuItem(); + this.miTypeToDefault = new System.Windows.Forms.MenuItem(); + this.miTypeToLocation = new System.Windows.Forms.MenuItem(); + this.miTypeToDefaultHexedit = new System.Windows.Forms.MenuItem(); + this.miTypeToLocationHexedit = new System.Windows.Forms.MenuItem(); + this.folderList = new System.Windows.Forms.ImageList(this.components); + this.listView = new System.Windows.Forms.ListView(); + this.colName = new System.Windows.Forms.ColumnHeader(); + this.colSize = new System.Windows.Forms.ColumnHeader(); + this.colSizeUncompressed = new System.Windows.Forms.ColumnHeader(); + this.colExtension = new System.Windows.Forms.ColumnHeader(); + this.colExtensionLong = new System.Windows.Forms.ColumnHeader(); + this.colCompressionType = new System.Windows.Forms.ColumnHeader(); + this.iconImageList = new System.Windows.Forms.ImageList(this.components); + this.tinyImageList = new System.Windows.Forms.ImageList(this.components); + this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); + this.mainMenu1 = new System.Windows.Forms.MainMenu(); + this.menuItem1 = new System.Windows.Forms.MenuItem(); + this.menuItem2 = new System.Windows.Forms.MenuItem(); + this.menuItem3 = new System.Windows.Forms.MenuItem(); + this.menuItem4 = new System.Windows.Forms.MenuItem(); + this.menuItem13 = new System.Windows.Forms.MenuItem(); + this.menuItem14 = new System.Windows.Forms.MenuItem(); + this.menuItem5 = new System.Windows.Forms.MenuItem(); + this.menuItem6 = new System.Windows.Forms.MenuItem(); + this.menuItem7 = new System.Windows.Forms.MenuItem(); + this.menuItem8 = new System.Windows.Forms.MenuItem(); + this.menuItem17 = new System.Windows.Forms.MenuItem(); + this.menuItem18 = new System.Windows.Forms.MenuItem(); + this.menuItem15 = new System.Windows.Forms.MenuItem(); + this.menuItem16 = new System.Windows.Forms.MenuItem(); + this.statusBar = new System.Windows.Forms.StatusBar(); + this.timer = new System.Windows.Forms.Timer(this.components); + this.txtPath = new System.Windows.Forms.TextBox(); + this.bttnGo = new System.Windows.Forms.Button(); + this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog(); + this.SuspendLayout(); + // + // treeView + // + this.treeView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left))); + this.treeView.ContextMenu = this.contextMenuFiles; + this.treeView.ImageList = this.folderList; + this.treeView.Location = new System.Drawing.Point(0, 20); + this.treeView.Name = "treeView"; + this.treeView.Size = new System.Drawing.Size(310, 470); + this.treeView.TabIndex = 0; + this.treeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseDown); + this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterSelect); + // + // contextMenuFiles + // + this.contextMenuFiles.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { + this.menuItem9, + this.menuItem10, + this.miToDefaultHexedit, + this.miToLocationHexedit, + this.miTypeToDefault, + this.miTypeToLocation, + this.miTypeToDefaultHexedit, + this.miTypeToLocationHexedit}); + this.contextMenuFiles.Popup += new System.EventHandler(this.contextMenuFiles_Popup); + // + // menuItem9 + // + this.menuItem9.Enabled = false; + this.menuItem9.Index = 0; + this.menuItem9.Text = "Extract to &default"; + this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click); + // + // menuItem10 + // + this.menuItem10.Enabled = false; + this.menuItem10.Index = 1; + this.menuItem10.Text = "Extract to &location"; + this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click); + // + // miToDefaultHexedit + // + this.miToDefaultHexedit.Enabled = false; + this.miToDefaultHexedit.Index = 2; + this.miToDefaultHexedit.RadioCheck = true; + this.miToDefaultHexedit.Text = "Extract and &hex-edit"; + // + // miToLocationHexedit + // + this.miToLocationHexedit.Enabled = false; + this.miToLocationHexedit.Index = 3; + this.miToLocationHexedit.RadioCheck = true; + this.miToLocationHexedit.Text = "Extract to location and he&x-edit"; + // + // miTypeToDefault + // + this.miTypeToDefault.Enabled = false; + this.miTypeToDefault.Index = 4; + this.miTypeToDefault.Text = "Extract type to default"; + this.miTypeToDefault.Click += new System.EventHandler(this.miTypeToDefault_Click); + // + // miTypeToLocation + // + this.miTypeToLocation.Enabled = false; + this.miTypeToLocation.Index = 5; + this.miTypeToLocation.Text = "Extract type to location"; + this.miTypeToLocation.Click += new System.EventHandler(this.miTypeToLocation_Click); + // + // miTypeToDefaultHexedit + // + this.miTypeToDefaultHexedit.Enabled = false; + this.miTypeToDefaultHexedit.Index = 6; + this.miTypeToDefaultHexedit.RadioCheck = true; + this.miTypeToDefaultHexedit.Text = "Extract type and hex-edit"; + this.miTypeToDefaultHexedit.Click += new System.EventHandler(this.miTypeToDefaultHexedit_Click); + // + // miTypeToLocationHexedit + // + this.miTypeToLocationHexedit.Enabled = false; + this.miTypeToLocationHexedit.Index = 7; + this.miTypeToLocationHexedit.RadioCheck = true; + this.miTypeToLocationHexedit.Text = "Extract type to location and hex-edit"; + this.miTypeToLocationHexedit.Click += new System.EventHandler(this.miTypeToLocationHexedit_Click); + // + // folderList + // + this.folderList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; + this.folderList.ImageSize = new System.Drawing.Size(16, 16); + this.folderList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("folderList.ImageStream"))); + this.folderList.TransparentColor = System.Drawing.Color.Transparent; + // + // listView + // + this.listView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.listView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.colName, + this.colSize, + this.colSizeUncompressed, + this.colExtension, + this.colExtensionLong, + this.colCompressionType}); + this.listView.ContextMenu = this.contextMenuFiles; + this.listView.LargeImageList = this.iconImageList; + this.listView.Location = new System.Drawing.Point(312, 20); + this.listView.Name = "listView"; + this.listView.Size = new System.Drawing.Size(310, 470); + this.listView.SmallImageList = this.tinyImageList; + this.listView.TabIndex = 1; + this.listView.View = System.Windows.Forms.View.List; + this.listView.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_ColumnClick); + this.listView.SelectedIndexChanged += new System.EventHandler(this.listView_SelectedIndexChanged); + // + // colName + // + this.colName.Text = "File Name"; + this.colName.Width = 200; + // + // colSize + // + this.colSize.Text = "Size"; + // + // colSizeUncompressed + // + this.colSizeUncompressed.Text = "Unzipped Size"; + this.colSizeUncompressed.Width = 90; + // + // colExtension + // + this.colExtension.Text = "Extension"; + this.colExtension.Width = 70; + // + // colExtensionLong + // + this.colExtensionLong.Text = "File Type Desc."; + this.colExtensionLong.Width = 120; + // + // colCompressionType + // + this.colCompressionType.Text = "Compression Type"; + // + // iconImageList + // + this.iconImageList.ImageSize = new System.Drawing.Size(32, 32); + this.iconImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("iconImageList.ImageStream"))); + this.iconImageList.TransparentColor = System.Drawing.Color.Transparent; + // + // tinyImageList + // + this.tinyImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; + this.tinyImageList.ImageSize = new System.Drawing.Size(16, 16); + this.tinyImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("tinyImageList.ImageStream"))); + this.tinyImageList.TransparentColor = System.Drawing.Color.Transparent; + // + // mainMenu1 + // + this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { + this.menuItem1, + this.menuItem13, + this.menuItem5, + this.menuItem15}); + // + // menuItem1 + // + this.menuItem1.Index = 0; + this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { + this.menuItem2, + this.menuItem3, + this.menuItem4}); + this.menuItem1.Text = "&File"; + // + // menuItem2 + // + this.menuItem2.Index = 0; + this.menuItem2.Text = "&Open"; + this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click); + // + // menuItem3 + // + this.menuItem3.Index = 1; + this.menuItem3.Text = "-"; + // + // menuItem4 + // + this.menuItem4.Index = 2; + this.menuItem4.Text = "E&xit"; + this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click); + // + // menuItem13 + // + this.menuItem13.Index = 1; + this.menuItem13.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { + this.menuItem14}); + this.menuItem13.Text = "&Edit"; + // + // menuItem14 + // + this.menuItem14.Index = 0; + this.menuItem14.Text = "&Options"; + this.menuItem14.Click += new System.EventHandler(this.menuItem14_Click); + // + // menuItem5 + // + this.menuItem5.Index = 2; + this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { + this.menuItem6, + this.menuItem7, + this.menuItem8, + this.menuItem17, + this.menuItem18}); + this.menuItem5.Text = "&View"; + // + // menuItem6 + // + this.menuItem6.Checked = true; + this.menuItem6.Index = 0; + this.menuItem6.RadioCheck = true; + this.menuItem6.Text = "&List"; + this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click); + // + // menuItem7 + // + this.menuItem7.Index = 1; + this.menuItem7.RadioCheck = true; + this.menuItem7.Text = "&Icons"; + this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click); + // + // menuItem8 + // + this.menuItem8.Index = 2; + this.menuItem8.RadioCheck = true; + this.menuItem8.Text = "&Detail"; + this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click); + // + // menuItem17 + // + this.menuItem17.Index = 3; + this.menuItem17.Text = "-"; + // + // menuItem18 + // + this.menuItem18.Index = 4; + this.menuItem18.Text = "Debug &Information"; + this.menuItem18.Click += new System.EventHandler(this.menuItem18_Click); + // + // menuItem15 + // + this.menuItem15.Index = 3; + this.menuItem15.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { + this.menuItem16}); + this.menuItem15.Text = "&Help"; + // + // menuItem16 + // + this.menuItem16.Index = 0; + this.menuItem16.Text = "&About"; + this.menuItem16.Click += new System.EventHandler(this.menuItem16_Click); + // + // statusBar + // + this.statusBar.Location = new System.Drawing.Point(0, 490); + this.statusBar.Name = "statusBar"; + this.statusBar.Size = new System.Drawing.Size(622, 22); + this.statusBar.TabIndex = 2; + // + // timer + // + this.timer.Interval = 1000; + this.timer.Tick += new System.EventHandler(this.timer_Tick); + // + // txtPath + // + this.txtPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtPath.Location = new System.Drawing.Point(0, 0); + this.txtPath.Name = "txtPath"; + this.txtPath.Size = new System.Drawing.Size(556, 20); + this.txtPath.TabIndex = 3; + this.txtPath.Text = ""; + this.txtPath.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtPath_KeyDown); + // + // bttnGo + // + this.bttnGo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.bttnGo.Enabled = false; + this.bttnGo.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.bttnGo.Location = new System.Drawing.Point(556, 0); + this.bttnGo.Name = "bttnGo"; + this.bttnGo.Size = new System.Drawing.Size(66, 20); + this.bttnGo.TabIndex = 4; + this.bttnGo.Text = "Go"; + this.bttnGo.Click += new System.EventHandler(this.bttnGo_Click); + // + // Form1 + // + this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); + this.ClientSize = new System.Drawing.Size(622, 512); + this.Controls.Add(this.bttnGo); + this.Controls.Add(this.txtPath); + this.Controls.Add(this.statusBar); + this.Controls.Add(this.listView); + this.Controls.Add(this.treeView); + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Menu = this.mainMenu1; + this.Name = "Form1"; + this.Text = "SGA Explorer"; + this.Load += new System.EventHandler(this.Form1_Load); + this.ResumeLayout(false); + + } + #endregion + + /// <summary> + /// The main entry point for the application. + /// </summary> + [STAThread] + static void Main(string[] args) + { + Application.EnableVisualStyles(); + Application.DoEvents(); + Application.Run(new Form1(args)); + } + + private void menuItem4_Click(object sender, System.EventArgs e) + { + this.Close(); + } + + private void Form1_Load(object sender, System.EventArgs e) + { + openFileDialog.FileName = ""; + openFileDialog.Filter = "SGA Archive (*.sga)|*.sga"; + openFileDialog.InitialDirectory = pref["DoWPath"].ToString(); + openFileDialog.Multiselect = false; + openFileDialog.CheckFileExists = true; + + foreach (ColumnHeader ch in listView.Columns) + { + ch.Width = -2; + } + + } + + private void menuItem2_Click(object sender, System.EventArgs e) + { + DialogResult dr = openFileDialog.ShowDialog(this); + + if (dr==DialogResult.OK) + { + loadSGA(openFileDialog.FileName); + } + } + + private void loadSGA(string archivePath) + { + if (archive!=null) + { + archive.OnExtractFileFail-= notificationFailure; + archive.OnExtractFolderFail-= notificationFailure; + archive.OnExtractFileSuccess-= notificationSuccess; + archive.OnExtractFolderSuccess-= notificationSuccess; + } + + statusBar.Text = "Loading SGA File..."; + Output("Loading SGA: "+archivePath, false); + try + { + archive = new SgaArchive(archivePath); + + statusBar.Text = "Loading folders..."; + root = new TreeNode(archive.Root.Name, 0, 1); + root.Tag = archive.Root; + + foreach(SgaFolder child in archive.Root.SubFolders.Values) + { + loadFolderTree(child, root); + } + + treeView.Nodes.Clear(); + treeView.Nodes.Add(root); + listView.Items.Clear(); + bttnGo.Enabled = true; + + folderBrowserDialog.SelectedPath = archive.DefaultPath; + + statusBar.Text = "Loaded"; + + archive.OnExtractFileFail+= notificationFailure; + archive.OnExtractFolderFail+= notificationFailure; + archive.OnExtractFileSuccess+= notificationSuccess; + archive.OnExtractFolderSuccess+= notificationSuccess; + } + catch (Exception ex) + { + debugWindow.AddText(ex.Message+Environment.NewLine+ex.StackTrace); + ShowOutput(false); + ClearOutput(false); + MessageBox.Show(this, "Error: "+ ex.Message); + } + finally + { + timer.Enabled = true; + } + } + + private void loadFolderTree(SgaFolder folder, TreeNode parent) + { + TreeNode node = new TreeNode(folder.Name, 0, 1); + node.Tag = folder; + parent.Nodes.Add(node); + + foreach(SgaFolder child in folder.SubFolders.Values) + { + loadFolderTree(child, node); + } + } + + private void treeView_AfterSelect(object sender, System.Windows.Forms.TreeViewEventArgs e) + { + SgaFolder folder = (SgaFolder)e.Node.Tag; + + listView.Items.Clear(); + + if (folder!=null) + { + txtPath.Text = folder.Path.TrimEnd('\\'); + } + else + { + txtPath.Text = ""; + } + + if (folder!=null && folder.Files.Count>0) + { + statusBar.Text = "Loading files..."; + ListViewItem item; + ListViewItem[] items = new ListViewItem[folder.Files.Count]; + int i = 0; + + foreach (SgaFile file in folder.Files.Values) + { + //FIXME: In Linux the items are in a seemingly random order, even though they're added in alphabetical order + item = new ListViewItem(file.Name, 0);//(int)file.Format); + item.SubItems.AddRange(new string[]{file.Size.ToString(), file.SizeUncompressed.ToString(), file.Type, file.TypeDesc, file.Compression.ToString()}); + item.Tag = file; + items[i] = item; + i++; + } + + listView.Items.AddRange(items); + + statusBar.Text = "Loaded"; + timer.Enabled = true; + } + else + { + statusBar.Text = ""; + } + + if (treeView.SelectedNode!=null) + { + foreach(MenuItem item in contextMenuFiles.MenuItems) + { + item.Enabled = true; + } + } + else + { + foreach(MenuItem item in contextMenuFiles.MenuItems) + { + item.Enabled = false; + } + } + + } + + private void timer_Tick(object sender, System.EventArgs e) + { + timer.Enabled = false; + statusBar.Text = ((listView.Items.Count>1)?listView.Items.Count+" items":((listView.Items.Count>0)?"1 item":"")); + } + + private void menuItem6_Click(object sender, System.EventArgs e) + { + listView.View = View.List; + menuItem6.Checked = true; + menuItem7.Checked = false; + menuItem8.Checked = false; + } + + private void menuItem7_Click(object sender, System.EventArgs e) + { + listView.View = View.LargeIcon; + menuItem6.Checked = false; + menuItem7.Checked = true; + menuItem8.Checked = false; + } + + private void menuItem8_Click(object sender, System.EventArgs e) + { + listView.View = View.Details; + menuItem6.Checked = false; + menuItem7.Checked = false; + menuItem8.Checked = true; + } + + private void listView_SelectedIndexChanged(object sender, System.EventArgs e) + { + } + + private void menuItem9_Click(object sender, System.EventArgs e) + { + ClearOutput(); + + if (listView.Focused) + { + foreach(ListViewItem item in listView.SelectedItems) + { + if (item.Tag is SgaFile) + { + archive.Extract(((SgaFile)item.Tag).Path, (bool)pref["Overwrite"]); + } + } + } + else if (treeView.Focused) + { + if (treeView.SelectedNode!=null) + { + archive.ExtractFolder(((SgaFolder)treeView.SelectedNode.Tag).Path, true, (bool)pref["Overwrite"]); + } + } + + ShowOutput(true); + } + + private void listView_ColumnClick(object sender, System.Windows.Forms.ColumnClickEventArgs e) + { + // Determine if clicked column is already the column that is being sorted. + if ( e.Column == listViewSorter.SortColumn ) + { + // Reverse the current sort direction for this column. + if (listViewSorter.Order == SortOrder.Ascending) + { + listViewSorter.Order = SortOrder.Descending; + } + else + { + listViewSorter.Order = SortOrder.Ascending; + } + } + else + { + // Set the column number that is to be sorted; default to ascending. + listViewSorter.SortColumn = e.Column; + listViewSorter.Order = SortOrder.Ascending; + } + + // Perform the sort with these new sort options. + this.listView.Sort(); + } + + private void menuItem16_Click(object sender, System.EventArgs e) + { + AboutSGAExplorer frm = new AboutSGAExplorer(); + frm.ShowDialog(this); + frm.Dispose(); + } + + private void menuItem14_Click(object sender, System.EventArgs e) + { + DialogResult dr = opt.ShowDialog(this); + + if (dr==DialogResult.OK) + { + if ((View)pref["ViewType"]!=listView.View) + { + switch((View)pref["ViewType"]) + { + case View.List: menuItem6_Click(this, EventArgs.Empty); + break; + case View.LargeIcon: menuItem7_Click(this, EventArgs.Empty); + break; + case View.Details: menuItem8_Click(this, EventArgs.Empty); + break; + default: menuItem6_Click(this, EventArgs.Empty); + break; + } + } + + if ((bool)pref["ShowDebug"]) + { + debugWindow.Show(); + menuItem18.Checked = true; + } + else + { + debugWindow.Hide(); + menuItem18.Checked = false; + } + } + } + + private void bttnGo_Click(object sender, System.EventArgs e) + { + string file = ""; + + if (txtPath.Text == "") + { + txtPath.Text = this.archive.Root.Path; + } + + txtPath.Text.Replace("/", "\\"); + + if (txtPath.Text.LastIndexOf('.')>txtPath.Text.LastIndexOf('\\')) + { + int pos = txtPath.Text.LastIndexOf('\\'); + file = txtPath.Text.Substring(pos+1); + txtPath.Text = txtPath.Text.Substring(0, pos); + } + + //remove the leading slash before we split because of the new path format + string[] pathParts = txtPath.Text.TrimStart('\\').Split('\\'); + bool found = false; + TreeNode folder = treeView.Nodes[0]; + + if (folder.Text!=pathParts[0]) + { + MessageBox.Show(this, "The path '"+txtPath.Text+"' could not be found in this SGA archive.\r\nPlease check the path and try again", "Path not found", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); + txtPath.Focus(); + txtPath.SelectAll(); + return; + } + else if (pathParts.Length > 1) + { + for (int i = 1; i<pathParts.Length; i++) + { + found = false; + + foreach (TreeNode fold in folder.Nodes) + { + if (fold.Text==pathParts[i]) + { + folder = fold; + found = true; + break; + } + } + + if (found==false) + { + MessageBox.Show(this, "The path '"+txtPath.Text+"' could not be found in this SGA archive.\r\nPlease check the path and try again", "Path not found", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); + txtPath.Focus(); + txtPath.SelectAll(); + return; + } + } + } + + treeView.SelectedNode = folder; + + if (file!="") + { + Application.DoEvents(); + + foreach(ListViewItem lvi in listView.Items) + { + if (lvi.Text == file) + { + lvi.Selected = true; + break; + } + } + + listView.Select(); + } + } + + private void txtPath_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) + { + if(e.KeyData == (Keys.Control|Keys.A) && e.Control) + { + txtPath.SelectAll(); + } + else if (e.KeyData == Keys.Enter && bttnGo.Enabled) + { + bttnGo_Click(txtPath, EventArgs.Empty); + } + } + + private void menuItem10_Click(object sender, System.EventArgs e) + { + bool defaultPath = false; + + string path = folderBrowserDialog.SelectedPath+"\\"+((SgaFolder)treeView.SelectedNode.Tag).InternalPath.TrimEnd('\\'); + + if (folderBrowserDialog.SelectedPath == archive.DefaultPath) + { + defaultPath = true; + + if (!Directory.Exists(path)) + { + Directory.CreateDirectory(path); + } + + folderBrowserDialog.SelectedPath = path; + } + + DialogResult dr = folderBrowserDialog.ShowDialog(); + + if (dr==DialogResult.OK) + { + if (path != folderBrowserDialog.SelectedPath) + { + defaultPath = false; + } + + ClearOutput(); + if (listView.Focused) + { + foreach(ListViewItem item in listView.SelectedItems) + { + if (item.Tag is SgaFile) + { + archive.Extract(((SgaFile)item.Tag).Path, folderBrowserDialog.SelectedPath, (bool)pref["Overwrite"]); + } + } + } + else if (treeView.Focused) + { + if (treeView.SelectedNode!=null) + { + archive.ExtractFolder(((SgaFolder)treeView.SelectedNode.Tag).Path, folderBrowserDialog.SelectedPath, true, (bool)pref["Overwrite"]); + } + } + + ShowOutput(true); + } + + if (defaultPath) + { + folderBrowserDialog.SelectedPath = archive.DefaultPath; + } + } + + private void treeView_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) + { + if (e.Button == MouseButtons.Right) + { + TreeNode tn = treeView.GetNodeAt(e.X, e.Y); + + if (tn!=null) + { + treeView.SelectedNode = tn; + } + else + { + treeView.SelectedNode = null; + } + } + } + + private void contextMenuFiles_Popup(object sender, System.EventArgs e) + { + if (listView.Focused) + { + if (listView.SelectedItems.Count>0) + { + foreach(MenuItem item in contextMenuFiles.MenuItems) + { + item.Enabled = !item.RadioCheck; + item.Visible = !(item==miTypeToDefaultHexedit || item==miTypeToLocationHexedit || item==miTypeToDefault || item==miTypeToLocation); + } + } + else + { + foreach(MenuItem item in contextMenuFiles.MenuItems) + { + item.Enabled = false; + item.Visible = !(item==miTypeToDefaultHexedit || item==miTypeToLocationHexedit || item==miTypeToDefault || item==miTypeToLocation); + } + } + } + else if (treeView.Focused) + { + if (treeView.SelectedNode!=null) + { + foreach(MenuItem item in contextMenuFiles.MenuItems) + { + item.Enabled = !item.RadioCheck; + item.Visible = true; + } + } + else + { + foreach(MenuItem item in contextMenuFiles.MenuItems) + { + item.Visible = false; + } + } + } + } + + private void ExtractionSuccess(string type, string name, string message) + { + extractSuccess++; + Output(String.Format("Extraction of {0} \"{1}\" succeeded", type, name), true); + } + + private void ExtractionFailure(string type, string name, string message) + { + extractFailure++; + Output(String.Format("Extraction of {0} \"{1}\" failed: {2}", type, name, message), true); + } + + private void ExtractionEvent(string type, string name, string message) + { + Output(message, false); + } + + private void Output(string str, bool dialog) + { + str+= Environment.NewLine; + + if (dialog) + { + output+= str; + } + + debugWindow.AddText(str); + } + + private void ShowOutput(bool dialog) + { + if (dialog) + { + if (output!="") + { + string msg = output; + + if (extractFailure+extractSuccess>10) + { + msg = Regex.Replace(output, "(([^\r]+\r\n){10}).*", "$1", RegexOptions.Singleline)+"..."+Environment.NewLine+Environment.NewLine+"Too many messages to display. Check debug for full output."; + } + + MessageBox.Show(this, String.Format("{0} successes and {1} failures", extractSuccess, extractFailure) +Environment.NewLine+Environment.NewLine+ + msg, "Extraction Messages", MessageBoxButtons.OK, + MessageBoxIcon.Information); + } + } + else + { + debugWindow.Show(); + } + } + + private void ClearOutput() + { + ClearOutput(false); + } + + private void menuItem18_Click(object sender, System.EventArgs e) + { + if (!menuItem18.Checked) + { + debugWindow.Show(); + } + else + { + debugWindow.Hide(); + } + + menuItem18.Checked = !menuItem18.Checked; + } + + private void ClearOutput(bool clearDebug) + { + output = ""; + extractFailure = 0; + extractSuccess = 0; + + if (clearDebug) + { + debugWindow.ClearText(); + } + else + { + //else if we don't want to clear the debug window, just add a new line to space the + //next lot of output away from the last lot + debugWindow.AddText(Environment.NewLine); + } + } + + private void debugWindow_Closing(object sender, CancelEventArgs e) + { + menuItem18.Checked = false; + } + + private void miTypeToDefault_Click(object sender, System.EventArgs e) + { + if (treeView.Focused) + { + FrmFileType type = new FrmFileType(); + DialogResult dr = type.ShowDialog(this); + + if (dr==DialogResult.OK) + { + ClearOutput(); + + if (treeView.SelectedNode!=null) + { + archive.ExtractType(type.SelectedExtension, ((SgaFolder)treeView.SelectedNode.Tag).Path, true, (bool)pref["Overwrite"]); + } + + ShowOutput(true); + } + } + } + + private void miTypeToLocation_Click(object sender, System.EventArgs e) + { + if (treeView.Focused) + { + FrmFileType type = new FrmFileType(); + DialogResult dr = type.ShowDialog(this); + + if (dr!=DialogResult.OK) + { + return; + } + + bool defaultPath = false; + + string path = folderBrowserDialog.SelectedPath+"\\"+((SgaFolder)treeView.SelectedNode.Tag).InternalPath.TrimEnd('\\'); + + if (folderBrowserDialog.SelectedPath == archive.DefaultPath) + { + defaultPath = true; + + if (!Directory.Exists(path)) + { + Directory.CreateDirectory(path); + } + + folderBrowserDialog.SelectedPath = path; + } + + dr = folderBrowserDialog.ShowDialog(); + + if (dr==DialogResult.OK) + { + if (path != folderBrowserDialog.SelectedPath) + { + defaultPath = false; + } + + ClearOutput(); + if (treeView.SelectedNode!=null) + { + archive.ExtractType(type.SelectedExtension, ((SgaFolder)treeView.SelectedNode.Tag).Path, folderBrowserDialog.SelectedPath, true, (bool)pref["Overwrite"]); + } + + ShowOutput(true); + } + + if (defaultPath) + { + folderBrowserDialog.SelectedPath = archive.DefaultPath; + } + } + } + + private void miTypeToDefaultHexedit_Click(object sender, System.EventArgs e) + { + + } + + private void miTypeToLocationHexedit_Click(object sender, System.EventArgs e) + { + + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Form1.resx Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,686 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 1.3 + + 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">1.3</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1">this is my long string</data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + [base64 mime encoded serialized .NET Framework object] + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + [base64 mime encoded string representing a byte array form of the .NET Framework object] + </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 forserialized 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="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>1.3</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <data name="treeView.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="treeView.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="treeView.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="contextMenuFiles.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="contextMenuFiles.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </data> + <data name="contextMenuFiles.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem9.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem9.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem10.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem10.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="miToDefaultHexedit.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="miToDefaultHexedit.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="miToLocationHexedit.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="miToLocationHexedit.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="miTypeToDefault.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="miTypeToDefault.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="miTypeToLocation.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="miTypeToLocation.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="miTypeToDefaultHexedit.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="miTypeToDefaultHexedit.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="miTypeToLocationHexedit.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="miTypeToLocationHexedit.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="folderList.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="folderList.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="folderList.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>157, 17</value> + </data> + <data name="folderList.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64"> + <value> + AAEAAAD/////AQAAAAAAAAAMAgAAAFpTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0xLjAuNTAw + MC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZT + eXN0ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMA + AAAqCQAAAk1TRnQBSQFMAgEBAgEAAQQBAAEEAQABEAEAARABAAT/ASEBEAj/AUIBTQE2BwABNgMAASgD + AAFAAwABEAMAAQEBAAEgBgABEP8AGwABGAF5AZwB/wEYAXkBnAH/ARgBeQGcAf8BGAF5AZwB/wEYAXkB + nAH/ARgBeQGcAf8BGAF5AZwB/wEYAXkBnAH/ARgBeQGcAf8BGAF5AZwB/wEYAXkBnAH/ARgBeQGcAf8B + GAF5AZwB/8gAARgBjgG1Af8BGAGOAbUB/wEYAY4BtQH/ARgBjgG1Af8BGAGOAbUB/wEYAY4BtQH/ARgB + jgG1Af8BGAGOAbUB/wEYAY4BtQH/ARgBjgG1Af8BGAGOAbUB/wEYAY4BtQH/ARgBjgG1Af8BGAGOAbUB + /wEYAXkBnAH/CAABGAF5AZwB/wEYAXkBnAH/ARgBeQGcAf8BGAF5AZwB/wEYAXkBnAH/ARgBeQGcAf8B + GAF5AZwB/wEYAXkBnAH/ARgBeQGcAf8BGAF5AZwB/5AAATEBngG9Af8BYwHLAv8BGAGOAbUB/wGcA/8B + awHXAv8BawHXAv8BawHXAv8BawHXAv8BawHXAv8BawHXAv8BawHXAv8BawHXAv8BOQGyAd4B/wGcAfMC + /wEYAY4BtQH/ARgBeQGcAf8EAAEYAZYBwAH/ARgBlgHAAf8BGAGWAcAB/wEYAZYBwAH/ARgBlgHAAf8B + GAGWAcAB/wEYAZYBwAH/ARgBlgHAAf8BGAGWAcAB/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AATEBngG9Af8BMQGeAb0B/wExAZ4BvQH/ATEBngG9Af8sAAEhAaIB + zhH/ARgBmgHGAf/sAAEhAaIBzgH/ASEBogHOAf8BIQGiAc4B/wEhAaIBzgH//wCpAAFCAU0BPgcAAT4D + AAEoAwABQAMAARADAAEBAQABAQUAAYAXAAP/AQAE/wQAAcABAQL/BAABgAEAAcABDwYAAYABBwcAAQMH + AAEDBwABAwcAAQEHAAEBBQABAQEAAQEFAAEHAQABAQUAAQcBAAEDBAABgQH/AQABBwQAAcMB/wGBAf8E + AAL/AcMB/wQABP8aAAs= +</value> + </data> + <data name="listView.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="listView.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="listView.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colName.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colName.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colSize.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colSize.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colSizeUncompressed.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colSizeUncompressed.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colExtension.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colExtension.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colExtensionLong.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colExtensionLong.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colCompressionType.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colCompressionType.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="iconImageList.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="iconImageList.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="iconImageList.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>254, 17</value> + </data> + <data name="iconImageList.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64"> + <value> + AAEAAAD/////AQAAAAAAAAAMAgAAAFpTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lv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7AEHAewKAAHsEv8B7AEHAewKAAHsEv8B7AEHAewKAAHsARsR/wGSAbwBEgoAAewB/wHxAvAB + 8Q3/AuwLAAHsEv8C7AsAAewS/wLsCwAB7BIbAZIBEgsAAewS/wHsDAAB7BL/AewMAAHsEv8B7AwAE+wB + kgwAAewBABLsDAAU7AwAFOwJAAFCAU0BPgcAAT4DAAEoAwABgAMAAWADAAEBAQABAQYAAQYWAAP//wD/ + AAMAAeACAAEHDAAB4AIAAQcMAAHgAgABBwwAAeACAAEHDAAB4AIAAQcMAAHgAgABBwwAAeACAAEHDAAB + 4AIAAQcMAAHgAgABBwwAAeACAAEHDAAB4AIAAQcMAAHgAgABBwwAAeACAAEHDAAB4AIAAQcMAAHgAgAB + BwwAAeACAAEHDAAB4AIAAQcMAAHgAgABBwwAAeACAAEHDAAB4AIAAQcMAAHgAgABBwwAAeACAAEHDAAB + 4AIAAQcMAAHgAgABBwwAAeACAAEHDAAB4AIAAQcMAAHgAgABDwwAAeACAAEfDAAB4AIAAT8MAAHgAgAB + fwwAAeACAAH/DAAB4AEAAQEB/wwAAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeAC + AAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeAC + AAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeAC + AAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeAC + AAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeAC + AAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeAC + AAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeAC + AAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeAC + AAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeAC + AAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeAC + AAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEHAeACAAEPAeACAAEPAeAC + AAEPAeACAAEPAeACAAEfAeACAAEfAeACAAEfAeACAAEfAeACAAE/AeACAAE/AeACAAE/AeACAAE/AeAC + AAF/AeACAAF/AeACAAF/AeACAAF/AeACAAH/AeACAAH/AeACAAH/AeACAAH/AeABAAEBAf8B4AEAAQEB + /wHgAQABAQH/AeABAAEBAf8WAAs= +</value> + </data> + <data name="tinyImageList.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="tinyImageList.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="tinyImageList.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>375, 17</value> + </data> + <data name="tinyImageList.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64"> + <value> + AAEAAAD/////AQAAAAAAAAAMAgAAAFpTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0xLjAuNTAw + MC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZT + eXN0ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQc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hgH/A4YB/xAAA4YB/wOGAf8DhgH/A4YB/wOGAf8DhgH/A4YB/wOGAf8DhgH/A4YB/wOZAf8YAAOGAf8D + hgH/A4YB/wOGAf8DhgH/A4YB/wOGAf8DhgH/A4YB/wOGAf8YAAOGAf8DhgH/A4YB/wOGAf8DhgH/A4YB + /wOGAf8DhgH/A4YB/wOGAf8YAAOGAf8DhgH/A4YB/wOGAf8DhgH/A4YB/wOGAf8DhgH/A4YB/wOGAf8Q + AAFCAU0BPgcAAT4DAAEoAwABQAMAATADAAEBAQABAQUAAYABARYAA/+BAAHAAQEGAAHAAQEGAAHAAQEG + AAHAAQEGAAHAAQEGAAHAAQEGAAHAAQEGAAHAAQEGAAHAAQEGAAHAAQEGAAHAAQEGAAHAAQEGAAHAAQEG + AAHAAQMGAAHAAQcGAAHAAQ8GAAGAAQEBwAEBAcABAQHAAQEBgAEBAcABAQHAAQEBwAEBAYABAQHAAQEB + wAEBAcABAQGAAQEBwAEBAcABAQHAAQEBgAEBAcABAQHAAQEBwAEBAYABAQHAAQEBwAEBAcABAQGAAQEB + wAEBAcABAQHAAQEBgAEBAcABAQHAAQEBwAEBAYABAQHAAQEBwAEBAcABAQGAAQEBwAEBAcABAQHAAQEB + gAEBAcABAQHAAQEBwAEBAYABAQHAAQEBwAEBAcABAQGAAQEBwAEBAcABAQHAAQEBgAEDAcABAwHAAQMB + wAEDAYABBwHAAQcBwAEHAcABBwGAAQ8BwAEPAcABDwHAAQ8WAAs= +</value> + </data> + <data name="openFileDialog.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="openFileDialog.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="openFileDialog.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>493, 17</value> + </data> + <data name="mainMenu1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="mainMenu1.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>620, 17</value> + </data> + <data name="mainMenu1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem3.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem3.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem4.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem4.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem13.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem13.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem14.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem14.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem5.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem5.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem6.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem6.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem7.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem7.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem8.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem8.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem17.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem17.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem18.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem18.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem15.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem15.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem16.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="menuItem16.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="statusBar.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="statusBar.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="statusBar.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="timer.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="timer.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>730, 17</value> + </data> + <data name="timer.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="txtPath.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="txtPath.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="txtPath.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnGo.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="bttnGo.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnGo.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="folderBrowserDialog.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="folderBrowserDialog.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>806, 17</value> + </data> + <data name="folderBrowserDialog.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>(Default)</value> + </data> + <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>4, 4</value> + </data> + <data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="$this.Name"> + <value>Form1</value> + </data> + <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>80</value> + </data> + <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + AAABAAIAICAAAAAAAACoCAAAJgAAAB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P+ZzAD/mf8A/8wAAP/MMwD/zGYA/8yZAP/M + zAD/zP8A//8zAMz/ZgD//5kA///MAGZm/wBm/2YAZv//AP9mZgD/Zv8A//9mACEApQBfX18Ad3d3AIaG + hgCWlpYAy8vLALKysgDX19cA3d3dAOPj4wDq6uoA8fHxAPj4+ADw+/8ApKCgAICAgAAAAP8AAP8AAAD/ + /wD/AAAA/wD/AP//AAD///8AAAAAAAAAAAAAAAAAAAAAAAD39/f3APcAAPcA9wAAAAD38fHx8ffx9/fx + 9/H3AAAA9/H39/f38ff38ffx9/cAAPfx8fH3APfx8ff38fHx9wD38ff39/fx9/fx9/H39/H39/Hx8fH3 + 8ff38ffx8fH3AAD39/f3APcAAPcA9/f3AAAAAAAAAAAAAAAAAAAAAAAAAPf39/cA9/f39wD39/f3APfx + 8fHx9/Hx8fH38ff38ff39/f38ffx9/fx9/H39/H39/Hx8fH38ffx8ffx8fHx9/fx9/f39/H39/f38ff3 + 8ff38fHx8ffx8fHx9/Hx8fH3APf39/cA9/f39wD39/f3AP//AACFrwAAAAcAAAADAAAEAQAAAAAAAAAB + AACFowAA//8AAIQhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIQhAAA= +</value> + </data> +</root> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/FrmFileType.cs Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,140 @@ +// This file is a part of the SGA Explorer app and is copyright 2006-2018 IBBoard. +// +// The file and the library/program it is in are licensed under the GNU GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. +using System; +using System.Drawing; +using System.Collections; +using System.ComponentModel; +using System.Windows.Forms; +using IBBoard.Relic.RelicTools; + +namespace IBBoard.Relic.SGAExplorer +{ + /// <summary> + /// Summary description for FrmFileType. + /// </summary> + public class FrmFileType : System.Windows.Forms.Form + { + private System.Windows.Forms.Button bttnCancel; + private System.Windows.Forms.Button bttnOkay; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ComboBox cbFileTypes; + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.Container components = null; + + public FrmFileType() + { + // + // Required for Windows Form Designer support + // + InitializeComponent(); + + cbFileTypes.Items.AddRange(Enum.GetNames(typeof(SgaFile.FileFormat))); + cbFileTypes.Items.Remove(SgaFile.FileFormat.Unknown.ToString()); + } + + /// <summary> + /// Clean up any resources being used. + /// </summary> + protected override void Dispose( bool disposing ) + { + if( disposing ) + { + if(components != null) + { + components.Dispose(); + } + } + base.Dispose( disposing ); + } + + #region Windows Form Designer generated code + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.cbFileTypes = new System.Windows.Forms.ComboBox(); + this.bttnCancel = new System.Windows.Forms.Button(); + this.bttnOkay = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // cbFileTypes + // + this.cbFileTypes.Location = new System.Drawing.Point(88, 8); + this.cbFileTypes.Name = "cbFileTypes"; + this.cbFileTypes.Size = new System.Drawing.Size(200, 21); + this.cbFileTypes.Sorted = true; + this.cbFileTypes.TabIndex = 0; + // + // bttnCancel + // + this.bttnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.bttnCancel.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.bttnCancel.Location = new System.Drawing.Point(224, 40); + this.bttnCancel.Name = "bttnCancel"; + this.bttnCancel.Size = new System.Drawing.Size(64, 24); + this.bttnCancel.TabIndex = 1; + this.bttnCancel.Text = "Cancel"; + this.bttnCancel.Click += new System.EventHandler(this.bttnCancel_Click); + // + // bttnOkay + // + this.bttnOkay.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.bttnOkay.Location = new System.Drawing.Point(152, 40); + this.bttnOkay.Name = "bttnOkay"; + this.bttnOkay.Size = new System.Drawing.Size(64, 24); + this.bttnOkay.TabIndex = 2; + this.bttnOkay.Text = "OK"; + this.bttnOkay.Click += new System.EventHandler(this.bttnOkay_Click); + // + // label1 + // + this.label1.Location = new System.Drawing.Point(8, 8); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(72, 24); + this.label1.TabIndex = 3; + this.label1.Text = "File type:"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // FrmFileType + // + this.AcceptButton = this.bttnOkay; + this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); + this.CancelButton = this.bttnCancel; + this.ClientSize = new System.Drawing.Size(292, 66); + this.ControlBox = false; + this.Controls.Add(this.label1); + this.Controls.Add(this.bttnOkay); + this.Controls.Add(this.bttnCancel); + this.Controls.Add(this.cbFileTypes); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Name = "FrmFileType"; + this.Text = "File type to extract"; + this.ResumeLayout(false); + + } + #endregion + + private void bttnCancel_Click(object sender, System.EventArgs e) + { + this.DialogResult = DialogResult.Cancel; + this.Close(); + } + + private void bttnOkay_Click(object sender, System.EventArgs e) + { + this.DialogResult = DialogResult.OK; + this.Close(); + } + + public string SelectedExtension + { + get{ return cbFileTypes.SelectedItem.ToString(); } + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/FrmFileType.resx Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,166 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 1.3 + + 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">1.3</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1">this is my long string</data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + [base64 mime encoded serialized .NET Framework object] + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + [base64 mime encoded string representing a byte array form of the .NET Framework object] + </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 forserialized 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="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>1.3</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <data name="cbFileTypes.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="cbFileTypes.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="cbFileTypes.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="bttnCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnOkay.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="bttnOkay.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnOkay.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>(Default)</value> + </data> + <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>8, 8</value> + </data> + <data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="$this.Name"> + <value>FrmFileType</value> + </data> + <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>80</value> + </data> + <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> +</root> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Options.cs Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,427 @@ +// This file is a part of the SGA Explorer app and is copyright 2006-2018 IBBoard. +// +// The file and the library/program it is in are licensed under the GNU GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. +using System; +using System.Drawing; +using System.Collections; +using System.ComponentModel; +using System.Windows.Forms; +using System.IO; +using System.Text.RegularExpressions; + +using IBBoard; +using IBBoard.Graphics; + +namespace IBBoard.Relic.SGAExplorer +{ + /// <summary> + /// Summary description for Options. + /// </summary> + public class Options : System.Windows.Forms.Form + { + private Preferences pref; + private System.Windows.Forms.Button bttnOK; + private System.Windows.Forms.Button bttnCancel; + private System.Windows.Forms.Label lblDoWPath; + private System.Windows.Forms.Button bttnDoWPath; + private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog; + private System.Windows.Forms.TextBox tbDoWPath; + private System.Windows.Forms.RadioButton rbViewList; + private System.Windows.Forms.RadioButton rbViewIcons; + private System.Windows.Forms.RadioButton rbViewDetails; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Button bttnSave; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.RadioButton rbOverwriteYes; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.RadioButton rbOverwriteNo; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.RadioButton rbShowDebugNo; + private System.Windows.Forms.RadioButton rbShowDebugYes; + private System.Windows.Forms.Label label3; + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.Container components = null; + + public Options(Preferences p) + { + pref = p; + // + // Required for Windows Form Designer support + // + InitializeComponent(); + + tbDoWPath.Text = pref["DoWPath"].ToString(); + + rbViewList.Tag = View.List; + rbViewIcons.Tag = View.LargeIcon; + rbViewDetails.Tag = View.Details; + + switch((View)pref["ViewType"]) + { + case View.List: rbViewList.Checked = true; + break; + case View.LargeIcon: rbViewIcons.Checked = true; + break; + case View.Details: rbViewDetails.Checked = true; + break; + default: rbViewList.Checked = true; + break; + } + + if ((bool)pref["Overwrite"] == true) + { + rbOverwriteYes.Checked = true; + } + else + { + rbOverwriteNo.Checked = true; + } + + if ((bool)pref["ShowDebug"] == true) + { + rbShowDebugYes.Checked = true; + } + else + { + rbShowDebugNo.Checked = true; + } + } + + /// <summary> + /// Clean up any resources being used. + /// </summary> + protected override void Dispose( bool disposing ) + { + if( disposing ) + { + if(components != null) + { + components.Dispose(); + } + } + base.Dispose( disposing ); + } + + #region Windows Form Designer generated code + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.bttnOK = new System.Windows.Forms.Button(); + this.bttnCancel = new System.Windows.Forms.Button(); + this.tbDoWPath = new System.Windows.Forms.TextBox(); + this.lblDoWPath = new System.Windows.Forms.Label(); + this.bttnDoWPath = new System.Windows.Forms.Button(); + this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog(); + this.rbViewList = new System.Windows.Forms.RadioButton(); + this.rbViewIcons = new System.Windows.Forms.RadioButton(); + this.rbViewDetails = new System.Windows.Forms.RadioButton(); + this.label1 = new System.Windows.Forms.Label(); + this.panel1 = new System.Windows.Forms.Panel(); + this.bttnSave = new System.Windows.Forms.Button(); + this.label2 = new System.Windows.Forms.Label(); + this.rbOverwriteYes = new System.Windows.Forms.RadioButton(); + this.panel2 = new System.Windows.Forms.Panel(); + this.rbOverwriteNo = new System.Windows.Forms.RadioButton(); + this.panel3 = new System.Windows.Forms.Panel(); + this.rbShowDebugNo = new System.Windows.Forms.RadioButton(); + this.rbShowDebugYes = new System.Windows.Forms.RadioButton(); + this.label3 = new System.Windows.Forms.Label(); + this.panel1.SuspendLayout(); + this.panel2.SuspendLayout(); + this.panel3.SuspendLayout(); + this.SuspendLayout(); + // + // bttnOK + // + this.bttnOK.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.bttnOK.Location = new System.Drawing.Point(344, 240); + this.bttnOK.Name = "bttnOK"; + this.bttnOK.TabIndex = 2; + this.bttnOK.Text = "&OK"; + this.bttnOK.Click += new System.EventHandler(this.bttnOK_Click); + // + // bttnCancel + // + this.bttnCancel.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.bttnCancel.Location = new System.Drawing.Point(256, 240); + this.bttnCancel.Name = "bttnCancel"; + this.bttnCancel.TabIndex = 1; + this.bttnCancel.Text = "&Cancel"; + this.bttnCancel.Click += new System.EventHandler(this.bttnCancel_Click); + // + // tbDoWPath + // + this.tbDoWPath.Location = new System.Drawing.Point(112, 16); + this.tbDoWPath.Name = "tbDoWPath"; + this.tbDoWPath.ReadOnly = true; + this.tbDoWPath.Size = new System.Drawing.Size(240, 20); + this.tbDoWPath.TabIndex = 3; + this.tbDoWPath.TabStop = false; + this.tbDoWPath.Text = ""; + this.tbDoWPath.TextChanged += new System.EventHandler(this.tbDoWPath_TextChanged); + // + // lblDoWPath + // + this.lblDoWPath.Location = new System.Drawing.Point(8, 16); + this.lblDoWPath.Name = "lblDoWPath"; + this.lblDoWPath.TabIndex = 4; + this.lblDoWPath.Text = "Dawn of War Path:"; + this.lblDoWPath.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // bttnDoWPath + // + this.bttnDoWPath.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.bttnDoWPath.Location = new System.Drawing.Point(360, 16); + this.bttnDoWPath.Name = "bttnDoWPath"; + this.bttnDoWPath.Size = new System.Drawing.Size(56, 23); + this.bttnDoWPath.TabIndex = 4; + this.bttnDoWPath.Text = "Select"; + this.bttnDoWPath.Click += new System.EventHandler(this.bttnDoWPath_Click); + // + // rbViewList + // + this.rbViewList.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.rbViewList.Location = new System.Drawing.Point(8, 0); + this.rbViewList.Name = "rbViewList"; + this.rbViewList.Size = new System.Drawing.Size(56, 24); + this.rbViewList.TabIndex = 5; + this.rbViewList.Tag = "1"; + this.rbViewList.Text = "List"; + this.rbViewList.CheckedChanged += new System.EventHandler(this.rbView_CheckedChanged); + // + // rbViewIcons + // + this.rbViewIcons.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.rbViewIcons.Location = new System.Drawing.Point(96, 0); + this.rbViewIcons.Name = "rbViewIcons"; + this.rbViewIcons.Size = new System.Drawing.Size(56, 24); + this.rbViewIcons.TabIndex = 6; + this.rbViewIcons.Tag = "2"; + this.rbViewIcons.Text = "Icons"; + this.rbViewIcons.CheckedChanged += new System.EventHandler(this.rbView_CheckedChanged); + // + // rbViewDetails + // + this.rbViewDetails.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.rbViewDetails.Location = new System.Drawing.Point(184, 0); + this.rbViewDetails.Name = "rbViewDetails"; + this.rbViewDetails.Size = new System.Drawing.Size(72, 24); + this.rbViewDetails.TabIndex = 7; + this.rbViewDetails.Tag = "3"; + this.rbViewDetails.Text = "Details"; + this.rbViewDetails.CheckedChanged += new System.EventHandler(this.rbView_CheckedChanged); + // + // label1 + // + this.label1.Location = new System.Drawing.Point(8, 40); + this.label1.Name = "label1"; + this.label1.TabIndex = 8; + this.label1.Text = "Default View:"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // panel1 + // + this.panel1.Controls.Add(this.rbViewList); + this.panel1.Controls.Add(this.rbViewIcons); + this.panel1.Controls.Add(this.rbViewDetails); + this.panel1.Location = new System.Drawing.Point(112, 40); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(256, 24); + this.panel1.TabIndex = 9; + // + // bttnSave + // + this.bttnSave.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.bttnSave.Location = new System.Drawing.Point(8, 240); + this.bttnSave.Name = "bttnSave"; + this.bttnSave.Size = new System.Drawing.Size(112, 23); + this.bttnSave.TabIndex = 10; + this.bttnSave.Text = "&Save Preferences"; + this.bttnSave.Click += new System.EventHandler(this.bttnSave_Click); + // + // label2 + // + this.label2.Location = new System.Drawing.Point(8, 72); + this.label2.Name = "label2"; + this.label2.TabIndex = 11; + this.label2.Text = "Overwrite existing files:"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // rbOverwriteYes + // + this.rbOverwriteYes.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.rbOverwriteYes.Location = new System.Drawing.Point(8, 0); + this.rbOverwriteYes.Name = "rbOverwriteYes"; + this.rbOverwriteYes.Size = new System.Drawing.Size(72, 24); + this.rbOverwriteYes.TabIndex = 12; + this.rbOverwriteYes.Text = "Yes"; + this.rbOverwriteYes.CheckedChanged += new System.EventHandler(this.rbOverwrite_CheckedChanged); + // + // panel2 + // + this.panel2.Controls.Add(this.rbOverwriteNo); + this.panel2.Controls.Add(this.rbOverwriteYes); + this.panel2.Location = new System.Drawing.Point(112, 72); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(240, 24); + this.panel2.TabIndex = 13; + // + // rbOverwriteNo + // + this.rbOverwriteNo.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.rbOverwriteNo.Location = new System.Drawing.Point(96, 0); + this.rbOverwriteNo.Name = "rbOverwriteNo"; + this.rbOverwriteNo.Size = new System.Drawing.Size(56, 24); + this.rbOverwriteNo.TabIndex = 13; + this.rbOverwriteNo.Text = "No"; + this.rbOverwriteNo.CheckedChanged += new System.EventHandler(this.rbOverwrite_CheckedChanged); + // + // panel3 + // + this.panel3.Controls.Add(this.rbShowDebugNo); + this.panel3.Controls.Add(this.rbShowDebugYes); + this.panel3.Location = new System.Drawing.Point(112, 104); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(240, 24); + this.panel3.TabIndex = 15; + // + // rbShowDebugNo + // + this.rbShowDebugNo.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.rbShowDebugNo.Location = new System.Drawing.Point(96, 0); + this.rbShowDebugNo.Name = "rbShowDebugNo"; + this.rbShowDebugNo.Size = new System.Drawing.Size(56, 24); + this.rbShowDebugNo.TabIndex = 13; + this.rbShowDebugNo.Text = "No"; + // + // rbShowDebugYes + // + this.rbShowDebugYes.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.rbShowDebugYes.Location = new System.Drawing.Point(8, 0); + this.rbShowDebugYes.Name = "rbShowDebugYes"; + this.rbShowDebugYes.Size = new System.Drawing.Size(72, 24); + this.rbShowDebugYes.TabIndex = 12; + this.rbShowDebugYes.Text = "Yes"; + // + // label3 + // + this.label3.Location = new System.Drawing.Point(8, 104); + this.label3.Name = "label3"; + this.label3.TabIndex = 14; + this.label3.Text = "Show debug window:"; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // Options + // + this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); + this.ClientSize = new System.Drawing.Size(424, 270); + this.ControlBox = false; + this.Controls.Add(this.panel2); + this.Controls.Add(this.label2); + this.Controls.Add(this.bttnSave); + this.Controls.Add(this.panel1); + this.Controls.Add(this.label1); + this.Controls.Add(this.bttnDoWPath); + this.Controls.Add(this.lblDoWPath); + this.Controls.Add(this.tbDoWPath); + this.Controls.Add(this.bttnCancel); + this.Controls.Add(this.bttnOK); + this.Controls.Add(this.panel3); + this.Controls.Add(this.label3); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MinimizeBox = false; + this.Name = "Options"; + this.ShowInTaskbar = false; + this.Text = "Options"; + this.panel1.ResumeLayout(false); + this.panel2.ResumeLayout(false); + this.panel3.ResumeLayout(false); + this.ResumeLayout(false); + + } + #endregion + + private void bttnDoWPath_Click(object sender, System.EventArgs e) + { + DialogResult dr = folderBrowserDialog.ShowDialog(this); + + if (dr==DialogResult.OK) + { + tbDoWPath.Text = folderBrowserDialog.SelectedPath; + } + } + + private void bttnOK_Click(object sender, System.EventArgs e) + { + SetPrefs(); + this.DialogResult = DialogResult.OK; + this.Close(); + } + + private void bttnCancel_Click(object sender, System.EventArgs e) + { + this.DialogResult = DialogResult.Cancel; + this.Close(); + } + + private void bttnSave_Click(object sender, System.EventArgs e) + { + SetPrefs(); + pref.Save(); + bttnSave.Enabled = false; + } + + private void SetPrefs() + { + pref["DoWPath"] = tbDoWPath.Text; + + foreach (RadioButton rb in panel1.Controls) + { + if (rb.Checked) + { + pref["ViewType"] = rb.Tag; + break; + } + } + + if (rbOverwriteYes.Checked) + { + pref["Overwrite"] = true; + } + else + { + pref["Overwrite"] = false; + } + + if (rbShowDebugYes.Checked) + { + pref["ShowDebug"] = true; + } + else + { + pref["ShowDebug"] = false; + } + } + + private void rbView_CheckedChanged(object sender, System.EventArgs e) + { + bttnSave.Enabled = true; + } + + private void tbDoWPath_TextChanged(object sender, System.EventArgs e) + { + bttnSave.Enabled = true; + } + + private void rbOverwrite_CheckedChanged(object sender, System.EventArgs e) + { + bttnSave.Enabled = true; + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Options.resx Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,355 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 1.3 + + 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">1.3</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1">this is my long string</data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + [base64 mime encoded serialized .NET Framework object] + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + [base64 mime encoded string representing a byte array form of the .NET Framework object] + </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 forserialized 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="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>1.3</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <data name="colorDialog.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colorDialog.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </data> + <data name="colorDialog.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="openFileDialog.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="openFileDialog.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="openFileDialog.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>125, 17</value> + </data> + <data name="bttnOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="bttnOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="bttnCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="tbDoWPath.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="tbDoWPath.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="tbDoWPath.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="lblDoWPath.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="lblDoWPath.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="lblDoWPath.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnDoWPath.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="bttnDoWPath.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnDoWPath.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="folderBrowserDialog.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="folderBrowserDialog.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>252, 17</value> + </data> + <data name="folderBrowserDialog.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbViewList.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="rbViewList.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbViewList.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbViewIcons.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="rbViewIcons.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbViewIcons.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbViewDetails.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="rbViewDetails.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbViewDetails.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="panel1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="panel1.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="panel1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="panel1.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>8, 8</value> + </data> + <data name="panel1.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="panel1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnSave.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="bttnSave.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="bttnSave.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbOverwriteYes.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="rbOverwriteYes.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbOverwriteYes.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="panel2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="panel2.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="panel2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="panel2.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>8, 8</value> + </data> + <data name="panel2.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="panel2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbOverwriteNo.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="rbOverwriteNo.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbOverwriteNo.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="panel3.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="panel3.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="panel3.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="panel3.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>8, 8</value> + </data> + <data name="panel3.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="panel3.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbShowDebugNo.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="rbShowDebugNo.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbShowDebugNo.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbShowDebugYes.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="rbShowDebugYes.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="rbShowDebugYes.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="label3.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="label3.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="label3.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="$this.Name"> + <value>Options</value> + </data> + <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>(Default)</value> + </data> + <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>8, 8</value> + </data> + <data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>80</value> + </data> + <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </data> + <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> +</root> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SGAExplorer.csproj Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,144 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <ProjectType>Local</ProjectType> + <ProductVersion>8.0.50727</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{CBF0EEA9-F898-4820-BE2F-9D91CD7EEBB9}</ProjectGuid> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ApplicationIcon>W40k_SGAExp.ico</ApplicationIcon> + <AssemblyKeyContainerName> + </AssemblyKeyContainerName> + <AssemblyName>SGAExplorer</AssemblyName> + <AssemblyOriginatorKeyFile> + </AssemblyOriginatorKeyFile> + <DefaultClientScript>JScript</DefaultClientScript> + <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> + <DefaultTargetSchema>IE50</DefaultTargetSchema> + <DelaySign>false</DelaySign> + <OutputType>WinExe</OutputType> + <RootNamespace>IBBoard.Relic.SGAExplorer</RootNamespace> + <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> + <StartupObject> + </StartupObject> + <FileUpgradeFlags> + </FileUpgradeFlags> + <UpgradeBackupLocation> + </UpgradeBackupLocation> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <OutputPath>bin\Debug\</OutputPath> + <BaseAddress>285212672</BaseAddress> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <DocumentationFile> + </DocumentationFile> + <DebugSymbols>true</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>false</Optimize> + <RegisterForComInterop>false</RegisterForComInterop> + <RemoveIntegerChecks>false</RemoveIntegerChecks> + <WarningLevel>4</WarningLevel> + <DebugType>full</DebugType> + <ErrorReport>prompt</ErrorReport> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <OutputPath>bin\Release\</OutputPath> + <BaseAddress>285212672</BaseAddress> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>TRACE</DefineConstants> + <DocumentationFile> + </DocumentationFile> + <FileAlignment>4096</FileAlignment> + <Optimize>true</Optimize> + <RegisterForComInterop>false</RegisterForComInterop> + <RemoveIntegerChecks>false</RemoveIntegerChecks> + <WarningLevel>4</WarningLevel> + <DebugType>none</DebugType> + <ErrorReport>prompt</ErrorReport> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml" /> + <ProjectReference Include="..\..\dev\IBBoard.Graphics\IBBoard.Graphics.csproj"> + <Project>{7CCF5C77-6038-45DE-BFA7-1A5378B3E08B}</Project> + <Name>IBBoard.Graphics</Name> + </ProjectReference> + <ProjectReference Include="..\..\dev\IBBoard.Windows.Forms\IBBoard.Windows.Forms.csproj"> + <Project>{E3790268-2082-4975-B1A3-C70B37842CE8}</Project> + <Name>IBBoardWF</Name> + </ProjectReference> + <ProjectReference Include="..\..\dev\IBBoard\IBBoard.csproj"> + <Project>{5DFD64F6-FC2B-4B4F-B92E-483BAC468105}</Project> + <Name>IBBoard</Name> + </ProjectReference> + <ProjectReference Include="..\RelicTools\RelicTools.csproj"> + <Project>{D3B2F94E-ADE9-45E1-829F-698C0F4F1CFC}</Project> + <Name>RelicTools</Name> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <Compile Include="AboutSGAExplorer.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="AssemblyInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DebugWindow.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="Form1.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="FrmFileType.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="Options.cs"> + <SubType>Form</SubType> + </Compile> + <EmbeddedResource Include="AboutSGAExplorer.resx"> + <DependentUpon>AboutSGAExplorer.cs</DependentUpon> + </EmbeddedResource> + <EmbeddedResource Include="DebugWindow.resx"> + <DependentUpon>DebugWindow.cs</DependentUpon> + </EmbeddedResource> + <EmbeddedResource Include="Form1.resx"> + <DependentUpon>Form1.cs</DependentUpon> + </EmbeddedResource> + <EmbeddedResource Include="FrmFileType.resx"> + <DependentUpon>FrmFileType.cs</DependentUpon> + </EmbeddedResource> + <EmbeddedResource Include="Options.resx"> + <DependentUpon>Options.cs</DependentUpon> + </EmbeddedResource> + <None Include="SGAExplorer.exe.manifest" /> + <Content Include="W40k_SGAExp.ico" /> + <Content Include="WinFolderClosed.ico" /> + <Content Include="WinFolderOpen.ico" /> + <Content Include="WinUnknown.ico" /> + <None Include="lua.ico" /> + <None Include="lua32.ico" /> + <None Include="rsh.ico" /> + <None Include="rsh32.ico" /> + <None Include="rtx.ico" /> + <None Include="rtx32.ico" /> + <None Include="Unknown.ico" /> + <None Include="Unknown32.ico" /> + <None Include="W40k_101.ico" /> + <None Include="wtp.ico" /> + <None Include="wtp32.ico" /> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <PropertyGroup> + <PreBuildEvent> + </PreBuildEvent> + <PostBuildEvent> + </PostBuildEvent> + </PropertyGroup> +</Project> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SGAExplorer.csproj.user Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,57 @@ +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <LastOpenVersion>7.10.3077</LastOpenVersion> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ReferencePath> + </ReferencePath> + <CopyProjectDestinationFolder> + </CopyProjectDestinationFolder> + <CopyProjectUncPath> + </CopyProjectUncPath> + <CopyProjectOption>0</CopyProjectOption> + <ProjectView>ProjectFiles</ProjectView> + <ProjectTrust>0</ProjectTrust> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <EnableASPDebugging>false</EnableASPDebugging> + <EnableASPXDebugging>false</EnableASPXDebugging> + <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging> + <EnableSQLServerDebugging>false</EnableSQLServerDebugging> + <RemoteDebugEnabled>false</RemoteDebugEnabled> + <RemoteDebugMachine> + </RemoteDebugMachine> + <StartAction>Project</StartAction> + <StartArguments>a "G:\Program Files\THQ\Dawn of War\W40k\W40kData-SharedTextures-Full.sga"</StartArguments> + <StartPage> + </StartPage> + <StartProgram> + </StartProgram> + <StartURL> + </StartURL> + <StartWorkingDirectory> + </StartWorkingDirectory> + <StartWithIE>true</StartWithIE> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <EnableASPDebugging>false</EnableASPDebugging> + <EnableASPXDebugging>false</EnableASPXDebugging> + <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging> + <EnableSQLServerDebugging>false</EnableSQLServerDebugging> + <RemoteDebugEnabled>false</RemoteDebugEnabled> + <RemoteDebugMachine> + </RemoteDebugMachine> + <StartAction>Project</StartAction> + <StartArguments> + </StartArguments> + <StartPage> + </StartPage> + <StartProgram> + </StartProgram> + <StartURL> + </StartURL> + <StartWorkingDirectory> + </StartWorkingDirectory> + <StartWithIE>true</StartWithIE> + </PropertyGroup> +</Project> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SGAExplorer.exe.manifest Sat Oct 06 20:15:02 2018 +0100 @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> +<assemblyIdentity + version="1.0.0.0" + processorArchitecture="X86" + name="Microsoft.Winweb.SGAExplorer" + type="win32" +/> +<description>.NET control deployment tool</description> +<dependency> + <dependentAssembly> + <assemblyIdentity + type="win32" + name="Microsoft.Windows.Common-Controls" + version="6.0.0.0" + processorArchitecture="X86" + publicKeyToken="6595b64144ccf1df" + language="*" + /> + </dependentAssembly> +</dependency> +</assembly> \ No newline at end of file