summaryrefslogtreecommitdiff
path: root/TestApp
diff options
context:
space:
mode:
Diffstat (limited to 'TestApp')
-rw-r--r--TestApp/AssemblyInfo.cs27
-rw-r--r--TestApp/Main.cs13
-rw-r--r--TestApp/TestApp.csproj46
-rw-r--r--TestApp/TestApp.pidbbin0 -> 3039 bytes
-rwxr-xr-xTestApp/bin/Debug/NW4RTools.dllbin0 -> 25600 bytes
-rw-r--r--TestApp/bin/Debug/NW4RTools.dll.mdbbin0 -> 8825 bytes
-rwxr-xr-xTestApp/bin/Debug/TestApp.exebin0 -> 3584 bytes
-rw-r--r--TestApp/bin/Debug/TestApp.exe.mdbbin0 -> 416 bytes
8 files changed, 86 insertions, 0 deletions
diff --git a/TestApp/AssemblyInfo.cs b/TestApp/AssemblyInfo.cs
new file mode 100644
index 0000000..293a655
--- /dev/null
+++ b/TestApp/AssemblyInfo.cs
@@ -0,0 +1,27 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+// Information about this assembly is defined by the following attributes.
+// Change them to the values specific to your project.
+
+[assembly: AssemblyTitle("TestApp")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("")]
+[assembly: AssemblyCopyright("")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
+// The form "{Major}.{Minor}.*" will automatically update the build and revision,
+// and "{Major}.{Minor}.{Build}.*" will update just the revision.
+
+[assembly: AssemblyVersion("1.0.*")]
+
+// The following attributes are used to specify the signing key for the assembly,
+// if desired. See the Mono documentation for more information about signing.
+
+//[assembly: AssemblyDelaySign(false)]
+//[assembly: AssemblyKeyFile("")]
+
diff --git a/TestApp/Main.cs b/TestApp/Main.cs
new file mode 100644
index 0000000..9fb3771
--- /dev/null
+++ b/TestApp/Main.cs
@@ -0,0 +1,13 @@
+using System;
+using NW4RTools;
+
+namespace TestApp {
+ class MainClass {
+ public static void Main(string[] args) {
+ //byte[] file = System.IO.File.ReadAllBytes("/home/me/Games/Newer/miscStuff/CS_W1/g3d/model.brres");
+ byte[] file = System.IO.File.ReadAllBytes("/mnt/h/ISOs/NSMBWii/ais0.1.3/model.brres");
+ ResFile rf = BrresReader.LoadFile(file);
+ }
+ }
+}
+
diff --git a/TestApp/TestApp.csproj b/TestApp/TestApp.csproj
new file mode 100644
index 0000000..5c96e3b
--- /dev/null
+++ b/TestApp/TestApp.csproj
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.21022</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{3A064CD8-CFAD-412D-986F-ED7D2D54CDB1}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <RootNamespace>TestApp</RootNamespace>
+ <AssemblyName>TestApp</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug</OutputPath>
+ <DefineConstants>DEBUG</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <Externalconsole>true</Externalconsole>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>none</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <Externalconsole>true</Externalconsole>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Main.cs" />
+ <Compile Include="AssemblyInfo.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <ProjectReference Include="..\NW4RTools\NW4RTools.csproj">
+ <Project>{A9C9FABD-0A5F-4DAB-979D-9F288F96866F}</Project>
+ <Name>NW4RTools</Name>
+ </ProjectReference>
+ </ItemGroup>
+</Project> \ No newline at end of file
diff --git a/TestApp/TestApp.pidb b/TestApp/TestApp.pidb
new file mode 100644
index 0000000..07e4928
--- /dev/null
+++ b/TestApp/TestApp.pidb
Binary files differ
diff --git a/TestApp/bin/Debug/NW4RTools.dll b/TestApp/bin/Debug/NW4RTools.dll
new file mode 100755
index 0000000..adab05f
--- /dev/null
+++ b/TestApp/bin/Debug/NW4RTools.dll
Binary files differ
diff --git a/TestApp/bin/Debug/NW4RTools.dll.mdb b/TestApp/bin/Debug/NW4RTools.dll.mdb
new file mode 100644
index 0000000..51a7fb0
--- /dev/null
+++ b/TestApp/bin/Debug/NW4RTools.dll.mdb
Binary files differ
diff --git a/TestApp/bin/Debug/TestApp.exe b/TestApp/bin/Debug/TestApp.exe
new file mode 100755
index 0000000..7adcab2
--- /dev/null
+++ b/TestApp/bin/Debug/TestApp.exe
Binary files differ
diff --git a/TestApp/bin/Debug/TestApp.exe.mdb b/TestApp/bin/Debug/TestApp.exe.mdb
new file mode 100644
index 0000000..7e547e0
--- /dev/null
+++ b/TestApp/bin/Debug/TestApp.exe.mdb
Binary files differ