mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2025-01-09 10:42:58 +08:00
Update to .net framework 4.8 and new csproj style, moved all CodeWalker project files into subfolder
This commit is contained in:
parent
e2ed6e0fb8
commit
c9b69bd6b7
@ -1 +0,0 @@
|
||||
start codewalker menu
|
@ -1 +0,0 @@
|
||||
start codewalker explorer
|
@ -1 +0,0 @@
|
||||
start codewalker vehicles
|
@ -1,172 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{DE50D3A6-B49E-47A0-ABE6-101473A00759}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeWalker.Core</RootNamespace>
|
||||
<AssemblyName>CodeWalker.Core</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
</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.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
<None Remove="Resources\magic.dat" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="GameFiles\FileTypes\AwcFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\Builders\YndBuilder.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\Builders\YnvBuilder.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\CacheDatFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\CarColsFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\CarModColsFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\CarVariationsFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\CutFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\DlcContentFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\DlcSetupFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\FxcFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\GtxdFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\Gxt2File.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\JPsoFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\PedFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\PedsFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\RelFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\Stats.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\VehicleLayoutsFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\VehiclesFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YbnFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YcdFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YddFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YdrFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YedFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YfdFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YftFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YldFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YmapFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YmfFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YmtFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YndFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YnvFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YptFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YtdFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YtypFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YvrFile.cs" />
|
||||
<Compile Include="GameFiles\FileTypes\YwrFile.cs" />
|
||||
<Compile Include="GameFiles\GameFile.cs" />
|
||||
<Compile Include="GameFiles\GameFileCache.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\Archetype.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\Meta.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\MetaBuilder.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\MetaNames.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\MetaTypes.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\MetaXml.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\Pso.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\PsoBuilder.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\PsoTypes.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\Rbf.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\XmlMeta.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\XmlPso.cs" />
|
||||
<Compile Include="GameFiles\MetaTypes\XmlRbf.cs" />
|
||||
<Compile Include="GameFiles\Resources\Bounds.cs" />
|
||||
<Compile Include="GameFiles\Resources\Clip.cs" />
|
||||
<Compile Include="GameFiles\Resources\Clothes.cs" />
|
||||
<Compile Include="GameFiles\Resources\Drawable.cs" />
|
||||
<Compile Include="GameFiles\Resources\Expression.cs" />
|
||||
<Compile Include="GameFiles\Resources\Filter.cs" />
|
||||
<Compile Include="GameFiles\Resources\Frag.cs" />
|
||||
<Compile Include="GameFiles\Resources\Nav.cs" />
|
||||
<Compile Include="GameFiles\Resources\Node.cs" />
|
||||
<Compile Include="GameFiles\Resources\Particle.cs" />
|
||||
<Compile Include="GameFiles\Resources\ResourceBaseTypes.cs" />
|
||||
<Compile Include="GameFiles\Resources\ResourceBuilder.cs" />
|
||||
<Compile Include="GameFiles\Resources\ResourceData.cs" />
|
||||
<Compile Include="GameFiles\Resources\ResourceFile.cs" />
|
||||
<Compile Include="GameFiles\Resources\ShaderParams.cs" />
|
||||
<Compile Include="GameFiles\Resources\Texture.cs" />
|
||||
<Compile Include="GameFiles\Resources\VehicleRecord.cs" />
|
||||
<Compile Include="GameFiles\Resources\VertexType.cs" />
|
||||
<Compile Include="GameFiles\Resources\WaypointRecord.cs" />
|
||||
<Compile Include="GameFiles\RpfFile.cs" />
|
||||
<Compile Include="GameFiles\RpfManager.cs" />
|
||||
<Compile Include="GameFiles\Utils\Data.cs" />
|
||||
<Compile Include="GameFiles\Utils\DDSIO.cs" />
|
||||
<Compile Include="GameFiles\Utils\GTACrypto.cs" />
|
||||
<Compile Include="GameFiles\Utils\GTAKeys.cs" />
|
||||
<Compile Include="GameFiles\Utils\Jenk.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Utils\BoundingBoxes.cs" />
|
||||
<Compile Include="Utils\Cache.cs" />
|
||||
<Compile Include="Utils\Fbx.cs" />
|
||||
<Compile Include="Utils\FbxConverter.cs" />
|
||||
<Compile Include="Utils\Matrices.cs" />
|
||||
<Compile Include="Utils\Quaternions.cs" />
|
||||
<Compile Include="Utils\Utils.cs" />
|
||||
<Compile Include="Utils\Vectors.cs" />
|
||||
<Compile Include="Utils\Xml.cs" />
|
||||
<Compile Include="World\AudioZones.cs" />
|
||||
<Compile Include="World\Camera.cs" />
|
||||
<Compile Include="World\Clouds.cs" />
|
||||
<Compile Include="World\Entity.cs" />
|
||||
<Compile Include="World\Ped.cs" />
|
||||
<Compile Include="World\PopZones.cs" />
|
||||
<Compile Include="World\Scenarios.cs" />
|
||||
<Compile Include="World\Space.cs" />
|
||||
<Compile Include="World\Timecycle.cs" />
|
||||
<Compile Include="World\TimecycleMods.cs" />
|
||||
<Compile Include="World\Trains.cs" />
|
||||
<Compile Include="World\Vehicle.cs" />
|
||||
<Compile Include="World\Water.cs" />
|
||||
<Compile Include="World\Weapon.cs" />
|
||||
<Compile Include="World\Weather.cs" />
|
||||
<PackageReference Include="SharpDX" Version="4.2.0" />
|
||||
<PackageReference Include="SharpDX.Mathematics" Version="4.2.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="Resources\magic.dat" />
|
||||
<Folder Include="Properties\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<Resource Include="Resources\magic.dat" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SharpDX">
|
||||
<Version>4.2.0</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="SharpDX.Mathematics">
|
||||
<Version>4.2.0</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
|
||||
</Project>
|
||||
|
@ -1,36 +0,0 @@
|
||||
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("CodeWalker.Core")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("CodeWalker.Core")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2018")]
|
||||
[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("de50d3a6-b49e-47a0-abe6-101473a00759")]
|
||||
|
||||
// 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")]
|
@ -1,5 +1,4 @@
|
||||
using SharpDX;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
@ -8,6 +7,8 @@ using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SharpDX;
|
||||
using Color = SharpDX.Color;
|
||||
|
||||
namespace CodeWalker
|
||||
{
|
||||
@ -108,7 +109,6 @@ namespace CodeWalker
|
||||
{
|
||||
public static bool TryParse(string s, out float f)
|
||||
{
|
||||
f = 0.0f;
|
||||
if (float.TryParse(s, NumberStyles.Any, CultureInfo.InvariantCulture, out f))
|
||||
{
|
||||
return true;
|
||||
@ -117,8 +117,7 @@ namespace CodeWalker
|
||||
}
|
||||
public static float Parse(string s)
|
||||
{
|
||||
float f;
|
||||
TryParse(s, out f);
|
||||
TryParse(s, out float f);
|
||||
return f;
|
||||
}
|
||||
public static string ToString(float f)
|
||||
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
|
||||
</startup>
|
||||
</configuration>
|
Binary file not shown.
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
@ -1,90 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{47A2C383-99B4-4447-94D9-0685E6D7E2DA}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>CodeWalker.ErrorReport</RootNamespace>
|
||||
<AssemblyName>CodeWalker Error Report Tool</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</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|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net48</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<ApplicationIcon>CW.ico</ApplicationIcon>
|
||||
<AssemblyName>CodeWalker Error Report Tool</AssemblyName>
|
||||
</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.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="ReportForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ReportForm.Designer.cs">
|
||||
<DependentUpon>ReportForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="ReportForm.resx">
|
||||
<DependentUpon>ReportForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</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>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="CW.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
</Project>
|
@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
@ -9,11 +9,12 @@ namespace CodeWalker.ErrorReport
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
//Application.SetHighDpiMode(HighDpiMode.SystemAware);
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new ReportForm());
|
||||
|
@ -1,36 +0,0 @@
|
||||
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("CodeWalker Error Report Tool")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("CodeWalker.ErrorReport")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2018")]
|
||||
[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("47a2c383-99b4-4447-94d9-0685e6d7e2da")]
|
||||
|
||||
// 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")]
|
@ -1,63 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CodeWalker.ErrorReport.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <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", "16.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 (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CodeWalker.ErrorReport.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,117 +0,0 @@
|
||||
<?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>
|
@ -1,26 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CodeWalker.ErrorReport.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?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>
|
@ -1,83 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{4495D40A-B40B-4E17-842A-EC16BA850C32}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>CodeWalker.Peds</RootNamespace>
|
||||
<AssemblyName>CodeWalker Ped Viewer</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</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|AnyCPU' ">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net48</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<ApplicationIcon>CWPeds.ico</ApplicationIcon>
|
||||
<Copyright>dexyfex</Copyright>
|
||||
<Company>dexyfex software</Company>
|
||||
<Authors>dexyfex</Authors>
|
||||
<AssemblyName>CodeWalker Ped Viewer</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
</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.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<ProjectReference Include="..\CodeWalker\CodeWalker.csproj" />
|
||||
</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>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="CWPeds.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CodeWalker.Core\CodeWalker.Core.csproj">
|
||||
<Project>{de50d3a6-b49e-47a0-abe6-101473a00759}</Project>
|
||||
<Name>CodeWalker.Core</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\CodeWalker.csproj">
|
||||
<Project>{3bb16320-99bf-4e30-9065-ca0877a36bf4}</Project>
|
||||
<Name>CodeWalker</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
</Project>
|
@ -1,36 +0,0 @@
|
||||
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("CodeWalker Ped Viewer")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("CodeWalker.Peds")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2020")]
|
||||
[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("4495d40a-b40b-4e17-842a-ec16ba850c32")]
|
||||
|
||||
// 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")]
|
63
CodeWalker.Peds/Properties/Resources.Designer.cs
generated
63
CodeWalker.Peds/Properties/Resources.Designer.cs
generated
@ -1,63 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CodeWalker.Peds.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <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", "16.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 (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CodeWalker.Peds.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,117 +0,0 @@
|
||||
<?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>
|
@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/></startup></configuration>
|
@ -1,111 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>CodeWalker.RPFExplorer</RootNamespace>
|
||||
<AssemblyName>CodeWalker RPF Explorer</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</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|AnyCPU' ">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net48</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<UseWPF>true</UseWPF>
|
||||
<ApplicationIcon>CWRPFExplorer.ico</ApplicationIcon>
|
||||
<Copyright>dexyfex</Copyright>
|
||||
<Company>dexyfex software</Company>
|
||||
<Authors>dexyfex</Authors>
|
||||
<AssemblyName>CodeWalker RPF Explorer</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
</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.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<ProjectReference Include="..\CodeWalker\CodeWalker.csproj" />
|
||||
</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>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="CWRPFExplorer.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CodeWalker.Core\CodeWalker.Core.csproj">
|
||||
<Project>{DE50D3A6-B49E-47A0-ABE6-101473A00759}</Project>
|
||||
<Name>CodeWalker.Core</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\CodeWalker.csproj">
|
||||
<Project>{3bb16320-99bf-4e30-9065-ca0877a36bf4}</Project>
|
||||
<Name>CodeWalker</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4.6.1 %28x86 and x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
</Project>
|
@ -1,36 +0,0 @@
|
||||
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("CodeWalker RPF Explorer")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("CodeWalker.RPFExplorer")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2020")]
|
||||
[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("de3d1c50-fee8-4e8c-9ce6-faa6344fdd07")]
|
||||
|
||||
// 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")]
|
@ -1,63 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CodeWalker.RPFExplorer.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <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", "16.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 (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CodeWalker.RPFExplorer.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,117 +0,0 @@
|
||||
<?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>
|
@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/></startup></configuration>
|
@ -1,83 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{B0646A59-11C9-4061-B4CE-B8F18BDA708D}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>CodeWalker.Vehicles</RootNamespace>
|
||||
<AssemblyName>CodeWalker Vehicle Viewer</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</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|AnyCPU' ">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net48</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<ApplicationIcon>CWVehicles.ico</ApplicationIcon>
|
||||
<Copyright>dexyfex</Copyright>
|
||||
<Company>dexyfex software</Company>
|
||||
<Authors>dexyfex</Authors>
|
||||
<AssemblyName>CodeWalker Vehicle Viewer</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
</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.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<ProjectReference Include="..\CodeWalker\CodeWalker.csproj" />
|
||||
</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>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CodeWalker.Core\CodeWalker.Core.csproj">
|
||||
<Project>{de50d3a6-b49e-47a0-abe6-101473a00759}</Project>
|
||||
<Name>CodeWalker.Core</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\CodeWalker.csproj">
|
||||
<Project>{3bb16320-99bf-4e30-9065-ca0877a36bf4}</Project>
|
||||
<Name>CodeWalker</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="CWVehicles.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
</Project>
|
@ -1,36 +0,0 @@
|
||||
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("CodeWalker Vehicle Viewer")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("CodeWalker.Vehicles")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2020")]
|
||||
[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("b0646a59-11c9-4061-b4ce-b8f18bda708d")]
|
||||
|
||||
// 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")]
|
63
CodeWalker.Vehicles/Properties/Resources.Designer.cs
generated
63
CodeWalker.Vehicles/Properties/Resources.Designer.cs
generated
@ -1,63 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CodeWalker.Vehicles.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <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", "16.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 (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CodeWalker.Vehicles.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,117 +0,0 @@
|
||||
<?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>
|
@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/></startup></configuration>
|
@ -1,122 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeWalker.WinForms</RootNamespace>
|
||||
<AssemblyName>CodeWalker.WinForms</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<TargetFramework>net48</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
<PackageReference Include="DockPanelSuite.ThemeVS2015" Version="3.0.6" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="MenuStripFix.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MenuStripFix.Designer.cs">
|
||||
<DependentUpon>MenuStripFix.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ProjectPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="PropertyGridFix.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="PropertyGridFix.Designer.cs">
|
||||
<DependentUpon>PropertyGridFix.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ReadOnlyPropertyGrid.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ReadOnlyPropertyGrid.Designer.cs">
|
||||
<DependentUpon>ReadOnlyPropertyGrid.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TextBoxFix.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TextBoxFix.Designer.cs">
|
||||
<DependentUpon>TextBoxFix.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TextBoxScrollSyncFix.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TextBoxScrollSyncFix.Designer.cs">
|
||||
<DependentUpon>TextBoxScrollSyncFix.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ToolStripFix.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolStripFix.Designer.cs">
|
||||
<DependentUpon>ToolStripFix.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ToolStripSplitButtonFix.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolStripSplitButtonFix.Designer.cs">
|
||||
<DependentUpon>ToolStripSplitButtonFix.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ToolStripSpringTextBox.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolStripSpringTextBox.Designer.cs">
|
||||
<DependentUpon>ToolStripSpringTextBox.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TreeViewFix.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeViewFix.Designer.cs">
|
||||
<DependentUpon>TreeViewFix.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="FormUtils.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="DockPanelSuite.ThemeVS2015">
|
||||
<Version>3.0.6</Version>
|
||||
</PackageReference>
|
||||
</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>
|
@ -1,36 +0,0 @@
|
||||
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("CodeWalker.WinForms")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("CodeWalker.WinForms")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2017")]
|
||||
[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("9702c58d-f52f-45cf-9456-9ce5af40f5c3")]
|
||||
|
||||
// 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")]
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="WeifenLuo.WinFormsUI.Docking" publicKeyToken="5cded1a1a0a7b481" culture="neutral"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.0.6.0" newVersion="3.0.6.0"/>
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/></startup></configuration>
|
@ -1,943 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{3BB16320-99BF-4E30-9065-CA0877A36BF4}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeWalker</RootNamespace>
|
||||
<AssemblyName>CodeWalker</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</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|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>none</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||
<OutputPath>bin\x86\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>Resources\CW.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="FastColoredTextBox, Version=2.16.24.0, Culture=neutral, PublicKeyToken=fb8aa12b994ef61b, processorArchitecture=MSIL">
|
||||
<HintPath>packages\FCTB.2.16.24\lib\FastColoredTextBox.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PresentationFramework" />
|
||||
<Reference Include="SharpDX, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
||||
<HintPath>packages\SharpDX.4.2.0\lib\net45\SharpDX.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SharpDX.D3DCompiler, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
||||
<HintPath>packages\SharpDX.D3DCompiler.4.2.0\lib\net45\SharpDX.D3DCompiler.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SharpDX.Direct2D1, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
||||
<HintPath>packages\SharpDX.Direct2D1.4.2.0\lib\net45\SharpDX.Direct2D1.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SharpDX.Direct3D11, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
||||
<HintPath>packages\SharpDX.Direct3D11.4.2.0\lib\net45\SharpDX.Direct3D11.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SharpDX.DXGI, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
||||
<HintPath>packages\SharpDX.DXGI.4.2.0\lib\net45\SharpDX.DXGI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SharpDX.Mathematics, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
||||
<HintPath>packages\SharpDX.Mathematics.4.2.0\lib\net45\SharpDX.Mathematics.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SharpDX.XAudio2, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
||||
<HintPath>packages\SharpDX.XAudio2.4.2.0\lib\net45\SharpDX.XAudio2.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SharpDX.XInput, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
||||
<HintPath>packages\SharpDX.XInput.4.2.0\lib\net45\SharpDX.XInput.dll</HintPath>
|
||||
</Reference>
|
||||
<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.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="WeifenLuo.WinFormsUI.Docking, Version=3.0.6.0, Culture=neutral, PublicKeyToken=5cded1a1a0a7b481, processorArchitecture=MSIL">
|
||||
<HintPath>packages\DockPanelSuite.3.0.6\lib\net40\WeifenLuo.WinFormsUI.Docking.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WeifenLuo.WinFormsUI.Docking.ThemeVS2015, Version=3.0.6.0, Culture=neutral, PublicKeyToken=5cded1a1a0a7b481, processorArchitecture=MSIL">
|
||||
<HintPath>packages\DockPanelSuite.ThemeVS2015.3.0.6\lib\net40\WeifenLuo.WinFormsUI.Docking.ThemeVS2015.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Project\Panels\EditMultiPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditMultiPanel.Designer.cs">
|
||||
<DependentUpon>EditMultiPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYbnBoundPolyPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYbnBoundPolyPanel.Designer.cs">
|
||||
<DependentUpon>EditYbnBoundPolyPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYbnBoundsPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYbnBoundsPanel.Designer.cs">
|
||||
<DependentUpon>EditYbnBoundsPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYbnBoundVertexPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYbnBoundVertexPanel.Designer.cs">
|
||||
<DependentUpon>EditYbnBoundVertexPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYbnPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYbnPanel.Designer.cs">
|
||||
<DependentUpon>EditYbnPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYtypMloEntSetPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYtypMloEntSetPanel.Designer.cs">
|
||||
<DependentUpon>EditYtypMloEntSetPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYtypMloPortalPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYtypMloPortalPanel.Designer.cs">
|
||||
<DependentUpon>EditYtypMloPortalPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Rendering\Shaders\DeferredScene.cs" />
|
||||
<Compile Include="Rendering\Utils\UnitCone.cs" />
|
||||
<Compile Include="Tools\AboutForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tools\AboutForm.Designer.cs">
|
||||
<DependentUpon>AboutForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\GenericForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\GenericForm.Designer.cs">
|
||||
<DependentUpon>GenericForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\ModelMatForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\ModelMatForm.Designer.cs">
|
||||
<DependentUpon>ModelMatForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="PedsForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="PedsForm.Designer.cs">
|
||||
<DependentUpon>PedsForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\GenerateLODLightsPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\GenerateLODLightsPanel.Designer.cs">
|
||||
<DependentUpon>GenerateLODLightsPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Tools\BrowseForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tools\BrowseForm.Designer.cs">
|
||||
<DependentUpon>BrowseForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ExploreForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ExploreForm.Designer.cs">
|
||||
<DependentUpon>ExploreForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Tools\ExtractKeysForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tools\ExtractKeysForm.Designer.cs">
|
||||
<DependentUpon>ExtractKeysForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Tools\ExtractScriptsForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tools\ExtractScriptsForm.Designer.cs">
|
||||
<DependentUpon>ExtractScriptsForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Tools\ExtractRawForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tools\ExtractRawForm.Designer.cs">
|
||||
<DependentUpon>ExtractRawForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Tools\ExtractShadersForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tools\ExtractShadersForm.Designer.cs">
|
||||
<DependentUpon>ExtractShadersForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Tools\ExtractTexForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tools\ExtractTexForm.Designer.cs">
|
||||
<DependentUpon>ExtractTexForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\AwcForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\AwcForm.Designer.cs">
|
||||
<DependentUpon>AwcForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\FxcForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\FxcForm.Designer.cs">
|
||||
<DependentUpon>FxcForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\GxtForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\GxtForm.Designer.cs">
|
||||
<DependentUpon>GxtForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\HexForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\HexForm.Designer.cs">
|
||||
<DependentUpon>HexForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\MetaForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\MetaForm.Designer.cs">
|
||||
<DependentUpon>MetaForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\ModelForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\ModelForm.Designer.cs">
|
||||
<DependentUpon>ModelForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\RelForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\RelForm.Designer.cs">
|
||||
<DependentUpon>RelForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\TextForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\TextForm.Designer.cs">
|
||||
<DependentUpon>TextForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\XmlForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\XmlForm.Designer.cs">
|
||||
<DependentUpon>XmlForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\YcdForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\YcdForm.Designer.cs">
|
||||
<DependentUpon>YcdForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\YtdForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\YtdForm.Designer.cs">
|
||||
<DependentUpon>YtdForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\YvrForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\YvrForm.Designer.cs">
|
||||
<DependentUpon>YvrForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\YwrForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\YwrForm.Designer.cs">
|
||||
<DependentUpon>YwrForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="GameFiles\FxcParser.cs" />
|
||||
<Compile Include="GameFiles\GameFileCacheFactory.cs" />
|
||||
<Compile Include="Tools\ImportFbxForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tools\ImportFbxForm.Designer.cs">
|
||||
<DependentUpon>ImportFbxForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Tools\JenkGenForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tools\JenkGenForm.Designer.cs">
|
||||
<DependentUpon>JenkGenForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Tools\JenkIndForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tools\JenkIndForm.Designer.cs">
|
||||
<DependentUpon>JenkIndForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Utils\KeyBindForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Utils\KeyBindForm.Designer.cs">
|
||||
<DependentUpon>KeyBindForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MenuForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MenuForm.Designer.cs">
|
||||
<DependentUpon>MenuForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Project\MenyooXml.cs" />
|
||||
<Compile Include="Project\Panels\EditAudioEmitterListPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioEmitterListPanel.Designer.cs">
|
||||
<DependentUpon>EditAudioEmitterListPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioEmitterPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioEmitterPanel.Designer.cs">
|
||||
<DependentUpon>EditAudioEmitterPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioFilePanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioFilePanel.Designer.cs">
|
||||
<DependentUpon>EditAudioFilePanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioInteriorPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioInteriorPanel.Designer.cs">
|
||||
<DependentUpon>EditAudioInteriorPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioInteriorRoomPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioInteriorRoomPanel.Designer.cs">
|
||||
<DependentUpon>EditAudioInteriorRoomPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioZoneListPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioZoneListPanel.Designer.cs">
|
||||
<DependentUpon>EditAudioZoneListPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioZonePanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditAudioZonePanel.Designer.cs">
|
||||
<DependentUpon>EditAudioZonePanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditProjectPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditProjectPanel.Designer.cs">
|
||||
<DependentUpon>EditProjectPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditScenarioNodePanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditScenarioNodePanel.Designer.cs">
|
||||
<DependentUpon>EditScenarioNodePanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditScenarioYmtPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditScenarioYmtPanel.Designer.cs">
|
||||
<DependentUpon>EditScenarioYmtPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditTrainNodePanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditTrainNodePanel.Designer.cs">
|
||||
<DependentUpon>EditTrainNodePanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditTrainTrackPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditTrainTrackPanel.Designer.cs">
|
||||
<DependentUpon>EditTrainTrackPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYmapCarGenPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYmapCarGenPanel.Designer.cs">
|
||||
<DependentUpon>EditYmapCarGenPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYtypMloRoomPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYtypMloRoomPanel.Designer.cs">
|
||||
<DependentUpon>EditYtypMloRoomPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYmapEntityPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYmapEntityPanel.Designer.cs">
|
||||
<DependentUpon>EditYmapEntityPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYmapGrassPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYmapGrassPanel.Designer.cs">
|
||||
<DependentUpon>EditYmapGrassPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYmapPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYmapPanel.Designer.cs">
|
||||
<DependentUpon>EditYmapPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYndNodePanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYndNodePanel.Designer.cs">
|
||||
<DependentUpon>EditYndNodePanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYndPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYndPanel.Designer.cs">
|
||||
<DependentUpon>EditYndPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYnvPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYnvPanel.Designer.cs">
|
||||
<DependentUpon>EditYnvPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYnvPointPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYnvPointPanel.Designer.cs">
|
||||
<DependentUpon>EditYnvPointPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYnvPolyPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYnvPolyPanel.Designer.cs">
|
||||
<DependentUpon>EditYnvPolyPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYnvPortalPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYnvPortalPanel.Designer.cs">
|
||||
<DependentUpon>EditYnvPortalPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYtypArchetypePanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYtypArchetypePanel.Designer.cs">
|
||||
<DependentUpon>EditYtypArchetypePanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYtypPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditYtypPanel.Designer.cs">
|
||||
<DependentUpon>EditYtypPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\GenerateNavMeshPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\GenerateNavMeshPanel.Designer.cs">
|
||||
<DependentUpon>GenerateNavMeshPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\ProjectExplorerPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\ProjectExplorerPanel.Designer.cs">
|
||||
<DependentUpon>ProjectExplorerPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditProjectManifestPanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\EditProjectManifestPanel.Designer.cs">
|
||||
<DependentUpon>EditProjectManifestPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\WelcomePanel.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\Panels\WelcomePanel.Designer.cs">
|
||||
<DependentUpon>WelcomePanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\ProjectFile.cs" />
|
||||
<Compile Include="Project\ProjectForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Project\ProjectForm.Designer.cs">
|
||||
<DependentUpon>ProjectForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Project\UndoStep.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Rendering\DirectX\DXUtility.cs" />
|
||||
<Compile Include="Rendering\Renderer.cs" />
|
||||
<Compile Include="Rendering\Shaders\BasicShader.cs" />
|
||||
<Compile Include="Rendering\Shaders\BoundsShader.cs" />
|
||||
<Compile Include="Rendering\Shaders\CableShader.cs" />
|
||||
<Compile Include="Rendering\Shaders\CloudsShader.cs" />
|
||||
<Compile Include="Rendering\Shaders\DistantLightsShader.cs" />
|
||||
<Compile Include="Rendering\Shaders\MarkerShader.cs" />
|
||||
<Compile Include="Rendering\Renderable.cs" />
|
||||
<Compile Include="Rendering\RenderableCache.cs" />
|
||||
<Compile Include="Rendering\Shaders\PathShader.cs" />
|
||||
<Compile Include="Rendering\Shaders\PostProcessor.cs" />
|
||||
<Compile Include="Rendering\Shaders\Shader.cs" />
|
||||
<Compile Include="Rendering\ShaderManager.cs" />
|
||||
<Compile Include="Rendering\Shaders\ShadowShader.cs" />
|
||||
<Compile Include="Rendering\Shaders\SkydomeShader.cs" />
|
||||
<Compile Include="Rendering\Shaders\TerrainShader.cs" />
|
||||
<Compile Include="Rendering\Shaders\TreesLodShader.cs" />
|
||||
<Compile Include="Rendering\Shaders\WaterShader.cs" />
|
||||
<Compile Include="Rendering\Shaders\WidgetShader.cs" />
|
||||
<Compile Include="Rendering\Utils\GpuBuffers.cs" />
|
||||
<Compile Include="Rendering\Utils\RenderTargetSwitch.cs" />
|
||||
<Compile Include="Rendering\Utils\Shadowmap.cs" />
|
||||
<Compile Include="Rendering\Utils\UnitCapsule.cs" />
|
||||
<Compile Include="Rendering\Utils\UnitCube.cs" />
|
||||
<Compile Include="Rendering\Utils\UnitCylinder.cs" />
|
||||
<Compile Include="Rendering\Utils\UnitDisc.cs" />
|
||||
<Compile Include="Rendering\Utils\UnitSphere.cs" />
|
||||
<Compile Include="Rendering\VertexTypes.cs" />
|
||||
<Compile Include="Utils\SelectFolderForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Utils\SelectFolderForm.Designer.cs">
|
||||
<DependentUpon>SelectFolderForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Settings.cs" />
|
||||
<Compile Include="World\CutsceneForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="World\CutsceneForm.Designer.cs">
|
||||
<DependentUpon>CutsceneForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="World\MapSelection.cs" />
|
||||
<Compile Include="World\SettingsForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="World\SettingsForm.Designer.cs">
|
||||
<DependentUpon>SettingsForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="World\StatisticsForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="World\StatisticsForm.Designer.cs">
|
||||
<DependentUpon>StatisticsForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Utils\TextInputForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Utils\TextInputForm.Designer.cs">
|
||||
<DependentUpon>TextInputForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Utils\GTAFolder.cs" />
|
||||
<Compile Include="Utils\InputUtils.cs" />
|
||||
<Compile Include="Utils\MapUtils.cs" />
|
||||
<Compile Include="GameFiles\TextureFormats.cs" />
|
||||
<Compile Include="Utils\TextureLoader.cs" />
|
||||
<Compile Include="VehicleForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="VehicleForm.Designer.cs">
|
||||
<DependentUpon>VehicleForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="World\WorldInfoForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="World\WorldInfoForm.Designer.cs">
|
||||
<DependentUpon>WorldInfoForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="World\WorldSearchForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="World\WorldSearchForm.Designer.cs">
|
||||
<DependentUpon>WorldSearchForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Rendering\DirectX\DXForm.cs" />
|
||||
<Compile Include="Rendering\DirectX\DXManager.cs" />
|
||||
<Compile Include="Rendering\Utils\UnitQuad.cs" />
|
||||
<Compile Include="Tools\BinarySearchForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Tools\BinarySearchForm.Designer.cs">
|
||||
<DependentUpon>BinarySearchForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WorldForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WorldForm.Designer.cs">
|
||||
<DependentUpon>WorldForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="World\Widget.cs" />
|
||||
<EmbeddedResource Include="Project\Panels\EditMultiPanel.resx">
|
||||
<DependentUpon>EditMultiPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYbnBoundPolyPanel.resx">
|
||||
<DependentUpon>EditYbnBoundPolyPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYbnBoundsPanel.resx">
|
||||
<DependentUpon>EditYbnBoundsPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYbnBoundVertexPanel.resx">
|
||||
<DependentUpon>EditYbnBoundVertexPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYbnPanel.resx">
|
||||
<DependentUpon>EditYbnPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYtypMloEntSetPanel.resx">
|
||||
<DependentUpon>EditYtypMloEntSetPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYtypMloPortalPanel.resx">
|
||||
<DependentUpon>EditYtypMloPortalPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tools\AboutForm.resx">
|
||||
<DependentUpon>AboutForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\GenericForm.resx">
|
||||
<DependentUpon>GenericForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\ModelMatForm.resx">
|
||||
<DependentUpon>ModelMatForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="PedsForm.resx">
|
||||
<DependentUpon>PedsForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\GenerateLODLightsPanel.resx">
|
||||
<DependentUpon>GenerateLODLightsPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tools\BrowseForm.resx">
|
||||
<DependentUpon>BrowseForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ExploreForm.resx">
|
||||
<DependentUpon>ExploreForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tools\ExtractKeysForm.resx">
|
||||
<DependentUpon>ExtractKeysForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tools\ExtractScriptsForm.resx">
|
||||
<DependentUpon>ExtractScriptsForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tools\ExtractRawForm.resx">
|
||||
<DependentUpon>ExtractRawForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tools\ExtractShadersForm.resx">
|
||||
<DependentUpon>ExtractShadersForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tools\ExtractTexForm.resx">
|
||||
<DependentUpon>ExtractTexForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\AwcForm.resx">
|
||||
<DependentUpon>AwcForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\FxcForm.resx">
|
||||
<DependentUpon>FxcForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\GxtForm.resx">
|
||||
<DependentUpon>GxtForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\HexForm.resx">
|
||||
<DependentUpon>HexForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\MetaForm.resx">
|
||||
<DependentUpon>MetaForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\ModelForm.resx">
|
||||
<DependentUpon>ModelForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\RelForm.resx">
|
||||
<DependentUpon>RelForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\TextForm.resx">
|
||||
<DependentUpon>TextForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\XmlForm.resx">
|
||||
<DependentUpon>XmlForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\YcdForm.resx">
|
||||
<DependentUpon>YcdForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\YtdForm.resx">
|
||||
<DependentUpon>YtdForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\YvrForm.resx">
|
||||
<DependentUpon>YvrForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\YwrForm.resx">
|
||||
<DependentUpon>YwrForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tools\ImportFbxForm.resx">
|
||||
<DependentUpon>ImportFbxForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tools\JenkGenForm.resx">
|
||||
<DependentUpon>JenkGenForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Tools\JenkIndForm.resx">
|
||||
<DependentUpon>JenkIndForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Utils\KeyBindForm.resx">
|
||||
<DependentUpon>KeyBindForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MenuForm.resx">
|
||||
<DependentUpon>MenuForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditAudioEmitterListPanel.resx">
|
||||
<DependentUpon>EditAudioEmitterListPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditAudioEmitterPanel.resx">
|
||||
<DependentUpon>EditAudioEmitterPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditAudioFilePanel.resx">
|
||||
<DependentUpon>EditAudioFilePanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditAudioInteriorPanel.resx">
|
||||
<DependentUpon>EditAudioInteriorPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditAudioInteriorRoomPanel.resx">
|
||||
<DependentUpon>EditAudioInteriorRoomPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditAudioZoneListPanel.resx">
|
||||
<DependentUpon>EditAudioZoneListPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditAudioZonePanel.resx">
|
||||
<DependentUpon>EditAudioZonePanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditProjectPanel.resx">
|
||||
<DependentUpon>EditProjectPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditScenarioNodePanel.resx">
|
||||
<DependentUpon>EditScenarioNodePanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditScenarioYmtPanel.resx">
|
||||
<DependentUpon>EditScenarioYmtPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditTrainNodePanel.resx">
|
||||
<DependentUpon>EditTrainNodePanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditTrainTrackPanel.resx">
|
||||
<DependentUpon>EditTrainTrackPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYmapCarGenPanel.resx">
|
||||
<DependentUpon>EditYmapCarGenPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYtypMloRoomPanel.resx">
|
||||
<DependentUpon>EditYtypMloRoomPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYmapEntityPanel.resx">
|
||||
<DependentUpon>EditYmapEntityPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYmapGrassPanel.resx">
|
||||
<DependentUpon>EditYmapGrassPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYmapPanel.resx">
|
||||
<DependentUpon>EditYmapPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYndNodePanel.resx">
|
||||
<DependentUpon>EditYndNodePanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYndPanel.resx">
|
||||
<DependentUpon>EditYndPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYnvPanel.resx">
|
||||
<DependentUpon>EditYnvPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYnvPointPanel.resx">
|
||||
<DependentUpon>EditYnvPointPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYnvPolyPanel.resx">
|
||||
<DependentUpon>EditYnvPolyPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYnvPortalPanel.resx">
|
||||
<DependentUpon>EditYnvPortalPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYtypArchetypePanel.resx">
|
||||
<DependentUpon>EditYtypArchetypePanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditYtypPanel.resx">
|
||||
<DependentUpon>EditYtypPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\GenerateNavMeshPanel.resx">
|
||||
<DependentUpon>GenerateNavMeshPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\ProjectExplorerPanel.resx">
|
||||
<DependentUpon>ProjectExplorerPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\EditProjectManifestPanel.resx">
|
||||
<DependentUpon>EditProjectManifestPanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\Panels\WelcomePanel.resx">
|
||||
<DependentUpon>WelcomePanel.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Project\ProjectForm.resx">
|
||||
<DependentUpon>ProjectForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Tools\BinarySearchForm.resx">
|
||||
<DependentUpon>BinarySearchForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Utils\SelectFolderForm.resx">
|
||||
<DependentUpon>SelectFolderForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="World\CutsceneForm.resx">
|
||||
<DependentUpon>CutsceneForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="World\SettingsForm.resx">
|
||||
<DependentUpon>SettingsForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="World\StatisticsForm.resx">
|
||||
<DependentUpon>StatisticsForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Utils\TextInputForm.resx">
|
||||
<DependentUpon>TextInputForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="VehicleForm.resx">
|
||||
<DependentUpon>VehicleForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="WorldForm.resx">
|
||||
<DependentUpon>WorldForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="World\WorldInfoForm.resx">
|
||||
<DependentUpon>WorldInfoForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="World\WorldSearchForm.resx">
|
||||
<DependentUpon>WorldSearchForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>PublicSettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="icons\icon_glokon_debug_32x32.png" />
|
||||
<Content Include="icons\icon_glokon_normal_32x32.png" />
|
||||
<Content Include="icons\icon_google_marker_64x64.png" />
|
||||
<Content Include="Notice.txt" />
|
||||
<None Include="README.md" />
|
||||
<None Include="Resources\CW.ico" />
|
||||
<None Include="Resources\CW16.ico" />
|
||||
<Content Include="Resources\CWPeds.ico" />
|
||||
<Content Include="Resources\CWRPFExplorer.ico" />
|
||||
<Content Include="Resources\CWVehicles.ico" />
|
||||
<Content Include="Todo.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="CodeWalker.Core\CodeWalker.Core.csproj">
|
||||
<Project>{de50d3a6-b49e-47a0-abe6-101473a00759}</Project>
|
||||
<Name>CodeWalker.Core</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="CodeWalker.WinForms\CodeWalker.WinForms.csproj">
|
||||
<Project>{9702c58d-f52f-45cf-9456-9ce5af40f5c3}</Project>
|
||||
<Name>CodeWalker.WinForms</Name>
|
||||
</ProjectReference>
|
||||
</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>
|
191
CodeWalker.sln
191
CodeWalker.sln
@ -1,30 +1,27 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27130.2020
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29806.167
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeWalker", "CodeWalker.csproj", "{3BB16320-99BF-4E30-9065-CA0877A36BF4}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{0D14B076-0ABF-434E-AB9F-36E7800D8887} = {0D14B076-0ABF-434E-AB9F-36E7800D8887}
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759} = {DE50D3A6-B49E-47A0-ABE6-101473A00759}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CodeWalker.Shaders", "CodeWalker.Shaders\CodeWalker.Shaders.vcxproj", "{0D14B076-0ABF-434E-AB9F-36E7800D8887}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeWalker.WinForms", "CodeWalker.WinForms\CodeWalker.WinForms.csproj", "{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CodeWalker.Core", "CodeWalker.Core\CodeWalker.Core.csproj", "{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeWalker.Core", "CodeWalker.Core\CodeWalker.Core.csproj", "{DE50D3A6-B49E-47A0-ABE6-101473A00759}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CodeWalker.ErrorReport", "CodeWalker.ErrorReport\CodeWalker.ErrorReport.csproj", "{1546AD63-DB3A-48B3-873F-2209DF971A2E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeWalker.ErrorReport", "CodeWalker.ErrorReport\CodeWalker.ErrorReport.csproj", "{47A2C383-99B4-4447-94D9-0685E6D7E2DA}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CodeWalker.WinForms", "CodeWalker.WinForms\CodeWalker.WinForms.csproj", "{9E46DC27-6508-403E-A917-23C7A389CD26}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeWalker.RPFExplorer", "CodeWalker.RPFExplorer\CodeWalker.RPFExplorer.csproj", "{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CodeWalker", "CodeWalker\CodeWalker.csproj", "{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4} = {3BB16320-99BF-4E30-9065-CA0877A36BF4}
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26} = {9E46DC27-6508-403E-A917-23C7A389CD26}
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00} = {FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeWalker.Peds", "CodeWalker.Peds\CodeWalker.Peds.csproj", "{4495D40A-B40B-4E17-842A-EC16BA850C32}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CodeWalker.Peds", "CodeWalker.Peds\CodeWalker.Peds.csproj", "{F029235F-38A7-463F-ADB6-80261375AF8A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeWalker.Vehicles", "CodeWalker.Vehicles\CodeWalker.Vehicles.csproj", "{B0646A59-11C9-4061-B4CE-B8F18BDA708D}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CodeWalker.RPFExplorer", "CodeWalker.RPFExplorer\CodeWalker.RPFExplorer.csproj", "{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CodeWalker.Vehicles", "CodeWalker.Vehicles\CodeWalker.Vehicles.csproj", "{F5A776B0-2F1A-4C36-87B3-86206AC4B439}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@ -36,18 +33,6 @@ Global
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4}.Debug|x64.Build.0 = Debug|x64
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4}.Debug|x86.Build.0 = Debug|x86
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4}.Release|x64.ActiveCfg = Release|x64
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4}.Release|x64.Build.0 = Release|x64
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4}.Release|x86.ActiveCfg = Release|x86
|
||||
{3BB16320-99BF-4E30-9065-CA0877A36BF4}.Release|x86.Build.0 = Release|x86
|
||||
{0D14B076-0ABF-434E-AB9F-36E7800D8887}.Debug|Any CPU.ActiveCfg = Debug|Win32
|
||||
{0D14B076-0ABF-434E-AB9F-36E7800D8887}.Debug|Any CPU.Build.0 = Debug|Win32
|
||||
{0D14B076-0ABF-434E-AB9F-36E7800D8887}.Debug|x64.ActiveCfg = Debug|x64
|
||||
@ -59,74 +44,90 @@ Global
|
||||
{0D14B076-0ABF-434E-AB9F-36E7800D8887}.Release|x64.Build.0 = Release|x64
|
||||
{0D14B076-0ABF-434E-AB9F-36E7800D8887}.Release|x86.ActiveCfg = Release|Win32
|
||||
{0D14B076-0ABF-434E-AB9F-36E7800D8887}.Release|x86.Build.0 = Release|Win32
|
||||
{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}.Release|x64.Build.0 = Release|Any CPU
|
||||
{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{9702C58D-F52F-45CF-9456-9CE5AF40F5C3}.Release|x86.Build.0 = Release|Any CPU
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759}.Release|x64.Build.0 = Release|Any CPU
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{DE50D3A6-B49E-47A0-ABE6-101473A00759}.Release|x86.Build.0 = Release|Any CPU
|
||||
{47A2C383-99B4-4447-94D9-0685E6D7E2DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{47A2C383-99B4-4447-94D9-0685E6D7E2DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{47A2C383-99B4-4447-94D9-0685E6D7E2DA}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{47A2C383-99B4-4447-94D9-0685E6D7E2DA}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{47A2C383-99B4-4447-94D9-0685E6D7E2DA}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{47A2C383-99B4-4447-94D9-0685E6D7E2DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{47A2C383-99B4-4447-94D9-0685E6D7E2DA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{47A2C383-99B4-4447-94D9-0685E6D7E2DA}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{47A2C383-99B4-4447-94D9-0685E6D7E2DA}.Release|x64.Build.0 = Release|Any CPU
|
||||
{47A2C383-99B4-4447-94D9-0685E6D7E2DA}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{47A2C383-99B4-4447-94D9-0685E6D7E2DA}.Release|x86.Build.0 = Release|Any CPU
|
||||
{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}.Release|x64.Build.0 = Release|Any CPU
|
||||
{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{DE3D1C50-FEE8-4E8C-9CE6-FAA6344FDD07}.Release|x86.Build.0 = Release|Any CPU
|
||||
{4495D40A-B40B-4E17-842A-EC16BA850C32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4495D40A-B40B-4E17-842A-EC16BA850C32}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4495D40A-B40B-4E17-842A-EC16BA850C32}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{4495D40A-B40B-4E17-842A-EC16BA850C32}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{4495D40A-B40B-4E17-842A-EC16BA850C32}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{4495D40A-B40B-4E17-842A-EC16BA850C32}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4495D40A-B40B-4E17-842A-EC16BA850C32}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{4495D40A-B40B-4E17-842A-EC16BA850C32}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{4495D40A-B40B-4E17-842A-EC16BA850C32}.Release|x64.Build.0 = Release|Any CPU
|
||||
{4495D40A-B40B-4E17-842A-EC16BA850C32}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{4495D40A-B40B-4E17-842A-EC16BA850C32}.Release|x86.Build.0 = Release|Any CPU
|
||||
{B0646A59-11C9-4061-B4CE-B8F18BDA708D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B0646A59-11C9-4061-B4CE-B8F18BDA708D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B0646A59-11C9-4061-B4CE-B8F18BDA708D}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{B0646A59-11C9-4061-B4CE-B8F18BDA708D}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{B0646A59-11C9-4061-B4CE-B8F18BDA708D}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{B0646A59-11C9-4061-B4CE-B8F18BDA708D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B0646A59-11C9-4061-B4CE-B8F18BDA708D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{B0646A59-11C9-4061-B4CE-B8F18BDA708D}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{B0646A59-11C9-4061-B4CE-B8F18BDA708D}.Release|x64.Build.0 = Release|Any CPU
|
||||
{B0646A59-11C9-4061-B4CE-B8F18BDA708D}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{B0646A59-11C9-4061-B4CE-B8F18BDA708D}.Release|x86.Build.0 = Release|Any CPU
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}.Release|x64.Build.0 = Release|Any CPU
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{FF6B9F41-14BE-474E-9ED0-549C3BEB7E00}.Release|x86.Build.0 = Release|Any CPU
|
||||
{1546AD63-DB3A-48B3-873F-2209DF971A2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{1546AD63-DB3A-48B3-873F-2209DF971A2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1546AD63-DB3A-48B3-873F-2209DF971A2E}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{1546AD63-DB3A-48B3-873F-2209DF971A2E}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{1546AD63-DB3A-48B3-873F-2209DF971A2E}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{1546AD63-DB3A-48B3-873F-2209DF971A2E}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{1546AD63-DB3A-48B3-873F-2209DF971A2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1546AD63-DB3A-48B3-873F-2209DF971A2E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{1546AD63-DB3A-48B3-873F-2209DF971A2E}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{1546AD63-DB3A-48B3-873F-2209DF971A2E}.Release|x64.Build.0 = Release|Any CPU
|
||||
{1546AD63-DB3A-48B3-873F-2209DF971A2E}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{1546AD63-DB3A-48B3-873F-2209DF971A2E}.Release|x86.Build.0 = Release|Any CPU
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26}.Release|x64.Build.0 = Release|Any CPU
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{9E46DC27-6508-403E-A917-23C7A389CD26}.Release|x86.Build.0 = Release|Any CPU
|
||||
{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}.Release|x64.Build.0 = Release|Any CPU
|
||||
{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{A4E4F8E1-BCBA-46ED-8178-679FB2D3D23B}.Release|x86.Build.0 = Release|Any CPU
|
||||
{F029235F-38A7-463F-ADB6-80261375AF8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F029235F-38A7-463F-ADB6-80261375AF8A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F029235F-38A7-463F-ADB6-80261375AF8A}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{F029235F-38A7-463F-ADB6-80261375AF8A}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{F029235F-38A7-463F-ADB6-80261375AF8A}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{F029235F-38A7-463F-ADB6-80261375AF8A}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{F029235F-38A7-463F-ADB6-80261375AF8A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F029235F-38A7-463F-ADB6-80261375AF8A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F029235F-38A7-463F-ADB6-80261375AF8A}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{F029235F-38A7-463F-ADB6-80261375AF8A}.Release|x64.Build.0 = Release|Any CPU
|
||||
{F029235F-38A7-463F-ADB6-80261375AF8A}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{F029235F-38A7-463F-ADB6-80261375AF8A}.Release|x86.Build.0 = Release|Any CPU
|
||||
{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}.Release|x64.Build.0 = Release|Any CPU
|
||||
{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{C6C8D7EB-CBF5-4748-B438-1EA3415C7DD5}.Release|x86.Build.0 = Release|Any CPU
|
||||
{F5A776B0-2F1A-4C36-87B3-86206AC4B439}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F5A776B0-2F1A-4C36-87B3-86206AC4B439}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F5A776B0-2F1A-4C36-87B3-86206AC4B439}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{F5A776B0-2F1A-4C36-87B3-86206AC4B439}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{F5A776B0-2F1A-4C36-87B3-86206AC4B439}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{F5A776B0-2F1A-4C36-87B3-86206AC4B439}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{F5A776B0-2F1A-4C36-87B3-86206AC4B439}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F5A776B0-2F1A-4C36-87B3-86206AC4B439}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F5A776B0-2F1A-4C36-87B3-86206AC4B439}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{F5A776B0-2F1A-4C36-87B3-86206AC4B439}.Release|x64.Build.0 = Release|Any CPU
|
||||
{F5A776B0-2F1A-4C36-87B3-86206AC4B439}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{F5A776B0-2F1A-4C36-87B3-86206AC4B439}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
35
CodeWalker/CodeWalker.csproj
Normal file
35
CodeWalker/CodeWalker.csproj
Normal file
@ -0,0 +1,35 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net48</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<UseWPF>true</UseWPF>
|
||||
<ApplicationIcon>CW.ico</ApplicationIcon>
|
||||
<Copyright>dexyfex</Copyright>
|
||||
<Company>dexyfex software</Company>
|
||||
<Authors>dexyfex</Authors>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="DockPanelSuite.ThemeVS2015" Version="3.0.6" />
|
||||
<PackageReference Include="FCTB" Version="2.16.24" />
|
||||
<PackageReference Include="SharpDX" Version="4.2.0" />
|
||||
<PackageReference Include="SharpDX.D3DCompiler" Version="4.2.0" />
|
||||
<PackageReference Include="SharpDX.Direct2D1" Version="4.2.0" />
|
||||
<PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" />
|
||||
<PackageReference Include="SharpDX.Mathematics" Version="4.2.0" />
|
||||
<PackageReference Include="SharpDX.XAudio2" Version="4.2.0" />
|
||||
<PackageReference Include="SharpDX.XInput" Version="4.2.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CodeWalker.Core\CodeWalker.Core.csproj" />
|
||||
<ProjectReference Include="..\CodeWalker.WinForms\CodeWalker.WinForms.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -1,495 +1,496 @@
|
||||
using CodeWalker.GameFiles;
|
||||
using FastColoredTextBoxNS;
|
||||
using SharpDX.Multimedia;
|
||||
using SharpDX.XAudio2;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
|
||||
namespace CodeWalker.Forms
|
||||
{
|
||||
public partial class AwcForm : Form
|
||||
{
|
||||
public AwcFile Awc { get; set; }
|
||||
|
||||
private AwcStream currentAudio;
|
||||
private XAudio2 xAudio2;
|
||||
private MasteringVoice masteringVoice;
|
||||
private AudioBuffer audioBuffer;
|
||||
private SourceVoice sourceVoice;
|
||||
|
||||
private string fileName;
|
||||
public string FileName
|
||||
{
|
||||
get { return fileName; }
|
||||
set
|
||||
{
|
||||
fileName = value;
|
||||
UpdateFormTitle();
|
||||
}
|
||||
}
|
||||
public string FilePath { get; set; }
|
||||
|
||||
private enum PlayerState { Stopped, Playing, Paused };
|
||||
private PlayerState playerState = PlayerState.Stopped;
|
||||
|
||||
private Stopwatch playtime;
|
||||
private int playBeginMs;
|
||||
private float trackLength;
|
||||
private bool trackFinished;
|
||||
|
||||
private bool LoadingXml = false;
|
||||
private bool DelayHighlight = false;
|
||||
|
||||
|
||||
public AwcForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
playtime = new Stopwatch();
|
||||
}
|
||||
|
||||
private void UpdateFormTitle()
|
||||
{
|
||||
Text = fileName + " - AWC Player - CodeWalker by dexyfex";
|
||||
}
|
||||
|
||||
private void UpdateXmlTextBox(string xml)
|
||||
{
|
||||
LoadingXml = true;
|
||||
XmlTextBox.Text = "";
|
||||
XmlTextBox.Language = Language.XML;
|
||||
DelayHighlight = false;
|
||||
|
||||
if (string.IsNullOrEmpty(xml))
|
||||
{
|
||||
LoadingXml = false;
|
||||
return;
|
||||
}
|
||||
//if (xml.Length > (1048576 * 5))
|
||||
//{
|
||||
// XmlTextBox.Language = Language.Custom;
|
||||
// XmlTextBox.Text = "[XML size > 10MB - Not shown due to performance limitations - Please use an external viewer for this file.]";
|
||||
// return;
|
||||
//}
|
||||
//else
|
||||
if (xml.Length > (1024 * 512))
|
||||
{
|
||||
XmlTextBox.Language = Language.Custom;
|
||||
DelayHighlight = true;
|
||||
}
|
||||
//else
|
||||
//{
|
||||
// XmlTextBox.Language = Language.XML;
|
||||
//}
|
||||
|
||||
|
||||
Cursor = Cursors.WaitCursor;
|
||||
|
||||
|
||||
|
||||
XmlTextBox.Text = xml;
|
||||
//XmlTextBox.IsChanged = false;
|
||||
XmlTextBox.ClearUndo();
|
||||
|
||||
Cursor = Cursors.Default;
|
||||
LoadingXml = false;
|
||||
}
|
||||
|
||||
public void LoadAwc(AwcFile awc)
|
||||
{
|
||||
Awc = awc;
|
||||
DetailsPropertyGrid.SelectedObject = awc;
|
||||
|
||||
fileName = awc?.Name;
|
||||
if (string.IsNullOrEmpty(fileName))
|
||||
{
|
||||
fileName = awc?.FileEntry?.Name;
|
||||
}
|
||||
|
||||
PlayListView.Items.Clear();
|
||||
|
||||
float totalLength = 0;
|
||||
if (awc.Streams != null)
|
||||
{
|
||||
var strlist = awc.Streams.ToList();
|
||||
strlist.Sort((a, b) => a.Name.CompareTo(b.Name));
|
||||
foreach (var audio in strlist)
|
||||
{
|
||||
if (audio.StreamBlocks != null) continue;//don't display multichannel source audios
|
||||
var item = PlayListView.Items.Add(audio.Name);
|
||||
item.SubItems.Add(audio.Type);
|
||||
item.SubItems.Add(audio.LengthStr);
|
||||
item.SubItems.Add(TextUtil.GetBytesReadable(audio.ByteLength));
|
||||
item.Tag = audio;
|
||||
totalLength += audio.Length;
|
||||
}
|
||||
}
|
||||
|
||||
LabelInfo.Text = awc.Streams.Length.ToString() + " track(s), Length: " + TimeSpan.FromSeconds((float)totalLength).ToString("h\\:mm\\:ss");
|
||||
UpdateFormTitle();
|
||||
}
|
||||
|
||||
public void LoadXml()
|
||||
{
|
||||
if (Awc != null)
|
||||
{
|
||||
var xml = AwcXml.GetXml(Awc);
|
||||
UpdateXmlTextBox(xml);
|
||||
}
|
||||
}
|
||||
|
||||
private void HTMLSyntaxHighlight(Range range)
|
||||
{
|
||||
try
|
||||
{
|
||||
Style BlueStyle = new TextStyle(Brushes.Blue, null, FontStyle.Regular);
|
||||
Style RedStyle = new TextStyle(Brushes.Red, null, FontStyle.Regular);
|
||||
Style MaroonStyle = new TextStyle(Brushes.Maroon, null, FontStyle.Regular);
|
||||
|
||||
//clear style of changed range
|
||||
range.ClearStyle(BlueStyle, MaroonStyle, RedStyle);
|
||||
//tag brackets highlighting
|
||||
range.SetStyle(BlueStyle, @"<|/>|</|>");
|
||||
//tag name
|
||||
range.SetStyle(MaroonStyle, @"<(?<range>[!\w]+)");
|
||||
//end of tag
|
||||
range.SetStyle(MaroonStyle, @"</(?<range>\w+)>");
|
||||
//attributes
|
||||
range.SetStyle(RedStyle, @"(?<range>\S+?)='[^']*'|(?<range>\S+)=""[^""]*""|(?<range>\S+)=\S+");
|
||||
//attribute values
|
||||
range.SetStyle(BlueStyle, @"\S+?=(?<range>'[^']*')|\S+=(?<range>""[^""]*"")|\S+=(?<range>\S+)");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
|
||||
private void Stop()
|
||||
{
|
||||
if (playerState != PlayerState.Stopped)
|
||||
{
|
||||
sourceVoice.DestroyVoice();
|
||||
sourceVoice.Dispose();
|
||||
audioBuffer.Stream.Dispose();
|
||||
SetPlayerState(PlayerState.Stopped);
|
||||
}
|
||||
}
|
||||
|
||||
private void SetPlayerState(PlayerState newState)
|
||||
{
|
||||
if (playerState != newState)
|
||||
{
|
||||
switch (newState)
|
||||
{
|
||||
case PlayerState.Playing:
|
||||
if (playerState == PlayerState.Stopped)
|
||||
playtime.Reset();
|
||||
playtime.Start();
|
||||
|
||||
PlayButton.Text = "\u275A\u275A";
|
||||
StopButton.Enabled = true;
|
||||
LabelTime.Visible = true;
|
||||
break;
|
||||
case PlayerState.Paused:
|
||||
playtime.Stop();
|
||||
PlayButton.Text = "\u25B6";
|
||||
StopButton.Enabled = true;
|
||||
LabelTime.Visible = true;
|
||||
break;
|
||||
case PlayerState.Stopped:
|
||||
playtime.Stop();
|
||||
PlayButton.Text = "\u25B6";
|
||||
LabelTime.Visible = false;
|
||||
StopButton.Enabled = true;
|
||||
break;
|
||||
}
|
||||
|
||||
playerState = newState;
|
||||
UpdateUI();
|
||||
}
|
||||
}
|
||||
|
||||
private void InitializeAudio(AwcStream audio, float playBegin = 0)
|
||||
{
|
||||
currentAudio = audio;
|
||||
trackLength = audio.Length;
|
||||
|
||||
if (xAudio2 == null)
|
||||
{
|
||||
xAudio2 = new XAudio2();
|
||||
masteringVoice = new MasteringVoice(xAudio2);
|
||||
}
|
||||
|
||||
Stream wavStream = audio.GetWavStream();
|
||||
SoundStream soundStream = new SoundStream(wavStream);
|
||||
audioBuffer = new AudioBuffer
|
||||
{
|
||||
Stream = soundStream.ToDataStream(),
|
||||
AudioBytes = (int)soundStream.Length,
|
||||
Flags = BufferFlags.EndOfStream
|
||||
};
|
||||
if (playBegin > 0)
|
||||
{
|
||||
audioBuffer.PlayBegin = (int)(soundStream.Format.SampleRate * playBegin) / 128 * 128;
|
||||
if (playtime.IsRunning)
|
||||
playtime.Restart();
|
||||
else
|
||||
playtime.Reset();
|
||||
playBeginMs = (int)(playBegin * 1000);
|
||||
}
|
||||
else
|
||||
playBeginMs = 0;
|
||||
soundStream.Close();
|
||||
wavStream.Close();
|
||||
|
||||
trackFinished = false;
|
||||
sourceVoice = new SourceVoice(xAudio2, soundStream.Format, true);
|
||||
sourceVoice.SubmitSourceBuffer(audioBuffer, soundStream.DecodedPacketsInfo);
|
||||
sourceVoice.BufferEnd += (context) => trackFinished = true;
|
||||
sourceVoice.SetVolume((float)VolumeTrackBar.Value / 100);
|
||||
}
|
||||
|
||||
private void Play()
|
||||
{
|
||||
Stop();
|
||||
|
||||
if (PlayListView.SelectedItems.Count == 1)
|
||||
{
|
||||
var item = PlayListView.SelectedItems[0];
|
||||
var audio = item.Tag as AwcStream;
|
||||
|
||||
if ((audio?.FormatChunk != null) || (audio?.StreamFormat != null))
|
||||
{
|
||||
InitializeAudio(audio);
|
||||
sourceVoice.Start();
|
||||
SetPlayerState(PlayerState.Playing);
|
||||
}
|
||||
else if (audio.MidiChunk != null)
|
||||
{
|
||||
//todo: play MIDI?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void PlayPrevious()
|
||||
{
|
||||
Stop();
|
||||
if (PlayListView.SelectedIndices.Count > 0)
|
||||
{
|
||||
var nextIndex = PlayListView.SelectedIndices[0] - 1;
|
||||
if (nextIndex >= 0)
|
||||
{
|
||||
PlayListView.Items[nextIndex].Selected = true;
|
||||
PlayListView.Items[nextIndex].Focused = true;
|
||||
Play();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void PlayNext()
|
||||
{
|
||||
Stop();
|
||||
if (PlayListView.SelectedIndices.Count > 0)
|
||||
{
|
||||
var nextIndex = PlayListView.SelectedIndices[0] + 1;
|
||||
if (nextIndex < PlayListView.Items.Count)
|
||||
{
|
||||
PlayListView.Items[nextIndex].Selected = true;
|
||||
PlayListView.Items[nextIndex].Focused = true;
|
||||
Play();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void Pause()
|
||||
{
|
||||
if (playerState == PlayerState.Playing)
|
||||
{
|
||||
sourceVoice.Stop();
|
||||
SetPlayerState(PlayerState.Paused);
|
||||
}
|
||||
}
|
||||
|
||||
private void Resume()
|
||||
{
|
||||
if (playerState == PlayerState.Paused)
|
||||
{
|
||||
sourceVoice.Start();
|
||||
SetPlayerState(PlayerState.Playing);
|
||||
}
|
||||
}
|
||||
|
||||
private void PositionTrackBar_Scroll(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
//sourceVoice.Stop();
|
||||
//InitializeAudio(currentAudio, PositionTrackBar.Value / 1000);
|
||||
//sourceVoice.Start();
|
||||
}
|
||||
|
||||
private void PlayButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
switch (playerState)
|
||||
{
|
||||
case PlayerState.Stopped:
|
||||
Play();
|
||||
break;
|
||||
case PlayerState.Playing:
|
||||
Pause();
|
||||
break;
|
||||
case PlayerState.Paused:
|
||||
Resume();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void StopButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
Stop();
|
||||
}
|
||||
|
||||
private void PrevButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
PlayPrevious();
|
||||
}
|
||||
|
||||
private void NextButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
PlayNext();
|
||||
}
|
||||
|
||||
private void VolumeTrackBar_Scroll(object sender, EventArgs e)
|
||||
{
|
||||
if (playerState == PlayerState.Playing)
|
||||
sourceVoice.SetVolume((float)VolumeTrackBar.Value / 100);
|
||||
}
|
||||
|
||||
private void UpdateUI()
|
||||
{
|
||||
if (playerState != PlayerState.Stopped && trackFinished)
|
||||
{
|
||||
if (chbAutoJump.Checked)
|
||||
PlayNext();
|
||||
else
|
||||
Stop();
|
||||
}
|
||||
|
||||
if (playerState != PlayerState.Stopped)
|
||||
{
|
||||
int playedMs = (int)playtime.Elapsed.TotalMilliseconds + playBeginMs;
|
||||
int totalMs = (int)(trackLength * 1000);
|
||||
PositionTrackBar.Maximum = totalMs;
|
||||
PositionTrackBar.Value = playedMs < totalMs ? playedMs : totalMs;
|
||||
|
||||
LabelTime.Text = TimeSpan.FromSeconds(playedMs / 1000).ToString("m\\:ss")
|
||||
+ " / " + TimeSpan.FromSeconds(totalMs / 1000).ToString("m\\:ss");
|
||||
}
|
||||
else
|
||||
{
|
||||
PositionTrackBar.Value = 0;
|
||||
}
|
||||
}
|
||||
|
||||
private void Timer_Tick(object sender, EventArgs e)
|
||||
{
|
||||
UpdateUI();
|
||||
}
|
||||
|
||||
private void PlayListView_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
if (playerState == PlayerState.Playing)
|
||||
Stop();
|
||||
Play();
|
||||
}
|
||||
|
||||
private void AwcForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
Stop();
|
||||
if (xAudio2 != null)
|
||||
{
|
||||
masteringVoice.Dispose();
|
||||
xAudio2.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
private void ExportAsWav_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (PlayListView.SelectedItems.Count == 1)
|
||||
{
|
||||
var item = PlayListView.SelectedItems[0];
|
||||
var audio = item.Tag as AwcStream;
|
||||
|
||||
var ext = ".wav";
|
||||
if (audio?.MidiChunk != null)
|
||||
{
|
||||
ext = ".midi";
|
||||
}
|
||||
|
||||
saveFileDialog.FileName = audio.Name + ext;
|
||||
if (saveFileDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (audio?.MidiChunk != null)
|
||||
{
|
||||
File.WriteAllBytes(saveFileDialog.FileName, audio.MidiChunk.Data);
|
||||
}
|
||||
else if ((audio?.FormatChunk != null) || (audio?.StreamFormat != null))
|
||||
{
|
||||
Stream wavStream = audio.GetWavStream();
|
||||
FileStream stream = File.Create(saveFileDialog.FileName);
|
||||
wavStream.CopyTo(stream);
|
||||
stream.Close();
|
||||
wavStream.Close();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void PlayListView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
ExportAsWav.Text = "Export as .wav";
|
||||
if (PlayListView.SelectedItems.Count == 1)
|
||||
{
|
||||
var item = PlayListView.SelectedItems[0];
|
||||
var audio = item.Tag as AwcStream;
|
||||
if (audio?.MidiChunk != null)
|
||||
{
|
||||
ExportAsWav.Text = "Export as .midi";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void MainTabControl_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (MainTabControl.SelectedTab == XmlTabPage)
|
||||
{
|
||||
if (string.IsNullOrEmpty(XmlTextBox.Text))
|
||||
{
|
||||
LoadXml();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void XmlTextBox_VisibleRangeChangedDelayed(object sender, EventArgs e)
|
||||
{
|
||||
//this approach is much faster to load, but no outlining is available
|
||||
|
||||
//highlight only visible area of text
|
||||
if (DelayHighlight)
|
||||
{
|
||||
HTMLSyntaxHighlight(XmlTextBox.VisibleRange);
|
||||
}
|
||||
}
|
||||
|
||||
private void XmlTextBox_TextChanged(object sender, TextChangedEventArgs e)
|
||||
{
|
||||
if (!LoadingXml)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
using CodeWalker.GameFiles;
|
||||
using FastColoredTextBoxNS;
|
||||
using SharpDX.Multimedia;
|
||||
using SharpDX.XAudio2;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using Range = FastColoredTextBoxNS.Range;
|
||||
|
||||
namespace CodeWalker.Forms
|
||||
{
|
||||
public partial class AwcForm : Form
|
||||
{
|
||||
public AwcFile Awc { get; set; }
|
||||
|
||||
private AwcStream currentAudio;
|
||||
private XAudio2 xAudio2;
|
||||
private MasteringVoice masteringVoice;
|
||||
private AudioBuffer audioBuffer;
|
||||
private SourceVoice sourceVoice;
|
||||
|
||||
private string fileName;
|
||||
public string FileName
|
||||
{
|
||||
get { return fileName; }
|
||||
set
|
||||
{
|
||||
fileName = value;
|
||||
UpdateFormTitle();
|
||||
}
|
||||
}
|
||||
public string FilePath { get; set; }
|
||||
|
||||
private enum PlayerState { Stopped, Playing, Paused };
|
||||
private PlayerState playerState = PlayerState.Stopped;
|
||||
|
||||
private Stopwatch playtime;
|
||||
private int playBeginMs;
|
||||
private float trackLength;
|
||||
private bool trackFinished;
|
||||
|
||||
private bool LoadingXml = false;
|
||||
private bool DelayHighlight = false;
|
||||
|
||||
|
||||
public AwcForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
playtime = new Stopwatch();
|
||||
}
|
||||
|
||||
private void UpdateFormTitle()
|
||||
{
|
||||
Text = fileName + " - AWC Player - CodeWalker by dexyfex";
|
||||
}
|
||||
|
||||
private void UpdateXmlTextBox(string xml)
|
||||
{
|
||||
LoadingXml = true;
|
||||
XmlTextBox.Text = "";
|
||||
XmlTextBox.Language = Language.XML;
|
||||
DelayHighlight = false;
|
||||
|
||||
if (string.IsNullOrEmpty(xml))
|
||||
{
|
||||
LoadingXml = false;
|
||||
return;
|
||||
}
|
||||
//if (xml.Length > (1048576 * 5))
|
||||
//{
|
||||
// XmlTextBox.Language = Language.Custom;
|
||||
// XmlTextBox.Text = "[XML size > 10MB - Not shown due to performance limitations - Please use an external viewer for this file.]";
|
||||
// return;
|
||||
//}
|
||||
//else
|
||||
if (xml.Length > (1024 * 512))
|
||||
{
|
||||
XmlTextBox.Language = Language.Custom;
|
||||
DelayHighlight = true;
|
||||
}
|
||||
//else
|
||||
//{
|
||||
// XmlTextBox.Language = Language.XML;
|
||||
//}
|
||||
|
||||
|
||||
Cursor = Cursors.WaitCursor;
|
||||
|
||||
|
||||
|
||||
XmlTextBox.Text = xml;
|
||||
//XmlTextBox.IsChanged = false;
|
||||
XmlTextBox.ClearUndo();
|
||||
|
||||
Cursor = Cursors.Default;
|
||||
LoadingXml = false;
|
||||
}
|
||||
|
||||
public void LoadAwc(AwcFile awc)
|
||||
{
|
||||
Awc = awc;
|
||||
DetailsPropertyGrid.SelectedObject = awc;
|
||||
|
||||
fileName = awc?.Name;
|
||||
if (string.IsNullOrEmpty(fileName))
|
||||
{
|
||||
fileName = awc?.FileEntry?.Name;
|
||||
}
|
||||
|
||||
PlayListView.Items.Clear();
|
||||
|
||||
float totalLength = 0;
|
||||
if (awc.Streams != null)
|
||||
{
|
||||
var strlist = awc.Streams.ToList();
|
||||
strlist.Sort((a, b) => a.Name.CompareTo(b.Name));
|
||||
foreach (var audio in strlist)
|
||||
{
|
||||
if (audio.StreamBlocks != null) continue;//don't display multichannel source audios
|
||||
var item = PlayListView.Items.Add(audio.Name);
|
||||
item.SubItems.Add(audio.Type);
|
||||
item.SubItems.Add(audio.LengthStr);
|
||||
item.SubItems.Add(TextUtil.GetBytesReadable(audio.ByteLength));
|
||||
item.Tag = audio;
|
||||
totalLength += audio.Length;
|
||||
}
|
||||
}
|
||||
|
||||
LabelInfo.Text = awc.Streams.Length.ToString() + " track(s), Length: " + TimeSpan.FromSeconds((float)totalLength).ToString("h\\:mm\\:ss");
|
||||
UpdateFormTitle();
|
||||
}
|
||||
|
||||
public void LoadXml()
|
||||
{
|
||||
if (Awc != null)
|
||||
{
|
||||
var xml = AwcXml.GetXml(Awc);
|
||||
UpdateXmlTextBox(xml);
|
||||
}
|
||||
}
|
||||
|
||||
private void HTMLSyntaxHighlight(Range range)
|
||||
{
|
||||
try
|
||||
{
|
||||
Style BlueStyle = new TextStyle(Brushes.Blue, null, FontStyle.Regular);
|
||||
Style RedStyle = new TextStyle(Brushes.Red, null, FontStyle.Regular);
|
||||
Style MaroonStyle = new TextStyle(Brushes.Maroon, null, FontStyle.Regular);
|
||||
|
||||
//clear style of changed range
|
||||
range.ClearStyle(BlueStyle, MaroonStyle, RedStyle);
|
||||
//tag brackets highlighting
|
||||
range.SetStyle(BlueStyle, @"<|/>|</|>");
|
||||
//tag name
|
||||
range.SetStyle(MaroonStyle, @"<(?<range>[!\w]+)");
|
||||
//end of tag
|
||||
range.SetStyle(MaroonStyle, @"</(?<range>\w+)>");
|
||||
//attributes
|
||||
range.SetStyle(RedStyle, @"(?<range>\S+?)='[^']*'|(?<range>\S+)=""[^""]*""|(?<range>\S+)=\S+");
|
||||
//attribute values
|
||||
range.SetStyle(BlueStyle, @"\S+?=(?<range>'[^']*')|\S+=(?<range>""[^""]*"")|\S+=(?<range>\S+)");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
|
||||
private void Stop()
|
||||
{
|
||||
if (playerState != PlayerState.Stopped)
|
||||
{
|
||||
sourceVoice.DestroyVoice();
|
||||
sourceVoice.Dispose();
|
||||
audioBuffer.Stream.Dispose();
|
||||
SetPlayerState(PlayerState.Stopped);
|
||||
}
|
||||
}
|
||||
|
||||
private void SetPlayerState(PlayerState newState)
|
||||
{
|
||||
if (playerState != newState)
|
||||
{
|
||||
switch (newState)
|
||||
{
|
||||
case PlayerState.Playing:
|
||||
if (playerState == PlayerState.Stopped)
|
||||
playtime.Reset();
|
||||
playtime.Start();
|
||||
|
||||
PlayButton.Text = "\u275A\u275A";
|
||||
StopButton.Enabled = true;
|
||||
LabelTime.Visible = true;
|
||||
break;
|
||||
case PlayerState.Paused:
|
||||
playtime.Stop();
|
||||
PlayButton.Text = "\u25B6";
|
||||
StopButton.Enabled = true;
|
||||
LabelTime.Visible = true;
|
||||
break;
|
||||
case PlayerState.Stopped:
|
||||
playtime.Stop();
|
||||
PlayButton.Text = "\u25B6";
|
||||
LabelTime.Visible = false;
|
||||
StopButton.Enabled = true;
|
||||
break;
|
||||
}
|
||||
|
||||
playerState = newState;
|
||||
UpdateUI();
|
||||
}
|
||||
}
|
||||
|
||||
private void InitializeAudio(AwcStream audio, float playBegin = 0)
|
||||
{
|
||||
currentAudio = audio;
|
||||
trackLength = audio.Length;
|
||||
|
||||
if (xAudio2 == null)
|
||||
{
|
||||
xAudio2 = new XAudio2();
|
||||
masteringVoice = new MasteringVoice(xAudio2);
|
||||
}
|
||||
|
||||
Stream wavStream = audio.GetWavStream();
|
||||
SoundStream soundStream = new SoundStream(wavStream);
|
||||
audioBuffer = new AudioBuffer
|
||||
{
|
||||
Stream = soundStream.ToDataStream(),
|
||||
AudioBytes = (int)soundStream.Length,
|
||||
Flags = BufferFlags.EndOfStream
|
||||
};
|
||||
if (playBegin > 0)
|
||||
{
|
||||
audioBuffer.PlayBegin = (int)(soundStream.Format.SampleRate * playBegin) / 128 * 128;
|
||||
if (playtime.IsRunning)
|
||||
playtime.Restart();
|
||||
else
|
||||
playtime.Reset();
|
||||
playBeginMs = (int)(playBegin * 1000);
|
||||
}
|
||||
else
|
||||
playBeginMs = 0;
|
||||
soundStream.Close();
|
||||
wavStream.Close();
|
||||
|
||||
trackFinished = false;
|
||||
sourceVoice = new SourceVoice(xAudio2, soundStream.Format, true);
|
||||
sourceVoice.SubmitSourceBuffer(audioBuffer, soundStream.DecodedPacketsInfo);
|
||||
sourceVoice.BufferEnd += (context) => trackFinished = true;
|
||||
sourceVoice.SetVolume((float)VolumeTrackBar.Value / 100);
|
||||
}
|
||||
|
||||
private void Play()
|
||||
{
|
||||
Stop();
|
||||
|
||||
if (PlayListView.SelectedItems.Count == 1)
|
||||
{
|
||||
var item = PlayListView.SelectedItems[0];
|
||||
var audio = item.Tag as AwcStream;
|
||||
|
||||
if ((audio?.FormatChunk != null) || (audio?.StreamFormat != null))
|
||||
{
|
||||
InitializeAudio(audio);
|
||||
sourceVoice.Start();
|
||||
SetPlayerState(PlayerState.Playing);
|
||||
}
|
||||
else if (audio.MidiChunk != null)
|
||||
{
|
||||
//todo: play MIDI?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void PlayPrevious()
|
||||
{
|
||||
Stop();
|
||||
if (PlayListView.SelectedIndices.Count > 0)
|
||||
{
|
||||
var nextIndex = PlayListView.SelectedIndices[0] - 1;
|
||||
if (nextIndex >= 0)
|
||||
{
|
||||
PlayListView.Items[nextIndex].Selected = true;
|
||||
PlayListView.Items[nextIndex].Focused = true;
|
||||
Play();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void PlayNext()
|
||||
{
|
||||
Stop();
|
||||
if (PlayListView.SelectedIndices.Count > 0)
|
||||
{
|
||||
var nextIndex = PlayListView.SelectedIndices[0] + 1;
|
||||
if (nextIndex < PlayListView.Items.Count)
|
||||
{
|
||||
PlayListView.Items[nextIndex].Selected = true;
|
||||
PlayListView.Items[nextIndex].Focused = true;
|
||||
Play();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void Pause()
|
||||
{
|
||||
if (playerState == PlayerState.Playing)
|
||||
{
|
||||
sourceVoice.Stop();
|
||||
SetPlayerState(PlayerState.Paused);
|
||||
}
|
||||
}
|
||||
|
||||
private void Resume()
|
||||
{
|
||||
if (playerState == PlayerState.Paused)
|
||||
{
|
||||
sourceVoice.Start();
|
||||
SetPlayerState(PlayerState.Playing);
|
||||
}
|
||||
}
|
||||
|
||||
private void PositionTrackBar_Scroll(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
//sourceVoice.Stop();
|
||||
//InitializeAudio(currentAudio, PositionTrackBar.Value / 1000);
|
||||
//sourceVoice.Start();
|
||||
}
|
||||
|
||||
private void PlayButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
switch (playerState)
|
||||
{
|
||||
case PlayerState.Stopped:
|
||||
Play();
|
||||
break;
|
||||
case PlayerState.Playing:
|
||||
Pause();
|
||||
break;
|
||||
case PlayerState.Paused:
|
||||
Resume();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void StopButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
Stop();
|
||||
}
|
||||
|
||||
private void PrevButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
PlayPrevious();
|
||||
}
|
||||
|
||||
private void NextButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
PlayNext();
|
||||
}
|
||||
|
||||
private void VolumeTrackBar_Scroll(object sender, EventArgs e)
|
||||
{
|
||||
if (playerState == PlayerState.Playing)
|
||||
sourceVoice.SetVolume((float)VolumeTrackBar.Value / 100);
|
||||
}
|
||||
|
||||
private void UpdateUI()
|
||||
{
|
||||
if (playerState != PlayerState.Stopped && trackFinished)
|
||||
{
|
||||
if (chbAutoJump.Checked)
|
||||
PlayNext();
|
||||
else
|
||||
Stop();
|
||||
}
|
||||
|
||||
if (playerState != PlayerState.Stopped)
|
||||
{
|
||||
int playedMs = (int)playtime.Elapsed.TotalMilliseconds + playBeginMs;
|
||||
int totalMs = (int)(trackLength * 1000);
|
||||
PositionTrackBar.Maximum = totalMs;
|
||||
PositionTrackBar.Value = playedMs < totalMs ? playedMs : totalMs;
|
||||
|
||||
LabelTime.Text = TimeSpan.FromSeconds(playedMs / 1000).ToString("m\\:ss")
|
||||
+ " / " + TimeSpan.FromSeconds(totalMs / 1000).ToString("m\\:ss");
|
||||
}
|
||||
else
|
||||
{
|
||||
PositionTrackBar.Value = 0;
|
||||
}
|
||||
}
|
||||
|
||||
private void Timer_Tick(object sender, EventArgs e)
|
||||
{
|
||||
UpdateUI();
|
||||
}
|
||||
|
||||
private void PlayListView_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
if (playerState == PlayerState.Playing)
|
||||
Stop();
|
||||
Play();
|
||||
}
|
||||
|
||||
private void AwcForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
Stop();
|
||||
if (xAudio2 != null)
|
||||
{
|
||||
masteringVoice.Dispose();
|
||||
xAudio2.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
private void ExportAsWav_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (PlayListView.SelectedItems.Count == 1)
|
||||
{
|
||||
var item = PlayListView.SelectedItems[0];
|
||||
var audio = item.Tag as AwcStream;
|
||||
|
||||
var ext = ".wav";
|
||||
if (audio?.MidiChunk != null)
|
||||
{
|
||||
ext = ".midi";
|
||||
}
|
||||
|
||||
saveFileDialog.FileName = audio.Name + ext;
|
||||
if (saveFileDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (audio?.MidiChunk != null)
|
||||
{
|
||||
File.WriteAllBytes(saveFileDialog.FileName, audio.MidiChunk.Data);
|
||||
}
|
||||
else if ((audio?.FormatChunk != null) || (audio?.StreamFormat != null))
|
||||
{
|
||||
Stream wavStream = audio.GetWavStream();
|
||||
FileStream stream = File.Create(saveFileDialog.FileName);
|
||||
wavStream.CopyTo(stream);
|
||||
stream.Close();
|
||||
wavStream.Close();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void PlayListView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
ExportAsWav.Text = "Export as .wav";
|
||||
if (PlayListView.SelectedItems.Count == 1)
|
||||
{
|
||||
var item = PlayListView.SelectedItems[0];
|
||||
var audio = item.Tag as AwcStream;
|
||||
if (audio?.MidiChunk != null)
|
||||
{
|
||||
ExportAsWav.Text = "Export as .midi";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void MainTabControl_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (MainTabControl.SelectedTab == XmlTabPage)
|
||||
{
|
||||
if (string.IsNullOrEmpty(XmlTextBox.Text))
|
||||
{
|
||||
LoadXml();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void XmlTextBox_VisibleRangeChangedDelayed(object sender, EventArgs e)
|
||||
{
|
||||
//this approach is much faster to load, but no outlining is available
|
||||
|
||||
//highlight only visible area of text
|
||||
if (DelayHighlight)
|
||||
{
|
||||
HTMLSyntaxHighlight(XmlTextBox.VisibleRange);
|
||||
}
|
||||
}
|
||||
|
||||
private void XmlTextBox_TextChanged(object sender, TextChangedEventArgs e)
|
||||
{
|
||||
if (!LoadingXml)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -12,6 +12,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Xml;
|
||||
using Range = FastColoredTextBoxNS.Range;
|
||||
|
||||
namespace CodeWalker.Forms
|
||||
{
|
@ -11,6 +11,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Xml;
|
||||
using Range = FastColoredTextBoxNS.Range;
|
||||
|
||||
namespace CodeWalker.Forms
|
||||
{
|
@ -12,6 +12,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Xml;
|
||||
using Range = FastColoredTextBoxNS.Range;
|
||||
|
||||
namespace CodeWalker.Forms
|
||||
{
|
@ -10,6 +10,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Range = FastColoredTextBoxNS.Range;
|
||||
|
||||
namespace CodeWalker.Forms
|
||||
{
|
||||
@ -38,10 +39,8 @@ namespace CodeWalker.Forms
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
MainListView.ContextMenu = new ContextMenu(new[]
|
||||
{
|
||||
new MenuItem("Export to openFormats (.onim)...", this.ExportOnim_Click)
|
||||
});
|
||||
MainListView.ContextMenuStrip = new ContextMenuStrip();
|
||||
MainListView.ContextMenuStrip.Items.Add(new ToolStripMenuItem("Export to openFormats (.onim)...", null, ExportOnim_Click));
|
||||
}
|
||||
|
||||
private void ExportOnim_Click(object sender, EventArgs e)
|
||||
@ -228,16 +227,16 @@ namespace CodeWalker.Forms
|
||||
|
||||
if (MainPropertyGrid.SelectedObject is Animation)
|
||||
{
|
||||
MainListView.ContextMenu.MenuItems[0].Enabled = true;
|
||||
MainListView.ContextMenuStrip.Items[0].Enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
MainListView.ContextMenu.MenuItems[0].Enabled = false;
|
||||
MainListView.ContextMenuStrip.Items[0].Enabled = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
MainListView.ContextMenu.MenuItems[0].Enabled = false;
|
||||
MainListView.ContextMenuStrip.Items[0].Enabled = false;
|
||||
//MainPropertyGrid.SelectedObject = null;
|
||||
}
|
||||
}
|
@ -54,6 +54,7 @@ namespace CodeWalker
|
||||
|
||||
EnsureJumpList();
|
||||
|
||||
//Application.SetHighDpiMode(HighDpiMode.SystemAware);
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user