mirror of
https://github.com/ProjectSWGCore/SchematicDump.git
synced 2026-01-15 22:04:27 -05:00
Transfer Commit
This commit is contained in:
20
SchematicDump.sln
Normal file
20
SchematicDump.sln
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SchematicDump", "SchematicDump\SchematicDump.csproj", "{8DD37A0E-E7C0-43AE-B628-0598EED554F1}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8DD37A0E-E7C0-43AE-B628-0598EED554F1}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{8DD37A0E-E7C0-43AE-B628-0598EED554F1}.Debug|x86.Build.0 = Debug|x86
|
||||
{8DD37A0E-E7C0-43AE-B628-0598EED554F1}.Release|x86.ActiveCfg = Release|x86
|
||||
{8DD37A0E-E7C0-43AE-B628-0598EED554F1}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
BIN
SchematicDump.suo
Normal file
BIN
SchematicDump.suo
Normal file
Binary file not shown.
110
SchematicDump/Program.cs
Normal file
110
SchematicDump/Program.cs
Normal file
@@ -0,0 +1,110 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace SchematicDump
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
static void Main()
|
||||
{
|
||||
Console.Title = "SchematicDump";
|
||||
int progress = 0;
|
||||
|
||||
String[] allfiles = System.IO.Directory.GetFiles("./", "*.iff", System.IO.SearchOption.AllDirectories);
|
||||
|
||||
foreach (string file in allfiles)
|
||||
{
|
||||
if (progress % 100 == 0) Console.WriteLine("Progress: {0}/{1}", progress, allfiles.Length);
|
||||
|
||||
FileStream stream = File.OpenRead(file);
|
||||
using (stream)
|
||||
{
|
||||
StreamWriter fileStream = new StreamWriter(file.Replace(".iff", ".txt"));
|
||||
int index = 1;
|
||||
foreach (string slot in findData(stream, "SISSPCNT"))
|
||||
{
|
||||
fileStream.WriteLine("Slot {0}: {1}", index, slot.Replace(Convert.ToChar(0x00), ' ').Replace(Convert.ToChar(0x01), ' '));
|
||||
index++;
|
||||
}
|
||||
index = 1;
|
||||
foreach (string attribute in findData(stream, "DSSAPCNT"))
|
||||
{
|
||||
fileStream.WriteLine("Attribute {0}: {1}", index, attribute.Replace(Convert.ToChar(0x00), ' ').Replace(Convert.ToChar(0x01), ' '));
|
||||
index++;
|
||||
}
|
||||
fileStream.Write("Crafted Template: {0}", findCraftedTemplate(stream, file));
|
||||
fileStream.Close();
|
||||
}
|
||||
progress++;
|
||||
}
|
||||
|
||||
Console.WriteLine("Finished generating {0} files.", allfiles.Length);
|
||||
Console.Read();
|
||||
}
|
||||
|
||||
static List<String> findData(Stream dataStream, string type)
|
||||
{
|
||||
// "SISSPCNT"
|
||||
// "DSSAPCNT"
|
||||
|
||||
int offset1 = 0x07;
|
||||
int offset2 = 0x0f;
|
||||
|
||||
List<String> results = new List<string>();
|
||||
|
||||
byte[] nameMatch = Encoding.ASCII.GetBytes(type);
|
||||
byte[] temp = new byte[nameMatch.Length];
|
||||
|
||||
for (int i = 0; i < dataStream.Length; i++)
|
||||
{
|
||||
dataStream.Position = i;
|
||||
dataStream.Read(temp, 0, nameMatch.Length);
|
||||
|
||||
if (temp.SequenceEqual(nameMatch))
|
||||
{
|
||||
dataStream.Position += offset2;
|
||||
|
||||
byte[] resultData = new byte[dataStream.ReadByte() - offset1 - 1];
|
||||
|
||||
dataStream.Position += offset1;
|
||||
dataStream.Read(resultData, 0, resultData.Length);
|
||||
|
||||
results.Add(Encoding.UTF8.GetString(resultData, 0, resultData.Length));
|
||||
}
|
||||
}
|
||||
return results;
|
||||
}
|
||||
static string findCraftedTemplate(Stream dataStream, string file)
|
||||
{
|
||||
byte[] nameMatch = Encoding.ASCII.GetBytes("crafted");
|
||||
byte[] temp = new byte[nameMatch.Length];
|
||||
|
||||
for (int i = 0; i < dataStream.Length; i++)
|
||||
{
|
||||
dataStream.Position = i;
|
||||
dataStream.Read(temp, 0, nameMatch.Length);
|
||||
if (temp.SequenceEqual(nameMatch))
|
||||
{
|
||||
dataStream.Position -= (nameMatch.Length + 1);
|
||||
|
||||
byte[] resultData = new byte[dataStream.ReadByte()];
|
||||
dataStream.Position += 0x17;
|
||||
|
||||
dataStream.Read(resultData, 0, resultData.Length);
|
||||
|
||||
if (resultData.Length - 0x18 <= 0)
|
||||
{
|
||||
Console.WriteLine("Error: Crafted Template Length less than 0 for file {0} when removing trail-space", file);
|
||||
return Encoding.UTF8.GetString(resultData, 0, resultData.Length);
|
||||
}
|
||||
return Encoding.UTF8.GetString(resultData, 0, resultData.Length - 0x18);
|
||||
}
|
||||
}
|
||||
return "Unknown";
|
||||
}
|
||||
}
|
||||
}
|
||||
36
SchematicDump/Properties/AssemblyInfo.cs
Normal file
36
SchematicDump/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 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("SchematicDump")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("SchematicDump")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2014")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("94799e64-0910-405d-9226-3a83a1088583")]
|
||||
|
||||
// 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 Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
71
SchematicDump/Properties/Resources.Designer.cs
generated
Normal file
71
SchematicDump/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,71 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18408
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SchematicDump.Properties
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources
|
||||
{
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if ((resourceMan == null))
|
||||
{
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SchematicDump.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return resourceCulture;
|
||||
}
|
||||
set
|
||||
{
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
117
SchematicDump/Properties/Resources.resx
Normal file
117
SchematicDump/Properties/Resources.resx
Normal file
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
30
SchematicDump/Properties/Settings.Designer.cs
generated
Normal file
30
SchematicDump/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,30 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18408
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SchematicDump.Properties
|
||||
{
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||
{
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default
|
||||
{
|
||||
get
|
||||
{
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
7
SchematicDump/Properties/Settings.settings
Normal file
7
SchematicDump/Properties/Settings.settings
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
||||
81
SchematicDump/SchematicDump.csproj
Normal file
81
SchematicDump/SchematicDump.csproj
Normal file
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{8DD37A0E-E7C0-43AE-B628-0598EED554F1}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>SchematicDump</RootNamespace>
|
||||
<AssemblyName>SchematicDump</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<StartupObject />
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
BIN
SchematicDump/bin/Debug/SchematicDump.exe
Normal file
BIN
SchematicDump/bin/Debug/SchematicDump.exe
Normal file
Binary file not shown.
BIN
SchematicDump/bin/Debug/test.iff
Normal file
BIN
SchematicDump/bin/Debug/test.iff
Normal file
Binary file not shown.
14
SchematicDump/bin/Debug/test.txt
Normal file
14
SchematicDump/bin/Debug/test.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
Slot 1: craft_armor_ingredients_n appearance_fragments
|
||||
Slot 2: craft_armor_ingredients_n armor_core_frame
|
||||
Slot 3: craft_armor_ingredients_n armor_core
|
||||
Slot 4: craft_armor_ingredients_n load_bearing_harness
|
||||
Slot 5: craft_armor_ingredients_n reinforcement
|
||||
Slot 6: craft_armor_ingredients_n enhancement_cartridge
|
||||
Slot 7: craft_armor_ingredients_n appearance_enhancement_one
|
||||
Slot 8: craft_armor_ingredients_n appearance_enhancement_two
|
||||
Attribute 1: crafting complexity
|
||||
Attribute 2: crafting xp
|
||||
Attribute 3: crafting sockets
|
||||
Attribute 4: crafting condition
|
||||
Attribute 5: crafting general_protection
|
||||
Crafted Template: object/tangible/wearables/armor/assault_trooper/shared_armor_assault_trooper_bicep_l.iff
|
||||
13
readme.txt
Normal file
13
readme.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Place SchematicDump.exe in the root of your object/draft_schematics/ folder or whatever folder all your schematic templates are in.
|
||||
|
||||
For all files in the current directory and child directories, the tool will dump all information regarding a draft schematic's ingredient slots and experimentation attributes to a text file.
|
||||
|
||||
Example: object\draft_schematic\instrument\shared_instrument_bandfill.iff -> object\draft_schematic\instrument\shared_instrument_bandfill.txt
|
||||
Contents:
|
||||
Slot 1: craft_furniture_ingredients_n frame
|
||||
Slot 2: craft_furniture_ingredients_n valving
|
||||
Attribute 1: crafting complexity
|
||||
Attribute 2: crafting xp
|
||||
Attribute 3: crafting hitPoints
|
||||
Attribute 4: crafting quality
|
||||
Crafted Template: object/tangible/instrument/shared_bandfill_hue.iff
|
||||
Reference in New Issue
Block a user