Compare commits
49 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b7b88be57 | ||
|
|
05fd0588e8 | ||
|
|
f60f7ac413 | ||
|
|
344f69fddc | ||
|
|
dc5691aefc | ||
|
|
797216fed4 | ||
|
|
4899d6d7d0 | ||
|
|
8637c31311 | ||
|
|
ac33fd5ab8 | ||
|
|
8ccfbcf66a | ||
|
|
2e84b08494 | ||
|
|
08bf84146b | ||
|
|
fbfdb789f5 | ||
|
|
dcde8902f1 | ||
|
|
d079368acf | ||
|
|
92426fa585 | ||
|
|
248063276d | ||
|
|
d61f1ac676 | ||
|
|
1f1a8c5956 | ||
|
|
4b8b8fb8ea | ||
|
|
0df3b54499 | ||
|
|
cc3b08fea5 | ||
|
|
4eebbaa5ef | ||
|
|
a831456242 | ||
|
|
88d78e5166 | ||
|
|
f7948e58b4 | ||
|
|
aeccee3fbc | ||
|
|
f8476e4f4e | ||
|
|
ff23e633ee | ||
|
|
0e726919cc | ||
|
|
6f5bf443ae | ||
|
|
4a364c4ffc | ||
|
|
56825b5e48 | ||
|
|
ff144b41eb | ||
|
|
03b2ab97d6 | ||
|
|
63bc2ca970 | ||
|
|
3f54abaa45 | ||
|
|
d7a5a44d41 | ||
|
|
20e8d89f1a | ||
|
|
cb7601405c | ||
|
|
d618c67164 | ||
|
|
00966b2bce | ||
|
|
17bfc966c8 | ||
|
|
32855d932e | ||
|
|
ac864c31f3 | ||
|
|
1f2635c877 | ||
|
|
235b74a9cd | ||
|
|
93ebc67841 | ||
|
|
2c94852939 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -15,8 +15,6 @@
|
|||||||
[Dd]ebugPublic/
|
[Dd]ebugPublic/
|
||||||
[Rr]elease/
|
[Rr]elease/
|
||||||
[Rr]eleases/
|
[Rr]eleases/
|
||||||
x64/
|
|
||||||
x86/
|
|
||||||
build/
|
build/
|
||||||
bld/
|
bld/
|
||||||
[Bb]in/
|
[Bb]in/
|
||||||
|
|||||||
21
License.md
Normal file
21
License.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2016 Radu
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
40
README.md
40
README.md
@@ -1,28 +1,42 @@
|
|||||||
**Unity Studio** is a tool meant for exploring, extracting and exporting assets from Unity games and apps.
|
**Unity Studio** is a tool for exploring, extracting and exporting assets from Unity games and apps.
|
||||||
|
|
||||||
It was built upon a lot of research and reverse engineering, with more than 400 apps and games tested from every version and every platform.
|
It is the continuation of my Unity Importer script for 3ds Max, and comprises all my research and reverse engineering of Unity file formats. It has been thoroughly tested with Unity builds from most platforms, ranging from Web, PC, Linux, MacOS to Xbox360, PS3, Android and iOS, and it is currently maintained to be compatible with Unity builds from 2.5.0 up to the 5.5 version.
|
||||||
As such, it is compatible with Unity builds starting from 2.5.0 up until 5.2.2, the latest version to date, and platforms ranging from Web, PC, Linux, MacOS to Xbox360, PS3, Android and iOS.
|
|
||||||
|
|
||||||
#### Current features
|
## Current features
|
||||||
|
|
||||||
* Export to FBX, with complete hierarchy, transformations, materials and textures. At the moment, geometry is exported with normals UV coordinates and vertex colors, but no animation data.
|
|
||||||
* Extraction of assets that can be used as standalone resources:
|
* Extraction of assets that can be used as standalone resources:
|
||||||
* Textures: DDS (Alpha8bpp, ARGB16bpp, RGB24bpp, ARGB32bpp, BGRA32bpp, RGB565, DXT1, DXT5, RGBA16bpp)
|
* **Texture2D**:
|
||||||
* PVR (PVRTC_RGB2, PVRTC_RGBA2, PVRTC_RGBA4, PVRTC_RGB4, ETC_RGB4)
|
* DDS (Alpha8, ARGB4444, RGB24, RGBA32, ARGB32, RGB565, DXT1, DXT5, RGBA4444, BGRA32)
|
||||||
* Audio clips: mp3, ogg, wav, xbox wav (including streams from .resS files)
|
* PVR (YUY2, PVRTC_RGB2, PVRTC_RGBA2, PVRTC_RGB4, PVRTC_RGBA4, ETC_RGB4, ETC2_RGB, ETC2_RGBA1, ETC2_RGBA8)
|
||||||
* Fonts: ttf, otf
|
* KTX (RHalf, RGHalf, RGBAHalf, RFloat, RGFloat, RGBAFloat, ATC_RGB4, ATC_RGBA8, EAC_R, EAC_R_SIGNED, EAC_RG, EAC_RG_SIGNED)
|
||||||
* Text Assets
|
* ASTC (ASTC_RGB_4x4, ASTC_RGB_5x5, ASTC_RGB_6x6, ASTC_RGB_8x8, ASTC_RGB_10x10, ASTC_RGB_12x12, ASTC_RGBA_4x4, ASTC_RGBA_5x5, ASTC_RGBA_6x6, ASTC_RGBA_8x8, ASTC_RGBA_10x10, ASTC_RGBA_12x12)
|
||||||
* Shaders
|
* **AudioClip**: fsb, mp3, ogg, wav, m4a, xbox wav (including streams from resource files)
|
||||||
|
* **Font**: ttf, otf
|
||||||
|
* **TextAsset**
|
||||||
|
* **Shader**
|
||||||
|
* **MonoBehaviour**
|
||||||
|
* Support convert almost all textures to bmp, png or jpeg
|
||||||
|
* Support convert FSB file to wav
|
||||||
|
* Export to FBX, with complete hierarchy, transformations, materials and textures. Geometry is exported with normals, tangents, UV coordinates, vertex colors and deformers. Skeleton nodes can be exported either as bones or dummy deformers..
|
||||||
* Real-time preview window for the above-mentioned assets
|
* Real-time preview window for the above-mentioned assets
|
||||||
* Diagnostics mode with useful tools for research
|
* Diagnostics mode with useful tools for research
|
||||||
|
|
||||||
|
|
||||||
#### UI guide
|
## Usage
|
||||||
|
|
||||||
|
Requirements:
|
||||||
|
|
||||||
|
- [.NET Framework 4.0](https://www.microsoft.com/en-us/download/details.aspx?id=17718)
|
||||||
|
- [Microsoft Visual C++ 2013 Redistributable](https://www.microsoft.com/en-us/download/details.aspx?id=40784)
|
||||||
|
- [Microsoft Visual C++ 2015 Redistributable](https://www.microsoft.com/en-us/download/details.aspx?id=53840)
|
||||||
|
|
||||||
|
|
||||||
|
## UI guide
|
||||||
|
|
||||||
| Item | Action
|
| Item | Action
|
||||||
| :---------------------------- | :----------------------------
|
| :---------------------------- | :----------------------------
|
||||||
| File -> Load file/folder | Open Assetfiles and load their assets. Load file can also decompress and load bundle files straight into memory
|
| File -> Load file/folder | Open Assetfiles and load their assets. Load file can also decompress and load bundle files straight into memory
|
||||||
| File -> Extract bundle/folder | Extract Assetfiles from bundle files compressed with lzma or l4z
|
| File -> Extract bundle/folder | Extract Assetfiles from bundle files compressed with lzma or lz4
|
||||||
| Scene Hierarchy search box | Search nodes using * and ? wildcards. Press Enter to loop through results or Ctrl+Enter to select all matching nodes
|
| Scene Hierarchy search box | Search nodes using * and ? wildcards. Press Enter to loop through results or Ctrl+Enter to select all matching nodes
|
||||||
| Asset List filter box | Enter a keyword to filter the list of available assets; wildcards are added automatically
|
| Asset List filter box | Enter a keyword to filter the list of available assets; wildcards are added automatically
|
||||||
| Diagnostics | press Ctrl+Alt+D to bring up a hidden menu and a new list
|
| Diagnostics | press Ctrl+Alt+D to bring up a hidden menu and a new list
|
||||||
|
|||||||
@@ -1,16 +1,24 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 2010
|
# Visual Studio 14
|
||||||
|
VisualStudioVersion = 14.0.25420.1
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unity Studio", "Unity Studio\Unity Studio.csproj", "{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unity Studio", "Unity Studio\Unity Studio.csproj", "{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
Debug|x86 = Debug|x86
|
Debug|x86 = Debug|x86
|
||||||
|
Release|x64 = Release|x64
|
||||||
Release|x86 = Release|x86
|
Release|x86 = Release|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}.Debug|x64.Build.0 = Debug|x64
|
||||||
{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}.Debug|x86.ActiveCfg = Debug|x86
|
{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}.Debug|x86.Build.0 = Debug|x86
|
{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}.Debug|x86.Build.0 = Debug|x86
|
||||||
|
{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}.Release|x64.Build.0 = Release|x64
|
||||||
{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}.Release|x86.ActiveCfg = Release|x86
|
{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}.Release|x86.ActiveCfg = Release|x86
|
||||||
{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}.Release|x86.Build.0 = Release|x86
|
{24551E2D-E9B6-4CD6-8F2A-D9F4A13E7853}.Release|x86.Build.0 = Release|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
|
|||||||
@@ -122,5 +122,23 @@ namespace SevenZip.Compression.LZMA
|
|||||||
return newOutStream;
|
return newOutStream;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static MemoryStream StreamDecompress(MemoryStream newInStream, long outSize)
|
||||||
|
{
|
||||||
|
SevenZip.Compression.LZMA.Decoder decoder = new SevenZip.Compression.LZMA.Decoder();
|
||||||
|
|
||||||
|
newInStream.Seek(0, 0);
|
||||||
|
MemoryStream newOutStream = new MemoryStream();
|
||||||
|
|
||||||
|
byte[] properties2 = new byte[5];
|
||||||
|
if (newInStream.Read(properties2, 0, 5) != 5)
|
||||||
|
throw (new Exception("input .lzma is too short"));
|
||||||
|
decoder.SetDecoderProperties(properties2);
|
||||||
|
|
||||||
|
long compressedSize = newInStream.Length - newInStream.Position;
|
||||||
|
decoder.Code(newInStream, newOutStream, compressedSize, outSize, null);
|
||||||
|
|
||||||
|
newOutStream.Position = 0;
|
||||||
|
return newOutStream;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
42
Unity Studio/AboutBox.Designer.cs
generated
42
Unity Studio/AboutBox.Designer.cs
generated
@@ -53,7 +53,7 @@
|
|||||||
this.tableLayoutPanel.Controls.Add(this.textBoxDescription, 1, 4);
|
this.tableLayoutPanel.Controls.Add(this.textBoxDescription, 1, 4);
|
||||||
this.tableLayoutPanel.Controls.Add(this.okButton, 1, 5);
|
this.tableLayoutPanel.Controls.Add(this.okButton, 1, 5);
|
||||||
this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.tableLayoutPanel.Location = new System.Drawing.Point(9, 9);
|
this.tableLayoutPanel.Location = new System.Drawing.Point(9, 8);
|
||||||
this.tableLayoutPanel.Name = "tableLayoutPanel";
|
this.tableLayoutPanel.Name = "tableLayoutPanel";
|
||||||
this.tableLayoutPanel.RowCount = 6;
|
this.tableLayoutPanel.RowCount = 6;
|
||||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||||
this.tableLayoutPanel.Size = new System.Drawing.Size(446, 264);
|
this.tableLayoutPanel.Size = new System.Drawing.Size(446, 244);
|
||||||
this.tableLayoutPanel.TabIndex = 0;
|
this.tableLayoutPanel.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// logoPictureBox
|
// logoPictureBox
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
this.logoPictureBox.Location = new System.Drawing.Point(3, 3);
|
this.logoPictureBox.Location = new System.Drawing.Point(3, 3);
|
||||||
this.logoPictureBox.Name = "logoPictureBox";
|
this.logoPictureBox.Name = "logoPictureBox";
|
||||||
this.tableLayoutPanel.SetRowSpan(this.logoPictureBox, 6);
|
this.tableLayoutPanel.SetRowSpan(this.logoPictureBox, 6);
|
||||||
this.logoPictureBox.Size = new System.Drawing.Size(221, 258);
|
this.logoPictureBox.Size = new System.Drawing.Size(221, 238);
|
||||||
this.logoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
this.logoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||||
this.logoPictureBox.TabIndex = 12;
|
this.logoPictureBox.TabIndex = 12;
|
||||||
this.logoPictureBox.TabStop = false;
|
this.logoPictureBox.TabStop = false;
|
||||||
@@ -82,9 +82,9 @@
|
|||||||
this.labelProductName.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.labelProductName.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.labelProductName.Location = new System.Drawing.Point(233, 0);
|
this.labelProductName.Location = new System.Drawing.Point(233, 0);
|
||||||
this.labelProductName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
this.labelProductName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
||||||
this.labelProductName.MaximumSize = new System.Drawing.Size(0, 17);
|
this.labelProductName.MaximumSize = new System.Drawing.Size(0, 16);
|
||||||
this.labelProductName.Name = "labelProductName";
|
this.labelProductName.Name = "labelProductName";
|
||||||
this.labelProductName.Size = new System.Drawing.Size(210, 17);
|
this.labelProductName.Size = new System.Drawing.Size(210, 16);
|
||||||
this.labelProductName.TabIndex = 19;
|
this.labelProductName.TabIndex = 19;
|
||||||
this.labelProductName.Text = "Product Name";
|
this.labelProductName.Text = "Product Name";
|
||||||
this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
@@ -92,11 +92,11 @@
|
|||||||
// labelVersion
|
// labelVersion
|
||||||
//
|
//
|
||||||
this.labelVersion.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.labelVersion.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.labelVersion.Location = new System.Drawing.Point(233, 26);
|
this.labelVersion.Location = new System.Drawing.Point(233, 24);
|
||||||
this.labelVersion.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
this.labelVersion.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
||||||
this.labelVersion.MaximumSize = new System.Drawing.Size(0, 17);
|
this.labelVersion.MaximumSize = new System.Drawing.Size(0, 16);
|
||||||
this.labelVersion.Name = "labelVersion";
|
this.labelVersion.Name = "labelVersion";
|
||||||
this.labelVersion.Size = new System.Drawing.Size(210, 17);
|
this.labelVersion.Size = new System.Drawing.Size(210, 16);
|
||||||
this.labelVersion.TabIndex = 0;
|
this.labelVersion.TabIndex = 0;
|
||||||
this.labelVersion.Text = "Version";
|
this.labelVersion.Text = "Version";
|
||||||
this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
@@ -104,11 +104,11 @@
|
|||||||
// labelCopyright
|
// labelCopyright
|
||||||
//
|
//
|
||||||
this.labelCopyright.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.labelCopyright.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.labelCopyright.Location = new System.Drawing.Point(233, 52);
|
this.labelCopyright.Location = new System.Drawing.Point(233, 48);
|
||||||
this.labelCopyright.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
this.labelCopyright.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
||||||
this.labelCopyright.MaximumSize = new System.Drawing.Size(0, 17);
|
this.labelCopyright.MaximumSize = new System.Drawing.Size(0, 16);
|
||||||
this.labelCopyright.Name = "labelCopyright";
|
this.labelCopyright.Name = "labelCopyright";
|
||||||
this.labelCopyright.Size = new System.Drawing.Size(210, 17);
|
this.labelCopyright.Size = new System.Drawing.Size(210, 16);
|
||||||
this.labelCopyright.TabIndex = 21;
|
this.labelCopyright.TabIndex = 21;
|
||||||
this.labelCopyright.Text = "Copyright";
|
this.labelCopyright.Text = "Copyright";
|
||||||
this.labelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.labelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
@@ -116,11 +116,11 @@
|
|||||||
// labelCompanyName
|
// labelCompanyName
|
||||||
//
|
//
|
||||||
this.labelCompanyName.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.labelCompanyName.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.labelCompanyName.Location = new System.Drawing.Point(233, 78);
|
this.labelCompanyName.Location = new System.Drawing.Point(233, 72);
|
||||||
this.labelCompanyName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
this.labelCompanyName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
|
||||||
this.labelCompanyName.MaximumSize = new System.Drawing.Size(0, 17);
|
this.labelCompanyName.MaximumSize = new System.Drawing.Size(0, 16);
|
||||||
this.labelCompanyName.Name = "labelCompanyName";
|
this.labelCompanyName.Name = "labelCompanyName";
|
||||||
this.labelCompanyName.Size = new System.Drawing.Size(210, 17);
|
this.labelCompanyName.Size = new System.Drawing.Size(210, 16);
|
||||||
this.labelCompanyName.TabIndex = 22;
|
this.labelCompanyName.TabIndex = 22;
|
||||||
this.labelCompanyName.Text = "Company Name";
|
this.labelCompanyName.Text = "Company Name";
|
||||||
this.labelCompanyName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.labelCompanyName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
@@ -128,13 +128,13 @@
|
|||||||
// textBoxDescription
|
// textBoxDescription
|
||||||
//
|
//
|
||||||
this.textBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.textBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.textBoxDescription.Location = new System.Drawing.Point(233, 107);
|
this.textBoxDescription.Location = new System.Drawing.Point(233, 99);
|
||||||
this.textBoxDescription.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
this.textBoxDescription.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||||
this.textBoxDescription.Multiline = true;
|
this.textBoxDescription.Multiline = true;
|
||||||
this.textBoxDescription.Name = "textBoxDescription";
|
this.textBoxDescription.Name = "textBoxDescription";
|
||||||
this.textBoxDescription.ReadOnly = true;
|
this.textBoxDescription.ReadOnly = true;
|
||||||
this.textBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
this.textBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||||
this.textBoxDescription.Size = new System.Drawing.Size(210, 126);
|
this.textBoxDescription.Size = new System.Drawing.Size(210, 116);
|
||||||
this.textBoxDescription.TabIndex = 23;
|
this.textBoxDescription.TabIndex = 23;
|
||||||
this.textBoxDescription.TabStop = false;
|
this.textBoxDescription.TabStop = false;
|
||||||
this.textBoxDescription.Text = "Description";
|
this.textBoxDescription.Text = "Description";
|
||||||
@@ -143,9 +143,9 @@
|
|||||||
//
|
//
|
||||||
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||||
this.okButton.Location = new System.Drawing.Point(368, 239);
|
this.okButton.Location = new System.Drawing.Point(368, 221);
|
||||||
this.okButton.Name = "okButton";
|
this.okButton.Name = "okButton";
|
||||||
this.okButton.Size = new System.Drawing.Size(75, 22);
|
this.okButton.Size = new System.Drawing.Size(75, 20);
|
||||||
this.okButton.TabIndex = 24;
|
this.okButton.TabIndex = 24;
|
||||||
this.okButton.Text = "&OK";
|
this.okButton.Text = "&OK";
|
||||||
this.okButton.Click += new System.EventHandler(this.okButton_Click);
|
this.okButton.Click += new System.EventHandler(this.okButton_Click);
|
||||||
@@ -153,15 +153,15 @@
|
|||||||
// AboutBox
|
// AboutBox
|
||||||
//
|
//
|
||||||
this.AcceptButton = this.okButton;
|
this.AcceptButton = this.okButton;
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(464, 282);
|
this.ClientSize = new System.Drawing.Size(464, 260);
|
||||||
this.Controls.Add(this.tableLayoutPanel);
|
this.Controls.Add(this.tableLayoutPanel);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.MinimizeBox = false;
|
this.MinimizeBox = false;
|
||||||
this.Name = "AboutBox";
|
this.Name = "AboutBox";
|
||||||
this.Padding = new System.Windows.Forms.Padding(9);
|
this.Padding = new System.Windows.Forms.Padding(9, 8, 9, 8);
|
||||||
this.ShowIcon = false;
|
this.ShowIcon = false;
|
||||||
this.ShowInTaskbar = false;
|
this.ShowInTaskbar = false;
|
||||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ namespace Unity_Studio
|
|||||||
public string TypeString;
|
public string TypeString;
|
||||||
public int exportSize;
|
public int exportSize;
|
||||||
public string InfoText;
|
public string InfoText;
|
||||||
|
public string extension;
|
||||||
|
|
||||||
public AssetsFile sourceFile;
|
public AssetsFile sourceFile;
|
||||||
public string uniqueID;
|
public string uniqueID;
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
//using System.Diagnostics; //remove this later
|
using System.Text;
|
||||||
|
|
||||||
namespace Unity_Studio
|
namespace Unity_Studio
|
||||||
{
|
{
|
||||||
@@ -11,11 +9,13 @@ namespace Unity_Studio
|
|||||||
{
|
{
|
||||||
public EndianStream a_Stream;
|
public EndianStream a_Stream;
|
||||||
public string filePath;
|
public string filePath;
|
||||||
|
public string fileName;
|
||||||
public int fileGen;
|
public int fileGen;
|
||||||
public string m_Version = "2.5.0f5";
|
public string m_Version = "2.5.0f5";
|
||||||
public int[] version = new int[4] { 0, 0, 0, 0 };
|
public int[] version = new int[4] { 0, 0, 0, 0 };
|
||||||
public string[] buildType;
|
public string[] buildType;
|
||||||
public int platform = 100663296;
|
public int platform = 100663296;
|
||||||
|
public string platformStr = "";
|
||||||
//public EndianType endianType = EndianType.BigEndian;
|
//public EndianType endianType = EndianType.BigEndian;
|
||||||
//public List<AssetPreloadData> preloadTable = new List<AssetPreloadData>();
|
//public List<AssetPreloadData> preloadTable = new List<AssetPreloadData>();
|
||||||
public Dictionary<long, AssetPreloadData> preloadTable = new Dictionary<long, AssetPreloadData>();
|
public Dictionary<long, AssetPreloadData> preloadTable = new Dictionary<long, AssetPreloadData>();
|
||||||
@@ -23,12 +23,13 @@ namespace Unity_Studio
|
|||||||
public Dictionary<long, Transform> TransformList = new Dictionary<long, Transform>();
|
public Dictionary<long, Transform> TransformList = new Dictionary<long, Transform>();
|
||||||
|
|
||||||
public List<AssetPreloadData> exportableAssets = new List<AssetPreloadData>();
|
public List<AssetPreloadData> exportableAssets = new List<AssetPreloadData>();
|
||||||
public List<UnityShared> sharedAssetsList = new List<UnityShared>() {new UnityShared()};
|
public List<UnityShared> sharedAssetsList = new List<UnityShared>() { new UnityShared() };
|
||||||
private ClassIDReference UnityClassID = new ClassIDReference();
|
private ClassIDReference UnityClassID = new ClassIDReference();
|
||||||
|
|
||||||
public SortedDictionary<int, ClassStrStruct> ClassStructures = new SortedDictionary<int, ClassStrStruct>();
|
public SortedDictionary<int, ClassStrStruct> ClassStructures = new SortedDictionary<int, ClassStrStruct>();
|
||||||
|
|
||||||
private bool baseDefinitions = false;
|
private bool baseDefinitions = false;
|
||||||
|
private List<int[]> classIDs = new List<int[]>();//use for 5.5.0
|
||||||
|
|
||||||
public class UnityShared
|
public class UnityShared
|
||||||
{
|
{
|
||||||
@@ -37,35 +38,36 @@ namespace Unity_Studio
|
|||||||
public string fileName = "";
|
public string fileName = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
public AssetsFile(string fileName, EndianStream fileStream)
|
public AssetsFile(string fullName, EndianStream fileStream)
|
||||||
{
|
{
|
||||||
//if (memFile != null) { Stream = new EndianStream(memFile, endianType); }
|
//if (memFile != null) { Stream = new EndianStream(memFile, endianType); }
|
||||||
//else { Stream = new EndianStream(File.OpenRead(fileName), endianType); }
|
//else { Stream = new EndianStream(File.OpenRead(fileName), endianType); }
|
||||||
a_Stream = fileStream;
|
a_Stream = fileStream;
|
||||||
|
|
||||||
filePath = fileName;
|
filePath = fullName;
|
||||||
|
fileName = Path.GetFileName(fullName);
|
||||||
int tableSize = a_Stream.ReadInt32();
|
int tableSize = a_Stream.ReadInt32();
|
||||||
int dataEnd = a_Stream.ReadInt32();
|
int dataEnd = a_Stream.ReadInt32();
|
||||||
fileGen = a_Stream.ReadInt32();
|
fileGen = a_Stream.ReadInt32();
|
||||||
int dataOffset = a_Stream.ReadInt32();
|
int dataOffset = a_Stream.ReadInt32();
|
||||||
sharedAssetsList[0].fileName = Path.GetFileName(fileName); //reference itself because sharedFileIDs start from 1
|
sharedAssetsList[0].fileName = Path.GetFileName(fullName); //reference itself because sharedFileIDs start from 1
|
||||||
|
|
||||||
switch (fileGen)
|
switch (fileGen)
|
||||||
{
|
{
|
||||||
case 6:
|
case 6://2.5.0 - 2.6.1
|
||||||
{
|
{
|
||||||
a_Stream.Position = (dataEnd - tableSize);
|
a_Stream.Position = (dataEnd - tableSize);
|
||||||
a_Stream.Position += 1;
|
a_Stream.Position += 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 7://Unity 3 beta
|
case 7://3.0.0 beta
|
||||||
{
|
{
|
||||||
a_Stream.Position = (dataEnd - tableSize);
|
a_Stream.Position = (dataEnd - tableSize);
|
||||||
a_Stream.Position += 1;
|
a_Stream.Position += 1;
|
||||||
m_Version = a_Stream.ReadStringToNull();
|
m_Version = a_Stream.ReadStringToNull();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 8:
|
case 8://3.0.0 - 3.4.2
|
||||||
{
|
{
|
||||||
a_Stream.Position = (dataEnd - tableSize);
|
a_Stream.Position = (dataEnd - tableSize);
|
||||||
a_Stream.Position += 1;
|
a_Stream.Position += 1;
|
||||||
@@ -73,15 +75,17 @@ namespace Unity_Studio
|
|||||||
platform = a_Stream.ReadInt32();
|
platform = a_Stream.ReadInt32();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 9:
|
case 9://3.5.0 - 4.6.x
|
||||||
{
|
{
|
||||||
a_Stream.Position += 4;//azero
|
a_Stream.Position += 4;//azero
|
||||||
m_Version = a_Stream.ReadStringToNull();
|
m_Version = a_Stream.ReadStringToNull();
|
||||||
platform = a_Stream.ReadInt32();
|
platform = a_Stream.ReadInt32();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 14:
|
case 14://5.0.0 beta and final
|
||||||
case 15://not fully tested!
|
case 15://5.0.1 - 5.4
|
||||||
|
case 16://??.. no sure
|
||||||
|
case 17://5.5.0 and up
|
||||||
{
|
{
|
||||||
a_Stream.Position += 4;//azero
|
a_Stream.Position += 4;//azero
|
||||||
m_Version = a_Stream.ReadStringToNull();
|
m_Version = a_Stream.ReadStringToNull();
|
||||||
@@ -91,7 +95,7 @@ namespace Unity_Studio
|
|||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
//MessageBox.Show("Unsupported Unity version!", "Unity Studio Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
//MessageBox.Show("Unsupported Unity version!" + fileGen, "Unity Studio Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -105,20 +109,21 @@ namespace Unity_Studio
|
|||||||
a_Stream.endian = EndianType.LittleEndian;
|
a_Stream.endian = EndianType.LittleEndian;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Platform list:
|
switch (platform)
|
||||||
-2: unitypackage
|
{
|
||||||
4: OSX
|
case -2: platformStr = "Unity Package"; break;
|
||||||
5: PC
|
case 4: platformStr = "OSX"; break;
|
||||||
6: Web
|
case 5: platformStr = "PC"; break;
|
||||||
7: Web_streamed
|
case 6: platformStr = "Web"; break;
|
||||||
9: iOS
|
case 7: platformStr = "Web streamed"; break;
|
||||||
10: PS3(big)
|
case 9: platformStr = "iOS"; break;
|
||||||
11: Xbox360(big)
|
case 10: platformStr = "PS3"; break;
|
||||||
13: Android
|
case 11: platformStr = "Xbox 360"; break;
|
||||||
16: Google_NaCl
|
case 13: platformStr = "Android"; break;
|
||||||
21: WP8
|
case 16: platformStr = "Google NaCl"; break;
|
||||||
25: Linux
|
case 21: platformStr = "WP8"; break;
|
||||||
*/
|
case 25: platformStr = "Linux"; break;
|
||||||
|
}
|
||||||
|
|
||||||
int baseCount = a_Stream.ReadInt32();
|
int baseCount = a_Stream.ReadInt32();
|
||||||
for (int i = 0; i < baseCount; i++)
|
for (int i = 0; i < baseCount; i++)
|
||||||
@@ -141,7 +146,7 @@ namespace Unity_Studio
|
|||||||
else { readBase5(); }
|
else { readBase5(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fileGen >= 7 && fileGen < 14) {a_Stream.Position += 4;}//azero
|
if (fileGen >= 7 && fileGen < 14) { a_Stream.Position += 4; }//azero
|
||||||
|
|
||||||
int assetCount = a_Stream.ReadInt32();
|
int assetCount = a_Stream.ReadInt32();
|
||||||
|
|
||||||
@@ -159,10 +164,19 @@ namespace Unity_Studio
|
|||||||
asset.Offset = a_Stream.ReadInt32();
|
asset.Offset = a_Stream.ReadInt32();
|
||||||
asset.Offset += dataOffset;
|
asset.Offset += dataOffset;
|
||||||
asset.Size = a_Stream.ReadInt32();
|
asset.Size = a_Stream.ReadInt32();
|
||||||
asset.Type1 = a_Stream.ReadInt32();
|
if (fileGen > 15)
|
||||||
asset.Type2 = a_Stream.ReadUInt16();
|
{
|
||||||
a_Stream.Position += 2;
|
int index = a_Stream.ReadInt32();
|
||||||
if (fileGen >= 15)
|
asset.Type1 = classIDs[index][0];
|
||||||
|
asset.Type2 = (ushort)classIDs[index][1];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
asset.Type1 = a_Stream.ReadInt32();
|
||||||
|
asset.Type2 = a_Stream.ReadUInt16();
|
||||||
|
a_Stream.Position += 2;
|
||||||
|
}
|
||||||
|
if (fileGen == 15)
|
||||||
{
|
{
|
||||||
byte unknownByte = a_Stream.ReadByte();
|
byte unknownByte = a_Stream.ReadByte();
|
||||||
//this is a single byte, not an int32
|
//this is a single byte, not an int32
|
||||||
@@ -170,15 +184,18 @@ namespace Unity_Studio
|
|||||||
//but not the last!
|
//but not the last!
|
||||||
if (unknownByte != 0)
|
if (unknownByte != 0)
|
||||||
{
|
{
|
||||||
bool investigate = true;
|
//bool investigate = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
asset.TypeString = asset.Type2.ToString();
|
|
||||||
if (UnityClassID.Names[asset.Type2] != null)
|
if (UnityClassID.Names[asset.Type2] != null)
|
||||||
{
|
{
|
||||||
asset.TypeString = UnityClassID.Names[asset.Type2];
|
asset.TypeString = UnityClassID.Names[asset.Type2];
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
asset.TypeString = "Unknown Type " + asset.Type2;
|
||||||
|
}
|
||||||
|
|
||||||
asset.uniqueID = i.ToString(assetIDfmt);
|
asset.uniqueID = i.ToString(assetIDfmt);
|
||||||
|
|
||||||
@@ -251,68 +268,127 @@ namespace Unity_Studio
|
|||||||
{
|
{
|
||||||
int classID = a_Stream.ReadInt32();
|
int classID = a_Stream.ReadInt32();
|
||||||
if (classID < 0) { a_Stream.Position += 16; }
|
if (classID < 0) { a_Stream.Position += 16; }
|
||||||
|
if (fileGen > 15)
|
||||||
|
{
|
||||||
|
a_Stream.ReadByte();
|
||||||
|
int type1;
|
||||||
|
if ((type1 = a_Stream.ReadInt16()) >= 0)
|
||||||
|
{
|
||||||
|
type1 = -1 - type1;
|
||||||
|
a_Stream.Position += 16;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
type1 = classID;
|
||||||
|
}
|
||||||
|
classIDs.Add(new int[] { type1, classID });
|
||||||
|
classID = type1;
|
||||||
|
}
|
||||||
a_Stream.Position += 16;
|
a_Stream.Position += 16;
|
||||||
|
|
||||||
if (baseDefinitions)
|
if (baseDefinitions)
|
||||||
{
|
{
|
||||||
#region cmmon string array
|
#region cmmon string array
|
||||||
string[] baseStrings = new string[1007];
|
string[] baseStrings = new string[1016];
|
||||||
baseStrings[0] = "AABB";
|
baseStrings[0] = "AABB";
|
||||||
baseStrings[5] = "AnimationClip";
|
baseStrings[5] = "AnimationClip";
|
||||||
baseStrings[19] = "AnimationCurve";
|
baseStrings[19] = "AnimationCurve";
|
||||||
|
baseStrings[34] = "AnimationState";
|
||||||
baseStrings[49] = "Array";
|
baseStrings[49] = "Array";
|
||||||
baseStrings[55] = "Base";
|
baseStrings[55] = "Base";
|
||||||
baseStrings[60] = "BitField";
|
baseStrings[60] = "BitField";
|
||||||
|
baseStrings[69] = "bitset";
|
||||||
baseStrings[76] = "bool";
|
baseStrings[76] = "bool";
|
||||||
baseStrings[81] = "char";
|
baseStrings[81] = "char";
|
||||||
baseStrings[86] = "ColorRGBA";
|
baseStrings[86] = "ColorRGBA";
|
||||||
|
baseStrings[96] = "Component";
|
||||||
baseStrings[106] = "data";
|
baseStrings[106] = "data";
|
||||||
|
baseStrings[111] = "deque";
|
||||||
|
baseStrings[117] = "double";
|
||||||
|
baseStrings[124] = "dynamic_array";
|
||||||
baseStrings[138] = "FastPropertyName";
|
baseStrings[138] = "FastPropertyName";
|
||||||
baseStrings[155] = "first";
|
baseStrings[155] = "first";
|
||||||
baseStrings[161] = "float";
|
baseStrings[161] = "float";
|
||||||
baseStrings[167] = "Font";
|
baseStrings[167] = "Font";
|
||||||
baseStrings[172] = "GameObject";
|
baseStrings[172] = "GameObject";
|
||||||
baseStrings[183] = "Generic Mono";
|
baseStrings[183] = "Generic Mono";
|
||||||
|
baseStrings[196] = "GradientNEW";
|
||||||
baseStrings[208] = "GUID";
|
baseStrings[208] = "GUID";
|
||||||
|
baseStrings[213] = "GUIStyle";
|
||||||
baseStrings[222] = "int";
|
baseStrings[222] = "int";
|
||||||
|
baseStrings[226] = "list";
|
||||||
|
baseStrings[231] = "long long";
|
||||||
baseStrings[241] = "map";
|
baseStrings[241] = "map";
|
||||||
baseStrings[245] = "Matrix4x4f";
|
baseStrings[245] = "Matrix4x4f";
|
||||||
baseStrings[262] = "NavMeshSettings";
|
baseStrings[256] = "MdFour";
|
||||||
baseStrings[263] = "MonoBehaviour";
|
baseStrings[263] = "MonoBehaviour";
|
||||||
baseStrings[277] = "MonoScript";
|
baseStrings[277] = "MonoScript";
|
||||||
|
baseStrings[288] = "m_ByteSize";
|
||||||
baseStrings[299] = "m_Curve";
|
baseStrings[299] = "m_Curve";
|
||||||
|
baseStrings[307] = "m_EditorClassIdentifier";
|
||||||
|
baseStrings[331] = "m_EditorHideFlags";
|
||||||
baseStrings[349] = "m_Enabled";
|
baseStrings[349] = "m_Enabled";
|
||||||
|
baseStrings[359] = "m_ExtensionPtr";
|
||||||
baseStrings[374] = "m_GameObject";
|
baseStrings[374] = "m_GameObject";
|
||||||
|
baseStrings[387] = "m_Index";
|
||||||
|
baseStrings[395] = "m_IsArray";
|
||||||
|
baseStrings[405] = "m_IsStatic";
|
||||||
|
baseStrings[416] = "m_MetaFlag";
|
||||||
baseStrings[427] = "m_Name";
|
baseStrings[427] = "m_Name";
|
||||||
|
baseStrings[434] = "m_ObjectHideFlags";
|
||||||
|
baseStrings[452] = "m_PrefabInternal";
|
||||||
|
baseStrings[469] = "m_PrefabParentObject";
|
||||||
baseStrings[490] = "m_Script";
|
baseStrings[490] = "m_Script";
|
||||||
|
baseStrings[499] = "m_StaticEditorFlags";
|
||||||
baseStrings[519] = "m_Type";
|
baseStrings[519] = "m_Type";
|
||||||
baseStrings[526] = "m_Version";
|
baseStrings[526] = "m_Version";
|
||||||
|
baseStrings[536] = "Object";
|
||||||
baseStrings[543] = "pair";
|
baseStrings[543] = "pair";
|
||||||
baseStrings[548] = "PPtr<Component>";
|
baseStrings[548] = "PPtr<Component>";
|
||||||
baseStrings[564] = "PPtr<GameObject>";
|
baseStrings[564] = "PPtr<GameObject>";
|
||||||
baseStrings[581] = "PPtr<Material>";
|
baseStrings[581] = "PPtr<Material>";
|
||||||
|
baseStrings[596] = "PPtr<MonoBehaviour>";
|
||||||
baseStrings[616] = "PPtr<MonoScript>";
|
baseStrings[616] = "PPtr<MonoScript>";
|
||||||
baseStrings[633] = "PPtr<Object>";
|
baseStrings[633] = "PPtr<Object>";
|
||||||
|
baseStrings[646] = "PPtr<Prefab>";
|
||||||
|
baseStrings[659] = "PPtr<Sprite>";
|
||||||
|
baseStrings[672] = "PPtr<TextAsset>";
|
||||||
baseStrings[688] = "PPtr<Texture>";
|
baseStrings[688] = "PPtr<Texture>";
|
||||||
baseStrings[702] = "PPtr<Texture2D>";
|
baseStrings[702] = "PPtr<Texture2D>";
|
||||||
baseStrings[718] = "PPtr<Transform>";
|
baseStrings[718] = "PPtr<Transform>";
|
||||||
|
baseStrings[734] = "Prefab";
|
||||||
baseStrings[741] = "Quaternionf";
|
baseStrings[741] = "Quaternionf";
|
||||||
baseStrings[753] = "Rectf";
|
baseStrings[753] = "Rectf";
|
||||||
|
baseStrings[759] = "RectInt";
|
||||||
|
baseStrings[767] = "RectOffset";
|
||||||
baseStrings[778] = "second";
|
baseStrings[778] = "second";
|
||||||
|
baseStrings[785] = "set";
|
||||||
|
baseStrings[789] = "short";
|
||||||
baseStrings[795] = "size";
|
baseStrings[795] = "size";
|
||||||
baseStrings[800] = "SInt16";
|
baseStrings[800] = "SInt16";
|
||||||
baseStrings[814] = "int64";
|
baseStrings[807] = "SInt32";
|
||||||
|
baseStrings[814] = "SInt64";
|
||||||
|
baseStrings[821] = "SInt8";
|
||||||
|
baseStrings[827] = "staticvector";
|
||||||
baseStrings[840] = "string";
|
baseStrings[840] = "string";
|
||||||
|
baseStrings[847] = "TextAsset";
|
||||||
|
baseStrings[857] = "TextMesh";
|
||||||
|
baseStrings[866] = "Texture";
|
||||||
baseStrings[874] = "Texture2D";
|
baseStrings[874] = "Texture2D";
|
||||||
baseStrings[884] = "Transform";
|
baseStrings[884] = "Transform";
|
||||||
baseStrings[894] = "TypelessData";
|
baseStrings[894] = "TypelessData";
|
||||||
baseStrings[907] = "UInt16";
|
baseStrings[907] = "UInt16";
|
||||||
|
baseStrings[914] = "UInt32";
|
||||||
|
baseStrings[921] = "UInt64";
|
||||||
baseStrings[928] = "UInt8";
|
baseStrings[928] = "UInt8";
|
||||||
baseStrings[934] = "unsigned int";
|
baseStrings[934] = "unsigned int";
|
||||||
|
baseStrings[947] = "unsigned long long";
|
||||||
|
baseStrings[966] = "unsigned short";
|
||||||
baseStrings[981] = "vector";
|
baseStrings[981] = "vector";
|
||||||
baseStrings[988] = "Vector2f";
|
baseStrings[988] = "Vector2f";
|
||||||
baseStrings[997] = "Vector3f";
|
baseStrings[997] = "Vector3f";
|
||||||
baseStrings[1006] = "Vector4f";
|
baseStrings[1006] = "Vector4f";
|
||||||
|
baseStrings[1015] = "m_ScriptingClassIdentifier";
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
int varCount = a_Stream.ReadInt32();
|
int varCount = a_Stream.ReadInt32();
|
||||||
@@ -321,8 +397,8 @@ namespace Unity_Studio
|
|||||||
a_Stream.Position += varCount * 24;
|
a_Stream.Position += varCount * 24;
|
||||||
string varStrings = Encoding.UTF8.GetString(a_Stream.ReadBytes(stringSize));
|
string varStrings = Encoding.UTF8.GetString(a_Stream.ReadBytes(stringSize));
|
||||||
string className = "";
|
string className = "";
|
||||||
StringBuilder classVarStr = new StringBuilder();
|
var classVarStr = new StringBuilder();
|
||||||
|
var classVarStr2 = new StringBuilder();//用来export
|
||||||
//build Class Structures
|
//build Class Structures
|
||||||
a_Stream.Position -= varCount * 24 + stringSize;
|
a_Stream.Position -= varCount * 24 + stringSize;
|
||||||
for (int i = 0; i < varCount; i++)
|
for (int i = 0; i < varCount; i++)
|
||||||
@@ -350,18 +426,21 @@ namespace Unity_Studio
|
|||||||
int num1 = a_Stream.ReadInt32();
|
int num1 = a_Stream.ReadInt32();
|
||||||
|
|
||||||
if (index == 0) { className = varTypeStr + " " + varNameStr; }
|
if (index == 0) { className = varTypeStr + " " + varNameStr; }
|
||||||
else { classVarStr.AppendFormat("{0}{1} {2} {3}\r\n", (new string('\t', level)), varTypeStr, varNameStr, size); }
|
else
|
||||||
|
{
|
||||||
|
classVarStr.AppendFormat("{0}{1} {2} {3}\r\n", (new string('\t', level - 1)), varTypeStr, varNameStr, size);
|
||||||
|
classVarStr2.AppendFormat("{0}\t{1}\t{2}\r\n", level - 1, varTypeStr, varNameStr);
|
||||||
|
}
|
||||||
|
|
||||||
//for (int t = 0; t < level; t++) { Debug.Write("\t"); }
|
//for (int t = 0; t < level; t++) { Debug.Write("\t"); }
|
||||||
//Debug.WriteLine(varTypeStr + " " + varNameStr + " " + size);
|
//Debug.WriteLine(varTypeStr + " " + varNameStr + " " + size);
|
||||||
}
|
}
|
||||||
a_Stream.Position += stringSize;
|
a_Stream.Position += stringSize;
|
||||||
|
|
||||||
var aClass = new ClassStrStruct() { ID = classID, Text = className, members = classVarStr.ToString() };
|
var aClass = new ClassStrStruct() { ID = classID, Text = className, members = classVarStr.ToString(), members2 = classVarStr2.ToString() };
|
||||||
aClass.SubItems.Add(classID.ToString());
|
aClass.SubItems.Add(classID.ToString());
|
||||||
ClassStructures.Add(classID, aClass);
|
ClassStructures.Add(classID, aClass);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,152 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Unity_Studio
|
|
||||||
{
|
|
||||||
class AudioClip
|
|
||||||
{
|
|
||||||
public string m_Name;
|
|
||||||
public int m_Format = 0;
|
|
||||||
public int m_Type;
|
|
||||||
public bool m_3D;
|
|
||||||
public bool m_UseHardware;
|
|
||||||
|
|
||||||
//Unity 5
|
|
||||||
public int m_LoadType;
|
|
||||||
public int m_Channels;
|
|
||||||
public int m_Frequency;
|
|
||||||
public int m_BitsPerSample;
|
|
||||||
public float m_Length;
|
|
||||||
public bool m_IsTrackerFormat;
|
|
||||||
public int m_SubsoundIndex;
|
|
||||||
public bool m_PreloadAudioData;
|
|
||||||
public bool m_LoadInBackground;
|
|
||||||
public bool m_Legacy3D;
|
|
||||||
public int m_CompressionFormat;
|
|
||||||
|
|
||||||
public string m_Source;
|
|
||||||
public long m_Offset;
|
|
||||||
public long m_Size;
|
|
||||||
public byte[] m_AudioData;
|
|
||||||
|
|
||||||
public string extension;
|
|
||||||
|
|
||||||
public AudioClip(AssetPreloadData preloadData, bool readSwitch)
|
|
||||||
{
|
|
||||||
var sourceFile = preloadData.sourceFile;
|
|
||||||
var a_Stream = preloadData.sourceFile.a_Stream;
|
|
||||||
a_Stream.Position = preloadData.Offset;
|
|
||||||
|
|
||||||
if (sourceFile.platform == -2)
|
|
||||||
{
|
|
||||||
uint m_ObjectHideFlags = a_Stream.ReadUInt32();
|
|
||||||
PPtr m_PrefabParentObject = sourceFile.ReadPPtr();
|
|
||||||
PPtr m_PrefabInternal = sourceFile.ReadPPtr();
|
|
||||||
}
|
|
||||||
|
|
||||||
m_Name = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
|
||||||
|
|
||||||
if (sourceFile.version[0] < 5)
|
|
||||||
{
|
|
||||||
|
|
||||||
m_Format = a_Stream.ReadInt32(); //channels?
|
|
||||||
m_Type = a_Stream.ReadInt32();
|
|
||||||
m_3D = a_Stream.ReadBoolean();
|
|
||||||
m_UseHardware = a_Stream.ReadBoolean();
|
|
||||||
a_Stream.Position += 2; //4 byte alignment
|
|
||||||
|
|
||||||
if (sourceFile.version[0] >= 4 || (sourceFile.version[0] == 3 && sourceFile.version[1] >= 2)) //3.2.0 to 5
|
|
||||||
{
|
|
||||||
int m_Stream = a_Stream.ReadInt32();
|
|
||||||
m_Size = a_Stream.ReadInt32();
|
|
||||||
|
|
||||||
if (m_Stream > 1)
|
|
||||||
{
|
|
||||||
m_Offset = a_Stream.ReadInt32();
|
|
||||||
m_Source = sourceFile.filePath + ".resS";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else { m_Size = a_Stream.ReadInt32(); }
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
m_LoadType = a_Stream.ReadInt32();
|
|
||||||
m_Type = m_LoadType;
|
|
||||||
m_Channels = a_Stream.ReadInt32();
|
|
||||||
m_Frequency = a_Stream.ReadInt32();
|
|
||||||
m_BitsPerSample = a_Stream.ReadInt32();
|
|
||||||
m_Length = a_Stream.ReadSingle();
|
|
||||||
m_IsTrackerFormat = a_Stream.ReadBoolean();
|
|
||||||
a_Stream.Position += 3;
|
|
||||||
m_SubsoundIndex = a_Stream.ReadInt32();
|
|
||||||
m_PreloadAudioData = a_Stream.ReadBoolean();
|
|
||||||
m_LoadInBackground = a_Stream.ReadBoolean();
|
|
||||||
m_Legacy3D = a_Stream.ReadBoolean();
|
|
||||||
a_Stream.Position += 1;
|
|
||||||
m_3D = m_Legacy3D;
|
|
||||||
|
|
||||||
m_Source = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
|
||||||
//m_Source = Path.GetFileName(m_Source);
|
|
||||||
m_Source = Path.Combine(Path.GetDirectoryName(sourceFile.filePath), m_Source.Replace("archive:/",""));
|
|
||||||
m_Offset = a_Stream.ReadInt64();
|
|
||||||
m_Size = a_Stream.ReadInt64();
|
|
||||||
m_CompressionFormat = a_Stream.ReadInt32();
|
|
||||||
}
|
|
||||||
|
|
||||||
#region Info Text & extension
|
|
||||||
preloadData.InfoText = "Format: " + m_Format + "\nType: ";
|
|
||||||
|
|
||||||
switch (m_Type)
|
|
||||||
{
|
|
||||||
case 1:
|
|
||||||
extension = ".fsb";
|
|
||||||
preloadData.InfoText += "FSB";
|
|
||||||
break;
|
|
||||||
case 13:
|
|
||||||
extension = ".mp3";
|
|
||||||
preloadData.InfoText += "MP3";
|
|
||||||
break;
|
|
||||||
case 14:
|
|
||||||
extension = ".ogg";
|
|
||||||
preloadData.InfoText += "Ogg Vorbis";
|
|
||||||
break;
|
|
||||||
case 20:
|
|
||||||
extension = ".wav";
|
|
||||||
preloadData.InfoText += "WAV";
|
|
||||||
break;
|
|
||||||
case 22: //xbox encoding
|
|
||||||
extension = ".wav";
|
|
||||||
preloadData.InfoText += "Xbox360 WAV";
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
preloadData.InfoText += "Unknown type " + m_Type;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
preloadData.InfoText += "\n3D: " + m_3D.ToString();
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
if (readSwitch)
|
|
||||||
{
|
|
||||||
m_AudioData = new byte[m_Size];
|
|
||||||
|
|
||||||
if (m_Source == null)
|
|
||||||
{
|
|
||||||
a_Stream.Read(m_AudioData, 0, (int)m_Size);
|
|
||||||
}
|
|
||||||
else if (File.Exists(m_Source))
|
|
||||||
{
|
|
||||||
using (BinaryReader reader = new BinaryReader(File.OpenRead(m_Source)))
|
|
||||||
{
|
|
||||||
reader.BaseStream.Position = m_Offset;
|
|
||||||
reader.Read(m_AudioData, 0, (int)m_Size);
|
|
||||||
reader.Close();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -8,12 +8,11 @@ using Lz4;
|
|||||||
|
|
||||||
namespace Unity_Studio
|
namespace Unity_Studio
|
||||||
{
|
{
|
||||||
public class BundleFile : IDisposable
|
public class BundleFile
|
||||||
{
|
{
|
||||||
private EndianStream Stream;
|
public int format;
|
||||||
public byte ver1;
|
public string versionPlayer;
|
||||||
public string ver2;
|
public string versionEngine;
|
||||||
public string ver3;
|
|
||||||
public List<MemoryAssetsFile> MemoryAssetsFileList = new List<MemoryAssetsFile>();
|
public List<MemoryAssetsFile> MemoryAssetsFileList = new List<MemoryAssetsFile>();
|
||||||
|
|
||||||
public class MemoryAssetsFile
|
public class MemoryAssetsFile
|
||||||
@@ -41,95 +40,221 @@ namespace Unity_Studio
|
|||||||
using (var inputStream = new MemoryStream(lz4buffer))
|
using (var inputStream = new MemoryStream(lz4buffer))
|
||||||
{
|
{
|
||||||
var decoder = new Lz4DecoderStream(inputStream);
|
var decoder = new Lz4DecoderStream(inputStream);
|
||||||
|
filebuffer = new byte[uncompressedSize];
|
||||||
filebuffer = new byte[uncompressedSize]; //is this ok?
|
decoder.Read(filebuffer, 0, uncompressedSize);
|
||||||
for (;;)
|
decoder.Dispose();
|
||||||
{
|
|
||||||
int nRead = decoder.Read(filebuffer, 0, uncompressedSize);
|
|
||||||
if (nRead == 0)
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
using (var b_Stream = new EndianStream(new MemoryStream(filebuffer), EndianType.BigEndian))
|
||||||
Stream = new EndianStream(new MemoryStream(filebuffer), EndianType.BigEndian);
|
{
|
||||||
|
readBundle(b_Stream);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else { Stream = new EndianStream(File.OpenRead(fileName), EndianType.BigEndian); }
|
else
|
||||||
|
|
||||||
long magicHeader = Stream.ReadInt64();
|
|
||||||
|
|
||||||
if (magicHeader == -361700864190383366 || magicHeader == 6155973689634940258 || magicHeader == 6155973689634611575)
|
|
||||||
{
|
{
|
||||||
int dummy = Stream.ReadInt32();
|
using (var b_Stream = new EndianStream(File.OpenRead(fileName), EndianType.BigEndian))
|
||||||
ver1 = Stream.ReadByte();
|
{
|
||||||
ver2 = Stream.ReadStringToNull();
|
readBundle(b_Stream);
|
||||||
ver3 = Stream.ReadStringToNull();
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void readBundle(EndianStream b_Stream)
|
||||||
|
{
|
||||||
|
var signature = b_Stream.ReadStringToNull();
|
||||||
|
|
||||||
|
if (signature == "UnityWeb" || signature == "UnityRaw" || signature == "\xFA\xFA\xFA\xFA\xFA\xFA\xFA\xFA")
|
||||||
|
{
|
||||||
|
format = b_Stream.ReadInt32();
|
||||||
|
versionPlayer = b_Stream.ReadStringToNull();
|
||||||
|
versionEngine = b_Stream.ReadStringToNull();
|
||||||
|
if (format < 6)
|
||||||
|
{
|
||||||
|
int bundleSize = b_Stream.ReadInt32();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
long bundleSize = b_Stream.ReadInt64();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
short dummy2 = b_Stream.ReadInt16();
|
||||||
|
int offset = b_Stream.ReadInt16();
|
||||||
|
int dummy3 = b_Stream.ReadInt32();
|
||||||
|
int lzmaChunks = b_Stream.ReadInt32();
|
||||||
|
|
||||||
int lzmaSize = 0;
|
int lzmaSize = 0;
|
||||||
int fileSize = Stream.ReadInt32();
|
long streamSize = 0;
|
||||||
short dummy2 = Stream.ReadInt16();
|
|
||||||
int offset = Stream.ReadInt16();
|
|
||||||
int dummy3 = Stream.ReadInt32();
|
|
||||||
int lzmaChunks = Stream.ReadInt32();
|
|
||||||
|
|
||||||
for (int i = 0; i < lzmaChunks; i++)
|
for (int i = 0; i < lzmaChunks; i++)
|
||||||
{
|
{
|
||||||
lzmaSize = Stream.ReadInt32();
|
lzmaSize = b_Stream.ReadInt32();
|
||||||
fileSize = Stream.ReadInt32();
|
streamSize = b_Stream.ReadInt32();
|
||||||
}
|
}
|
||||||
|
|
||||||
Stream.Position = offset;
|
b_Stream.Position = offset;
|
||||||
switch (magicHeader)
|
switch (signature)
|
||||||
{
|
{
|
||||||
case -361700864190383366: //.bytes
|
case "\xFA\xFA\xFA\xFA\xFA\xFA\xFA\xFA": //.bytes
|
||||||
case 6155973689634940258: //UnityWeb
|
case "UnityWeb":
|
||||||
{
|
{
|
||||||
byte[] lzmaBuffer = new byte[lzmaSize];
|
byte[] lzmaBuffer = new byte[lzmaSize];
|
||||||
Stream.Read(lzmaBuffer, 0, lzmaSize);
|
b_Stream.Read(lzmaBuffer, 0, lzmaSize);
|
||||||
Stream.Close();
|
|
||||||
Stream.Dispose();
|
|
||||||
|
|
||||||
Stream = new EndianStream(SevenZip.Compression.LZMA.SevenZipHelper.StreamDecompress(new MemoryStream(lzmaBuffer)), EndianType.BigEndian);
|
using (var lzmaStream = new EndianStream(SevenZip.Compression.LZMA.SevenZipHelper.StreamDecompress(new MemoryStream(lzmaBuffer)), EndianType.BigEndian))
|
||||||
offset = 0;
|
{
|
||||||
|
getFiles(lzmaStream, 0);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 6155973689634611575: //UnityRaw
|
case "UnityRaw":
|
||||||
{
|
{
|
||||||
|
getFiles(b_Stream, offset);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int fileCount = Stream.ReadInt32();
|
|
||||||
for (int i = 0; i < fileCount; i++)
|
|
||||||
{
|
|
||||||
MemoryAssetsFile memFile = new MemoryAssetsFile();
|
|
||||||
memFile.fileName = Stream.ReadStringToNull();
|
|
||||||
int fileOffset = Stream.ReadInt32();
|
|
||||||
fileOffset += offset;
|
|
||||||
fileSize = Stream.ReadInt32();
|
|
||||||
long nextFile = Stream.Position;
|
|
||||||
Stream.Position = fileOffset;
|
|
||||||
|
|
||||||
byte[] buffer = new byte[fileSize];
|
|
||||||
Stream.Read(buffer, 0, fileSize);
|
|
||||||
memFile.memStream = new MemoryStream(buffer);
|
|
||||||
MemoryAssetsFileList.Add(memFile);
|
|
||||||
Stream.Position = nextFile;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
else if (signature == "UnityFS")
|
||||||
Stream.Close();
|
{
|
||||||
|
format = b_Stream.ReadInt32();
|
||||||
|
versionPlayer = b_Stream.ReadStringToNull();
|
||||||
|
versionEngine = b_Stream.ReadStringToNull();
|
||||||
|
if (format == 6)
|
||||||
|
{
|
||||||
|
var bundleSize = b_Stream.ReadInt64();
|
||||||
|
int compressedSize = b_Stream.ReadInt32();
|
||||||
|
int uncompressedSize = b_Stream.ReadInt32();
|
||||||
|
int flag = b_Stream.ReadInt32();
|
||||||
|
byte[] blocksInfoBytes;
|
||||||
|
if ((flag & 0x80) != 0)//at end of file
|
||||||
|
{
|
||||||
|
var position = b_Stream.Position;
|
||||||
|
b_Stream.Position = b_Stream.BaseStream.Length - compressedSize;
|
||||||
|
blocksInfoBytes = b_Stream.ReadBytes(compressedSize);
|
||||||
|
b_Stream.Position = position;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
blocksInfoBytes = b_Stream.ReadBytes(compressedSize);
|
||||||
|
}
|
||||||
|
EndianStream blocksInfo;
|
||||||
|
switch (flag & 0x3F)
|
||||||
|
{
|
||||||
|
default:
|
||||||
|
case 0://None
|
||||||
|
{
|
||||||
|
blocksInfo = new EndianStream(new MemoryStream(blocksInfoBytes), EndianType.BigEndian);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1://LZMA
|
||||||
|
{
|
||||||
|
blocksInfo = new EndianStream(SevenZip.Compression.LZMA.SevenZipHelper.StreamDecompress(new MemoryStream(blocksInfoBytes)), EndianType.BigEndian);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 2://LZ4
|
||||||
|
case 3://LZ4HC
|
||||||
|
{
|
||||||
|
byte[] uncompressedBytes = new byte[uncompressedSize];
|
||||||
|
using (var mstream = new MemoryStream(blocksInfoBytes))
|
||||||
|
{
|
||||||
|
var decoder = new Lz4DecoderStream(mstream);
|
||||||
|
decoder.Read(uncompressedBytes, 0, uncompressedSize);
|
||||||
|
decoder.Dispose();
|
||||||
|
}
|
||||||
|
blocksInfo = new EndianStream(new MemoryStream(uncompressedBytes), EndianType.BigEndian);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
//case 4:LZHAM?
|
||||||
|
}
|
||||||
|
using (blocksInfo)
|
||||||
|
{
|
||||||
|
blocksInfo.Position = 0x10;
|
||||||
|
int blockcount = blocksInfo.ReadInt32();
|
||||||
|
EndianStream assetsData;
|
||||||
|
var assetsDataStream = new MemoryStream();
|
||||||
|
for (int i = 0; i < blockcount; i++)
|
||||||
|
{
|
||||||
|
uncompressedSize = blocksInfo.ReadInt32();
|
||||||
|
compressedSize = blocksInfo.ReadInt32();
|
||||||
|
flag = blocksInfo.ReadInt16();
|
||||||
|
var compressedBytes = b_Stream.ReadBytes(compressedSize);
|
||||||
|
switch (flag & 0x3F)
|
||||||
|
{
|
||||||
|
default:
|
||||||
|
case 0://None
|
||||||
|
{
|
||||||
|
assetsDataStream.Write(compressedBytes, 0, compressedSize);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1://LZMA
|
||||||
|
{
|
||||||
|
var uncompressedBytes = new byte[uncompressedSize];
|
||||||
|
using (var mstream = new MemoryStream(compressedBytes))
|
||||||
|
{
|
||||||
|
var decoder = SevenZip.Compression.LZMA.SevenZipHelper.StreamDecompress(mstream, uncompressedSize);
|
||||||
|
decoder.Read(uncompressedBytes, 0, uncompressedSize);
|
||||||
|
decoder.Dispose();
|
||||||
|
}
|
||||||
|
assetsDataStream.Write(uncompressedBytes, 0, uncompressedSize);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 2://LZ4
|
||||||
|
case 3://LZ4HC
|
||||||
|
{
|
||||||
|
var uncompressedBytes = new byte[uncompressedSize];
|
||||||
|
using (var mstream = new MemoryStream(compressedBytes))
|
||||||
|
{
|
||||||
|
var decoder = new Lz4DecoderStream(mstream);
|
||||||
|
decoder.Read(uncompressedBytes, 0, uncompressedSize);
|
||||||
|
decoder.Dispose();
|
||||||
|
}
|
||||||
|
assetsDataStream.Write(uncompressedBytes, 0, uncompressedSize);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
//case 4:LZHAM?
|
||||||
|
}
|
||||||
|
}
|
||||||
|
assetsData = new EndianStream(assetsDataStream, EndianType.BigEndian);
|
||||||
|
using (assetsData)
|
||||||
|
{
|
||||||
|
var entryinfo_count = blocksInfo.ReadInt32();
|
||||||
|
for (int i = 0; i < entryinfo_count; i++)
|
||||||
|
{
|
||||||
|
var memFile = new MemoryAssetsFile();
|
||||||
|
var entryinfo_offset = blocksInfo.ReadInt64();
|
||||||
|
var entryinfo_size = blocksInfo.ReadInt64();
|
||||||
|
var unknown = blocksInfo.ReadInt32();
|
||||||
|
memFile.fileName = blocksInfo.ReadStringToNull();
|
||||||
|
assetsData.Position = entryinfo_offset;
|
||||||
|
var buffer = new byte[entryinfo_size];
|
||||||
|
assetsData.Read(buffer, 0, (int)entryinfo_size);
|
||||||
|
memFile.memStream = new MemoryStream(buffer);
|
||||||
|
MemoryAssetsFileList.Add(memFile);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
~BundleFile()
|
private void getFiles(EndianStream f_Stream, int offset)
|
||||||
{
|
{
|
||||||
Dispose();
|
int fileCount = f_Stream.ReadInt32();
|
||||||
}
|
for (int i = 0; i < fileCount; i++)
|
||||||
|
{
|
||||||
|
MemoryAssetsFile memFile = new MemoryAssetsFile();
|
||||||
|
memFile.fileName = f_Stream.ReadStringToNull();
|
||||||
|
int fileOffset = f_Stream.ReadInt32();
|
||||||
|
fileOffset += offset;
|
||||||
|
int fileSize = f_Stream.ReadInt32();
|
||||||
|
long nextFile = f_Stream.Position;
|
||||||
|
f_Stream.Position = fileOffset;
|
||||||
|
|
||||||
public void Dispose()
|
byte[] buffer = new byte[fileSize];
|
||||||
{
|
f_Stream.Read(buffer, 0, fileSize);
|
||||||
Stream.Dispose();
|
memFile.memStream = new MemoryStream(buffer);
|
||||||
GC.SuppressFinalize(this);
|
MemoryAssetsFileList.Add(memFile);
|
||||||
|
f_Stream.Position = nextFile;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ namespace Unity_Studio
|
|||||||
{
|
{
|
||||||
public int ID;
|
public int ID;
|
||||||
public string members;
|
public string members;
|
||||||
|
public string members2;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ClassIDReference
|
public class ClassIDReference
|
||||||
@@ -208,6 +209,9 @@ namespace Unity_Studio
|
|||||||
Names[272] = "AudioMixerSnapshot";
|
Names[272] = "AudioMixerSnapshot";
|
||||||
Names[273] = "AudioMixerGroup";
|
Names[273] = "AudioMixerGroup";
|
||||||
Names[290] = "AssetBundleManifest";
|
Names[290] = "AssetBundleManifest";
|
||||||
|
Names[300] = "RuntimeInitializeOnLoadManager";
|
||||||
|
Names[301] = "CloudWebServicesManager";
|
||||||
|
Names[310] = "UnityConnectSettings";
|
||||||
Names[1001] = "Prefab";
|
Names[1001] = "Prefab";
|
||||||
Names[1002] = "EditorExtensionImpl";
|
Names[1002] = "EditorExtensionImpl";
|
||||||
Names[1003] = "AssetImporter";
|
Names[1003] = "AssetImporter";
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
@@ -21,41 +20,9 @@ namespace Unity_Studio
|
|||||||
|
|
||||||
public EndianStream(Stream stream, EndianType endian) : base(stream) { }
|
public EndianStream(Stream stream, EndianType endian) : base(stream) { }
|
||||||
|
|
||||||
~EndianStream()
|
|
||||||
{
|
|
||||||
Dispose();
|
|
||||||
}
|
|
||||||
|
|
||||||
public long Position { get { return base.BaseStream.Position; } set { base.BaseStream.Position = value; } }
|
public long Position { get { return base.BaseStream.Position; } set { base.BaseStream.Position = value; } }
|
||||||
|
|
||||||
public new void Dispose()
|
public override short ReadInt16()
|
||||||
{
|
|
||||||
base.Dispose();
|
|
||||||
}
|
|
||||||
|
|
||||||
public override bool ReadBoolean()
|
|
||||||
{
|
|
||||||
return base.ReadBoolean();
|
|
||||||
}
|
|
||||||
|
|
||||||
public override byte ReadByte()
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
return base.ReadByte();
|
|
||||||
}
|
|
||||||
catch
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public override char ReadChar()
|
|
||||||
{
|
|
||||||
return base.ReadChar();
|
|
||||||
}
|
|
||||||
|
|
||||||
public override Int16 ReadInt16()
|
|
||||||
{
|
{
|
||||||
if (endian == EndianType.BigEndian)
|
if (endian == EndianType.BigEndian)
|
||||||
{
|
{
|
||||||
@@ -77,7 +44,7 @@ namespace Unity_Studio
|
|||||||
else return base.ReadInt32();
|
else return base.ReadInt32();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Int64 ReadInt64()
|
public override long ReadInt64()
|
||||||
{
|
{
|
||||||
if (endian == EndianType.BigEndian)
|
if (endian == EndianType.BigEndian)
|
||||||
{
|
{
|
||||||
@@ -88,7 +55,7 @@ namespace Unity_Studio
|
|||||||
else return base.ReadInt64();
|
else return base.ReadInt64();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override UInt16 ReadUInt16()
|
public override ushort ReadUInt16()
|
||||||
{
|
{
|
||||||
if (endian == EndianType.BigEndian)
|
if (endian == EndianType.BigEndian)
|
||||||
{
|
{
|
||||||
@@ -99,7 +66,7 @@ namespace Unity_Studio
|
|||||||
else return base.ReadUInt16();
|
else return base.ReadUInt16();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override UInt32 ReadUInt32()
|
public override uint ReadUInt32()
|
||||||
{
|
{
|
||||||
if (endian == EndianType.BigEndian)
|
if (endian == EndianType.BigEndian)
|
||||||
{
|
{
|
||||||
@@ -110,7 +77,7 @@ namespace Unity_Studio
|
|||||||
else return base.ReadUInt32();
|
else return base.ReadUInt32();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override UInt64 ReadUInt64()
|
public override ulong ReadUInt64()
|
||||||
{
|
{
|
||||||
if (endian == EndianType.BigEndian)
|
if (endian == EndianType.BigEndian)
|
||||||
{
|
{
|
||||||
@@ -121,7 +88,7 @@ namespace Unity_Studio
|
|||||||
else return base.ReadUInt64();
|
else return base.ReadUInt64();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Single ReadSingle()
|
public override float ReadSingle()
|
||||||
{
|
{
|
||||||
if (endian == EndianType.BigEndian)
|
if (endian == EndianType.BigEndian)
|
||||||
{
|
{
|
||||||
@@ -132,7 +99,7 @@ namespace Unity_Studio
|
|||||||
else return base.ReadSingle();
|
else return base.ReadSingle();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Double ReadDouble()
|
public override double ReadDouble()
|
||||||
{
|
{
|
||||||
if (endian == EndianType.BigEndian)
|
if (endian == EndianType.BigEndian)
|
||||||
{
|
{
|
||||||
@@ -143,14 +110,9 @@ namespace Unity_Studio
|
|||||||
else return base.ReadDouble();
|
else return base.ReadDouble();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string ReadString()
|
|
||||||
{
|
|
||||||
return base.ReadString();
|
|
||||||
}
|
|
||||||
|
|
||||||
public string ReadASCII(int length)
|
public string ReadASCII(int length)
|
||||||
{
|
{
|
||||||
return ASCIIEncoding.ASCII.GetString(base.ReadBytes(length));
|
return Encoding.ASCII.GetString(base.ReadBytes(length));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AlignStream(int alignment)
|
public void AlignStream(int alignment)
|
||||||
@@ -167,7 +129,7 @@ namespace Unity_Studio
|
|||||||
{
|
{
|
||||||
byte[] stringData = new byte[length];
|
byte[] stringData = new byte[length];
|
||||||
base.Read(stringData, 0, length);
|
base.Read(stringData, 0, length);
|
||||||
var result = System.Text.Encoding.UTF8.GetString(stringData); //must verify strange characters in PS3
|
var result = Encoding.UTF8.GetString(stringData); //must verify strange characters in PS3
|
||||||
|
|
||||||
/*string result = "";
|
/*string result = "";
|
||||||
char c;
|
char c;
|
||||||
@@ -185,17 +147,11 @@ namespace Unity_Studio
|
|||||||
|
|
||||||
public string ReadStringToNull()
|
public string ReadStringToNull()
|
||||||
{
|
{
|
||||||
string result = "";
|
var bytes = new List<byte>();
|
||||||
char c;
|
byte b;
|
||||||
for (int i = 0; i < base.BaseStream.Length; i++)
|
while ((b = ReadByte()) != 0)
|
||||||
{
|
bytes.Add(b);
|
||||||
if ((c = (char)base.ReadByte()) == 0)
|
return Encoding.UTF8.GetString(bytes.ToArray());
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
result += c.ToString();
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,10 +29,11 @@
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.includeBox = new System.Windows.Forms.GroupBox();
|
this.includeBox = new System.Windows.Forms.GroupBox();
|
||||||
|
this.convertDummies = new System.Windows.Forms.CheckBox();
|
||||||
this.embedBox = new System.Windows.Forms.CheckBox();
|
this.embedBox = new System.Windows.Forms.CheckBox();
|
||||||
this.lightsBox = new System.Windows.Forms.CheckBox();
|
this.lightsBox = new System.Windows.Forms.CheckBox();
|
||||||
this.camerasBox = new System.Windows.Forms.CheckBox();
|
this.camerasBox = new System.Windows.Forms.CheckBox();
|
||||||
this.animationBox = new System.Windows.Forms.CheckBox();
|
this.exportDeformers = new System.Windows.Forms.CheckBox();
|
||||||
this.geometryBox = new System.Windows.Forms.GroupBox();
|
this.geometryBox = new System.Windows.Forms.GroupBox();
|
||||||
this.exportColors = new System.Windows.Forms.CheckBox();
|
this.exportColors = new System.Windows.Forms.CheckBox();
|
||||||
this.exportUVs = new System.Windows.Forms.CheckBox();
|
this.exportUVs = new System.Windows.Forms.CheckBox();
|
||||||
@@ -47,34 +48,59 @@
|
|||||||
this.fbxCancel = new System.Windows.Forms.Button();
|
this.fbxCancel = new System.Windows.Forms.Button();
|
||||||
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
|
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
|
||||||
this.showExpOpt = new System.Windows.Forms.CheckBox();
|
this.showExpOpt = new System.Windows.Forms.CheckBox();
|
||||||
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||||
|
this.convertfsb = new System.Windows.Forms.CheckBox();
|
||||||
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
|
this.tojpg = new System.Windows.Forms.RadioButton();
|
||||||
|
this.topng = new System.Windows.Forms.RadioButton();
|
||||||
|
this.tobmp = new System.Windows.Forms.RadioButton();
|
||||||
|
this.converttexture = new System.Windows.Forms.CheckBox();
|
||||||
this.includeBox.SuspendLayout();
|
this.includeBox.SuspendLayout();
|
||||||
this.geometryBox.SuspendLayout();
|
this.geometryBox.SuspendLayout();
|
||||||
this.advancedBox.SuspendLayout();
|
this.advancedBox.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.scaleFactor)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.scaleFactor)).BeginInit();
|
||||||
|
this.groupBox1.SuspendLayout();
|
||||||
|
this.panel1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// includeBox
|
// includeBox
|
||||||
//
|
//
|
||||||
this.includeBox.AutoSize = true;
|
this.includeBox.AutoSize = true;
|
||||||
|
this.includeBox.Controls.Add(this.convertDummies);
|
||||||
this.includeBox.Controls.Add(this.embedBox);
|
this.includeBox.Controls.Add(this.embedBox);
|
||||||
this.includeBox.Controls.Add(this.lightsBox);
|
this.includeBox.Controls.Add(this.lightsBox);
|
||||||
this.includeBox.Controls.Add(this.camerasBox);
|
this.includeBox.Controls.Add(this.camerasBox);
|
||||||
this.includeBox.Controls.Add(this.animationBox);
|
this.includeBox.Controls.Add(this.exportDeformers);
|
||||||
this.includeBox.Controls.Add(this.geometryBox);
|
this.includeBox.Controls.Add(this.geometryBox);
|
||||||
this.includeBox.Location = new System.Drawing.Point(13, 13);
|
this.includeBox.Location = new System.Drawing.Point(16, 15);
|
||||||
|
this.includeBox.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.includeBox.Name = "includeBox";
|
this.includeBox.Name = "includeBox";
|
||||||
this.includeBox.Size = new System.Drawing.Size(359, 262);
|
this.includeBox.Padding = new System.Windows.Forms.Padding(4);
|
||||||
|
this.includeBox.Size = new System.Drawing.Size(332, 334);
|
||||||
this.includeBox.TabIndex = 0;
|
this.includeBox.TabIndex = 0;
|
||||||
this.includeBox.TabStop = false;
|
this.includeBox.TabStop = false;
|
||||||
this.includeBox.Text = "Include";
|
this.includeBox.Text = "Include";
|
||||||
//
|
//
|
||||||
|
// convertDummies
|
||||||
|
//
|
||||||
|
this.convertDummies.AutoSize = true;
|
||||||
|
this.convertDummies.Location = new System.Drawing.Point(19, 205);
|
||||||
|
this.convertDummies.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.convertDummies.Name = "convertDummies";
|
||||||
|
this.convertDummies.Size = new System.Drawing.Size(302, 20);
|
||||||
|
this.convertDummies.TabIndex = 5;
|
||||||
|
this.convertDummies.Text = "Convert Deforming Dummies to Bones";
|
||||||
|
this.convertDummies.UseVisualStyleBackColor = true;
|
||||||
|
this.convertDummies.CheckedChanged += new System.EventHandler(this.exportOpnions_CheckedChanged);
|
||||||
|
//
|
||||||
// embedBox
|
// embedBox
|
||||||
//
|
//
|
||||||
this.embedBox.AutoSize = true;
|
this.embedBox.AutoSize = true;
|
||||||
this.embedBox.Enabled = false;
|
this.embedBox.Enabled = false;
|
||||||
this.embedBox.Location = new System.Drawing.Point(14, 226);
|
this.embedBox.Location = new System.Drawing.Point(19, 288);
|
||||||
|
this.embedBox.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.embedBox.Name = "embedBox";
|
this.embedBox.Name = "embedBox";
|
||||||
this.embedBox.Size = new System.Drawing.Size(91, 17);
|
this.embedBox.Size = new System.Drawing.Size(118, 20);
|
||||||
this.embedBox.TabIndex = 4;
|
this.embedBox.TabIndex = 4;
|
||||||
this.embedBox.Text = "Embed Media";
|
this.embedBox.Text = "Embed Media";
|
||||||
this.embedBox.UseVisualStyleBackColor = true;
|
this.embedBox.UseVisualStyleBackColor = true;
|
||||||
@@ -83,9 +109,10 @@
|
|||||||
//
|
//
|
||||||
this.lightsBox.AutoSize = true;
|
this.lightsBox.AutoSize = true;
|
||||||
this.lightsBox.Enabled = false;
|
this.lightsBox.Enabled = false;
|
||||||
this.lightsBox.Location = new System.Drawing.Point(14, 202);
|
this.lightsBox.Location = new System.Drawing.Point(19, 260);
|
||||||
|
this.lightsBox.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.lightsBox.Name = "lightsBox";
|
this.lightsBox.Name = "lightsBox";
|
||||||
this.lightsBox.Size = new System.Drawing.Size(54, 17);
|
this.lightsBox.Size = new System.Drawing.Size(78, 20);
|
||||||
this.lightsBox.TabIndex = 3;
|
this.lightsBox.TabIndex = 3;
|
||||||
this.lightsBox.Text = "Lights";
|
this.lightsBox.Text = "Lights";
|
||||||
this.lightsBox.UseVisualStyleBackColor = true;
|
this.lightsBox.UseVisualStyleBackColor = true;
|
||||||
@@ -94,23 +121,25 @@
|
|||||||
//
|
//
|
||||||
this.camerasBox.AutoSize = true;
|
this.camerasBox.AutoSize = true;
|
||||||
this.camerasBox.Enabled = false;
|
this.camerasBox.Enabled = false;
|
||||||
this.camerasBox.Location = new System.Drawing.Point(14, 178);
|
this.camerasBox.Location = new System.Drawing.Point(19, 232);
|
||||||
|
this.camerasBox.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.camerasBox.Name = "camerasBox";
|
this.camerasBox.Name = "camerasBox";
|
||||||
this.camerasBox.Size = new System.Drawing.Size(67, 17);
|
this.camerasBox.Size = new System.Drawing.Size(86, 20);
|
||||||
this.camerasBox.TabIndex = 2;
|
this.camerasBox.TabIndex = 2;
|
||||||
this.camerasBox.Text = "Cameras";
|
this.camerasBox.Text = "Cameras";
|
||||||
this.camerasBox.UseVisualStyleBackColor = true;
|
this.camerasBox.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// animationBox
|
// exportDeformers
|
||||||
//
|
//
|
||||||
this.animationBox.AutoSize = true;
|
this.exportDeformers.AutoSize = true;
|
||||||
this.animationBox.Enabled = false;
|
this.exportDeformers.Location = new System.Drawing.Point(19, 178);
|
||||||
this.animationBox.Location = new System.Drawing.Point(14, 154);
|
this.exportDeformers.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.animationBox.Name = "animationBox";
|
this.exportDeformers.Name = "exportDeformers";
|
||||||
this.animationBox.Size = new System.Drawing.Size(72, 17);
|
this.exportDeformers.Size = new System.Drawing.Size(142, 20);
|
||||||
this.animationBox.TabIndex = 1;
|
this.exportDeformers.TabIndex = 1;
|
||||||
this.animationBox.Text = "Animation";
|
this.exportDeformers.Text = "Skin Deformers";
|
||||||
this.animationBox.UseVisualStyleBackColor = true;
|
this.exportDeformers.UseVisualStyleBackColor = true;
|
||||||
|
this.exportDeformers.CheckedChanged += new System.EventHandler(this.exportDeformers_CheckedChanged);
|
||||||
//
|
//
|
||||||
// geometryBox
|
// geometryBox
|
||||||
//
|
//
|
||||||
@@ -119,9 +148,11 @@
|
|||||||
this.geometryBox.Controls.Add(this.exportUVs);
|
this.geometryBox.Controls.Add(this.exportUVs);
|
||||||
this.geometryBox.Controls.Add(this.exportTangents);
|
this.geometryBox.Controls.Add(this.exportTangents);
|
||||||
this.geometryBox.Controls.Add(this.exportNormals);
|
this.geometryBox.Controls.Add(this.exportNormals);
|
||||||
this.geometryBox.Location = new System.Drawing.Point(7, 20);
|
this.geometryBox.Location = new System.Drawing.Point(9, 22);
|
||||||
|
this.geometryBox.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.geometryBox.Name = "geometryBox";
|
this.geometryBox.Name = "geometryBox";
|
||||||
this.geometryBox.Size = new System.Drawing.Size(346, 128);
|
this.geometryBox.Padding = new System.Windows.Forms.Padding(4);
|
||||||
|
this.geometryBox.Size = new System.Drawing.Size(313, 161);
|
||||||
this.geometryBox.TabIndex = 0;
|
this.geometryBox.TabIndex = 0;
|
||||||
this.geometryBox.TabStop = false;
|
this.geometryBox.TabStop = false;
|
||||||
this.geometryBox.Text = "Geometry";
|
this.geometryBox.Text = "Geometry";
|
||||||
@@ -131,9 +162,10 @@
|
|||||||
this.exportColors.AutoSize = true;
|
this.exportColors.AutoSize = true;
|
||||||
this.exportColors.Checked = true;
|
this.exportColors.Checked = true;
|
||||||
this.exportColors.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.exportColors.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.exportColors.Location = new System.Drawing.Point(7, 92);
|
this.exportColors.Location = new System.Drawing.Point(9, 106);
|
||||||
|
this.exportColors.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.exportColors.Name = "exportColors";
|
this.exportColors.Name = "exportColors";
|
||||||
this.exportColors.Size = new System.Drawing.Size(88, 17);
|
this.exportColors.Size = new System.Drawing.Size(134, 20);
|
||||||
this.exportColors.TabIndex = 3;
|
this.exportColors.TabIndex = 3;
|
||||||
this.exportColors.Text = "Vertex Colors";
|
this.exportColors.Text = "Vertex Colors";
|
||||||
this.exportColors.UseVisualStyleBackColor = true;
|
this.exportColors.UseVisualStyleBackColor = true;
|
||||||
@@ -144,9 +176,10 @@
|
|||||||
this.exportUVs.AutoSize = true;
|
this.exportUVs.AutoSize = true;
|
||||||
this.exportUVs.Checked = true;
|
this.exportUVs.Checked = true;
|
||||||
this.exportUVs.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.exportUVs.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.exportUVs.Location = new System.Drawing.Point(7, 68);
|
this.exportUVs.Location = new System.Drawing.Point(9, 79);
|
||||||
|
this.exportUVs.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.exportUVs.Name = "exportUVs";
|
this.exportUVs.Name = "exportUVs";
|
||||||
this.exportUVs.Size = new System.Drawing.Size(100, 17);
|
this.exportUVs.Size = new System.Drawing.Size(142, 20);
|
||||||
this.exportUVs.TabIndex = 2;
|
this.exportUVs.TabIndex = 2;
|
||||||
this.exportUVs.Text = "UV Coordinates";
|
this.exportUVs.Text = "UV Coordinates";
|
||||||
this.exportUVs.UseVisualStyleBackColor = true;
|
this.exportUVs.UseVisualStyleBackColor = true;
|
||||||
@@ -155,10 +188,10 @@
|
|||||||
// exportTangents
|
// exportTangents
|
||||||
//
|
//
|
||||||
this.exportTangents.AutoSize = true;
|
this.exportTangents.AutoSize = true;
|
||||||
this.exportTangents.Enabled = false;
|
this.exportTangents.Location = new System.Drawing.Point(9, 51);
|
||||||
this.exportTangents.Location = new System.Drawing.Point(7, 44);
|
this.exportTangents.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.exportTangents.Name = "exportTangents";
|
this.exportTangents.Name = "exportTangents";
|
||||||
this.exportTangents.Size = new System.Drawing.Size(71, 17);
|
this.exportTangents.Size = new System.Drawing.Size(94, 20);
|
||||||
this.exportTangents.TabIndex = 1;
|
this.exportTangents.TabIndex = 1;
|
||||||
this.exportTangents.Text = "Tangents";
|
this.exportTangents.Text = "Tangents";
|
||||||
this.exportTangents.UseVisualStyleBackColor = true;
|
this.exportTangents.UseVisualStyleBackColor = true;
|
||||||
@@ -169,9 +202,10 @@
|
|||||||
this.exportNormals.AutoSize = true;
|
this.exportNormals.AutoSize = true;
|
||||||
this.exportNormals.Checked = true;
|
this.exportNormals.Checked = true;
|
||||||
this.exportNormals.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.exportNormals.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.exportNormals.Location = new System.Drawing.Point(7, 20);
|
this.exportNormals.Location = new System.Drawing.Point(9, 22);
|
||||||
|
this.exportNormals.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.exportNormals.Name = "exportNormals";
|
this.exportNormals.Name = "exportNormals";
|
||||||
this.exportNormals.Size = new System.Drawing.Size(64, 17);
|
this.exportNormals.Size = new System.Drawing.Size(86, 20);
|
||||||
this.exportNormals.TabIndex = 0;
|
this.exportNormals.TabIndex = 0;
|
||||||
this.exportNormals.Text = "Normals";
|
this.exportNormals.Text = "Normals";
|
||||||
this.exportNormals.UseVisualStyleBackColor = true;
|
this.exportNormals.UseVisualStyleBackColor = true;
|
||||||
@@ -184,9 +218,11 @@
|
|||||||
this.advancedBox.Controls.Add(this.upAxis);
|
this.advancedBox.Controls.Add(this.upAxis);
|
||||||
this.advancedBox.Controls.Add(this.scaleFactor);
|
this.advancedBox.Controls.Add(this.scaleFactor);
|
||||||
this.advancedBox.Controls.Add(this.scaleLabel);
|
this.advancedBox.Controls.Add(this.scaleLabel);
|
||||||
this.advancedBox.Location = new System.Drawing.Point(12, 281);
|
this.advancedBox.Location = new System.Drawing.Point(16, 355);
|
||||||
|
this.advancedBox.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.advancedBox.Name = "advancedBox";
|
this.advancedBox.Name = "advancedBox";
|
||||||
this.advancedBox.Size = new System.Drawing.Size(360, 80);
|
this.advancedBox.Padding = new System.Windows.Forms.Padding(4);
|
||||||
|
this.advancedBox.Size = new System.Drawing.Size(332, 96);
|
||||||
this.advancedBox.TabIndex = 5;
|
this.advancedBox.TabIndex = 5;
|
||||||
this.advancedBox.TabStop = false;
|
this.advancedBox.TabStop = false;
|
||||||
this.advancedBox.Text = "Advanced Options";
|
this.advancedBox.Text = "Advanced Options";
|
||||||
@@ -194,9 +230,10 @@
|
|||||||
// axisLabel
|
// axisLabel
|
||||||
//
|
//
|
||||||
this.axisLabel.AutoSize = true;
|
this.axisLabel.AutoSize = true;
|
||||||
this.axisLabel.Location = new System.Drawing.Point(6, 43);
|
this.axisLabel.Location = new System.Drawing.Point(8, 50);
|
||||||
|
this.axisLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.axisLabel.Name = "axisLabel";
|
this.axisLabel.Name = "axisLabel";
|
||||||
this.axisLabel.Size = new System.Drawing.Size(46, 13);
|
this.axisLabel.Size = new System.Drawing.Size(72, 16);
|
||||||
this.axisLabel.TabIndex = 3;
|
this.axisLabel.TabIndex = 3;
|
||||||
this.axisLabel.Text = "Up Axis:";
|
this.axisLabel.Text = "Up Axis:";
|
||||||
//
|
//
|
||||||
@@ -205,10 +242,11 @@
|
|||||||
this.upAxis.FormattingEnabled = true;
|
this.upAxis.FormattingEnabled = true;
|
||||||
this.upAxis.Items.AddRange(new object[] {
|
this.upAxis.Items.AddRange(new object[] {
|
||||||
"Y-up"});
|
"Y-up"});
|
||||||
this.upAxis.Location = new System.Drawing.Point(58, 40);
|
this.upAxis.Location = new System.Drawing.Point(88, 47);
|
||||||
|
this.upAxis.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.upAxis.MaxDropDownItems = 2;
|
this.upAxis.MaxDropDownItems = 2;
|
||||||
this.upAxis.Name = "upAxis";
|
this.upAxis.Name = "upAxis";
|
||||||
this.upAxis.Size = new System.Drawing.Size(70, 21);
|
this.upAxis.Size = new System.Drawing.Size(92, 23);
|
||||||
this.upAxis.TabIndex = 2;
|
this.upAxis.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// scaleFactor
|
// scaleFactor
|
||||||
@@ -219,9 +257,10 @@
|
|||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
131072});
|
131072});
|
||||||
this.scaleFactor.Location = new System.Drawing.Point(82, 14);
|
this.scaleFactor.Location = new System.Drawing.Point(128, 17);
|
||||||
|
this.scaleFactor.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.scaleFactor.Name = "scaleFactor";
|
this.scaleFactor.Name = "scaleFactor";
|
||||||
this.scaleFactor.Size = new System.Drawing.Size(46, 20);
|
this.scaleFactor.Size = new System.Drawing.Size(61, 25);
|
||||||
this.scaleFactor.TabIndex = 1;
|
this.scaleFactor.TabIndex = 1;
|
||||||
this.scaleFactor.Value = new decimal(new int[] {
|
this.scaleFactor.Value = new decimal(new int[] {
|
||||||
254,
|
254,
|
||||||
@@ -232,17 +271,19 @@
|
|||||||
// scaleLabel
|
// scaleLabel
|
||||||
//
|
//
|
||||||
this.scaleLabel.AutoSize = true;
|
this.scaleLabel.AutoSize = true;
|
||||||
this.scaleLabel.Location = new System.Drawing.Point(6, 16);
|
this.scaleLabel.Location = new System.Drawing.Point(8, 19);
|
||||||
|
this.scaleLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.scaleLabel.Name = "scaleLabel";
|
this.scaleLabel.Name = "scaleLabel";
|
||||||
this.scaleLabel.Size = new System.Drawing.Size(70, 13);
|
this.scaleLabel.Size = new System.Drawing.Size(112, 16);
|
||||||
this.scaleLabel.TabIndex = 0;
|
this.scaleLabel.TabIndex = 0;
|
||||||
this.scaleLabel.Text = "Scale Factor:";
|
this.scaleLabel.Text = "Scale Factor:";
|
||||||
//
|
//
|
||||||
// fbxOKbutton
|
// fbxOKbutton
|
||||||
//
|
//
|
||||||
this.fbxOKbutton.Location = new System.Drawing.Point(216, 367);
|
this.fbxOKbutton.Location = new System.Drawing.Point(443, 455);
|
||||||
|
this.fbxOKbutton.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.fbxOKbutton.Name = "fbxOKbutton";
|
this.fbxOKbutton.Name = "fbxOKbutton";
|
||||||
this.fbxOKbutton.Size = new System.Drawing.Size(75, 23);
|
this.fbxOKbutton.Size = new System.Drawing.Size(100, 26);
|
||||||
this.fbxOKbutton.TabIndex = 6;
|
this.fbxOKbutton.TabIndex = 6;
|
||||||
this.fbxOKbutton.Text = "OK";
|
this.fbxOKbutton.Text = "OK";
|
||||||
this.fbxOKbutton.UseVisualStyleBackColor = true;
|
this.fbxOKbutton.UseVisualStyleBackColor = true;
|
||||||
@@ -251,9 +292,10 @@
|
|||||||
// fbxCancel
|
// fbxCancel
|
||||||
//
|
//
|
||||||
this.fbxCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
this.fbxCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||||
this.fbxCancel.Location = new System.Drawing.Point(297, 367);
|
this.fbxCancel.Location = new System.Drawing.Point(560, 455);
|
||||||
|
this.fbxCancel.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.fbxCancel.Name = "fbxCancel";
|
this.fbxCancel.Name = "fbxCancel";
|
||||||
this.fbxCancel.Size = new System.Drawing.Size(75, 23);
|
this.fbxCancel.Size = new System.Drawing.Size(100, 26);
|
||||||
this.fbxCancel.TabIndex = 7;
|
this.fbxCancel.TabIndex = 7;
|
||||||
this.fbxCancel.Text = "Cancel";
|
this.fbxCancel.Text = "Cancel";
|
||||||
this.fbxCancel.UseVisualStyleBackColor = true;
|
this.fbxCancel.UseVisualStyleBackColor = true;
|
||||||
@@ -267,31 +309,121 @@
|
|||||||
// showExpOpt
|
// showExpOpt
|
||||||
//
|
//
|
||||||
this.showExpOpt.AutoSize = true;
|
this.showExpOpt.AutoSize = true;
|
||||||
this.showExpOpt.Location = new System.Drawing.Point(12, 371);
|
this.showExpOpt.Location = new System.Drawing.Point(16, 459);
|
||||||
|
this.showExpOpt.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.showExpOpt.Name = "showExpOpt";
|
this.showExpOpt.Name = "showExpOpt";
|
||||||
this.showExpOpt.Size = new System.Drawing.Size(127, 17);
|
this.showExpOpt.Size = new System.Drawing.Size(294, 20);
|
||||||
this.showExpOpt.TabIndex = 8;
|
this.showExpOpt.TabIndex = 8;
|
||||||
this.showExpOpt.Text = "Show for each export";
|
this.showExpOpt.Text = "Show this dialog for every export";
|
||||||
this.showExpOpt.UseVisualStyleBackColor = true;
|
this.showExpOpt.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
|
// groupBox1
|
||||||
|
//
|
||||||
|
this.groupBox1.Controls.Add(this.convertfsb);
|
||||||
|
this.groupBox1.Controls.Add(this.panel1);
|
||||||
|
this.groupBox1.Controls.Add(this.converttexture);
|
||||||
|
this.groupBox1.Location = new System.Drawing.Point(356, 15);
|
||||||
|
this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.groupBox1.Name = "groupBox1";
|
||||||
|
this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
|
||||||
|
this.groupBox1.Size = new System.Drawing.Size(304, 436);
|
||||||
|
this.groupBox1.TabIndex = 9;
|
||||||
|
this.groupBox1.TabStop = false;
|
||||||
|
this.groupBox1.Text = "Convert";
|
||||||
|
//
|
||||||
|
// convertfsb
|
||||||
|
//
|
||||||
|
this.convertfsb.AutoSize = true;
|
||||||
|
this.convertfsb.Checked = true;
|
||||||
|
this.convertfsb.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
|
this.convertfsb.Location = new System.Drawing.Point(11, 101);
|
||||||
|
this.convertfsb.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.convertfsb.Name = "convertfsb";
|
||||||
|
this.convertfsb.Size = new System.Drawing.Size(174, 20);
|
||||||
|
this.convertfsb.TabIndex = 6;
|
||||||
|
this.convertfsb.Text = "Convert FSB to WAV";
|
||||||
|
this.convertfsb.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// panel1
|
||||||
|
//
|
||||||
|
this.panel1.Controls.Add(this.tojpg);
|
||||||
|
this.panel1.Controls.Add(this.topng);
|
||||||
|
this.panel1.Controls.Add(this.tobmp);
|
||||||
|
this.panel1.Location = new System.Drawing.Point(40, 52);
|
||||||
|
this.panel1.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.panel1.Name = "panel1";
|
||||||
|
this.panel1.Size = new System.Drawing.Size(195, 38);
|
||||||
|
this.panel1.TabIndex = 5;
|
||||||
|
//
|
||||||
|
// tojpg
|
||||||
|
//
|
||||||
|
this.tojpg.AutoSize = true;
|
||||||
|
this.tojpg.Location = new System.Drawing.Point(129, 8);
|
||||||
|
this.tojpg.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.tojpg.Name = "tojpg";
|
||||||
|
this.tojpg.Size = new System.Drawing.Size(61, 20);
|
||||||
|
this.tojpg.TabIndex = 4;
|
||||||
|
this.tojpg.Text = "JPEG";
|
||||||
|
this.tojpg.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// topng
|
||||||
|
//
|
||||||
|
this.topng.AutoSize = true;
|
||||||
|
this.topng.Checked = true;
|
||||||
|
this.topng.Location = new System.Drawing.Point(67, 8);
|
||||||
|
this.topng.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.topng.Name = "topng";
|
||||||
|
this.topng.Size = new System.Drawing.Size(53, 20);
|
||||||
|
this.topng.TabIndex = 3;
|
||||||
|
this.topng.TabStop = true;
|
||||||
|
this.topng.Text = "PNG";
|
||||||
|
this.topng.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// tobmp
|
||||||
|
//
|
||||||
|
this.tobmp.AutoSize = true;
|
||||||
|
this.tobmp.Location = new System.Drawing.Point(4, 8);
|
||||||
|
this.tobmp.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.tobmp.Name = "tobmp";
|
||||||
|
this.tobmp.Size = new System.Drawing.Size(53, 20);
|
||||||
|
this.tobmp.TabIndex = 2;
|
||||||
|
this.tobmp.Text = "BMP";
|
||||||
|
this.tobmp.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// converttexture
|
||||||
|
//
|
||||||
|
this.converttexture.AutoSize = true;
|
||||||
|
this.converttexture.Checked = true;
|
||||||
|
this.converttexture.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
|
this.converttexture.Location = new System.Drawing.Point(11, 25);
|
||||||
|
this.converttexture.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.converttexture.Name = "converttexture";
|
||||||
|
this.converttexture.Size = new System.Drawing.Size(254, 20);
|
||||||
|
this.converttexture.TabIndex = 1;
|
||||||
|
this.converttexture.Text = "Convert Texture (If support)";
|
||||||
|
this.converttexture.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
// ExportOptions
|
// ExportOptions
|
||||||
//
|
//
|
||||||
this.AcceptButton = this.fbxOKbutton;
|
this.AcceptButton = this.fbxOKbutton;
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.CancelButton = this.fbxCancel;
|
this.CancelButton = this.fbxCancel;
|
||||||
this.ClientSize = new System.Drawing.Size(384, 401);
|
this.ClientSize = new System.Drawing.Size(684, 490);
|
||||||
|
this.Controls.Add(this.groupBox1);
|
||||||
this.Controls.Add(this.showExpOpt);
|
this.Controls.Add(this.showExpOpt);
|
||||||
this.Controls.Add(this.fbxCancel);
|
this.Controls.Add(this.fbxCancel);
|
||||||
this.Controls.Add(this.fbxOKbutton);
|
this.Controls.Add(this.fbxOKbutton);
|
||||||
this.Controls.Add(this.advancedBox);
|
this.Controls.Add(this.advancedBox);
|
||||||
this.Controls.Add(this.includeBox);
|
this.Controls.Add(this.includeBox);
|
||||||
this.HelpButton = true;
|
this.HelpButton = true;
|
||||||
|
this.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.MinimizeBox = false;
|
this.MinimizeBox = false;
|
||||||
this.Name = "ExportOptions";
|
this.Name = "ExportOptions";
|
||||||
this.ShowIcon = false;
|
this.ShowIcon = false;
|
||||||
this.ShowInTaskbar = false;
|
this.ShowInTaskbar = false;
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
this.Text = "Export options";
|
this.Text = "Export options";
|
||||||
this.TopMost = true;
|
this.TopMost = true;
|
||||||
this.includeBox.ResumeLayout(false);
|
this.includeBox.ResumeLayout(false);
|
||||||
@@ -301,6 +433,10 @@
|
|||||||
this.advancedBox.ResumeLayout(false);
|
this.advancedBox.ResumeLayout(false);
|
||||||
this.advancedBox.PerformLayout();
|
this.advancedBox.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.scaleFactor)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.scaleFactor)).EndInit();
|
||||||
|
this.groupBox1.ResumeLayout(false);
|
||||||
|
this.groupBox1.PerformLayout();
|
||||||
|
this.panel1.ResumeLayout(false);
|
||||||
|
this.panel1.PerformLayout();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
@@ -315,7 +451,7 @@
|
|||||||
private System.Windows.Forms.CheckBox embedBox;
|
private System.Windows.Forms.CheckBox embedBox;
|
||||||
private System.Windows.Forms.CheckBox lightsBox;
|
private System.Windows.Forms.CheckBox lightsBox;
|
||||||
private System.Windows.Forms.CheckBox camerasBox;
|
private System.Windows.Forms.CheckBox camerasBox;
|
||||||
private System.Windows.Forms.CheckBox animationBox;
|
private System.Windows.Forms.CheckBox exportDeformers;
|
||||||
private System.Windows.Forms.GroupBox geometryBox;
|
private System.Windows.Forms.GroupBox geometryBox;
|
||||||
private System.Windows.Forms.CheckBox exportColors;
|
private System.Windows.Forms.CheckBox exportColors;
|
||||||
private System.Windows.Forms.CheckBox exportUVs;
|
private System.Windows.Forms.CheckBox exportUVs;
|
||||||
@@ -327,5 +463,13 @@
|
|||||||
private System.Windows.Forms.Button fbxCancel;
|
private System.Windows.Forms.Button fbxCancel;
|
||||||
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
|
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
|
||||||
private System.Windows.Forms.CheckBox showExpOpt;
|
private System.Windows.Forms.CheckBox showExpOpt;
|
||||||
|
private System.Windows.Forms.CheckBox convertDummies;
|
||||||
|
private System.Windows.Forms.GroupBox groupBox1;
|
||||||
|
private System.Windows.Forms.CheckBox converttexture;
|
||||||
|
private System.Windows.Forms.RadioButton tojpg;
|
||||||
|
private System.Windows.Forms.RadioButton topng;
|
||||||
|
private System.Windows.Forms.RadioButton tobmp;
|
||||||
|
private System.Windows.Forms.CheckBox convertfsb;
|
||||||
|
private System.Windows.Forms.Panel panel1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -21,9 +21,23 @@ namespace Unity_Studio
|
|||||||
exportTangents.Checked = (bool)Properties.Settings.Default["exportTangents"];
|
exportTangents.Checked = (bool)Properties.Settings.Default["exportTangents"];
|
||||||
exportUVs.Checked = (bool)Properties.Settings.Default["exportUVs"];
|
exportUVs.Checked = (bool)Properties.Settings.Default["exportUVs"];
|
||||||
exportColors.Checked = (bool)Properties.Settings.Default["exportColors"];
|
exportColors.Checked = (bool)Properties.Settings.Default["exportColors"];
|
||||||
|
exportDeformers.Checked = (bool)Properties.Settings.Default["exportDeformers"];
|
||||||
|
convertDummies.Checked = (bool)Properties.Settings.Default["convertDummies"];
|
||||||
|
convertDummies.Enabled = (bool)Properties.Settings.Default["exportDeformers"];
|
||||||
scaleFactor.Value = (decimal)Properties.Settings.Default["scaleFactor"];
|
scaleFactor.Value = (decimal)Properties.Settings.Default["scaleFactor"];
|
||||||
upAxis.SelectedIndex = (int)Properties.Settings.Default["upAxis"];
|
upAxis.SelectedIndex = (int)Properties.Settings.Default["upAxis"];
|
||||||
showExpOpt.Checked = (bool)Properties.Settings.Default["showExpOpt"];
|
showExpOpt.Checked = (bool)Properties.Settings.Default["showExpOpt"];
|
||||||
|
converttexture.Checked = (bool)Properties.Settings.Default["convertTexture"];
|
||||||
|
convertfsb.Checked = (bool)Properties.Settings.Default["convertfsb"];
|
||||||
|
string str = Properties.Settings.Default["convertType"] as string;
|
||||||
|
foreach (Control c in panel1.Controls)
|
||||||
|
{
|
||||||
|
if (c.Text == str)
|
||||||
|
{
|
||||||
|
(c as RadioButton).Checked = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void exportOpnions_CheckedChanged(object sender, EventArgs e)
|
private void exportOpnions_CheckedChanged(object sender, EventArgs e)
|
||||||
@@ -38,8 +52,20 @@ namespace Unity_Studio
|
|||||||
Properties.Settings.Default["exportTangents"] = exportTangents.Checked;
|
Properties.Settings.Default["exportTangents"] = exportTangents.Checked;
|
||||||
Properties.Settings.Default["exportUVs"] = exportUVs.Checked;
|
Properties.Settings.Default["exportUVs"] = exportUVs.Checked;
|
||||||
Properties.Settings.Default["exportColors"] = exportColors.Checked;
|
Properties.Settings.Default["exportColors"] = exportColors.Checked;
|
||||||
|
Properties.Settings.Default["exportDeformers"] = exportDeformers.Checked;
|
||||||
Properties.Settings.Default["scaleFactor"] = scaleFactor.Value;
|
Properties.Settings.Default["scaleFactor"] = scaleFactor.Value;
|
||||||
Properties.Settings.Default["upAxis"] = upAxis.SelectedIndex;
|
Properties.Settings.Default["upAxis"] = upAxis.SelectedIndex;
|
||||||
|
Properties.Settings.Default["convertTexture"] = converttexture.Checked;
|
||||||
|
Properties.Settings.Default["convertfsb"] = convertfsb.Checked;
|
||||||
|
foreach (Control c in panel1.Controls)
|
||||||
|
{
|
||||||
|
if ((c as RadioButton).Checked)
|
||||||
|
{
|
||||||
|
Properties.Settings.Default["convertType"] = c.Text;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Properties.Settings.Default.Save();
|
||||||
this.DialogResult = DialogResult.OK;
|
this.DialogResult = DialogResult.OK;
|
||||||
this.Close();
|
this.Close();
|
||||||
}
|
}
|
||||||
@@ -49,5 +75,11 @@ namespace Unity_Studio
|
|||||||
this.DialogResult = DialogResult.Cancel;
|
this.DialogResult = DialogResult.Cancel;
|
||||||
this.Close();
|
this.Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void exportDeformers_CheckedChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
exportOpnions_CheckedChanged(sender, e);
|
||||||
|
convertDummies.Enabled = exportDeformers.Checked;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
4294
Unity Studio/FMOD Studio API/fmod.cs
Normal file
4294
Unity Studio/FMOD Studio API/fmod.cs
Normal file
File diff suppressed because it is too large
Load Diff
1856
Unity Studio/FMOD Studio API/fmod_dsp.cs
Normal file
1856
Unity Studio/FMOD Studio API/fmod_dsp.cs
Normal file
File diff suppressed because it is too large
Load Diff
103
Unity Studio/FMOD Studio API/fmod_errors.cs
Normal file
103
Unity Studio/FMOD Studio API/fmod_errors.cs
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
/* =================================================================================================== */
|
||||||
|
/* FMOD Studio - Error string header file. Copyright (c), Firelight Technologies Pty, Ltd. 2004-2016. */
|
||||||
|
/* */
|
||||||
|
/* Use this header if you want to store or display a string version / english explanation of */
|
||||||
|
/* the FMOD error codes. */
|
||||||
|
/* */
|
||||||
|
/* =================================================================================================== */
|
||||||
|
|
||||||
|
namespace FMOD
|
||||||
|
{
|
||||||
|
public class Error
|
||||||
|
{
|
||||||
|
public static string String(FMOD.RESULT errcode)
|
||||||
|
{
|
||||||
|
switch (errcode)
|
||||||
|
{
|
||||||
|
case FMOD.RESULT.OK: return "No errors.";
|
||||||
|
case FMOD.RESULT.ERR_BADCOMMAND: return "Tried to call a function on a data type that does not allow this type of functionality (ie calling Sound::lock on a streaming sound).";
|
||||||
|
case FMOD.RESULT.ERR_CHANNEL_ALLOC: return "Error trying to allocate a channel.";
|
||||||
|
case FMOD.RESULT.ERR_CHANNEL_STOLEN: return "The specified channel has been reused to play another sound.";
|
||||||
|
case FMOD.RESULT.ERR_DMA: return "DMA Failure. See debug output for more information.";
|
||||||
|
case FMOD.RESULT.ERR_DSP_CONNECTION: return "DSP connection error. Connection possibly caused a cyclic dependency or connected dsps with incompatible buffer counts.";
|
||||||
|
case FMOD.RESULT.ERR_DSP_DONTPROCESS: return "DSP return code from a DSP process query callback. Tells mixer not to call the process callback and therefore not consume CPU. Use this to optimize the DSP graph.";
|
||||||
|
case FMOD.RESULT.ERR_DSP_FORMAT: return "DSP Format error. A DSP unit may have attempted to connect to this network with the wrong format, or a matrix may have been set with the wrong size if the target unit has a specified channel map.";
|
||||||
|
case FMOD.RESULT.ERR_DSP_INUSE: return "DSP is already in the mixer's DSP network. It must be removed before being reinserted or released.";
|
||||||
|
case FMOD.RESULT.ERR_DSP_NOTFOUND: return "DSP connection error. Couldn't find the DSP unit specified.";
|
||||||
|
case FMOD.RESULT.ERR_DSP_RESERVED: return "DSP operation error. Cannot perform operation on this DSP as it is reserved by the system.";
|
||||||
|
case FMOD.RESULT.ERR_DSP_SILENCE: return "DSP return code from a DSP process query callback. Tells mixer silence would be produced from read, so go idle and not consume CPU. Use this to optimize the DSP graph.";
|
||||||
|
case FMOD.RESULT.ERR_DSP_TYPE: return "DSP operation cannot be performed on a DSP of this type.";
|
||||||
|
case FMOD.RESULT.ERR_FILE_BAD: return "Error loading file.";
|
||||||
|
case FMOD.RESULT.ERR_FILE_COULDNOTSEEK: return "Couldn't perform seek operation. This is a limitation of the medium (ie netstreams) or the file format.";
|
||||||
|
case FMOD.RESULT.ERR_FILE_DISKEJECTED: return "Media was ejected while reading.";
|
||||||
|
case FMOD.RESULT.ERR_FILE_EOF: return "End of file unexpectedly reached while trying to read essential data (truncated?).";
|
||||||
|
case FMOD.RESULT.ERR_FILE_ENDOFDATA: return "End of current chunk reached while trying to read data.";
|
||||||
|
case FMOD.RESULT.ERR_FILE_NOTFOUND: return "File not found.";
|
||||||
|
case FMOD.RESULT.ERR_FORMAT: return "Unsupported file or audio format.";
|
||||||
|
case FMOD.RESULT.ERR_HEADER_MISMATCH: return "There is a version mismatch between the FMOD header and either the FMOD Studio library or the FMOD Low Level library.";
|
||||||
|
case FMOD.RESULT.ERR_HTTP: return "A HTTP error occurred. This is a catch-all for HTTP errors not listed elsewhere.";
|
||||||
|
case FMOD.RESULT.ERR_HTTP_ACCESS: return "The specified resource requires authentication or is forbidden.";
|
||||||
|
case FMOD.RESULT.ERR_HTTP_PROXY_AUTH: return "Proxy authentication is required to access the specified resource.";
|
||||||
|
case FMOD.RESULT.ERR_HTTP_SERVER_ERROR: return "A HTTP server error occurred.";
|
||||||
|
case FMOD.RESULT.ERR_HTTP_TIMEOUT: return "The HTTP request timed out.";
|
||||||
|
case FMOD.RESULT.ERR_INITIALIZATION: return "FMOD was not initialized correctly to support this function.";
|
||||||
|
case FMOD.RESULT.ERR_INITIALIZED: return "Cannot call this command after System::init.";
|
||||||
|
case FMOD.RESULT.ERR_INTERNAL: return "An error occurred that wasn't supposed to. Contact support.";
|
||||||
|
case FMOD.RESULT.ERR_INVALID_FLOAT: return "Value passed in was a NaN, Inf or denormalized float.";
|
||||||
|
case FMOD.RESULT.ERR_INVALID_HANDLE: return "An invalid object handle was used.";
|
||||||
|
case FMOD.RESULT.ERR_INVALID_PARAM: return "An invalid parameter was passed to this function.";
|
||||||
|
case FMOD.RESULT.ERR_INVALID_POSITION: return "An invalid seek position was passed to this function.";
|
||||||
|
case FMOD.RESULT.ERR_INVALID_SPEAKER: return "An invalid speaker was passed to this function based on the current speaker mode.";
|
||||||
|
case FMOD.RESULT.ERR_INVALID_SYNCPOINT: return "The syncpoint did not come from this sound handle.";
|
||||||
|
case FMOD.RESULT.ERR_INVALID_THREAD: return "Tried to call a function on a thread that is not supported.";
|
||||||
|
case FMOD.RESULT.ERR_INVALID_VECTOR: return "The vectors passed in are not unit length, or perpendicular.";
|
||||||
|
case FMOD.RESULT.ERR_MAXAUDIBLE: return "Reached maximum audible playback count for this sound's soundgroup.";
|
||||||
|
case FMOD.RESULT.ERR_MEMORY: return "Not enough memory or resources.";
|
||||||
|
case FMOD.RESULT.ERR_MEMORY_CANTPOINT: return "Can't use FMOD_OPENMEMORY_POINT on non PCM source data, or non mp3/xma/adpcm data if FMOD_CREATECOMPRESSEDSAMPLE was used.";
|
||||||
|
case FMOD.RESULT.ERR_NEEDS3D: return "Tried to call a command on a 2d sound when the command was meant for 3d sound.";
|
||||||
|
case FMOD.RESULT.ERR_NEEDSHARDWARE: return "Tried to use a feature that requires hardware support.";
|
||||||
|
case FMOD.RESULT.ERR_NET_CONNECT: return "Couldn't connect to the specified host.";
|
||||||
|
case FMOD.RESULT.ERR_NET_SOCKET_ERROR: return "A socket error occurred. This is a catch-all for socket-related errors not listed elsewhere.";
|
||||||
|
case FMOD.RESULT.ERR_NET_URL: return "The specified URL couldn't be resolved.";
|
||||||
|
case FMOD.RESULT.ERR_NET_WOULD_BLOCK: return "Operation on a non-blocking socket could not complete immediately.";
|
||||||
|
case FMOD.RESULT.ERR_NOTREADY: return "Operation could not be performed because specified sound/DSP connection is not ready.";
|
||||||
|
case FMOD.RESULT.ERR_OUTPUT_ALLOCATED: return "Error initializing output device, but more specifically, the output device is already in use and cannot be reused.";
|
||||||
|
case FMOD.RESULT.ERR_OUTPUT_CREATEBUFFER: return "Error creating hardware sound buffer.";
|
||||||
|
case FMOD.RESULT.ERR_OUTPUT_DRIVERCALL: return "A call to a standard soundcard driver failed, which could possibly mean a bug in the driver or resources were missing or exhausted.";
|
||||||
|
case FMOD.RESULT.ERR_OUTPUT_FORMAT: return "Soundcard does not support the specified format.";
|
||||||
|
case FMOD.RESULT.ERR_OUTPUT_INIT: return "Error initializing output device.";
|
||||||
|
case FMOD.RESULT.ERR_OUTPUT_NODRIVERS: return "The output device has no drivers installed. If pre-init, FMOD_OUTPUT_NOSOUND is selected as the output mode. If post-init, the function just fails.";
|
||||||
|
case FMOD.RESULT.ERR_PLUGIN: return "An unspecified error has been returned from a plugin.";
|
||||||
|
case FMOD.RESULT.ERR_PLUGIN_MISSING: return "A requested output, dsp unit type or codec was not available.";
|
||||||
|
case FMOD.RESULT.ERR_PLUGIN_RESOURCE: return "A resource that the plugin requires cannot be found. (ie the DLS file for MIDI playback)";
|
||||||
|
case FMOD.RESULT.ERR_PLUGIN_VERSION: return "A plugin was built with an unsupported SDK version.";
|
||||||
|
case FMOD.RESULT.ERR_RECORD: return "An error occurred trying to initialize the recording device.";
|
||||||
|
case FMOD.RESULT.ERR_REVERB_CHANNELGROUP: return "Reverb properties cannot be set on this channel because a parent channelgroup owns the reverb connection.";
|
||||||
|
case FMOD.RESULT.ERR_REVERB_INSTANCE: return "Specified instance in FMOD_REVERB_PROPERTIES couldn't be set. Most likely because it is an invalid instance number or the reverb doesn't exist.";
|
||||||
|
case FMOD.RESULT.ERR_SUBSOUNDS: return "The error occurred because the sound referenced contains subsounds when it shouldn't have, or it doesn't contain subsounds when it should have. The operation may also not be able to be performed on a parent sound.";
|
||||||
|
case FMOD.RESULT.ERR_SUBSOUND_ALLOCATED: return "This subsound is already being used by another sound, you cannot have more than one parent to a sound. Null out the other parent's entry first.";
|
||||||
|
case FMOD.RESULT.ERR_SUBSOUND_CANTMOVE: return "Shared subsounds cannot be replaced or moved from their parent stream, such as when the parent stream is an FSB file.";
|
||||||
|
case FMOD.RESULT.ERR_TAGNOTFOUND: return "The specified tag could not be found or there are no tags.";
|
||||||
|
case FMOD.RESULT.ERR_TOOMANYCHANNELS: return "The sound created exceeds the allowable input channel count. This can be increased using the 'maxinputchannels' parameter in System::setSoftwareFormat.";
|
||||||
|
case FMOD.RESULT.ERR_TRUNCATED: return "The retrieved string is too long to fit in the supplied buffer and has been truncated.";
|
||||||
|
case FMOD.RESULT.ERR_UNIMPLEMENTED: return "Something in FMOD hasn't been implemented when it should be! contact support!";
|
||||||
|
case FMOD.RESULT.ERR_UNINITIALIZED: return "This command failed because System::init or System::setDriver was not called.";
|
||||||
|
case FMOD.RESULT.ERR_UNSUPPORTED: return "A command issued was not supported by this object. Possibly a plugin without certain callbacks specified.";
|
||||||
|
case FMOD.RESULT.ERR_VERSION: return "The version number of this file format is not supported.";
|
||||||
|
case FMOD.RESULT.ERR_EVENT_ALREADY_LOADED: return "The specified bank has already been loaded.";
|
||||||
|
case FMOD.RESULT.ERR_EVENT_LIVEUPDATE_BUSY: return "The live update connection failed due to the game already being connected.";
|
||||||
|
case FMOD.RESULT.ERR_EVENT_LIVEUPDATE_MISMATCH: return "The live update connection failed due to the game data being out of sync with the tool.";
|
||||||
|
case FMOD.RESULT.ERR_EVENT_LIVEUPDATE_TIMEOUT: return "The live update connection timed out.";
|
||||||
|
case FMOD.RESULT.ERR_EVENT_NOTFOUND: return "The requested event, bus or vca could not be found.";
|
||||||
|
case FMOD.RESULT.ERR_STUDIO_UNINITIALIZED: return "The Studio::System object is not yet initialized.";
|
||||||
|
case FMOD.RESULT.ERR_STUDIO_NOT_LOADED: return "The specified resource is not loaded, so it can't be unloaded.";
|
||||||
|
case FMOD.RESULT.ERR_INVALID_STRING: return "An invalid string was passed to this function.";
|
||||||
|
case FMOD.RESULT.ERR_ALREADY_LOCKED: return "The specified resource is already locked.";
|
||||||
|
case FMOD.RESULT.ERR_NOT_LOCKED: return "The specified resource is not locked, so it can't be unlocked.";
|
||||||
|
case FMOD.RESULT.ERR_RECORD_DISCONNECTED: return "The specified recording driver has been disconnected.";
|
||||||
|
case FMOD.RESULT.ERR_TOOMANYSAMPLES: return "The length provided exceed the allowable limit.";
|
||||||
|
default: return "Unknown error.";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,739 +0,0 @@
|
|||||||
/*$ preserve start $*/
|
|
||||||
/* ========================================================================================== */
|
|
||||||
/* FMOD Ex - DSP header file. Copyright (c), Firelight Technologies Pty, Ltd. 2004-2014. */
|
|
||||||
/* */
|
|
||||||
/* Use this header if you are interested in delving deeper into the FMOD software mixing / */
|
|
||||||
/* DSP engine. In this header you can find parameter structures for FMOD system reigstered */
|
|
||||||
/* DSP effects and generators. */
|
|
||||||
/* */
|
|
||||||
/* ========================================================================================== */
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Text;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
|
|
||||||
namespace FMOD
|
|
||||||
{
|
|
||||||
/*$ preserve end $*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
DSP callbacks
|
|
||||||
*/
|
|
||||||
public delegate RESULT DSP_CREATECALLBACK (ref DSP_STATE dsp_state);
|
|
||||||
public delegate RESULT DSP_RELEASECALLBACK (ref DSP_STATE dsp_state);
|
|
||||||
public delegate RESULT DSP_RESETCALLBACK (ref DSP_STATE dsp_state);
|
|
||||||
public delegate RESULT DSP_READCALLBACK (ref DSP_STATE dsp_state, IntPtr inbuffer, IntPtr outbuffer, uint length, int inchannels, int outchannels);
|
|
||||||
public delegate RESULT DSP_SETPOSITIONCALLBACK (ref DSP_STATE dsp_state, uint seeklen);
|
|
||||||
public delegate RESULT DSP_SETPARAMCALLBACK (ref DSP_STATE dsp_state, int index, float val);
|
|
||||||
public delegate RESULT DSP_GETPARAMCALLBACK (ref DSP_STATE dsp_state, int index, ref float val, StringBuilder valuestr);
|
|
||||||
public delegate RESULT DSP_DIALOGCALLBACK (ref DSP_STATE dsp_state, IntPtr hwnd, bool show);
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
These definitions can be used for creating FMOD defined special effects or DSP units.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
To get them to be active, first create the unit, then add it somewhere into the DSP network, either at the front of the network near the soundcard unit to affect the global output (by using System::getDSPHead), or on a single channel (using Channel::getDSPHead).
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
System::createDSPByType
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_TYPE :int
|
|
||||||
{
|
|
||||||
UNKNOWN, /* This unit was created via a non FMOD plugin so has an unknown purpose */
|
|
||||||
MIXER, /* This unit does nothing but take inputs and mix them together then feed the result to the soundcard unit. */
|
|
||||||
OSCILLATOR, /* This unit generates sine/square/saw/triangle or noise tones. */
|
|
||||||
LOWPASS, /* This unit filters sound using a high quality, resonant lowpass filter algorithm but consumes more CPU time. */
|
|
||||||
ITLOWPASS, /* This unit filters sound using a resonant lowpass filter algorithm that is used in Impulse Tracker, but with limited cutoff range (0 to 8060hz). */
|
|
||||||
HIGHPASS, /* This unit filters sound using a resonant highpass filter algorithm. */
|
|
||||||
ECHO, /* This unit produces an echo on the sound and fades out at the desired rate. */
|
|
||||||
FLANGE, /* This unit produces a flange effect on the sound. */
|
|
||||||
DISTORTION, /* This unit distorts the sound. */
|
|
||||||
NORMALIZE, /* This unit normalizes or amplifies the sound to a certain level. */
|
|
||||||
PARAMEQ, /* This unit attenuates or amplifies a selected frequency range. */
|
|
||||||
PITCHSHIFT, /* This unit bends the pitch of a sound without changing the speed of playback. */
|
|
||||||
CHORUS, /* This unit produces a chorus effect on the sound. */
|
|
||||||
VSTPLUGIN, /* This unit allows the use of Steinberg VST plugins */
|
|
||||||
WINAMPPLUGIN, /* This unit allows the use of Nullsoft Winamp plugins */
|
|
||||||
ITECHO, /* This unit produces an echo on the sound and fades out at the desired rate as is used in Impulse Tracker. */
|
|
||||||
COMPRESSOR, /* This unit implements dynamic compression (linked multichannel, wideband) */
|
|
||||||
SFXREVERB, /* This unit implements SFX reverb */
|
|
||||||
LOWPASS_SIMPLE, /* This unit filters sound using a simple lowpass with no resonance, but has flexible cutoff and is fast. */
|
|
||||||
DELAY, /* This unit produces different delays on individual channels of the sound. */
|
|
||||||
TREMOLO, /* This unit produces a tremolo / chopper effect on the sound. */
|
|
||||||
LADSPAPLUGIN, /* This unit allows the use of LADSPA standard plugins. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[STRUCTURE]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Members marked with [in] mean the user sets the value before passing it to the function.<br>
|
|
||||||
Members marked with [out] mean FMOD sets the value to be used after the function exits.<br>
|
|
||||||
<br>
|
|
||||||
The step parameter tells the gui or application that the parameter has a certain granularity.<br>
|
|
||||||
For example in the example of cutoff frequency with a range from 100.0 to 22050.0 you might only want the selection to be in 10hz increments. For this you would simply use 10.0 as the step value.<br>
|
|
||||||
For a boolean, you can use min = 0.0, max = 1.0, step = 1.0. This way the only possible values are 0.0 and 1.0.<br>
|
|
||||||
Some applications may detect min = 0.0, max = 1.0, step = 1.0 and replace a graphical slider bar with a checkbox instead.<br>
|
|
||||||
A step value of 1.0 would simulate integer values only.<br>
|
|
||||||
A step value of 0.0 would mean the full floating point range is accessable.<br>
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
System::createDSP
|
|
||||||
System::getDSP
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public struct DSP_PARAMETERDESC
|
|
||||||
{
|
|
||||||
public float min; /* [in] Minimum value of the parameter (ie 100.0). */
|
|
||||||
public float max; /* [in] Maximum value of the parameter (ie 22050.0). */
|
|
||||||
public float defaultval; /* [in] Default value of parameter. */
|
|
||||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)]
|
|
||||||
public char[] name; /* [in] Name of the parameter to be displayed (ie "Cutoff frequency"). */
|
|
||||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)]
|
|
||||||
public char[] label; /* [in] Short string to be put next to value to denote the unit type (ie "hz"). */
|
|
||||||
public string description; /* [in] Description of the parameter to be displayed as a help item / tooltip for this parameter. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[STRUCTURE]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Strcture to define the parameters for a DSP unit.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Members marked with [in] mean the user sets the value before passing it to the function.<br>
|
|
||||||
Members marked with [out] mean FMOD sets the value to be used after the function exits.<br>
|
|
||||||
<br>
|
|
||||||
There are 2 different ways to change a parameter in this architecture.<br>
|
|
||||||
One is to use DSP::setParameter / DSP::getParameter. This is platform independant and is dynamic, so new unknown plugins can have their parameters enumerated and used.<br>
|
|
||||||
The other is to use DSP::showConfigDialog. This is platform specific and requires a GUI, and will display a dialog box to configure the plugin.<br>
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
System::createDSP
|
|
||||||
System::getDSP
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public struct DSP_DESCRIPTION
|
|
||||||
{
|
|
||||||
[MarshalAs(UnmanagedType.ByValArray,SizeConst=32)]
|
|
||||||
public char[] name; /* [in] Name of the unit to be displayed in the network. */
|
|
||||||
public uint version; /* [in] Plugin writer's version number. */
|
|
||||||
public int channels; /* [in] Number of channels. Use 0 to process whatever number of channels is currently in the network. >0 would be mostly used if the unit is a unit that only generates sound. */
|
|
||||||
public DSP_CREATECALLBACK create; /* [in] Create callback. This is called when DSP unit is created. Can be null. */
|
|
||||||
public DSP_RELEASECALLBACK release; /* [in] Release callback. This is called just before the unit is freed so the user can do any cleanup needed for the unit. Can be null. */
|
|
||||||
public DSP_RESETCALLBACK reset; /* [in] Reset callback. This is called by the user to reset any history buffers that may need resetting for a filter, when it is to be used or re-used for the first time to its initial clean state. Use to avoid clicks or artifacts. */
|
|
||||||
public DSP_READCALLBACK read; /* [in] Read callback. Processing is done here. Can be null. */
|
|
||||||
public DSP_SETPOSITIONCALLBACK setposition; /* [in] Setposition callback. This is called if the unit wants to update its position info but not process data. Can be null. */
|
|
||||||
|
|
||||||
public int numparameters; /* [in] Number of parameters used in this filter. The user finds this with DSP::getNumParameters */
|
|
||||||
public DSP_PARAMETERDESC[] paramdesc; /* [in] Variable number of parameter structures. */
|
|
||||||
public DSP_SETPARAMCALLBACK setparameter; /* [in] This is called when the user calls DSP::setParameter. Can be null. */
|
|
||||||
public DSP_GETPARAMCALLBACK getparameter; /* [in] This is called when the user calls DSP::getParameter. Can be null. */
|
|
||||||
public DSP_DIALOGCALLBACK config; /* [in] This is called when the user calls DSP::showConfigDialog. Can be used to display a dialog to configure the filter. Can be null. */
|
|
||||||
public int configwidth; /* [in] Width of config dialog graphic if there is one. 0 otherwise.*/
|
|
||||||
public int configheight; /* [in] Height of config dialog graphic if there is one. 0 otherwise.*/
|
|
||||||
public IntPtr userdata; /* [in] Optional. Specify 0 to ignore. This is user data to be attached to the DSP unit during creation. Access via DSP::getUserData. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[STRUCTURE]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
DSP plugin structure that is passed into each callback.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Members marked with [in] mean the variable can be written to. The user can set the value.<br>
|
|
||||||
Members marked with [out] mean the variable is modified by FMOD and is for reading purposes only. Do not change this value.<br>
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
FMOD_DSP_DESCRIPTION
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public struct DSP_STATE
|
|
||||||
{
|
|
||||||
public IntPtr instance; /* [out] Handle to the DSP hand the user created. Not to be modified. C++ users cast to FMOD::DSP to use. */
|
|
||||||
public IntPtr plugindata; /* [in] Plugin writer created data the output author wants to attach to this object. */
|
|
||||||
public ushort speakermask; /* Specifies which speakers the DSP effect is active on */
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
==============================================================================================================
|
|
||||||
|
|
||||||
FMOD built in effect parameters.
|
|
||||||
Use DSP::setParameter with these enums for the 'index' parameter.
|
|
||||||
|
|
||||||
==============================================================================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_OSCILLATOR filter.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_OSCILLATOR
|
|
||||||
{
|
|
||||||
TYPE, /* Waveform type. 0 = sine. 1 = square. 2 = sawup. 3 = sawdown. 4 = triangle. 5 = noise. */
|
|
||||||
RATE /* Frequency of the sinewave in hz. 1.0 to 22000.0. Default = 220.0. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_LOWPASS filter.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_LOWPASS
|
|
||||||
{
|
|
||||||
CUTOFF, /* Lowpass cutoff frequency in hz. 1.0 to 22000.0. Default = 5000.0. */
|
|
||||||
RESONANCE /* Lowpass resonance Q value. 1.0 to 10.0. Default = 1.0. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_ITLOWPASS filter.
|
|
||||||
This is different to the default FMOD_DSP_TYPE_ITLOWPASS filter in that it uses a different quality algorithm and is
|
|
||||||
the filter used to produce the correct sounding playback in .IT files.<br>
|
|
||||||
FMOD Ex's .IT playback uses this filter.<br>
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Note! This filter actually has a limited cutoff frequency below the specified maximum, due to its limited design,
|
|
||||||
so for a more open range filter use FMOD_DSP_LOWPASS or if you don't mind not having resonance,
|
|
||||||
FMOD_DSP_LOWPASS_SIMPLE.<br>
|
|
||||||
The effective maximum cutoff is about 8060hz.
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_ITLOWPASS
|
|
||||||
{
|
|
||||||
CUTOFF, /* Lowpass cutoff frequency in hz. 1.0 to 22000.0. Default = 5000.0/ */
|
|
||||||
RESONANCE /* Lowpass resonance Q value. 0.0 to 127.0. Default = 1.0. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_HIGHPASS filter.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_HIGHPASS
|
|
||||||
{
|
|
||||||
CUTOFF, /* Highpass cutoff frequency in hz. 10.0 to output 22000.0. Default = 5000.0. */
|
|
||||||
RESONANCE /* Highpass resonance Q value. 1.0 to 10.0. Default = 1.0. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_ECHO filter.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Note. Every time the delay is changed, the plugin re-allocates the echo buffer. This means the echo will dissapear at that time while it refills its new buffer.<br>
|
|
||||||
Larger echo delays result in larger amounts of memory allocated.<br>
|
|
||||||
<br>
|
|
||||||
'<i>maxchannels</i>' also dictates the amount of memory allocated. By default, the maxchannels value is 0. If FMOD is set to stereo, the echo unit will allocate enough memory for 2 channels. If it is 5.1, it will allocate enough memory for a 6 channel echo, etc.<br>
|
|
||||||
If the echo effect is only ever applied to the global mix (ie it was added with System::addDSP), then 0 is the value to set as it will be enough to handle all speaker modes.<br>
|
|
||||||
When the echo is added to a channel (ie Channel::addDSP) then the channel count that comes in could be anything from 1 to 8 possibly. It is only in this case where you might want to increase the channel count above the output's channel count.<br>
|
|
||||||
If a channel echo is set to a lower number than the sound's channel count that is coming in, it will not echo the sound.<br>
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_ECHO
|
|
||||||
{
|
|
||||||
DELAY, /* Echo delay in ms. 10 to 5000. Default = 500. */
|
|
||||||
DECAYRATIO, /* Echo decay per delay. 0 to 1. 1.0 = No decay, 0.0 = total decay. Default = 0.5. */
|
|
||||||
MAXCHANNELS, /* Maximum channels supported. 0 to 16. 0 = same as fmod's default output polyphony, 1 = mono, 2 = stereo etc. See remarks for more. Default = 0. It is suggested to leave at 0! */
|
|
||||||
DRYMIX, /* Volume of original signal to pass to output. 0.0 to 1.0. Default = 1.0. */
|
|
||||||
WETMIX /* Volume of echo signal to pass to output. 0.0 to 1.0. Default = 1.0. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_DELAY filter.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Note. Every time MaxDelay is changed, the plugin re-allocates the delay buffer. This means the delay will dissapear at that time while it refills its new buffer.<br>
|
|
||||||
A larger MaxDelay results in larger amounts of memory allocated.<br>
|
|
||||||
Channel delays above MaxDelay will be clipped to MaxDelay and the delay buffer will not be resized.<br>
|
|
||||||
<br>
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_DELAY
|
|
||||||
{
|
|
||||||
CH0, /* Channel #0 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH1, /* Channel #1 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH2, /* Channel #2 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH3, /* Channel #3 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH4, /* Channel #4 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH5, /* Channel #5 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH6, /* Channel #6 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH7, /* Channel #7 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH8, /* Channel #8 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH9, /* Channel #9 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH10, /* Channel #10 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH11, /* Channel #11 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH12, /* Channel #12 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH13, /* Channel #13 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH14, /* Channel #14 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
CH15, /* Channel #15 Delay in ms. 0 to 10000. Default = 0. */
|
|
||||||
MAXDELAY, /* Maximum delay in ms. 0 to 1000. Default = 10. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_FLANGE filter.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Flange is an effect where the signal is played twice at the same time, and one copy slides back and forth creating a whooshing or flanging effect.<br>
|
|
||||||
As there are 2 copies of the same signal, by default each signal is given 50% mix, so that the total is not louder than the original unaffected signal.<br>
|
|
||||||
<br>
|
|
||||||
Flange depth is a percentage of a 10ms shift from the original signal. Anything above 10ms is not considered flange because to the ear it begins to 'echo' so 10ms is the highest value possible.<br>
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_FLANGE
|
|
||||||
{
|
|
||||||
DRYMIX, /* Volume of original signal to pass to output. 0.0 to 1.0. Default = 0.45. */
|
|
||||||
WETMIX, /* Volume of flange signal to pass to output. 0.0 to 1.0. Default = 0.55. */
|
|
||||||
DEPTH, /* Flange depth. 0.01 to 1.0. Default = 1.0. */
|
|
||||||
RATE /* Flange speed in hz. 0.0 to 20.0. Default = 0.1. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_TREMOLO filter.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
The tremolo effect varies the amplitude of a sound. Depending on the settings, this unit can produce a tremolo, chopper or auto-pan effect.<br>
|
|
||||||
<br>
|
|
||||||
The shape of the LFO (low freq. oscillator) can morphed between sine, triangle and sawtooth waves using the FMOD_DSP_TREMOLO_SHAPE and FMOD_DSP_TREMOLO_SKEW parameters.<br>
|
|
||||||
FMOD_DSP_TREMOLO_DUTY and FMOD_DSP_TREMOLO_SQUARE are useful for a chopper-type effect where the first controls the on-time duration and second controls the flatness of the envelope.<br>
|
|
||||||
FMOD_DSP_TREMOLO_SPREAD varies the LFO phase between channels to get an auto-pan effect. This works best with a sine shape LFO.<br>
|
|
||||||
The LFO can be synchronized using the FMOD_DSP_TREMOLO_PHASE parameter which sets its instantaneous phase.<br>
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_TREMOLO
|
|
||||||
{
|
|
||||||
FREQUENCY, /* LFO frequency in Hz. 0.1 to 20. Default = 4. */
|
|
||||||
DEPTH, /* Tremolo depth. 0 to 1. Default = 0. */
|
|
||||||
SHAPE, /* LFO shape morph between triangle and sine. 0 to 1. Default = 0. */
|
|
||||||
SKEW, /* Time-skewing of LFO cycle. -1 to 1. Default = 0. */
|
|
||||||
DUTY, /* LFO on-time. 0 to 1. Default = 0.5. */
|
|
||||||
SQUARE, /* Flatness of the LFO shape. 0 to 1. Default = 0. */
|
|
||||||
PHASE, /* Instantaneous LFO phase. 0 to 1. Default = 0. */
|
|
||||||
SPREAD /* Rotation / auto-pan effect. -1 to 1. Default = 0. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_DISTORTION filter.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_DISTORTION
|
|
||||||
{
|
|
||||||
LEVEL /* Distortion value. 0.0 to 1.0. Default = 0.5. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_NORMALIZE filter.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Normalize amplifies the sound based on the maximum peaks within the signal.<br>
|
|
||||||
For example if the maximum peaks in the signal were 50% of the bandwidth, it would scale the whole sound by 2.<br>
|
|
||||||
The lower threshold value makes the normalizer ignores peaks below a certain point, to avoid over-amplification if a loud signal suddenly came in, and also to avoid amplifying to maximum things like background hiss.<br>
|
|
||||||
<br>
|
|
||||||
Because FMOD is a realtime audio processor, it doesn't have the luxury of knowing the peak for the whole sound (ie it can't see into the future), so it has to process data as it comes in.<br>
|
|
||||||
To avoid very sudden changes in volume level based on small samples of new data, fmod fades towards the desired amplification which makes for smooth gain control. The fadetime parameter can control this.<br>
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_NORMALIZE
|
|
||||||
{
|
|
||||||
FADETIME, /* Time to ramp the silence to full in ms. 0.0 to 20000.0. Default = 5000.0. */
|
|
||||||
THRESHHOLD, /* Lower volume range threshold to ignore. 0.0 to 1.0. Default = 0.1. Raise higher to stop amplification of very quiet signals. */
|
|
||||||
MAXAMP /* Maximum amplification allowed. 1.0 to 100000.0. Default = 20.0. 1.0 = no amplifaction, higher values allow more boost. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_PARAMEQ filter.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Parametric EQ is a bandpass filter that attenuates or amplifies a selected frequency and its neighbouring frequencies.<br>
|
|
||||||
<br>
|
|
||||||
To create a multi-band EQ create multiple FMOD_DSP_TYPE_PARAMEQ units and set each unit to different frequencies, for example 1000hz, 2000hz, 4000hz, 8000hz, 16000hz with a range of 1 octave each.<br>
|
|
||||||
<br>
|
|
||||||
When a frequency has its gain set to 1.0, the sound will be unaffected and represents the original signal exactly.<br>
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_PARAMEQ
|
|
||||||
{
|
|
||||||
CENTER, /* Frequency center. 20.0 to 22000.0. Default = 8000.0. */
|
|
||||||
BANDWIDTH, /* Octave range around the center frequency to filter. 0.2 to 5.0. Default = 1.0. */
|
|
||||||
GAIN /* Frequency Gain. 0.05 to 3.0. Default = 1.0. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_PITCHSHIFT filter.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
This pitch shifting unit can be used to change the pitch of a sound without speeding it up or slowing it down.<br>
|
|
||||||
It can also be used for time stretching or scaling, for example if the pitch was doubled, and the frequency of the sound was halved, the pitch of the sound would sound correct but it would be twice as slow.<br>
|
|
||||||
<br>
|
|
||||||
<b>Warning!</b> This filter is very computationally expensive! Similar to a vocoder, it requires several overlapping FFT and IFFT's to produce smooth output, and can require around 440mhz for 1 stereo 48khz signal using the default settings.<br>
|
|
||||||
Reducing the signal to mono will half the cpu usage, as will the overlap count.<br>
|
|
||||||
Reducing this will lower audio quality, but what settings to use are largely dependant on the sound being played. A noisy polyphonic signal will need higher overlap and fft size compared to a speaking voice for example.<br>
|
|
||||||
<br>
|
|
||||||
This pitch shifter is based on the pitch shifter code at http://www.dspdimension.com, written by Stephan M. Bernsee.<br>
|
|
||||||
The original code is COPYRIGHT 1999-2003 Stephan M. Bernsee <smb@dspdimension.com>.<br>
|
|
||||||
<br>
|
|
||||||
'<i>maxchannels</i>' dictates the amount of memory allocated. By default, the maxchannels value is 0. If FMOD is set to stereo, the pitch shift unit will allocate enough memory for 2 channels. If it is 5.1, it will allocate enough memory for a 6 channel pitch shift, etc.<br>
|
|
||||||
If the pitch shift effect is only ever applied to the global mix (ie it was added with System::addDSP), then 0 is the value to set as it will be enough to handle all speaker modes.<br>
|
|
||||||
When the pitch shift is added to a channel (ie Channel::addDSP) then the channel count that comes in could be anything from 1 to 8 possibly. It is only in this case where you might want to increase the channel count above the output's channel count.<br>
|
|
||||||
If a channel pitch shift is set to a lower number than the sound's channel count that is coming in, it will not pitch shift the sound.<br>
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_PITCHSHIFT
|
|
||||||
{
|
|
||||||
PITCH, /* Pitch value. 0.5 to 2.0. Default = 1.0. 0.5 = one octave down, 2.0 = one octave up. 1.0 does not change the pitch. */
|
|
||||||
FFTSIZE, /* FFT window size. 256, 512, 1024, 2048, 4096. Default = 1024. Increase this to reduce 'smearing'. This effect is a warbling sound similar to when an mp3 is encoded at very low bitrates. */
|
|
||||||
OVERLAP, /* Window overlap. 1 to 32. Default = 4. Increase this to reduce 'tremolo' effect. Increasing it by a factor of 2 doubles the CPU usage. */
|
|
||||||
MAXCHANNELS /* Maximum channels supported. 0 to 16. 0 = same as fmod's default output polyphony, 1 = mono, 2 = stereo etc. See remarks for more. Default = 0. It is suggested to leave at 0! */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_CHORUS filter.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Chrous is an effect where the sound is more 'spacious' due to 1 to 3 versions of the sound being played along side the original signal but with the pitch of each copy modulating on a sine wave.<br>
|
|
||||||
This is a highly configurable chorus unit. It supports 3 taps, small and large delay times and also feedback.<br>
|
|
||||||
This unit also could be used to do a simple echo, or a flange effect.
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_CHORUS
|
|
||||||
{
|
|
||||||
DRYMIX, /* Volume of original signal to pass to output. 0.0 to 1.0. Default = 0.5. */
|
|
||||||
WETMIX1, /* Volume of 1st chorus tap. 0.0 to 1.0. Default = 0.5. */
|
|
||||||
WETMIX2, /* Volume of 2nd chorus tap. This tap is 90 degrees out of phase of the first tap. 0.0 to 1.0. Default = 0.5. */
|
|
||||||
WETMIX3, /* Volume of 3rd chorus tap. This tap is 90 degrees out of phase of the second tap. 0.0 to 1.0. Default = 0.5. */
|
|
||||||
DELAY, /* Chorus delay in ms. 0.1 to 100.0. Default = 40.0 ms. */
|
|
||||||
RATE, /* Chorus modulation rate in hz. 0.0 to 20.0. Default = 0.8 hz. */
|
|
||||||
DEPTH, /* Chorus modulation depth. 0.0 to 1.0. Default = 0.03. */
|
|
||||||
FEEDBACK /* Chorus feedback. Controls how much of the wet signal gets fed back into the chorus buffer. 0.0 to 1.0. Default = 0.0. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_ITECHO filter.<br>
|
|
||||||
This is effectively a software based echo filter that emulates the DirectX DMO echo effect. Impulse tracker files can support this, and FMOD will produce the effect on ANY platform, not just those that support DirectX effects!<br>
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Note. Every time the delay is changed, the plugin re-allocates the echo buffer. This means the echo will dissapear at that time while it refills its new buffer.<br>
|
|
||||||
Larger echo delays result in larger amounts of memory allocated.<br>
|
|
||||||
<br>
|
|
||||||
For stereo signals only! This will not work on mono or multichannel signals. This is fine for .IT format purposes, and also if you use System::addDSP with a standard stereo output.<br>
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
System::addDSP
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_ITECHO
|
|
||||||
{
|
|
||||||
WETDRYMIX, /* Ratio of wet (processed) signal to dry (unprocessed) signal. Must be in the range from 0.0 through 100.0 (all wet). The default value is 50. */
|
|
||||||
FEEDBACK, /* Percentage of output fed back into input, in the range from 0.0 through 100.0. The default value is 50. */
|
|
||||||
LEFTDELAY, /* Delay for left channel, in milliseconds, in the range from 1.0 through 2000.0. The default value is 500 ms. */
|
|
||||||
RIGHTDELAY, /* Delay for right channel, in milliseconds, in the range from 1.0 through 2000.0. The default value is 500 ms. */
|
|
||||||
PANDELAY /* Value that specifies whether to swap left and right delays with each successive echo. The default value is zero, meaning no swap. Possible values are defined as 0.0 (equivalent to FALSE) and 1.0 (equivalent to TRUE). */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_COMPRESSOR unit.<br>
|
|
||||||
This is a simple linked multichannel software limiter that is uniform across the whole spectrum.<br>
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
The parameters are as follows:
|
|
||||||
Threshold: [-60dB to 0dB, default 0dB]
|
|
||||||
Attack Time: [10ms to 200ms, default 50ms]
|
|
||||||
Release Time: [20ms to 1000ms, default 50ms]
|
|
||||||
Gain Make Up: [0dB to +30dB, default 0dB]
|
|
||||||
<br>
|
|
||||||
The limiter is not guaranteed to catch every peak above the threshold level,
|
|
||||||
because it cannot apply gain reduction instantaneously - the time delay is
|
|
||||||
determined by the attack time. However setting the attack time too short will
|
|
||||||
distort the sound, so it is a compromise. High level peaks can be avoided by
|
|
||||||
using a short attack time - but not too short, and setting the threshold a few
|
|
||||||
decibels below the critical level.
|
|
||||||
<br>
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::SetParameter
|
|
||||||
DSP::GetParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
System::addDSP
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_COMPRESSOR
|
|
||||||
{
|
|
||||||
THRESHOLD, /* Threshold level (dB)in the range from -60 through 0. The default value is 50. */
|
|
||||||
ATTACK, /* Gain reduction attack time (milliseconds), in the range from 10 through 200. The default value is 50. */
|
|
||||||
RELEASE, /* Gain reduction release time (milliseconds), in the range from 20 through 1000. The default value is 50. */
|
|
||||||
GAINMAKEUP /* Make-up gain applied after limiting, in the range from 0.0 through 100.0. The default value is 50. */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_SFXREVERB unit.<br>
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
This is a high quality I3DL2 based reverb which improves greatly on FMOD_DSP_REVERB.<br>
|
|
||||||
On top of the I3DL2 property set, "Dry Level" is also included to allow the dry mix to be changed.<br>
|
|
||||||
<br>
|
|
||||||
Currently FMOD_DSP_SFXREVERB_REFLECTIONSLEVEL, FMOD_DSP_SFXREVERB_REFLECTIONSDELAY and FMOD_DSP_SFXREVERB_REVERBDELAY are not enabled but will come in future versions.<br>
|
|
||||||
<br>
|
|
||||||
These properties can be set with presets in FMOD_REVERB_PRESETS.
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::SetParameter
|
|
||||||
DSP::GetParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
System::addDSP
|
|
||||||
FMOD_REVERB_PRESETS
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_SFXREVERB
|
|
||||||
{
|
|
||||||
DRYLEVEL, /* Dry Level : Mix level of dry signal in output in mB. Ranges from -10000.0 to 0.0. Default is 0.0. */
|
|
||||||
ROOM, /* Room : Room effect level at low frequencies in mB. Ranges from -10000.0 to 0.0. Default is 0.0. */
|
|
||||||
ROOMHF, /* Room HF : Room effect high-frequency level re. low frequency level in mB. Ranges from -10000.0 to 0.0. Default is 0.0. */
|
|
||||||
ROOMROLLOFFFACTOR, /* Room Rolloff : Like DS3D flRolloffFactor but for room effect. Ranges from 0.0 to 10.0. Default is 10.0 */
|
|
||||||
DECAYTIME, /* Decay Time : Reverberation decay time at low-frequencies in seconds. Ranges from 0.1 to 20.0. Default is 1.0. */
|
|
||||||
DECAYHFRATIO, /* Decay HF Ratio : High-frequency to low-frequency decay time ratio. Ranges from 0.1 to 2.0. Default is 0.5. */
|
|
||||||
REFLECTIONSLEVEL, /* Reflections : Early reflections level relative to room effect in mB. Ranges from -10000.0 to 1000.0. Default is -10000.0. */
|
|
||||||
REFLECTIONSDELAY, /* Reflect Delay : Delay time of first reflection in seconds. Ranges from 0.0 to 0.3. Default is 0.02. */
|
|
||||||
REVERBLEVEL, /* Reverb : Late reverberation level relative to room effect in mB. Ranges from -10000.0 to 2000.0. Default is 0.0. */
|
|
||||||
REVERBDELAY, /* Reverb Delay : Late reverberation delay time relative to first reflection in seconds. Ranges from 0.0 to 0.1. Default is 0.04. */
|
|
||||||
DIFFUSION, /* Diffusion : Reverberation diffusion (echo density) in percent. Ranges from 0.0 to 100.0. Default is 100.0. */
|
|
||||||
DENSITY, /* Density : Reverberation density (modal density) in percent. Ranges from 0.0 to 100.0. Default is 100.0. */
|
|
||||||
HFREFERENCE, /* HF Reference : Reference high frequency in Hz. Ranges from 20.0 to 20000.0. Default is 5000.0. */
|
|
||||||
ROOMLF, /* Room LF : Room effect low-frequency level in mB. Ranges from -10000.0 to 0.0. Default is 0.0. */
|
|
||||||
LFREFERENCE /* LF Reference : Reference low-frequency in Hz. Ranges from 20.0 to 1000.0. Default is 250.0. */
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
[ENUM]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Parameter types for the FMOD_DSP_TYPE_LOWPASS_SIMPLE filter.<br>
|
|
||||||
This is a very simple low pass filter, based on two single-pole RC time-constant modules.
|
|
||||||
The emphasis is on speed rather than accuracy, so this should not be used for task requiring critical filtering.<br>
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
DSP::setParameter
|
|
||||||
DSP::getParameter
|
|
||||||
FMOD_DSP_TYPE
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum DSP_LOWPASS_SIMPLE
|
|
||||||
{
|
|
||||||
CUTOFF /* Lowpass cutoff frequency in hz. 10.0 to 22000.0. Default = 5000.0 */
|
|
||||||
}
|
|
||||||
/*$ preserve start $*/
|
|
||||||
}
|
|
||||||
/*$ preserve end $*/
|
|
||||||
@@ -1,120 +0,0 @@
|
|||||||
/* ============================================================================================= = */
|
|
||||||
/* FMOD Ex - Error string header file. Copyright (c), Firelight Technologies Pty, Ltd. 2004-2014. */
|
|
||||||
/* */
|
|
||||||
/* Use this header if you want to store or display a string version / english explanation of */
|
|
||||||
/* the FMOD error codes. */
|
|
||||||
/* */
|
|
||||||
/* =============================================================================================== */
|
|
||||||
|
|
||||||
namespace FMOD
|
|
||||||
{
|
|
||||||
public class Error
|
|
||||||
{
|
|
||||||
public static string String(FMOD.RESULT errcode)
|
|
||||||
{
|
|
||||||
switch (errcode)
|
|
||||||
{
|
|
||||||
case FMOD.RESULT.OK: return "No errors.";
|
|
||||||
case FMOD.RESULT.ERR_ALREADYLOCKED: return "Tried to call lock a second time before unlock was called. ";
|
|
||||||
case FMOD.RESULT.ERR_BADCOMMAND: return "Tried to call a function on a data type that does not allow this type of functionality (ie calling Sound::lock on a streaming sound). ";
|
|
||||||
case FMOD.RESULT.ERR_CDDA_DRIVERS: return "Neither NTSCSI nor ASPI could be initialised. ";
|
|
||||||
case FMOD.RESULT.ERR_CDDA_INIT: return "An error occurred while initialising the CDDA subsystem. ";
|
|
||||||
case FMOD.RESULT.ERR_CDDA_INVALID_DEVICE: return "Couldn't find the specified device. ";
|
|
||||||
case FMOD.RESULT.ERR_CDDA_NOAUDIO: return "No audio tracks on the specified disc. ";
|
|
||||||
case FMOD.RESULT.ERR_CDDA_NODEVICES: return "No CD/DVD devices were found. ";
|
|
||||||
case FMOD.RESULT.ERR_CDDA_NODISC: return "No disc present in the specified drive. ";
|
|
||||||
case FMOD.RESULT.ERR_CDDA_READ: return "A CDDA read error occurred. ";
|
|
||||||
case FMOD.RESULT.ERR_CHANNEL_ALLOC: return "Error trying to allocate a channel. ";
|
|
||||||
case FMOD.RESULT.ERR_CHANNEL_STOLEN: return "The specified channel has been reused to play another sound. ";
|
|
||||||
case FMOD.RESULT.ERR_COM: return "A Win32 COM related error occured. COM failed to initialize or a QueryInterface failed meaning a Windows codec or driver was not installed properly. ";
|
|
||||||
case FMOD.RESULT.ERR_DMA: return "DMA Failure. See debug output for more information. ";
|
|
||||||
case FMOD.RESULT.ERR_DSP_CONNECTION: return "DSP connection error. Connection possibly caused a cyclic dependancy. ";
|
|
||||||
case FMOD.RESULT.ERR_DSP_FORMAT: return "DSP Format error. A DSP unit may have attempted to connect to this network with the wrong format. ";
|
|
||||||
case FMOD.RESULT.ERR_DSP_NOTFOUND: return "DSP connection error. Couldn't find the DSP unit specified. ";
|
|
||||||
case FMOD.RESULT.ERR_DSP_RUNNING: return "DSP error. Cannot perform this operation while the network is in the middle of running. This will most likely happen if a connection or disconnection is attempted in a DSP callback. ";
|
|
||||||
case FMOD.RESULT.ERR_DSP_TOOMANYCONNECTIONS: return "DSP connection error. The unit being connected to or disconnected should only have 1 input or output. ";
|
|
||||||
case FMOD.RESULT.ERR_FILE_BAD: return "Error loading file. ";
|
|
||||||
case FMOD.RESULT.ERR_FILE_COULDNOTSEEK: return "Couldn't perform seek operation. This is a limitation of the medium (ie netstreams) or the file format. ";
|
|
||||||
case FMOD.RESULT.ERR_FILE_DISKEJECTED: return "Media was ejected while reading. ";
|
|
||||||
case FMOD.RESULT.ERR_FILE_EOF: return "End of file unexpectedly reached while trying to read essential data (truncated data?). ";
|
|
||||||
case FMOD.RESULT.ERR_FILE_NOTFOUND: return "File not found. ";
|
|
||||||
case FMOD.RESULT.ERR_FILE_UNWANTED: return "Unwanted file access occured. ";
|
|
||||||
case FMOD.RESULT.ERR_FORMAT: return "Unsupported file or audio format. ";
|
|
||||||
case FMOD.RESULT.ERR_HTTP: return "A HTTP error occurred. This is a catch-all for HTTP errors not listed elsewhere. ";
|
|
||||||
case FMOD.RESULT.ERR_HTTP_ACCESS: return "The specified resource requires authentication or is forbidden. ";
|
|
||||||
case FMOD.RESULT.ERR_HTTP_PROXY_AUTH: return "Proxy authentication is required to access the specified resource. ";
|
|
||||||
case FMOD.RESULT.ERR_HTTP_SERVER_ERROR: return "A HTTP server error occurred. ";
|
|
||||||
case FMOD.RESULT.ERR_HTTP_TIMEOUT: return "The HTTP request timed out. ";
|
|
||||||
case FMOD.RESULT.ERR_INITIALIZATION: return "FMOD was not initialized correctly to support this function. ";
|
|
||||||
case FMOD.RESULT.ERR_INITIALIZED: return "Cannot call this command after System::init. ";
|
|
||||||
case FMOD.RESULT.ERR_INTERNAL: return "An error occured that wasn't supposed to. Contact support. ";
|
|
||||||
case FMOD.RESULT.ERR_INVALID_ADDRESS: return "On Xbox 360, this memory address passed to FMOD must be physical, (ie allocated with XPhysicalAlloc.) ";
|
|
||||||
case FMOD.RESULT.ERR_INVALID_FLOAT: return "Value passed in was a NaN, Inf or denormalized float. ";
|
|
||||||
case FMOD.RESULT.ERR_INVALID_HANDLE: return "An invalid object handle was used. ";
|
|
||||||
case FMOD.RESULT.ERR_INVALID_PARAM: return "An invalid parameter was passed to this function. ";
|
|
||||||
case FMOD.RESULT.ERR_INVALID_POSITION: return "An invalid seek position was passed to this function. ";
|
|
||||||
case FMOD.RESULT.ERR_INVALID_SPEAKER: return "An invalid speaker was passed to this function based on the current speaker mode. ";
|
|
||||||
case FMOD.RESULT.ERR_INVALID_SYNCPOINT: return "The syncpoint did not come from this sound handle.";
|
|
||||||
case FMOD.RESULT.ERR_INVALID_VECTOR: return "The vectors passed in are not unit length, or perpendicular. ";
|
|
||||||
case FMOD.RESULT.ERR_MAXAUDIBLE: return "Reached maximum audible playback count for this sound's soundgroup. ";
|
|
||||||
case FMOD.RESULT.ERR_MEMORY: return "Not enough memory or resources. ";
|
|
||||||
case FMOD.RESULT.ERR_MEMORY_CANTPOINT: return "Can't use FMOD_OPENMEMORY_POINT on non PCM source data, or non mp3/xma/adpcm data if FMOD_CREATECOMPRESSEDSAMPLE was used. ";
|
|
||||||
case FMOD.RESULT.ERR_MEMORY_SRAM: return "Not enough memory or resources on console sound ram. ";
|
|
||||||
case FMOD.RESULT.ERR_NEEDS2D: return "Tried to call a command on a 3d sound when the command was meant for 2d sound. ";
|
|
||||||
case FMOD.RESULT.ERR_NEEDS3D: return "Tried to call a command on a 2d sound when the command was meant for 3d sound. ";
|
|
||||||
case FMOD.RESULT.ERR_NEEDSHARDWARE: return "Tried to use a feature that requires hardware support. (ie trying to play a VAG compressed sound in software on PS2). ";
|
|
||||||
case FMOD.RESULT.ERR_NEEDSSOFTWARE: return "Tried to use a feature that requires the software engine. Software engine has either been turned off, or command was executed on a hardware channel which does not support this feature. ";
|
|
||||||
case FMOD.RESULT.ERR_NET_CONNECT: return "Couldn't connect to the specified host. ";
|
|
||||||
case FMOD.RESULT.ERR_NET_SOCKET_ERROR: return "A socket error occurred. This is a catch-all for socket-related errors not listed elsewhere. ";
|
|
||||||
case FMOD.RESULT.ERR_NET_URL: return "The specified URL couldn't be resolved. ";
|
|
||||||
case FMOD.RESULT.ERR_NET_WOULD_BLOCK: return "Operation on a non-blocking socket could not complete immediately. ";
|
|
||||||
case FMOD.RESULT.ERR_NOTREADY: return "Operation could not be performed because specified sound is not ready. ";
|
|
||||||
case FMOD.RESULT.ERR_OUTPUT_ALLOCATED: return "Error initializing output device, but more specifically, the output device is already in use and cannot be reused. ";
|
|
||||||
case FMOD.RESULT.ERR_OUTPUT_CREATEBUFFER: return "Error creating hardware sound buffer. ";
|
|
||||||
case FMOD.RESULT.ERR_OUTPUT_DRIVERCALL: return "A call to a standard soundcard driver failed, which could possibly mean a bug in the driver or resources were missing or exhausted. ";
|
|
||||||
case FMOD.RESULT.ERR_OUTPUT_ENUMERATION: return "Error enumerating the available driver list. List may be inconsistent due to a recent device addition or removal.";
|
|
||||||
case FMOD.RESULT.ERR_OUTPUT_FORMAT: return "Soundcard does not support the minimum features needed for this soundsystem (16bit stereo output). ";
|
|
||||||
case FMOD.RESULT.ERR_OUTPUT_INIT: return "Error initializing output device. ";
|
|
||||||
case FMOD.RESULT.ERR_OUTPUT_NOHARDWARE: return "FMOD_HARDWARE was specified but the sound card does not have the resources nescessary to play it. ";
|
|
||||||
case FMOD.RESULT.ERR_OUTPUT_NOSOFTWARE: return "Attempted to create a software sound but no software channels were specified in System::init. ";
|
|
||||||
case FMOD.RESULT.ERR_PAN: return "Panning only works with mono or stereo sound sources. ";
|
|
||||||
case FMOD.RESULT.ERR_PLUGIN: return "An unspecified error has been returned from a 3rd party plugin. ";
|
|
||||||
case FMOD.RESULT.ERR_PLUGIN_INSTANCES: return "The number of allowed instances of a plugin has been exceeded ";
|
|
||||||
case FMOD.RESULT.ERR_PLUGIN_MISSING: return "A requested output, dsp unit type or codec was not available. ";
|
|
||||||
case FMOD.RESULT.ERR_PLUGIN_RESOURCE: return "A resource that the plugin requires cannot be found. (ie the DLS file for MIDI playback) ";
|
|
||||||
case FMOD.RESULT.ERR_PRELOADED: return "The specified sound is still in use by the event system, call EventSystem::unloadFSB before trying to release it. ";
|
|
||||||
case FMOD.RESULT.ERR_PROGRAMMERSOUND: return "The specified sound is still in use by the event system, wait for the event which is using it finish with it. ";
|
|
||||||
case FMOD.RESULT.ERR_RECORD: return "An error occured trying to initialize the recording device. ";
|
|
||||||
case FMOD.RESULT.ERR_REVERB_INSTANCE: return "Specified Instance in FMOD_REVERB_PROPERTIES couldn't be set. Most likely because another application has locked the EAX4 FX slot. ";
|
|
||||||
case FMOD.RESULT.ERR_SUBSOUND_ALLOCATED: return "This subsound is already being used by another sound, you cannot have more than one parent to a sound. Null out the other parent's entry first. ";
|
|
||||||
case FMOD.RESULT.ERR_SUBSOUND_CANTMOVE: return "Shared subsounds cannot be replaced or moved from their parent stream, such as when the parent stream is an FSB file.";
|
|
||||||
case FMOD.RESULT.ERR_SUBSOUND_MODE: return "The subsound's mode bits do not match with the parent sound's mode bits. See documentation for function that it was called with.";
|
|
||||||
case FMOD.RESULT.ERR_SUBSOUNDS: return "The error occured because the sound referenced contains subsounds. (ie you cannot play the parent sound as a static sample, only its subsounds.) ";
|
|
||||||
case FMOD.RESULT.ERR_TAGNOTFOUND: return "The specified tag could not be found or there are no tags. ";
|
|
||||||
case FMOD.RESULT.ERR_TOOMANYCHANNELS: return "The sound created exceeds the allowable input channel count. This can be increased using the maxinputchannels parameter in System::setSoftwareFormat. ";
|
|
||||||
case FMOD.RESULT.ERR_UNIMPLEMENTED: return "Something in FMOD hasn't been implemented when it should be! contact support! ";
|
|
||||||
case FMOD.RESULT.ERR_UNINITIALIZED: return "This command failed because System::init or System::setDriver was not called. ";
|
|
||||||
case FMOD.RESULT.ERR_UNSUPPORTED: return "A command issued was not supported by this object. Possibly a plugin without certain callbacks specified. ";
|
|
||||||
case FMOD.RESULT.ERR_UPDATE: return "An error caused by System::update occured. ";
|
|
||||||
case FMOD.RESULT.ERR_VERSION: return "The version number of this file format is not supported. ";
|
|
||||||
|
|
||||||
case FMOD.RESULT.ERR_EVENT_FAILED: return "An Event failed to be retrieved, most likely due to 'just fail' being specified as the max playbacks behavior. ";
|
|
||||||
case FMOD.RESULT.ERR_EVENT_GUIDCONFLICT: return "An event with the same GUID already exists. ";
|
|
||||||
case FMOD.RESULT.ERR_EVENT_INFOONLY: return "Can't execute this command on an EVENT_INFOONLY event. ";
|
|
||||||
case FMOD.RESULT.ERR_EVENT_INTERNAL: return "An error occured that wasn't supposed to. See debug log for reason. ";
|
|
||||||
case FMOD.RESULT.ERR_EVENT_MAXSTREAMS: return "Event failed because 'Max streams' was hit when FMOD_INIT_FAIL_ON_MAXSTREAMS was specified. ";
|
|
||||||
case FMOD.RESULT.ERR_EVENT_MISMATCH: return "FSB mis-matches the FEV it was compiled with. ";
|
|
||||||
case FMOD.RESULT.ERR_EVENT_NAMECONFLICT: return "A category with the same name already exists. ";
|
|
||||||
case FMOD.RESULT.ERR_EVENT_NEEDSSIMPLE: return "Tried to call a function on a complex event that's only supported by simple events. ";
|
|
||||||
case FMOD.RESULT.ERR_EVENT_NOTFOUND: return "The requested event, event group, event category or event property could not be found. ";
|
|
||||||
case FMOD.RESULT.ERR_EVENT_ALREADY_LOADED: return "The specified project has already been loaded. Having multiple copies of the same project loaded simultaneously is forbidden. ";
|
|
||||||
|
|
||||||
case FMOD.RESULT.ERR_MUSIC_NOCALLBACK: return "The music callback is required, but it has not been set. ";
|
|
||||||
case FMOD.RESULT.ERR_MUSIC_UNINITIALIZED: return "Music system is not initialized probably because no music data is loaded. ";
|
|
||||||
case FMOD.RESULT.ERR_MUSIC_NOTFOUND: return "The requested music entity could not be found.";
|
|
||||||
|
|
||||||
default : return "Unknown error.";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,199 +0,0 @@
|
|||||||
/* ============================================================================================= */
|
|
||||||
/* FMOD Ex - Memory info header file. Copyright (c), Firelight Technologies Pty, Ltd. 2009-2014. */
|
|
||||||
/* */
|
|
||||||
/* Use this header if you are interested in getting detailed information on FMOD's memory */
|
|
||||||
/* usage. See the documentation for more details. */
|
|
||||||
/* */
|
|
||||||
/* ============================================================================================= */
|
|
||||||
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
|
|
||||||
namespace FMOD
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
[STRUCTURE]
|
|
||||||
[
|
|
||||||
[DESCRIPTION]
|
|
||||||
Structure to be filled with detailed memory usage information of an FMOD object
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Every public FMOD class has a getMemoryInfo function which can be used to get detailed information on what memory resources are associated with the object in question.
|
|
||||||
On return from getMemoryInfo, each member of this structure will hold the amount of memory used for its type in bytes.<br>
|
|
||||||
<br>
|
|
||||||
Members marked with [in] mean the user sets the value before passing it to the function.<br>
|
|
||||||
Members marked with [out] mean FMOD sets the value to be used after the function exits.<br>
|
|
||||||
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
System::getMemoryInfo
|
|
||||||
EventSystem::getMemoryInfo
|
|
||||||
FMOD_MEMBITS
|
|
||||||
FMOD_EVENT_MEMBITS
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
|
||||||
public struct MEMORY_USAGE_DETAILS
|
|
||||||
{
|
|
||||||
public uint other; /* [out] Memory not accounted for by other types */
|
|
||||||
public uint stringdata; /* [out] String data */
|
|
||||||
public uint system; /* [out] System object and various internals */
|
|
||||||
public uint plugins; /* [out] Plugin objects and internals */
|
|
||||||
public uint output; /* [out] Output module object and internals */
|
|
||||||
public uint channel; /* [out] Channel related memory */
|
|
||||||
public uint channelgroup; /* [out] ChannelGroup objects and internals */
|
|
||||||
public uint codec; /* [out] Codecs allocated for streaming */
|
|
||||||
public uint file; /* [out] File buffers and structures */
|
|
||||||
public uint sound; /* [out] Sound objects and internals */
|
|
||||||
public uint secondaryram; /* [out] Sound data stored in secondary RAM */
|
|
||||||
public uint soundgroup; /* [out] SoundGroup objects and internals */
|
|
||||||
public uint streambuffer; /* [out] Stream buffer memory */
|
|
||||||
public uint dspconnection; /* [out] DSPConnection objects and internals */
|
|
||||||
public uint dsp; /* [out] DSP implementation objects */
|
|
||||||
public uint dspcodec; /* [out] Realtime file format decoding DSP objects */
|
|
||||||
public uint profile; /* [out] Profiler memory footprint. */
|
|
||||||
public uint recordbuffer; /* [out] Buffer used to store recorded data from microphone */
|
|
||||||
public uint reverb; /* [out] Reverb implementation objects */
|
|
||||||
public uint reverbchannelprops; /* [out] Reverb channel properties structs */
|
|
||||||
public uint geometry; /* [out] Geometry objects and internals */
|
|
||||||
public uint syncpoint; /* [out] Sync point memory. */
|
|
||||||
public uint eventsystem; /* [out] EventSystem and various internals */
|
|
||||||
public uint musicsystem; /* [out] MusicSystem and various internals */
|
|
||||||
public uint fev; /* [out] Definition of objects contained in all loaded projects e.g. events, groups, categories */
|
|
||||||
public uint memoryfsb; /* [out] Data loaded with registerMemoryFSB */
|
|
||||||
public uint eventproject; /* [out] EventProject objects and internals */
|
|
||||||
public uint eventgroupi; /* [out] EventGroup objects and internals */
|
|
||||||
public uint soundbankclass; /* [out] Objects used to manage wave banks */
|
|
||||||
public uint soundbanklist; /* [out] Data used to manage lists of wave bank usage */
|
|
||||||
public uint streaminstance; /* [out] Stream objects and internals */
|
|
||||||
public uint sounddefclass; /* [out] Sound definition objects */
|
|
||||||
public uint sounddefdefclass; /* [out] Sound definition static data objects */
|
|
||||||
public uint sounddefpool; /* [out] Sound definition pool data */
|
|
||||||
public uint reverbdef; /* [out] Reverb definition objects */
|
|
||||||
public uint eventreverb; /* [out] Reverb objects */
|
|
||||||
public uint userproperty; /* [out] User property objects */
|
|
||||||
public uint eventinstance; /* [out] Event instance base objects */
|
|
||||||
public uint eventinstance_complex; /* [out] Complex event instance objects */
|
|
||||||
public uint eventinstance_simple; /* [out] Simple event instance objects */
|
|
||||||
public uint eventinstance_layer; /* [out] Event layer instance objects */
|
|
||||||
public uint eventinstance_sound; /* [out] Event sound instance objects */
|
|
||||||
public uint eventenvelope; /* [out] Event envelope objects */
|
|
||||||
public uint eventenvelopedef; /* [out] Event envelope definition objects */
|
|
||||||
public uint eventparameter; /* [out] Event parameter objects */
|
|
||||||
public uint eventcategory; /* [out] Event category objects */
|
|
||||||
public uint eventenvelopepoint; /* [out] Event envelope point objects */
|
|
||||||
public uint eventinstancepool; /* [out] Event instance pool memory */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
[DEFINE]
|
|
||||||
[
|
|
||||||
[NAME]
|
|
||||||
FMOD_MEMBITS
|
|
||||||
|
|
||||||
[DESCRIPTION]
|
|
||||||
Bitfield used to request specific memory usage information from the getMemoryInfo function of every public FMOD Ex class.<br>
|
|
||||||
Use with the "memorybits" parameter of getMemoryInfo to get information on FMOD Ex memory usage.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Every public FMOD class has a getMemoryInfo function which can be used to get detailed information on what memory resources are associated with the object in question.
|
|
||||||
The FMOD_MEMBITS defines can be OR'd together to specify precisely what memory usage you'd like to get information on. See System::getMemoryInfo for an example.
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii, Solaris
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
FMOD_EVENT_MEMBITS
|
|
||||||
EventSystem::getMemoryInfo
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum MEMBITS :uint
|
|
||||||
{
|
|
||||||
OTHER = 0x00000001, /* Memory not accounted for by other types */
|
|
||||||
STRING = 0x00000002, /* String data */
|
|
||||||
|
|
||||||
SYSTEM = 0x00000004, /* System object and various internals */
|
|
||||||
PLUGINS = 0x00000008, /* Plugin objects and internals */
|
|
||||||
OUTPUT = 0x00000010, /* Output module object and internals */
|
|
||||||
CHANNEL = 0x00000020, /* Channel related memory */
|
|
||||||
CHANNELGROUP = 0x00000040, /* ChannelGroup objects and internals */
|
|
||||||
CODEC = 0x00000080, /* Codecs allocated for streaming */
|
|
||||||
FILE = 0x00000100, /* Codecs allocated for streaming */
|
|
||||||
SOUND = 0x00000200, /* Sound objects and internals */
|
|
||||||
SOUND_SECONDARYRAM = 0x00000400, /* Sound data stored in secondary RAM */
|
|
||||||
SOUNDGROUP = 0x00000800, /* SoundGroup objects and internals */
|
|
||||||
STREAMBUFFER = 0x00001000, /* Stream buffer memory */
|
|
||||||
DSPCONNECTION = 0x00002000, /* DSPConnection objects and internals */
|
|
||||||
DSP = 0x00004000, /* DSP implementation objects */
|
|
||||||
DSPCODEC = 0x00008000, /* Realtime file format decoding DSP objects */
|
|
||||||
PROFILE = 0x00010000, /* Profiler memory footprint. */
|
|
||||||
RECORDBUFFER = 0x00020000, /* Buffer used to store recorded data from microphone */
|
|
||||||
REVERB = 0x00040000, /* Reverb implementation objects */
|
|
||||||
REVERBCHANNELPROPS = 0x00080000, /* Reverb channel properties structs */
|
|
||||||
GEOMETRY = 0x00100000, /* Geometry objects and internals */
|
|
||||||
SYNCPOINT = 0x00200000, /* Sync point memory. */
|
|
||||||
ALL = 0xffffffff /* All memory used by FMOD Ex */
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
[DEFINE]
|
|
||||||
[
|
|
||||||
[NAME]
|
|
||||||
FMOD_EVENT_MEMBITS
|
|
||||||
|
|
||||||
[DESCRIPTION]
|
|
||||||
Bitfield used to request specific memory usage information from the getMemoryInfo function of every public FMOD Event System class.<br>
|
|
||||||
Use with the "event_memorybits" parameter of getMemoryInfo to get information on FMOD Event System memory usage.
|
|
||||||
|
|
||||||
[REMARKS]
|
|
||||||
Every public FMOD Event System class has a getMemoryInfo function which can be used to get detailed information on what memory resources are associated with the object in question.
|
|
||||||
The FMOD_EVENT_MEMBITS defines can be OR'd together to specify precisely what memory usage you'd like to get information on. See EventSystem::getMemoryInfo for an example.
|
|
||||||
|
|
||||||
[PLATFORMS]
|
|
||||||
Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii, Solaris
|
|
||||||
|
|
||||||
[SEE_ALSO]
|
|
||||||
FMOD_MEMBITS
|
|
||||||
System::getMemoryInfo
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
public enum EVENT_MEMBITS :uint
|
|
||||||
{
|
|
||||||
EVENTSYSTEM = 0x00000001, /* EventSystem and various internals */
|
|
||||||
MUSICSYSTEM = 0x00000002, /* MusicSystem and various internals */
|
|
||||||
FEV = 0x00000004, /* Definition of objects contained in all loaded projects e.g. events, groups, categories */
|
|
||||||
MEMORYFSB = 0x00000008, /* Data loaded with registerMemoryFSB */
|
|
||||||
EVENTPROJECT = 0x00000010, /* EventProject objects and internals */
|
|
||||||
EVENTGROUPI = 0x00000020, /* EventGroup objects and internals */
|
|
||||||
SOUNDBANKCLASS = 0x00000040, /* Objects used to manage wave banks */
|
|
||||||
SOUNDBANKLIST = 0x00000080, /* Data used to manage lists of wave bank usage */
|
|
||||||
STREAMINSTANCE = 0x00000100, /* Stream objects and internals */
|
|
||||||
SOUNDDEFCLASS = 0x00000200, /* Sound definition objects */
|
|
||||||
SOUNDDEFDEFCLASS = 0x00000400, /* Sound definition static data objects */
|
|
||||||
SOUNDDEFPOOL = 0x00000800, /* Sound definition pool data */
|
|
||||||
REVERBDEF = 0x00001000, /* Reverb definition objects */
|
|
||||||
EVENTREVERB = 0x00002000, /* Reverb objects */
|
|
||||||
USERPROPERTY = 0x00004000, /* User property objects */
|
|
||||||
EVENTINSTANCE = 0x00008000, /* Event instance base objects */
|
|
||||||
EVENTINSTANCE_COMPLEX = 0x00010000, /* Complex event instance objects */
|
|
||||||
EVENTINSTANCE_SIMPLE = 0x00020000, /* Simple event instance objects */
|
|
||||||
EVENTINSTANCE_LAYER = 0x00040000, /* Event layer instance objects */
|
|
||||||
EVENTINSTANCE_SOUND = 0x00080000, /* Event sound instance objects */
|
|
||||||
EVENTENVELOPE = 0x00100000, /* Event envelope objects */
|
|
||||||
EVENTENVELOPEDEF = 0x00200000, /* Event envelope definition objects */
|
|
||||||
EVENTPARAMETER = 0x00400000, /* Event parameter objects */
|
|
||||||
EVENTCATEGORY = 0x00800000, /* Event category objects */
|
|
||||||
EVENTENVELOPEPOINT = 0x01000000, /* Event envelope point objects */
|
|
||||||
EVENTINSTANCEPOOL = 0x02000000, /* Event instance pool data */
|
|
||||||
ALL = 0xffffffff, /* All memory used by FMOD Event System */
|
|
||||||
|
|
||||||
/* All event instance memory */
|
|
||||||
EVENTINSTANCE_GROUP = (EVENTINSTANCE | EVENTINSTANCE_COMPLEX | EVENTINSTANCE_SIMPLE | EVENTINSTANCE_LAYER | EVENTINSTANCE_SOUND),
|
|
||||||
|
|
||||||
/* All sound definition memory */
|
|
||||||
SOUNDDEF_GROUP = (SOUNDDEFCLASS | SOUNDDEFDEFCLASS | SOUNDDEFPOOL)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,132 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Unity_Studio
|
|
||||||
{
|
|
||||||
class unityFont
|
|
||||||
{
|
|
||||||
public string m_Name;
|
|
||||||
public byte[] m_FontData;
|
|
||||||
public string extension;
|
|
||||||
|
|
||||||
public unityFont(AssetPreloadData preloadData)
|
|
||||||
{
|
|
||||||
var sourceFile = preloadData.sourceFile;
|
|
||||||
var a_Stream = preloadData.sourceFile.a_Stream;
|
|
||||||
a_Stream.Position = preloadData.Offset;
|
|
||||||
|
|
||||||
if (sourceFile.platform == -2)
|
|
||||||
{
|
|
||||||
uint m_ObjectHideFlags = a_Stream.ReadUInt32();
|
|
||||||
PPtr m_PrefabParentObject = sourceFile.ReadPPtr();
|
|
||||||
PPtr m_PrefabInternal = sourceFile.ReadPPtr();
|
|
||||||
}
|
|
||||||
|
|
||||||
m_Name = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
|
||||||
|
|
||||||
int m_AsciiStartOffset = a_Stream.ReadInt32();
|
|
||||||
|
|
||||||
if (sourceFile.version[0] <= 3)
|
|
||||||
{
|
|
||||||
int m_FontCountX = a_Stream.ReadInt32();
|
|
||||||
int m_FontCountY = a_Stream.ReadInt32();
|
|
||||||
}
|
|
||||||
|
|
||||||
float m_Kerning = a_Stream.ReadSingle();
|
|
||||||
float m_LineSpacing = a_Stream.ReadSingle();
|
|
||||||
|
|
||||||
if (sourceFile.version[0] <= 3)
|
|
||||||
{
|
|
||||||
int m_PerCharacterKerning_size = a_Stream.ReadInt32();
|
|
||||||
for (int i = 0; i < m_PerCharacterKerning_size; i++)
|
|
||||||
{
|
|
||||||
int first = a_Stream.ReadInt32();
|
|
||||||
float second = a_Stream.ReadSingle();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
int m_CharacterSpacing = a_Stream.ReadInt32();
|
|
||||||
int m_CharacterPadding = a_Stream.ReadInt32();
|
|
||||||
}
|
|
||||||
|
|
||||||
int m_ConvertCase = a_Stream.ReadInt32();
|
|
||||||
PPtr m_DefaultMaterial = sourceFile.ReadPPtr();
|
|
||||||
|
|
||||||
int m_CharacterRects_size = a_Stream.ReadInt32();
|
|
||||||
for (int i = 0; i < m_CharacterRects_size; i++)
|
|
||||||
{
|
|
||||||
int index = a_Stream.ReadInt32();
|
|
||||||
//Rectf uv
|
|
||||||
float uvx = a_Stream.ReadSingle();
|
|
||||||
float uvy = a_Stream.ReadSingle();
|
|
||||||
float uvwidth = a_Stream.ReadSingle();
|
|
||||||
float uvheight = a_Stream.ReadSingle();
|
|
||||||
//Rectf vert
|
|
||||||
float vertx = a_Stream.ReadSingle();
|
|
||||||
float verty = a_Stream.ReadSingle();
|
|
||||||
float vertwidth = a_Stream.ReadSingle();
|
|
||||||
float vertheight = a_Stream.ReadSingle();
|
|
||||||
float width = a_Stream.ReadSingle();
|
|
||||||
|
|
||||||
if (sourceFile.version[0] >= 4)
|
|
||||||
{
|
|
||||||
bool flipped = a_Stream.ReadBoolean();
|
|
||||||
a_Stream.Position += 3;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
PPtr m_Texture = sourceFile.ReadPPtr();
|
|
||||||
|
|
||||||
int m_KerningValues_size = a_Stream.ReadInt32();
|
|
||||||
for (int i = 0; i < m_KerningValues_size; i++)
|
|
||||||
{
|
|
||||||
int pairfirst = a_Stream.ReadInt16();
|
|
||||||
int pairsecond = a_Stream.ReadInt16();
|
|
||||||
float second = a_Stream.ReadSingle();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (sourceFile.version[0] <= 3)
|
|
||||||
{
|
|
||||||
bool m_GridFont = a_Stream.ReadBoolean();
|
|
||||||
a_Stream.Position += 3; //4 byte alignment
|
|
||||||
}
|
|
||||||
else { float m_PixelScale = a_Stream.ReadSingle(); }
|
|
||||||
|
|
||||||
int m_FontData_size = a_Stream.ReadInt32();
|
|
||||||
if (m_FontData_size > 0)
|
|
||||||
{
|
|
||||||
m_FontData = new byte[m_FontData_size];
|
|
||||||
a_Stream.Read(m_FontData, 0, m_FontData_size);
|
|
||||||
|
|
||||||
if (m_FontData[0] == 79 && m_FontData[1] == 84 && m_FontData[2] == 84 && m_FontData[3] == 79)
|
|
||||||
{ extension = ".otf"; }
|
|
||||||
else { extension = ".ttf"; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
float m_FontSize = a_Stream.ReadSingle();//problem here in minifootball
|
|
||||||
float m_Ascent = a_Stream.ReadSingle();
|
|
||||||
uint m_DefaultStyle = a_Stream.ReadUInt32();
|
|
||||||
|
|
||||||
int m_FontNames = a_Stream.ReadInt32();
|
|
||||||
for (int i = 0; i < m_FontNames; i++)
|
|
||||||
{
|
|
||||||
string m_FontName = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
|
||||||
}
|
|
||||||
|
|
||||||
if (sourceFile.version[0] >= 4)
|
|
||||||
{
|
|
||||||
int m_FallbackFonts = a_Stream.ReadInt32();
|
|
||||||
for (int i = 0; i < m_FallbackFonts; i++)
|
|
||||||
{
|
|
||||||
PPtr m_FallbackFont = sourceFile.ReadPPtr();
|
|
||||||
}
|
|
||||||
|
|
||||||
int m_FontRenderingMode = a_Stream.ReadInt32();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -6,7 +6,7 @@ using System.Runtime.InteropServices;
|
|||||||
// set of attributes. Change these attribute values to modify the information
|
// set of attributes. Change these attribute values to modify the information
|
||||||
// associated with an assembly.
|
// associated with an assembly.
|
||||||
[assembly: AssemblyTitle("Unity Studio")]
|
[assembly: AssemblyTitle("Unity Studio")]
|
||||||
[assembly: AssemblyDescription("- Compatible with all Unity versions from 2.5.0 to 5.2.2\r\n- Compatible with Web, PC, iOS, Android, PS3, Xbox 360, OSX and Linux games/apps\r\n- Automatically merges .split\r\n- 3D objets exported to FBX\r\n- Able to load audio streams from .resS files\r\n- Real-time preview window and export function for textures, audio clips, shaders and fonts\r\n - Textures: DDS (Alpha8bpp, ARGB16bpp, RGB24bpp, ARGB32bpp, BGRA32bpp, RGB565, DXT1, DXT5, RGBA16bpp)\r\n PVR (PVRTC_RGB2, PVRTC_RGBA2, PVRTC_RGBA4, PVRTC_RGB4, ETC_RGB4)\r\n - Audio clips: mp3, ogg, wav, xbox wav\r\n - Shader files are exported in plain-text\r\n - Fonts: ttf, otf")]
|
[assembly: AssemblyDescription("- Compatible with all Unity versions from 2.5.0 to 5.4.0\r\n- Compatible with Web, PC, iOS, Android, PS3, Xbox 360, OSX and Linux games/apps\r\n- Automatically merges .split\r\n- 3D objets exported to FBX\r\n- Able to load audio streams from resources files\r\n- Real-time preview window and export function for textures, audio clips, shaders and fonts\r\n - Textures: DDS (Alpha8, ARGB4444, RGB24, RGBA32, ARGB32, RGB565, DXT1, DXT5, RGBA4444, BGRA32)\r\n PVR (YUY2, PVRTC_RGB2, PVRTC_RGBA2, PVRTC_RGB4, PVRTC_RGBA4, ETC_RGB4, ETC2_RGB, ETC2_RGBA1, ETC2_RGBA8, EAC_R, EAC_R_SIGNED, EAC_RG, EAC_RG_SIGNED)\r\n KTX (ATC_RGB4, ATC_RGBA8)\r\n ASTC (ASTC_RGB_4x4, ASTC_RGB_5x5, ASTC_RGB_6x6, ASTC_RGB_8x8, ASTC_RGB_10x10, ASTC_RGB_12x12, ASTC_RGBA_4x4, ASTC_RGBA_5x5, ASTC_RGBA_6x6, ASTC_RGBA_8x8, ASTC_RGBA_10x10, ASTC_RGBA_12x12)\r\n - Audio clips: mp3, ogg, wav, xbox wav, fsb\r\n - Shader files are exported in plain-text\r\n - Fonts: ttf, otf")]
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("Unity Studio")]
|
[assembly: AssemblyProduct("Unity Studio")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("0.5.0.0")]
|
[assembly: AssemblyVersion("0.6.5.0")]
|
||||||
[assembly: AssemblyFileVersion("0.0.0.0")]
|
[assembly: AssemblyFileVersion("0.6.5.0")]
|
||||||
|
|||||||
36
Unity Studio/Properties/Resources.Designer.cs
generated
36
Unity Studio/Properties/Resources.Designer.cs
generated
@@ -1,10 +1,10 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// 此代码由工具生成。
|
||||||
// Runtime Version:4.0.30319.42000
|
// 运行时版本:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||||
// the code is regenerated.
|
// 重新生成代码,这些更改将会丢失。
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -13,12 +13,12 @@ namespace Unity_Studio.Properties {
|
|||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
/// 一个强类型的资源类,用于查找本地化的字符串等。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
// 此类是由 StronglyTypedResourceBuilder
|
||||||
// class via a tool like ResGen or Visual Studio.
|
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
|
||||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
|
||||||
// with the /str option, or rebuild your VS project.
|
// (以 /str 作为命令选项),或重新生成 VS 项目。
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
@@ -33,7 +33,7 @@ namespace Unity_Studio.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the cached ResourceManager instance used by this class.
|
/// 返回此类使用的缓存的 ResourceManager 实例。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||||
@@ -47,8 +47,8 @@ namespace Unity_Studio.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Overrides the current thread's CurrentUICulture property for all
|
/// 使用此强类型资源类,为所有资源查找
|
||||||
/// resource lookups using this strongly typed resource class.
|
/// 重写当前线程的 CurrentUICulture 属性。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Globalization.CultureInfo Culture {
|
internal static global::System.Globalization.CultureInfo Culture {
|
||||||
@@ -61,7 +61,7 @@ namespace Unity_Studio.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap preview {
|
internal static System.Drawing.Bitmap preview {
|
||||||
get {
|
get {
|
||||||
@@ -69,5 +69,15 @@ namespace Unity_Studio.Properties {
|
|||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 查找类似于 (Icon) 的 System.Drawing.Icon 类型的本地化资源。
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Icon unity {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("unity", resourceCulture);
|
||||||
|
return ((System.Drawing.Icon)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -121,4 +121,7 @@
|
|||||||
<data name="preview" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="preview" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\preview.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\preview.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="unity" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\unity.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
76
Unity Studio/Properties/Settings.Designer.cs
generated
76
Unity Studio/Properties/Settings.Designer.cs
generated
@@ -1,10 +1,10 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// 此代码由工具生成。
|
||||||
// Runtime Version:4.0.30319.42000
|
// 运行时版本:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||||
// the code is regenerated.
|
// 重新生成代码,这些更改将会丢失。
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -25,13 +25,13 @@ namespace Unity_Studio.Properties {
|
|||||||
|
|
||||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||||
public bool uniqueNames {
|
public bool displayAll {
|
||||||
get {
|
get {
|
||||||
return ((bool)(this["uniqueNames"]));
|
return ((bool)(this["displayAll"]));
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
this["uniqueNames"] = value;
|
this["displayAll"] = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -166,5 +166,65 @@ namespace Unity_Studio.Properties {
|
|||||||
this["showExpOpt"] = value;
|
this["showExpOpt"] = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||||
|
public bool exportDeformers {
|
||||||
|
get {
|
||||||
|
return ((bool)(this["exportDeformers"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["exportDeformers"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||||
|
public bool convertDummies {
|
||||||
|
get {
|
||||||
|
return ((bool)(this["convertDummies"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["convertDummies"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||||
|
public bool convertTexture {
|
||||||
|
get {
|
||||||
|
return ((bool)(this["convertTexture"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["convertTexture"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||||
|
public bool convertfsb {
|
||||||
|
get {
|
||||||
|
return ((bool)(this["convertfsb"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["convertfsb"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("PNG")]
|
||||||
|
public string convertType {
|
||||||
|
get {
|
||||||
|
return ((string)(this["convertType"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["convertType"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Unity_Studio.Properties" GeneratedClassName="Settings">
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Unity_Studio.Properties" GeneratedClassName="Settings">
|
||||||
<Profiles />
|
<Profiles />
|
||||||
<Settings>
|
<Settings>
|
||||||
<Setting Name="uniqueNames" Type="System.Boolean" Scope="User">
|
<Setting Name="displayAll" Type="System.Boolean" Scope="User">
|
||||||
<Value Profile="(Default)">True</Value>
|
<Value Profile="(Default)">False</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="enablePreview" Type="System.Boolean" Scope="User">
|
<Setting Name="enablePreview" Type="System.Boolean" Scope="User">
|
||||||
<Value Profile="(Default)">True</Value>
|
<Value Profile="(Default)">True</Value>
|
||||||
@@ -38,5 +38,20 @@
|
|||||||
<Setting Name="showExpOpt" Type="System.Boolean" Scope="User">
|
<Setting Name="showExpOpt" Type="System.Boolean" Scope="User">
|
||||||
<Value Profile="(Default)">False</Value>
|
<Value Profile="(Default)">False</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
|
<Setting Name="exportDeformers" Type="System.Boolean" Scope="User">
|
||||||
|
<Value Profile="(Default)">True</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="convertDummies" Type="System.Boolean" Scope="User">
|
||||||
|
<Value Profile="(Default)">True</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="convertTexture" Type="System.Boolean" Scope="User">
|
||||||
|
<Value Profile="(Default)">True</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="convertfsb" Type="System.Boolean" Scope="User">
|
||||||
|
<Value Profile="(Default)">True</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="convertType" Type="System.String" Scope="User">
|
||||||
|
<Value Profile="(Default)">PNG</Value>
|
||||||
|
</Setting>
|
||||||
</Settings>
|
</Settings>
|
||||||
</SettingsFile>
|
</SettingsFile>
|
||||||
BIN
Unity Studio/Resources/unity.ico
Normal file
BIN
Unity Studio/Resources/unity.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -1,337 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Unity_Studio
|
|
||||||
{
|
|
||||||
class Texture2D
|
|
||||||
{
|
|
||||||
public string m_Name;
|
|
||||||
public int m_Width;
|
|
||||||
public int m_Height;
|
|
||||||
public int m_CompleteImageSize;
|
|
||||||
public int m_TextureFormat;
|
|
||||||
public bool m_MipMap = false;
|
|
||||||
public bool m_IsReadable;
|
|
||||||
public bool m_ReadAllowed;
|
|
||||||
public int m_ImageCount;
|
|
||||||
public int m_TextureDimension;
|
|
||||||
//m_TextureSettings
|
|
||||||
public int m_FilterMode;
|
|
||||||
public int m_Aniso;
|
|
||||||
public float m_MipBias;
|
|
||||||
public int m_WrapMode;
|
|
||||||
public int m_LightmapFormat;
|
|
||||||
public int m_ColorSpace;
|
|
||||||
public byte[] image_data;
|
|
||||||
|
|
||||||
public int dwFlags = 0x1 + 0x2 + 0x4 + 0x1000;
|
|
||||||
//public int dwHeight;
|
|
||||||
//public int dwWidth;
|
|
||||||
public int dwPitchOrLinearSize = 0x0;
|
|
||||||
public int dwMipMapCount = 0x1;
|
|
||||||
public int dwSize = 0x20;
|
|
||||||
public int dwFlags2;
|
|
||||||
public int dwFourCC = 0x0;
|
|
||||||
public int dwRGBBitCount;
|
|
||||||
public int dwRBitMask;
|
|
||||||
public int dwGBitMask;
|
|
||||||
public int dwBBitMask;
|
|
||||||
public int dwABitMask;
|
|
||||||
public int dwCaps = 0x1000;
|
|
||||||
public int dwCaps2 = 0x0;
|
|
||||||
|
|
||||||
public int pvrVersion = 0x03525650;
|
|
||||||
public int pvrFlags = 0x0;
|
|
||||||
public long pvrPixelFormat;
|
|
||||||
public int pvrColourSpace = 0x0;
|
|
||||||
public int pvrChannelType = 0x0;
|
|
||||||
//public int pvrHeight;
|
|
||||||
//public int pvrWidth;
|
|
||||||
public int pvrDepth = 0x1;
|
|
||||||
public int pvrNumSurfaces = 0x1; //For texture arrays
|
|
||||||
public int pvrNumFaces = 0x1; //For cube maps
|
|
||||||
//public int pvrMIPMapCount;
|
|
||||||
public int pvrMetaDataSize = 0x0;
|
|
||||||
|
|
||||||
public int image_data_size;
|
|
||||||
string extension;
|
|
||||||
|
|
||||||
public Texture2D(AssetPreloadData preloadData, bool readSwitch)
|
|
||||||
{
|
|
||||||
var sourceFile = preloadData.sourceFile;
|
|
||||||
var a_Stream = preloadData.sourceFile.a_Stream;
|
|
||||||
a_Stream.Position = preloadData.Offset;
|
|
||||||
|
|
||||||
if (sourceFile.platform == -2)
|
|
||||||
{
|
|
||||||
uint m_ObjectHideFlags = a_Stream.ReadUInt32();
|
|
||||||
PPtr m_PrefabParentObject = sourceFile.ReadPPtr();
|
|
||||||
PPtr m_PrefabInternal = sourceFile.ReadPPtr();
|
|
||||||
}
|
|
||||||
|
|
||||||
m_Name = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
|
||||||
m_Width = a_Stream.ReadInt32();
|
|
||||||
m_Height = a_Stream.ReadInt32();
|
|
||||||
m_CompleteImageSize = a_Stream.ReadInt32();
|
|
||||||
m_TextureFormat = a_Stream.ReadInt32();
|
|
||||||
|
|
||||||
if (m_TextureFormat < 30) { extension = ".dds"; }
|
|
||||||
else if (m_TextureFormat < 35) { extension = ".pvr"; }
|
|
||||||
else { extension = "_" + m_Width.ToString() + "x" + m_Height.ToString() + "." + m_TextureFormat.ToString() + ".tex"; }
|
|
||||||
|
|
||||||
if (sourceFile.version[0] < 5 || (sourceFile.version[0] == 5 && sourceFile.version[1] < 2))
|
|
||||||
{ m_MipMap = a_Stream.ReadBoolean(); }
|
|
||||||
else
|
|
||||||
{
|
|
||||||
dwFlags += 0x20000;
|
|
||||||
dwMipMapCount = a_Stream.ReadInt32();//is this with or without main image?
|
|
||||||
dwCaps += 0x400008;
|
|
||||||
}
|
|
||||||
|
|
||||||
m_IsReadable = a_Stream.ReadBoolean(); //2.6.0 and up
|
|
||||||
m_ReadAllowed = a_Stream.ReadBoolean(); //3.0.0 and up
|
|
||||||
a_Stream.AlignStream(4);
|
|
||||||
|
|
||||||
m_ImageCount = a_Stream.ReadInt32();
|
|
||||||
m_TextureDimension = a_Stream.ReadInt32();
|
|
||||||
//m_TextureSettings
|
|
||||||
m_FilterMode = a_Stream.ReadInt32();
|
|
||||||
m_Aniso = a_Stream.ReadInt32();
|
|
||||||
m_MipBias = a_Stream.ReadSingle();
|
|
||||||
m_WrapMode = a_Stream.ReadInt32();
|
|
||||||
|
|
||||||
if (sourceFile.version[0] >= 3)
|
|
||||||
{
|
|
||||||
m_LightmapFormat = a_Stream.ReadInt32();
|
|
||||||
if (sourceFile.version[0] >= 4 || sourceFile.version[1] >= 5) { m_ColorSpace = a_Stream.ReadInt32(); } //3.5.0 and up
|
|
||||||
}
|
|
||||||
|
|
||||||
image_data_size = a_Stream.ReadInt32();
|
|
||||||
|
|
||||||
if (m_MipMap)
|
|
||||||
{
|
|
||||||
dwFlags += 0x20000;
|
|
||||||
dwMipMapCount = Convert.ToInt32(Math.Log(Math.Max(m_Width, m_Height)) / Math.Log(2));
|
|
||||||
dwCaps += 0x400008;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (readSwitch)
|
|
||||||
{
|
|
||||||
|
|
||||||
image_data = new byte[image_data_size];
|
|
||||||
a_Stream.Read(image_data, 0, image_data_size);
|
|
||||||
|
|
||||||
switch (m_TextureFormat)
|
|
||||||
{
|
|
||||||
case 1: //Alpha8
|
|
||||||
{
|
|
||||||
dwFlags2 = 0x2;
|
|
||||||
dwRGBBitCount = 0x8;
|
|
||||||
dwRBitMask = 0x0;
|
|
||||||
dwGBitMask = 0x0;
|
|
||||||
dwBBitMask = 0x0;
|
|
||||||
dwABitMask = 0xFF;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 2: //A4R4G4B4
|
|
||||||
{
|
|
||||||
if (sourceFile.platform == 11) //swap bytes for Xbox confirmed, PS3 not encountered
|
|
||||||
{
|
|
||||||
for (int i = 0; i < (image_data_size / 2); i++)
|
|
||||||
{
|
|
||||||
byte b0 = image_data[i * 2];
|
|
||||||
image_data[i * 2] = image_data[i * 2 + 1];
|
|
||||||
image_data[i * 2 + 1] = b0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (sourceFile.platform == 13) //swap bits for android
|
|
||||||
{
|
|
||||||
for (int i = 0; i < (image_data_size / 2); i++)
|
|
||||||
{
|
|
||||||
byte[] argb = BitConverter.GetBytes((BitConverter.ToInt32((new byte[4] { image_data[i * 2], image_data[i * 2 + 1], image_data[i * 2], image_data[i * 2 + 1] }), 0)) >> 4);
|
|
||||||
image_data[i * 2] = argb[0];
|
|
||||||
image_data[i * 2 + 1] = argb[1];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dwFlags2 = 0x41;
|
|
||||||
dwRGBBitCount = 0x10;
|
|
||||||
dwRBitMask = 0xF00;
|
|
||||||
dwGBitMask = 0xF0;
|
|
||||||
dwBBitMask = 0xF;
|
|
||||||
dwABitMask = 0xF000;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 3: //B8G8R8 //confirmed on X360, iOS //PS3 unsure
|
|
||||||
{
|
|
||||||
for (int i = 0; i < (image_data_size / 3); i++)
|
|
||||||
{
|
|
||||||
byte b0 = image_data[i * 3];
|
|
||||||
image_data[i * 3] = image_data[i * 3 + 2];
|
|
||||||
//image_data[i * 3 + 1] stays the same
|
|
||||||
image_data[i * 3 + 2] = b0;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
dwFlags2 = 0x40;
|
|
||||||
dwRGBBitCount = 0x18;
|
|
||||||
dwRBitMask = 0xFF0000;
|
|
||||||
dwGBitMask = 0xFF00;
|
|
||||||
dwBBitMask = 0xFF;
|
|
||||||
dwABitMask = 0x0;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 4: //G8R8A8B8 //confirmed on X360, iOS
|
|
||||||
{
|
|
||||||
for (int i = 0; i < (image_data_size / 4); i++)
|
|
||||||
{
|
|
||||||
byte b0 = image_data[i * 4];
|
|
||||||
image_data[i * 4] = image_data[i * 4 + 2];
|
|
||||||
//image_data[i * 4 + 1] stays the same
|
|
||||||
image_data[i * 4 + 2] = b0;
|
|
||||||
//image_data[i * 4 + 3] stays the same
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
dwFlags2 = 0x41;
|
|
||||||
dwRGBBitCount = 0x20;
|
|
||||||
dwRBitMask = 0xFF0000;
|
|
||||||
dwGBitMask = 0xFF00;
|
|
||||||
dwBBitMask = 0xFF;
|
|
||||||
dwABitMask = -16777216;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 5: //B8G8R8A8 //confirmed on X360, PS3, Web, iOS
|
|
||||||
{
|
|
||||||
for (int i = 0; i < (image_data_size / 4); i++)
|
|
||||||
{
|
|
||||||
byte b0 = image_data[i * 4];
|
|
||||||
byte b1 = image_data[i * 4 + 1];
|
|
||||||
image_data[i * 4] = image_data[i * 4 + 3];
|
|
||||||
image_data[i * 4 + 1] = image_data[i * 4 + 2];
|
|
||||||
image_data[i * 4 + 2] = b1;
|
|
||||||
image_data[i * 4 + 3] = b0;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
dwFlags2 = 0x41;
|
|
||||||
dwRGBBitCount = 0x20;
|
|
||||||
dwRBitMask = 0xFF0000;
|
|
||||||
dwGBitMask = 0xFF00;
|
|
||||||
dwBBitMask = 0xFF;
|
|
||||||
dwABitMask = -16777216;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 7: //R5G6B5 //confirmed switched on X360; confirmed on iOS
|
|
||||||
{
|
|
||||||
if (sourceFile.platform == 11)
|
|
||||||
{
|
|
||||||
for (int i = 0; i < (image_data_size / 2); i++)
|
|
||||||
{
|
|
||||||
byte b0 = image_data[i * 2];
|
|
||||||
image_data[i * 2] = image_data[i * 2 + 1];
|
|
||||||
image_data[i * 2 + 1] = b0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dwFlags2 = 0x40;
|
|
||||||
dwRGBBitCount = 0x10;
|
|
||||||
dwRBitMask = 0xF800;
|
|
||||||
dwGBitMask = 0x7E0;
|
|
||||||
dwBBitMask = 0x1F;
|
|
||||||
dwABitMask = 0x0;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 10: //DXT1
|
|
||||||
{
|
|
||||||
if (sourceFile.platform == 11) //X360 only, PS3 not
|
|
||||||
{
|
|
||||||
for (int i = 0; i < (image_data_size / 2); i++)
|
|
||||||
{
|
|
||||||
byte b0 = image_data[i * 2];
|
|
||||||
image_data[i * 2] = image_data[i * 2 + 1];
|
|
||||||
image_data[i * 2 + 1] = b0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (m_MipMap) { dwPitchOrLinearSize = m_Height * m_Width / 2; }
|
|
||||||
dwFlags2 = 0x4;
|
|
||||||
dwFourCC = 0x31545844;
|
|
||||||
dwRGBBitCount = 0x0;
|
|
||||||
dwRBitMask = 0x0;
|
|
||||||
dwGBitMask = 0x0;
|
|
||||||
dwBBitMask = 0x0;
|
|
||||||
dwABitMask = 0x0;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 12: //DXT5
|
|
||||||
{
|
|
||||||
if (sourceFile.platform == 11) //X360, PS3 not
|
|
||||||
{
|
|
||||||
for (int i = 0; i < (image_data_size / 2); i++)
|
|
||||||
{
|
|
||||||
byte b0 = image_data[i * 2];
|
|
||||||
image_data[i * 2] = image_data[i * 2 + 1];
|
|
||||||
image_data[i * 2 + 1] = b0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (m_MipMap) { dwPitchOrLinearSize = m_Height * m_Width / 2; }
|
|
||||||
dwFlags2 = 0x4;
|
|
||||||
dwFourCC = 0x35545844;
|
|
||||||
dwRGBBitCount = 0x0;
|
|
||||||
dwRBitMask = 0x0;
|
|
||||||
dwGBitMask = 0x0;
|
|
||||||
dwBBitMask = 0x0;
|
|
||||||
dwABitMask = 0x0;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 13: //R4G4B4A4, iOS (only?)
|
|
||||||
{
|
|
||||||
for (int i = 0; i < (image_data_size / 2); i++)
|
|
||||||
{
|
|
||||||
byte[] argb = BitConverter.GetBytes((BitConverter.ToInt32((new byte[4] { image_data[i * 2], image_data[i * 2 + 1], image_data[i * 2], image_data[i * 2 + 1] }), 0)) >> 4);
|
|
||||||
image_data[i * 2] = argb[0];
|
|
||||||
image_data[i * 2 + 1] = argb[1];
|
|
||||||
}
|
|
||||||
|
|
||||||
dwFlags2 = 0x41;
|
|
||||||
dwRGBBitCount = 0x10;
|
|
||||||
dwRBitMask = 0xF00;
|
|
||||||
dwGBitMask = 0xF0;
|
|
||||||
dwBBitMask = 0xF;
|
|
||||||
dwABitMask = 0xF000;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 30: //PVRTC_RGB2
|
|
||||||
{
|
|
||||||
pvrPixelFormat = 0x0;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 31: //PVRTC_RGBA2
|
|
||||||
{
|
|
||||||
pvrPixelFormat = 0x1;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 32: //PVRTC_RGB4
|
|
||||||
{
|
|
||||||
pvrPixelFormat = 0x2;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 33: //PVRTC_RGBA4
|
|
||||||
{
|
|
||||||
pvrPixelFormat = 0x3;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 34: //ETC_RGB4
|
|
||||||
{
|
|
||||||
pvrPixelFormat = 0x16;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
187
Unity Studio/Unity Classes/AudioClip.cs
Normal file
187
Unity Studio/Unity Classes/AudioClip.cs
Normal file
@@ -0,0 +1,187 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Unity_Studio
|
||||||
|
{
|
||||||
|
class AudioClip
|
||||||
|
{
|
||||||
|
public string m_Name;
|
||||||
|
public int m_Format;
|
||||||
|
public int m_Type = -1;
|
||||||
|
public bool m_3D;
|
||||||
|
public bool m_UseHardware;
|
||||||
|
|
||||||
|
//Unity 5
|
||||||
|
public int m_LoadType;
|
||||||
|
public int m_Channels;
|
||||||
|
public int m_Frequency;
|
||||||
|
public int m_BitsPerSample;
|
||||||
|
public float m_Length;
|
||||||
|
public bool m_IsTrackerFormat;
|
||||||
|
public int m_SubsoundIndex;
|
||||||
|
public bool m_PreloadAudioData;
|
||||||
|
public bool m_LoadInBackground;
|
||||||
|
public bool m_Legacy3D;
|
||||||
|
public int m_CompressionFormat = -1;
|
||||||
|
|
||||||
|
public string m_Source;
|
||||||
|
public long m_Offset;
|
||||||
|
public long m_Size;
|
||||||
|
public byte[] m_AudioData;
|
||||||
|
|
||||||
|
public AudioClip(AssetPreloadData preloadData, bool readSwitch)
|
||||||
|
{
|
||||||
|
var sourceFile = preloadData.sourceFile;
|
||||||
|
var a_Stream = preloadData.sourceFile.a_Stream;
|
||||||
|
a_Stream.Position = preloadData.Offset;
|
||||||
|
|
||||||
|
if (sourceFile.platform == -2)
|
||||||
|
{
|
||||||
|
uint m_ObjectHideFlags = a_Stream.ReadUInt32();
|
||||||
|
PPtr m_PrefabParentObject = sourceFile.ReadPPtr();
|
||||||
|
PPtr m_PrefabInternal = sourceFile.ReadPPtr();
|
||||||
|
}
|
||||||
|
|
||||||
|
m_Name = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
||||||
|
|
||||||
|
if (sourceFile.version[0] < 5)
|
||||||
|
{
|
||||||
|
|
||||||
|
m_Format = a_Stream.ReadInt32(); //channels?
|
||||||
|
m_Type = a_Stream.ReadInt32();
|
||||||
|
m_3D = a_Stream.ReadBoolean();
|
||||||
|
m_UseHardware = a_Stream.ReadBoolean();
|
||||||
|
a_Stream.Position += 2; //4 byte alignment
|
||||||
|
|
||||||
|
if (sourceFile.version[0] >= 4 || (sourceFile.version[0] == 3 && sourceFile.version[1] >= 2)) //3.2.0 to 5
|
||||||
|
{
|
||||||
|
int m_Stream = a_Stream.ReadInt32();
|
||||||
|
m_Size = a_Stream.ReadInt32();
|
||||||
|
|
||||||
|
if (m_Stream > 1)
|
||||||
|
{
|
||||||
|
m_Offset = a_Stream.ReadInt32();
|
||||||
|
m_Source = sourceFile.filePath + ".resS";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else { m_Size = a_Stream.ReadInt32(); }
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_LoadType = a_Stream.ReadInt32();//Decompress on load, Compressed in memory, Streaming
|
||||||
|
m_Channels = a_Stream.ReadInt32();
|
||||||
|
m_Frequency = a_Stream.ReadInt32();
|
||||||
|
m_BitsPerSample = a_Stream.ReadInt32();
|
||||||
|
m_Length = a_Stream.ReadSingle();
|
||||||
|
m_IsTrackerFormat = a_Stream.ReadBoolean();
|
||||||
|
a_Stream.Position += 3;
|
||||||
|
m_SubsoundIndex = a_Stream.ReadInt32();
|
||||||
|
m_PreloadAudioData = a_Stream.ReadBoolean();
|
||||||
|
m_LoadInBackground = a_Stream.ReadBoolean();
|
||||||
|
m_Legacy3D = a_Stream.ReadBoolean();
|
||||||
|
a_Stream.Position += 1;
|
||||||
|
m_3D = m_Legacy3D;
|
||||||
|
|
||||||
|
m_Source = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
||||||
|
m_Source = Path.Combine(Path.GetDirectoryName(sourceFile.filePath), m_Source.Replace("archive:/", ""));
|
||||||
|
m_Offset = a_Stream.ReadInt64();
|
||||||
|
m_Size = a_Stream.ReadInt64();
|
||||||
|
m_CompressionFormat = a_Stream.ReadInt32();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (readSwitch)
|
||||||
|
{
|
||||||
|
m_AudioData = new byte[m_Size];
|
||||||
|
|
||||||
|
if (m_Source == null)
|
||||||
|
{
|
||||||
|
a_Stream.Read(m_AudioData, 0, (int)m_Size);
|
||||||
|
}
|
||||||
|
else if (File.Exists(m_Source) ||
|
||||||
|
File.Exists(m_Source = Path.Combine(Path.GetDirectoryName(sourceFile.filePath), Path.GetFileName(m_Source))))
|
||||||
|
{
|
||||||
|
BinaryReader reader = new BinaryReader(File.OpenRead(m_Source));
|
||||||
|
reader.BaseStream.Position = m_Offset;
|
||||||
|
reader.Read(m_AudioData, 0, (int)m_Size);
|
||||||
|
reader.Close();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
EndianStream estream = null;
|
||||||
|
if (UnityStudioForm.assetsfileandstream.TryGetValue(Path.GetFileName(m_Source), out estream))
|
||||||
|
{
|
||||||
|
estream.Position = m_Offset;
|
||||||
|
m_AudioData = estream.ReadBytes((int)m_Size);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
preloadData.InfoText = "Compression format: ";
|
||||||
|
|
||||||
|
switch (m_Type)
|
||||||
|
{
|
||||||
|
case 2:
|
||||||
|
preloadData.extension = ".aif";
|
||||||
|
preloadData.InfoText += "AIFF";
|
||||||
|
break;
|
||||||
|
case 13:
|
||||||
|
preloadData.extension = ".mp3";
|
||||||
|
preloadData.InfoText += "MP3";
|
||||||
|
break;
|
||||||
|
case 14:
|
||||||
|
preloadData.extension = ".ogg";
|
||||||
|
preloadData.InfoText += "Ogg Vorbis";
|
||||||
|
break;
|
||||||
|
case 20:
|
||||||
|
preloadData.extension = ".wav";
|
||||||
|
preloadData.InfoText += "WAV";
|
||||||
|
break;
|
||||||
|
case 22: //xbox encoding
|
||||||
|
preloadData.extension = ".wav";
|
||||||
|
preloadData.InfoText += "Xbox360 WAV";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (m_CompressionFormat)
|
||||||
|
{
|
||||||
|
case 0:
|
||||||
|
preloadData.extension = ".fsb";
|
||||||
|
preloadData.InfoText += "PCM";
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
preloadData.extension = ".fsb";
|
||||||
|
preloadData.InfoText += "Vorbis";
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
preloadData.extension = ".fsb";
|
||||||
|
preloadData.InfoText += "ADPCM";
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
preloadData.extension = ".fsb";
|
||||||
|
preloadData.InfoText += "MP3";//not sure
|
||||||
|
break;
|
||||||
|
case 7:
|
||||||
|
preloadData.extension = ".m4a";
|
||||||
|
preloadData.InfoText += "M4a";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (preloadData.extension == null)
|
||||||
|
{
|
||||||
|
preloadData.extension = ".AudioClip";
|
||||||
|
preloadData.InfoText += "Unknown";
|
||||||
|
}
|
||||||
|
preloadData.InfoText += "\n3D: " + m_3D.ToString();
|
||||||
|
|
||||||
|
if (m_Name != "") { preloadData.Text = m_Name; }
|
||||||
|
else { preloadData.Text = preloadData.TypeString + " #" + preloadData.uniqueID; }
|
||||||
|
preloadData.exportSize = (int)m_Size;
|
||||||
|
preloadData.SubItems.AddRange(new string[] { preloadData.TypeString, m_Size.ToString() });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
195
Unity Studio/Unity Classes/Font.cs
Normal file
195
Unity Studio/Unity Classes/Font.cs
Normal file
@@ -0,0 +1,195 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Unity_Studio
|
||||||
|
{
|
||||||
|
class unityFont
|
||||||
|
{
|
||||||
|
public string m_Name;
|
||||||
|
public byte[] m_FontData;
|
||||||
|
|
||||||
|
public unityFont(AssetPreloadData preloadData, bool readSwitch)
|
||||||
|
{
|
||||||
|
var sourceFile = preloadData.sourceFile;
|
||||||
|
var a_Stream = preloadData.sourceFile.a_Stream;
|
||||||
|
a_Stream.Position = preloadData.Offset;
|
||||||
|
|
||||||
|
if (sourceFile.platform == -2)
|
||||||
|
{
|
||||||
|
uint m_ObjectHideFlags = a_Stream.ReadUInt32();
|
||||||
|
PPtr m_PrefabParentObject = sourceFile.ReadPPtr();
|
||||||
|
PPtr m_PrefabInternal = sourceFile.ReadPPtr();
|
||||||
|
}
|
||||||
|
|
||||||
|
m_Name = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
||||||
|
|
||||||
|
if (readSwitch)
|
||||||
|
{
|
||||||
|
if ((sourceFile.version[0] == 5 && sourceFile.version[1] >= 5) || sourceFile.version[0] > 5)
|
||||||
|
{
|
||||||
|
var m_LineSpacing = a_Stream.ReadSingle();
|
||||||
|
var m_DefaultMaterial = sourceFile.ReadPPtr();
|
||||||
|
var m_FontSize = a_Stream.ReadSingle();
|
||||||
|
var m_Texture = sourceFile.ReadPPtr();
|
||||||
|
int m_AsciiStartOffset = a_Stream.ReadInt32();
|
||||||
|
var m_Tracking = a_Stream.ReadSingle();
|
||||||
|
var m_CharacterSpacing = a_Stream.ReadInt32();
|
||||||
|
var m_CharacterPadding = a_Stream.ReadInt32();
|
||||||
|
var m_ConvertCase = a_Stream.ReadInt32();
|
||||||
|
int m_CharacterRects_size = a_Stream.ReadInt32();
|
||||||
|
for (int i = 0; i < m_CharacterRects_size; i++)
|
||||||
|
{
|
||||||
|
int index = a_Stream.ReadInt32();
|
||||||
|
//Rectf uv
|
||||||
|
float uvx = a_Stream.ReadSingle();
|
||||||
|
float uvy = a_Stream.ReadSingle();
|
||||||
|
float uvwidth = a_Stream.ReadSingle();
|
||||||
|
float uvheight = a_Stream.ReadSingle();
|
||||||
|
//Rectf vert
|
||||||
|
float vertx = a_Stream.ReadSingle();
|
||||||
|
float verty = a_Stream.ReadSingle();
|
||||||
|
float vertwidth = a_Stream.ReadSingle();
|
||||||
|
float vertheight = a_Stream.ReadSingle();
|
||||||
|
float width = a_Stream.ReadSingle();
|
||||||
|
|
||||||
|
if (sourceFile.version[0] >= 4)
|
||||||
|
{
|
||||||
|
bool flipped = a_Stream.ReadBoolean();
|
||||||
|
a_Stream.Position += 3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
int m_KerningValues_size = a_Stream.ReadInt32();
|
||||||
|
for (int i = 0; i < m_KerningValues_size; i++)
|
||||||
|
{
|
||||||
|
int pairfirst = a_Stream.ReadInt16();
|
||||||
|
int pairsecond = a_Stream.ReadInt16();
|
||||||
|
float second = a_Stream.ReadSingle();
|
||||||
|
}
|
||||||
|
var m_PixelScale = a_Stream.ReadSingle();
|
||||||
|
int m_FontData_size = a_Stream.ReadInt32();
|
||||||
|
if (m_FontData_size > 0)
|
||||||
|
{
|
||||||
|
m_FontData = new byte[m_FontData_size];
|
||||||
|
a_Stream.Read(m_FontData, 0, m_FontData_size);
|
||||||
|
|
||||||
|
if (m_FontData[0] == 79 && m_FontData[1] == 84 && m_FontData[2] == 84 && m_FontData[3] == 79)
|
||||||
|
{ preloadData.extension = ".otf"; }
|
||||||
|
else { preloadData.extension = ".ttf"; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
int m_AsciiStartOffset = a_Stream.ReadInt32();
|
||||||
|
|
||||||
|
if (sourceFile.version[0] <= 3)
|
||||||
|
{
|
||||||
|
int m_FontCountX = a_Stream.ReadInt32();
|
||||||
|
int m_FontCountY = a_Stream.ReadInt32();
|
||||||
|
}
|
||||||
|
|
||||||
|
float m_Kerning = a_Stream.ReadSingle();
|
||||||
|
float m_LineSpacing = a_Stream.ReadSingle();
|
||||||
|
|
||||||
|
if (sourceFile.version[0] <= 3)
|
||||||
|
{
|
||||||
|
int m_PerCharacterKerning_size = a_Stream.ReadInt32();
|
||||||
|
for (int i = 0; i < m_PerCharacterKerning_size; i++)
|
||||||
|
{
|
||||||
|
int first = a_Stream.ReadInt32();
|
||||||
|
float second = a_Stream.ReadSingle();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
int m_CharacterSpacing = a_Stream.ReadInt32();
|
||||||
|
int m_CharacterPadding = a_Stream.ReadInt32();
|
||||||
|
}
|
||||||
|
|
||||||
|
int m_ConvertCase = a_Stream.ReadInt32();
|
||||||
|
PPtr m_DefaultMaterial = sourceFile.ReadPPtr();
|
||||||
|
|
||||||
|
int m_CharacterRects_size = a_Stream.ReadInt32();
|
||||||
|
for (int i = 0; i < m_CharacterRects_size; i++)
|
||||||
|
{
|
||||||
|
int index = a_Stream.ReadInt32();
|
||||||
|
//Rectf uv
|
||||||
|
float uvx = a_Stream.ReadSingle();
|
||||||
|
float uvy = a_Stream.ReadSingle();
|
||||||
|
float uvwidth = a_Stream.ReadSingle();
|
||||||
|
float uvheight = a_Stream.ReadSingle();
|
||||||
|
//Rectf vert
|
||||||
|
float vertx = a_Stream.ReadSingle();
|
||||||
|
float verty = a_Stream.ReadSingle();
|
||||||
|
float vertwidth = a_Stream.ReadSingle();
|
||||||
|
float vertheight = a_Stream.ReadSingle();
|
||||||
|
float width = a_Stream.ReadSingle();
|
||||||
|
|
||||||
|
if (sourceFile.version[0] >= 4)
|
||||||
|
{
|
||||||
|
bool flipped = a_Stream.ReadBoolean();
|
||||||
|
a_Stream.Position += 3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
PPtr m_Texture = sourceFile.ReadPPtr();
|
||||||
|
|
||||||
|
int m_KerningValues_size = a_Stream.ReadInt32();
|
||||||
|
for (int i = 0; i < m_KerningValues_size; i++)
|
||||||
|
{
|
||||||
|
int pairfirst = a_Stream.ReadInt16();
|
||||||
|
int pairsecond = a_Stream.ReadInt16();
|
||||||
|
float second = a_Stream.ReadSingle();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (sourceFile.version[0] <= 3)
|
||||||
|
{
|
||||||
|
bool m_GridFont = a_Stream.ReadBoolean();
|
||||||
|
a_Stream.Position += 3; //4 byte alignment
|
||||||
|
}
|
||||||
|
else { float m_PixelScale = a_Stream.ReadSingle(); }
|
||||||
|
|
||||||
|
int m_FontData_size = a_Stream.ReadInt32();
|
||||||
|
if (m_FontData_size > 0)
|
||||||
|
{
|
||||||
|
m_FontData = new byte[m_FontData_size];
|
||||||
|
a_Stream.Read(m_FontData, 0, m_FontData_size);
|
||||||
|
|
||||||
|
if (m_FontData[0] == 79 && m_FontData[1] == 84 && m_FontData[2] == 84 && m_FontData[3] == 79)
|
||||||
|
{ preloadData.extension = ".otf"; }
|
||||||
|
else { preloadData.extension = ".ttf"; }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
float m_FontSize = a_Stream.ReadSingle();//problem here in minifootball
|
||||||
|
float m_Ascent = a_Stream.ReadSingle();
|
||||||
|
uint m_DefaultStyle = a_Stream.ReadUInt32();
|
||||||
|
|
||||||
|
int m_FontNames = a_Stream.ReadInt32();
|
||||||
|
for (int i = 0; i < m_FontNames; i++)
|
||||||
|
{
|
||||||
|
string m_FontName = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (sourceFile.version[0] >= 4)
|
||||||
|
{
|
||||||
|
int m_FallbackFonts = a_Stream.ReadInt32();
|
||||||
|
for (int i = 0; i < m_FallbackFonts; i++)
|
||||||
|
{
|
||||||
|
PPtr m_FallbackFont = sourceFile.ReadPPtr();
|
||||||
|
}
|
||||||
|
|
||||||
|
int m_FontRenderingMode = a_Stream.ReadInt32();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (m_Name != "") { preloadData.Text = m_Name; }
|
||||||
|
else { preloadData.Text = preloadData.TypeString + " #" + preloadData.uniqueID; }
|
||||||
|
preloadData.SubItems.AddRange(new string[] { preloadData.TypeString, preloadData.exportSize.ToString() });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -8,8 +8,9 @@ namespace Unity_Studio
|
|||||||
{
|
{
|
||||||
public class GameObject : TreeNode
|
public class GameObject : TreeNode
|
||||||
{
|
{
|
||||||
|
public List<PPtr> m_Components = new List<PPtr>();
|
||||||
public PPtr m_Transform;
|
public PPtr m_Transform;
|
||||||
public PPtr m_Renderer;
|
public PPtr m_MeshRenderer;
|
||||||
public PPtr m_MeshFilter;
|
public PPtr m_MeshFilter;
|
||||||
public PPtr m_SkinnedMeshRenderer;
|
public PPtr m_SkinnedMeshRenderer;
|
||||||
public int m_Layer;
|
public int m_Layer;
|
||||||
@@ -39,25 +40,14 @@ namespace Unity_Studio
|
|||||||
int m_Component_size = a_Stream.ReadInt32();
|
int m_Component_size = a_Stream.ReadInt32();
|
||||||
for (int j = 0; j < m_Component_size; j++)
|
for (int j = 0; j < m_Component_size; j++)
|
||||||
{
|
{
|
||||||
int m_Component_type = a_Stream.ReadInt32();
|
if ((sourceFile.version[0] == 5 && sourceFile.version[1] >= 5) || sourceFile.version[0] > 5)//5.5.0 and up
|
||||||
|
|
||||||
switch (m_Component_type)
|
|
||||||
{
|
{
|
||||||
case 4:
|
m_Components.Add(sourceFile.ReadPPtr());
|
||||||
m_Transform = sourceFile.ReadPPtr();
|
}
|
||||||
break;
|
else
|
||||||
case 23:
|
{
|
||||||
m_Renderer = sourceFile.ReadPPtr();
|
int first = a_Stream.ReadInt32();
|
||||||
break;
|
m_Components.Add(sourceFile.ReadPPtr());
|
||||||
case 33:
|
|
||||||
m_MeshFilter = sourceFile.ReadPPtr();
|
|
||||||
break;
|
|
||||||
case 137:
|
|
||||||
m_SkinnedMeshRenderer = sourceFile.ReadPPtr();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
PPtr m_Component = sourceFile.ReadPPtr();
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -69,6 +59,7 @@ namespace Unity_Studio
|
|||||||
m_IsActive = a_Stream.ReadBoolean();
|
m_IsActive = a_Stream.ReadBoolean();
|
||||||
|
|
||||||
base.Text = m_Name;
|
base.Text = m_Name;
|
||||||
|
preloadData.Text = m_Name;
|
||||||
//name should be unique
|
//name should be unique
|
||||||
base.Name = uniqueID;
|
base.Name = uniqueID;
|
||||||
}
|
}
|
||||||
@@ -93,7 +93,7 @@ But since the -90 rotation from Unity is a regular type, it will show up in the
|
|||||||
Also, re-importing this FBX in Unity will now produce a (-90)+(-90)=-180 rotation.
|
Also, re-importing this FBX in Unity will now produce a (-90)+(-90)=-180 rotation.
|
||||||
This is an unfortunate eyesore, but nothing more, the orientation will be fine.
|
This is an unfortunate eyesore, but nothing more, the orientation will be fine.
|
||||||
|
|
||||||
In theory, one could add +90 degrees rotation to GameObjects that link to Mesh assets (but not other types) and use a different conversion for vertex components.
|
In theory, one could add +90 degrees rotation to GameObjects that link to Mesh assets (but not other types) to cancel out the Unity rotation.
|
||||||
The problem is you can never know where the Unity mesh originated from. If it came from a left-handed format such as OBJ, there wouldn't have been any conversion and it wouldn't have that -90 degree adjustment.
|
The problem is you can never know where the Unity mesh originated from. If it came from a left-handed format such as OBJ, there wouldn't have been any conversion and it wouldn't have that -90 degree adjustment.
|
||||||
So it would "fix" meshes that were originally sourced form FBX, but would still have the "extra" rotation in mehses sourced from left-handed formats.
|
So it would "fix" meshes that were originally sourced form FBX, but would still have the "extra" rotation in mehses sourced from left-handed formats.
|
||||||
*/
|
*/
|
||||||
@@ -107,10 +107,13 @@ namespace Unity_Studio
|
|||||||
public List<SubMesh> m_SubMeshes = new List<SubMesh>();
|
public List<SubMesh> m_SubMeshes = new List<SubMesh>();
|
||||||
public List<uint> m_Indices = new List<uint>(); //use a list because I don't always know the facecount for triangle strips
|
public List<uint> m_Indices = new List<uint>(); //use a list because I don't always know the facecount for triangle strips
|
||||||
public List<int> m_materialIDs = new List<int>();
|
public List<int> m_materialIDs = new List<int>();
|
||||||
public uint m_VertexCount;
|
private uint[] m_IndexBuffer;
|
||||||
private ChannelInfo[] m_Channels;
|
private ChannelInfo[] m_Channels;
|
||||||
private StreamInfo[] m_Streams;
|
private StreamInfo[] m_Streams;
|
||||||
private uint[] m_IndexBuffer;
|
public List<BoneInfluence>[] m_Skin;
|
||||||
|
//public Dictionary<int, float>[] m_Skin;
|
||||||
|
public float[][,] m_BindPose;
|
||||||
|
public int m_VertexCount;
|
||||||
public float[] m_Vertices;
|
public float[] m_Vertices;
|
||||||
public float[] m_Normals;
|
public float[] m_Normals;
|
||||||
public float[] m_Colors;
|
public float[] m_Colors;
|
||||||
@@ -130,6 +133,12 @@ namespace Unity_Studio
|
|||||||
public uint vertexCount;
|
public uint vertexCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class BoneInfluence
|
||||||
|
{
|
||||||
|
public float weight;
|
||||||
|
public int boneIndex;
|
||||||
|
}
|
||||||
|
|
||||||
public class ChannelInfo
|
public class ChannelInfo
|
||||||
{
|
{
|
||||||
public byte stream;
|
public byte stream;
|
||||||
@@ -150,7 +159,7 @@ namespace Unity_Studio
|
|||||||
|
|
||||||
public class PackedBitVector
|
public class PackedBitVector
|
||||||
{
|
{
|
||||||
public uint m_NumItems;
|
public int m_NumItems;
|
||||||
public float m_Range = 1.0f;
|
public float m_Range = 1.0f;
|
||||||
public float m_Start = 0.0f;
|
public float m_Start = 0.0f;
|
||||||
public byte[] m_Data;
|
public byte[] m_Data;
|
||||||
@@ -362,6 +371,7 @@ namespace Unity_Studio
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region subMeshes
|
||||||
int m_SubMeshes_size = a_Stream.ReadInt32();
|
int m_SubMeshes_size = a_Stream.ReadInt32();
|
||||||
for (int s = 0; s < m_SubMeshes_size; s++)
|
for (int s = 0; s < m_SubMeshes_size; s++)
|
||||||
{
|
{
|
||||||
@@ -380,52 +390,64 @@ namespace Unity_Studio
|
|||||||
a_Stream.Position += 24; //Axis-Aligned Bounding Box
|
a_Stream.Position += 24; //Axis-Aligned Bounding Box
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region m_Shapes for 4.1.0 and later, excluding 4.1.0 alpha
|
#region BlendShapeData for 4.1.0 to 4.2.x, excluding 4.1.0 alpha
|
||||||
if (version [0] >= 5 || (version[0] == 4 && (version[1] > 1 || (version[1] == 1 && MeshPD.sourceFile.buildType[0] != "a"))))
|
if (version[0] == 4 && ((version[1] == 1 && MeshPD.sourceFile.buildType[0] != "a") ||
|
||||||
|
(version[1] > 1 && version[1] <= 2)))
|
||||||
{
|
{
|
||||||
if (version[0] == 4 && version[1] <= 2) //4.1.0f4 - 4.2.2f1
|
int m_Shapes_size = a_Stream.ReadInt32();
|
||||||
|
if (m_Shapes_size > 0)
|
||||||
{
|
{
|
||||||
int m_Shapes_size = a_Stream.ReadInt32();
|
//bool stop = true;
|
||||||
if (m_Shapes_size > 0)
|
|
||||||
{
|
|
||||||
bool stop = true;
|
|
||||||
}
|
|
||||||
for (int s = 0; s < m_Shapes_size; s++) //untested
|
|
||||||
{
|
|
||||||
string shape_name = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
|
||||||
a_Stream.Position += 36; //uint firstVertex, vertexCount; Vector3f aabbMinDelta, aabbMaxDelta; bool hasNormals, hasTangents
|
|
||||||
}
|
|
||||||
|
|
||||||
int m_ShapeVertices_size = a_Stream.ReadInt32();
|
|
||||||
a_Stream.Position += m_ShapeVertices_size * 40; //vertex positions, normals, tangents & uint index
|
|
||||||
}
|
}
|
||||||
else //4.3.0 and later
|
for (int s = 0; s < m_Shapes_size; s++) //untested
|
||||||
{
|
{
|
||||||
int m_ShapeVertices_size = a_Stream.ReadInt32();
|
string shape_name = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
||||||
a_Stream.Position += m_ShapeVertices_size * 40; //vertex positions, normals, tangents & uint index
|
a_Stream.Position += 36; //uint firstVertex, vertexCount; Vector3f aabbMinDelta, aabbMaxDelta; bool hasNormals, hasTangents
|
||||||
|
|
||||||
int shapes_size = a_Stream.ReadInt32();
|
|
||||||
a_Stream.Position += shapes_size * 12; //uint firstVertex, vertexCount; bool hasNormals, hasTangents
|
|
||||||
|
|
||||||
int channels_size = a_Stream.ReadInt32();
|
|
||||||
for (int c = 0; c < channels_size; c++)
|
|
||||||
{
|
|
||||||
string channel_name = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
|
||||||
a_Stream.Position += 12; //uint nameHash; int frameIndex, frameCount
|
|
||||||
}
|
|
||||||
|
|
||||||
int fullWeights_size = a_Stream.ReadInt32();
|
|
||||||
a_Stream.Position += fullWeights_size * 4; //floats
|
|
||||||
|
|
||||||
int m_BindPose_size = a_Stream.ReadInt32();
|
|
||||||
a_Stream.Position += m_BindPose_size * 16 * 4; //matrix 4x4
|
|
||||||
|
|
||||||
int m_BoneNameHashes_size = a_Stream.ReadInt32();
|
|
||||||
a_Stream.Position += m_BoneNameHashes_size * 4; //uints
|
|
||||||
|
|
||||||
uint m_RootBoneNameHash = a_Stream.ReadUInt32();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int m_ShapeVertices_size = a_Stream.ReadInt32();
|
||||||
|
a_Stream.Position += m_ShapeVertices_size * 40; //vertex positions, normals, tangents & uint index
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
#region BlendShapeData and BindPose for 4.3.0 and later
|
||||||
|
else if (version[0] >= 5 || (version[0] == 4 && version[1] >= 3))
|
||||||
|
{
|
||||||
|
int m_ShapeVertices_size = a_Stream.ReadInt32();
|
||||||
|
if (m_ShapeVertices_size > 0)
|
||||||
|
{
|
||||||
|
//bool stop = true;
|
||||||
|
}
|
||||||
|
a_Stream.Position += m_ShapeVertices_size * 40; //vertex positions, normals, tangents & uint index
|
||||||
|
|
||||||
|
int shapes_size = a_Stream.ReadInt32();
|
||||||
|
a_Stream.Position += shapes_size * 12; //uint firstVertex, vertexCount; bool hasNormals, hasTangents
|
||||||
|
|
||||||
|
int channels_size = a_Stream.ReadInt32();
|
||||||
|
for (int c = 0; c < channels_size; c++)
|
||||||
|
{
|
||||||
|
string channel_name = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
||||||
|
a_Stream.Position += 12; //uint nameHash; int frameIndex, frameCount
|
||||||
|
}
|
||||||
|
|
||||||
|
int fullWeights_size = a_Stream.ReadInt32();
|
||||||
|
a_Stream.Position += fullWeights_size * 4; //floats
|
||||||
|
|
||||||
|
m_BindPose = new float[a_Stream.ReadInt32()][,];
|
||||||
|
for (int i = 0; i < m_BindPose.Length; i++)
|
||||||
|
{
|
||||||
|
m_BindPose[i] = new float[4,4] {
|
||||||
|
{ a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() },
|
||||||
|
{ a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() },
|
||||||
|
{ a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() },
|
||||||
|
{ a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() } };
|
||||||
|
}
|
||||||
|
|
||||||
|
int m_BoneNameHashes_size = a_Stream.ReadInt32();
|
||||||
|
a_Stream.Position += m_BoneNameHashes_size * 4; //uints
|
||||||
|
|
||||||
|
uint m_RootBoneNameHash = a_Stream.ReadUInt32();
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
@@ -454,7 +476,7 @@ namespace Unity_Studio
|
|||||||
{
|
{
|
||||||
m_IndexBuffer = new uint[m_IndexBuffer_size / 4];
|
m_IndexBuffer = new uint[m_IndexBuffer_size / 4];
|
||||||
for (int i = 0; i < m_IndexBuffer_size / 4; i++) { m_IndexBuffer[i] = a_Stream.ReadUInt32(); }
|
for (int i = 0; i < m_IndexBuffer_size / 4; i++) { m_IndexBuffer[i] = a_Stream.ReadUInt32(); }
|
||||||
//align??
|
a_Stream.AlignStream(4);//untested
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
@@ -462,15 +484,36 @@ namespace Unity_Studio
|
|||||||
#region Vertex Buffer for 3.4.2 and earlier
|
#region Vertex Buffer for 3.4.2 and earlier
|
||||||
if (version[0] < 3 || (version[0] == 3 && version[1] < 5))
|
if (version[0] < 3 || (version[0] == 3 && version[1] < 5))
|
||||||
{
|
{
|
||||||
m_VertexCount = a_Stream.ReadUInt32();
|
m_VertexCount = a_Stream.ReadInt32();
|
||||||
m_Vertices = new float[m_VertexCount * 3];
|
m_Vertices = new float[m_VertexCount * 3];
|
||||||
for (int v = 0; v < m_VertexCount * 3; v++) { m_Vertices[v] = a_Stream.ReadSingle(); }
|
for (int v = 0; v < m_VertexCount * 3; v++) { m_Vertices[v] = a_Stream.ReadSingle(); }
|
||||||
|
|
||||||
int m_Skin_size = a_Stream.ReadInt32();
|
m_Skin = new List<BoneInfluence>[a_Stream.ReadInt32()];
|
||||||
a_Stream.Position += m_Skin_size * 32; //4x float weights & 4x int boneIndices
|
//m_Skin = new Dictionary<int, float>[a_Stream.ReadInt32()];
|
||||||
|
for (int s = 0; s < m_Skin.Length; s++)
|
||||||
|
{
|
||||||
|
m_Skin[s] = new List<BoneInfluence>();
|
||||||
|
for (int i = 0; i < 4; i++) { m_Skin[s].Add(new BoneInfluence() { weight = a_Stream.ReadSingle() }); }
|
||||||
|
for (int i = 0; i < 4; i++) { m_Skin[s][i].boneIndex = a_Stream.ReadInt32(); }
|
||||||
|
|
||||||
int m_BindPose_size = a_Stream.ReadInt32();
|
/*m_Skin[s] = new Dictionary<int, float>();
|
||||||
a_Stream.Position += m_BindPose_size * 16 * 4; //matrix 4x4
|
float[] weights = new float[4] { a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() };
|
||||||
|
for (int i = 0; i < 4; i++)
|
||||||
|
{
|
||||||
|
int boneIndex = a_Stream.ReadInt32();
|
||||||
|
m_Skin[s][boneIndex] = weights[i];
|
||||||
|
}*/
|
||||||
|
}
|
||||||
|
|
||||||
|
m_BindPose = new float[a_Stream.ReadInt32()][,];
|
||||||
|
for (int i = 0; i < m_BindPose.Length; i++)
|
||||||
|
{
|
||||||
|
m_BindPose[i] = new float[4, 4] {
|
||||||
|
{ a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() },
|
||||||
|
{ a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() },
|
||||||
|
{ a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() },
|
||||||
|
{ a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() } };
|
||||||
|
}
|
||||||
|
|
||||||
int m_UV1_size = a_Stream.ReadInt32();
|
int m_UV1_size = a_Stream.ReadInt32();
|
||||||
m_UV1 = new float[m_UV1_size * 2];
|
m_UV1 = new float[m_UV1_size * 2];
|
||||||
@@ -507,19 +550,43 @@ namespace Unity_Studio
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
#region read vertex stream
|
#region read vertex stream
|
||||||
int m_Skin_size = a_Stream.ReadInt32();
|
m_Skin = new List<BoneInfluence>[a_Stream.ReadInt32()];
|
||||||
a_Stream.Position += m_Skin_size * 32; //4x float weights & 4x int boneIndices
|
//m_Skin = new Dictionary<int, float>[a_Stream.ReadInt32()];
|
||||||
|
for (int s = 0; s < m_Skin.Length; s++)
|
||||||
if (version[0] <= 3 || (version[0] == 4 && version[1] <= 2))
|
|
||||||
{
|
{
|
||||||
int m_BindPose_size = a_Stream.ReadInt32();
|
m_Skin[s] = new List<BoneInfluence>();
|
||||||
a_Stream.Position += m_BindPose_size * 16 * 4; //matrix 4x4
|
for (int i = 0; i < 4; i++) { m_Skin[s].Add(new BoneInfluence() { weight = a_Stream.ReadSingle() }); }
|
||||||
|
for (int i = 0; i < 4; i++) { m_Skin[s][i].boneIndex = a_Stream.ReadInt32(); }
|
||||||
|
|
||||||
|
/*m_Skin[s] = new Dictionary<int, float>();
|
||||||
|
float[] weights = new float[4] { a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() };
|
||||||
|
for (int i = 0; i < 4; i++)
|
||||||
|
{
|
||||||
|
int boneIndex = a_Stream.ReadInt32();
|
||||||
|
m_Skin[s][boneIndex] = weights[i];
|
||||||
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
int m_CurrentChannels = a_Stream.ReadInt32();//defined as uint in Unity
|
|
||||||
m_VertexCount = a_Stream.ReadUInt32();
|
|
||||||
|
|
||||||
#region 3.5.0 - 3.5.7
|
if (version[0] == 3 || (version[0] == 4 && version[1] <= 2))
|
||||||
|
{
|
||||||
|
m_BindPose = new float[a_Stream.ReadInt32()][,];
|
||||||
|
for (int i = 0; i < m_BindPose.Length; i++)
|
||||||
|
{
|
||||||
|
m_BindPose[i] = new float[4, 4] {
|
||||||
|
{ a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() },
|
||||||
|
{ a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() },
|
||||||
|
{ a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() },
|
||||||
|
{ a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() } };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
BitArray m_CurrentChannels = new BitArray(new int[1] { a_Stream.ReadInt32() });
|
||||||
|
m_VertexCount = a_Stream.ReadInt32();
|
||||||
|
//int singleStreamStride = 0;//used tor unity 5
|
||||||
|
int streamCount = 0;
|
||||||
|
|
||||||
|
#region streams for 3.5.0 - 3.5.7
|
||||||
if (version[0] < 4)
|
if (version[0] < 4)
|
||||||
{
|
{
|
||||||
if (m_MeshCompression != 0 && version[2] == 0) //special case not just on platform 9
|
if (m_MeshCompression != 0 && version[2] == 0) //special case not just on platform 9
|
||||||
@@ -540,11 +607,9 @@ namespace Unity_Studio
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region 4.0.0 and later
|
#region channels and streams for 4.0.0 and later
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int singleStreamStride = 0;//used tor unity 5
|
|
||||||
|
|
||||||
m_Channels = new ChannelInfo[a_Stream.ReadInt32()];
|
m_Channels = new ChannelInfo[a_Stream.ReadInt32()];
|
||||||
for (int c = 0; c < m_Channels.Length; c++)
|
for (int c = 0; c < m_Channels.Length; c++)
|
||||||
{
|
{
|
||||||
@@ -555,7 +620,9 @@ namespace Unity_Studio
|
|||||||
m_Channels[c].dimension = a_Stream.ReadByte();
|
m_Channels[c].dimension = a_Stream.ReadByte();
|
||||||
|
|
||||||
//calculate stride for Unity 5
|
//calculate stride for Unity 5
|
||||||
singleStreamStride += m_Channels[c].dimension * (4 / (int)Math.Pow(2, m_Channels[c].format));
|
//singleStreamStride += m_Channels[c].dimension * (4 / (int)Math.Pow(2, m_Channels[c].format));
|
||||||
|
|
||||||
|
if (m_Channels[c].stream >= streamCount) { streamCount = m_Channels[c].stream + 1; }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (version[0] < 5)
|
if (version[0] < 5)
|
||||||
@@ -571,32 +638,61 @@ namespace Unity_Studio
|
|||||||
m_Streams[s].frequency = a_Stream.ReadUInt16();
|
m_Streams[s].frequency = a_Stream.ReadUInt16();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else //it's just easier to create my own stream here
|
|
||||||
{
|
|
||||||
m_Streams = new StreamInfo[1];
|
|
||||||
m_Streams[0] = new StreamInfo();
|
|
||||||
m_Streams[0].channelMask = new BitArray(new int[1] { m_CurrentChannels });
|
|
||||||
m_Streams[0].offset = 0;
|
|
||||||
m_Streams[0].stride = singleStreamStride;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
//actual Vertex Buffer
|
//actual Vertex Buffer
|
||||||
byte[] m_DataSize = new byte[a_Stream.ReadInt32()];
|
byte[] m_DataSize = new byte[a_Stream.ReadInt32()];
|
||||||
a_Stream.Read(m_DataSize, 0, m_DataSize.Length);
|
a_Stream.Read(m_DataSize, 0, m_DataSize.Length);
|
||||||
|
|
||||||
|
if (version[0] >= 5) //create streams
|
||||||
|
{
|
||||||
|
m_Streams = new StreamInfo[streamCount];
|
||||||
|
for (int s = 0; s < streamCount; s++)
|
||||||
|
{
|
||||||
|
m_Streams[s] = new StreamInfo();
|
||||||
|
m_Streams[s].channelMask = new BitArray(new int[1] { 0 });
|
||||||
|
m_Streams[s].offset = 0;
|
||||||
|
m_Streams[s].stride = 0;
|
||||||
|
|
||||||
|
foreach (var m_Channel in m_Channels)
|
||||||
|
{
|
||||||
|
if (m_Channel.stream == s) { m_Streams[s].stride += m_Channel.dimension * (4 / (int)Math.Pow(2, m_Channel.format)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
if (s > 0)
|
||||||
|
{
|
||||||
|
m_Streams[s].offset = m_Streams[s - 1].offset + m_Streams[s - 1].stride * m_VertexCount;
|
||||||
|
//sometimes there are 8 bytes between streams
|
||||||
|
//this is NOT an alignment, even if sometimes it may seem so
|
||||||
|
|
||||||
|
if (streamCount == 2) { m_Streams[s].offset = m_DataSize.Length - m_Streams[s].stride * m_VertexCount; }
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_VertexCount = 0;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*var absoluteOffset = a_Stream.Position + 4 + m_Streams[s].offset;
|
||||||
|
if ((absoluteOffset % m_Streams[s].stride) != 0)
|
||||||
|
{
|
||||||
|
m_Streams[s].offset += m_Streams[s].stride - (int)(absoluteOffset % m_Streams[s].stride);
|
||||||
|
}*/
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region compute FvF
|
#region compute FvF
|
||||||
int valueBufferSize = 0;
|
int componentByteSize = 0;
|
||||||
byte[] valueBuffer;
|
byte[] componentBytes;
|
||||||
float[] dstArray;
|
float[] componentsArray;
|
||||||
|
|
||||||
|
#region 4.0.0 and later
|
||||||
if (m_Channels != null)
|
if (m_Channels != null)
|
||||||
{
|
{
|
||||||
//it is better to loop channels instead of streams
|
//it is better to loop channels instead of streams
|
||||||
//because channels are likely to be sorted by vertex property
|
//because channels are likely to be sorted by vertex property
|
||||||
#region 4.0.0 and later
|
|
||||||
foreach (var m_Channel in m_Channels)
|
foreach (var m_Channel in m_Channels)
|
||||||
{
|
{
|
||||||
if (m_Channel.dimension > 0)
|
if (m_Channel.dimension > 0)
|
||||||
@@ -605,12 +701,13 @@ namespace Unity_Studio
|
|||||||
|
|
||||||
for (int b = 0; b < 8; b++)
|
for (int b = 0; b < 8; b++)
|
||||||
{
|
{
|
||||||
if (m_Stream.channelMask.Get(b))
|
//in the future, try to use only m_CurrentChannels
|
||||||
|
if ((version[0] < 5 && m_Stream.channelMask.Get(b)) || (version[0] >= 5 && m_CurrentChannels.Get(b)))
|
||||||
{
|
{
|
||||||
// in Unity 4.x the colors channel has 1 dimension, as in 1 color with 4 components
|
// in Unity 4.x the colors channel has 1 dimension, as in 1 color with 4 components
|
||||||
if (b == 2 && m_Channel.format == 2) { m_Channel.dimension = 4; }
|
if (b == 2 && m_Channel.format == 2) { m_Channel.dimension = 4; }
|
||||||
|
|
||||||
valueBufferSize = 4 / (int)Math.Pow(2, m_Channel.format);
|
componentByteSize = 4 / (int)Math.Pow(2, m_Channel.format);
|
||||||
|
|
||||||
/*switch (m_Channel.format)
|
/*switch (m_Channel.format)
|
||||||
{
|
{
|
||||||
@@ -626,51 +723,39 @@ namespace Unity_Studio
|
|||||||
break;
|
break;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
valueBuffer = new byte[valueBufferSize];
|
componentBytes = new byte[componentByteSize];
|
||||||
dstArray = new float[m_VertexCount * m_Channel.dimension];
|
componentsArray = new float[m_VertexCount * m_Channel.dimension];
|
||||||
|
|
||||||
for (int v = 0; v < m_VertexCount; v++)
|
for (int v = 0; v < m_VertexCount; v++)
|
||||||
{
|
{
|
||||||
|
int vertexOffset = m_Stream.offset + m_Channel.offset + m_Stream.stride * v;
|
||||||
for (int d = 0; d < m_Channel.dimension; d++)
|
for (int d = 0; d < m_Channel.dimension; d++)
|
||||||
{
|
{
|
||||||
int m_DataSizeOffset = m_Stream.offset + m_Channel.offset + m_Stream.stride * v + valueBufferSize * d;
|
int componentOffset = vertexOffset + componentByteSize * d;
|
||||||
Buffer.BlockCopy(m_DataSize, m_DataSizeOffset, valueBuffer, 0, valueBufferSize);
|
Buffer.BlockCopy(m_DataSize, componentOffset, componentBytes, 0, componentByteSize);
|
||||||
dstArray[v * m_Channel.dimension + d] = bytesToFloat(valueBuffer);
|
componentsArray[v * m_Channel.dimension + d] = bytesToFloat(componentBytes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (b)
|
switch (b)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0: m_Vertices = componentsArray; break;
|
||||||
m_Vertices = dstArray;
|
case 1: m_Normals = componentsArray; break;
|
||||||
break;
|
case 2: m_Colors = componentsArray; break;
|
||||||
case 1:
|
case 3: m_UV1 = componentsArray; break;
|
||||||
m_Normals = dstArray;
|
case 4: m_UV2 = componentsArray; break;
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
m_Colors = dstArray;
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
m_UV1 = dstArray;
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
m_UV2 = dstArray;
|
|
||||||
break;
|
|
||||||
case 5:
|
case 5:
|
||||||
if (version[0] == 5) { m_UV3 = dstArray; }
|
if (version[0] == 5) { m_UV3 = componentsArray; }
|
||||||
else { m_Tangents = dstArray; }
|
else { m_Tangents = componentsArray; }
|
||||||
break;
|
|
||||||
case 6:
|
|
||||||
m_UV4 = dstArray;
|
|
||||||
break;
|
|
||||||
case 7:
|
|
||||||
m_Tangents = dstArray;
|
|
||||||
break;
|
break;
|
||||||
|
case 6: m_UV4 = componentsArray; break;
|
||||||
|
case 7: m_Tangents = componentsArray; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_Stream.channelMask.Set(b, false); //is this needed?
|
m_Stream.channelMask.Set(b, false);
|
||||||
valueBuffer = null;
|
m_CurrentChannels.Set(b, false);
|
||||||
dstArray = null;
|
componentBytes = null;
|
||||||
|
componentsArray = null;
|
||||||
break; //go to next channel
|
break; //go to next channel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -697,63 +782,52 @@ namespace Unity_Studio
|
|||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
case 1:
|
case 1:
|
||||||
valueBufferSize = 4;
|
componentByteSize = 4;
|
||||||
m_Channel.dimension = 3;
|
m_Channel.dimension = 3;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
valueBufferSize = 1;
|
componentByteSize = 1;
|
||||||
m_Channel.dimension = 4;
|
m_Channel.dimension = 4;
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
case 4:
|
case 4:
|
||||||
valueBufferSize = 4;
|
componentByteSize = 4;
|
||||||
m_Channel.dimension = 2;
|
m_Channel.dimension = 2;
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
valueBufferSize = 4;
|
componentByteSize = 4;
|
||||||
m_Channel.dimension = 4;
|
m_Channel.dimension = 4;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
valueBuffer = new byte[valueBufferSize];
|
componentBytes = new byte[componentByteSize];
|
||||||
dstArray = new float[m_VertexCount * m_Channel.dimension];
|
componentsArray = new float[m_VertexCount * m_Channel.dimension];
|
||||||
|
|
||||||
for (int v = 0; v < m_VertexCount; v++)
|
for (int v = 0; v < m_VertexCount; v++)
|
||||||
{
|
{
|
||||||
|
int vertexOffset = m_Stream.offset + m_Channel.offset + m_Stream.stride * v;
|
||||||
for (int d = 0; d < m_Channel.dimension; d++)
|
for (int d = 0; d < m_Channel.dimension; d++)
|
||||||
{
|
{
|
||||||
int m_DataSizeOffset = m_Stream.offset + m_Channel.offset + m_Stream.stride * v + valueBufferSize * d;
|
int m_DataSizeOffset = vertexOffset + componentByteSize * d;
|
||||||
Buffer.BlockCopy(m_DataSize, m_DataSizeOffset, valueBuffer, 0, valueBufferSize);
|
Buffer.BlockCopy(m_DataSize, m_DataSizeOffset, componentBytes, 0, componentByteSize);
|
||||||
dstArray[v * m_Channel.dimension + d] = bytesToFloat(valueBuffer);
|
componentsArray[v * m_Channel.dimension + d] = bytesToFloat(componentBytes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (b)
|
switch (b)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0: m_Vertices = componentsArray; break;
|
||||||
m_Vertices = dstArray;
|
case 1: m_Normals = componentsArray; break;
|
||||||
break;
|
case 2: m_Colors = componentsArray; break;
|
||||||
case 1:
|
case 3: m_UV1 = componentsArray; break;
|
||||||
m_Normals = dstArray;
|
case 4: m_UV2 = componentsArray; break;
|
||||||
break;
|
case 5: m_Tangents = componentsArray; break;
|
||||||
case 2:
|
|
||||||
m_Colors = dstArray;
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
m_UV1 = dstArray;
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
m_UV2 = dstArray;
|
|
||||||
break;
|
|
||||||
case 5:
|
|
||||||
m_Tangents = dstArray;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_Channel.offset += (byte)(m_Channel.dimension * valueBufferSize); //strides larger than 255 are unlikely
|
m_Channel.offset += (byte)(m_Channel.dimension * componentByteSize); //safe to cast as byte because strides larger than 255 are unlikely
|
||||||
m_Stream.channelMask.Set(b, false); //is this needed?
|
m_Stream.channelMask.Set(b, false);
|
||||||
valueBuffer = null;
|
componentBytes = null;
|
||||||
dstArray = null;
|
componentsArray = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -767,8 +841,10 @@ namespace Unity_Studio
|
|||||||
if (version[0] >= 3 || (version[0] == 2 && version[1] >= 6))
|
if (version[0] >= 3 || (version[0] == 2 && version[1] >= 6))
|
||||||
{
|
{
|
||||||
//remember there can be combinations of packed and regular vertex properties
|
//remember there can be combinations of packed and regular vertex properties
|
||||||
|
|
||||||
|
#region m_Vertices
|
||||||
PackedBitVector m_Vertices_Packed = new PackedBitVector();
|
PackedBitVector m_Vertices_Packed = new PackedBitVector();
|
||||||
m_Vertices_Packed.m_NumItems = a_Stream.ReadUInt32();
|
m_Vertices_Packed.m_NumItems = a_Stream.ReadInt32();
|
||||||
m_Vertices_Packed.m_Range = a_Stream.ReadSingle();
|
m_Vertices_Packed.m_Range = a_Stream.ReadSingle();
|
||||||
m_Vertices_Packed.m_Start = a_Stream.ReadSingle();
|
m_Vertices_Packed.m_Start = a_Stream.ReadSingle();
|
||||||
m_Vertices_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
m_Vertices_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
||||||
@@ -786,12 +862,14 @@ namespace Unity_Studio
|
|||||||
m_Vertices = new float[m_Vertices_Packed.m_NumItems];
|
m_Vertices = new float[m_Vertices_Packed.m_NumItems];
|
||||||
for (int v = 0; v < m_Vertices_Packed.m_NumItems; v++)
|
for (int v = 0; v < m_Vertices_Packed.m_NumItems; v++)
|
||||||
{
|
{
|
||||||
m_Vertices[v] = (float)m_Vertices_Unpacked[v] / bitmax * m_Vertices_Packed.m_Range + m_Vertices_Packed.m_Start;
|
m_Vertices[v] = (float)((double)m_Vertices_Unpacked[v] / bitmax) * m_Vertices_Packed.m_Range + m_Vertices_Packed.m_Start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
PackedBitVector m_UV_Packed = new PackedBitVector(); //contains both channels
|
#region m_UV
|
||||||
m_UV_Packed.m_NumItems = a_Stream.ReadUInt32();
|
PackedBitVector m_UV_Packed = new PackedBitVector(); //contains all channels
|
||||||
|
m_UV_Packed.m_NumItems = a_Stream.ReadInt32();
|
||||||
m_UV_Packed.m_Range = a_Stream.ReadSingle();
|
m_UV_Packed.m_Range = a_Stream.ReadSingle();
|
||||||
m_UV_Packed.m_Start = a_Stream.ReadSingle();
|
m_UV_Packed.m_Start = a_Stream.ReadSingle();
|
||||||
m_UV_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
m_UV_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
||||||
@@ -800,7 +878,7 @@ namespace Unity_Studio
|
|||||||
m_UV_Packed.m_BitSize = a_Stream.ReadByte();
|
m_UV_Packed.m_BitSize = a_Stream.ReadByte();
|
||||||
a_Stream.Position += 3; //4 byte alignment
|
a_Stream.Position += 3; //4 byte alignment
|
||||||
|
|
||||||
if (m_UV_Packed.m_NumItems > 0)
|
if (m_UV_Packed.m_NumItems > 0 && (bool)Properties.Settings.Default["exportUVs"])
|
||||||
{
|
{
|
||||||
uint[] m_UV_Unpacked = UnpackBitVector(m_UV_Packed);
|
uint[] m_UV_Unpacked = UnpackBitVector(m_UV_Packed);
|
||||||
int bitmax = 0;
|
int bitmax = 0;
|
||||||
@@ -810,7 +888,7 @@ namespace Unity_Studio
|
|||||||
|
|
||||||
for (int v = 0; v < m_VertexCount * 2; v++)
|
for (int v = 0; v < m_VertexCount * 2; v++)
|
||||||
{
|
{
|
||||||
m_UV1[v] = (float)m_UV_Unpacked[v] / bitmax * m_UV_Packed.m_Range + m_UV_Packed.m_Start;
|
m_UV1[v] = (float)((double)m_UV_Unpacked[v] / bitmax) * m_UV_Packed.m_Range + m_UV_Packed.m_Start;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_UV_Packed.m_NumItems >= m_VertexCount * 4)
|
if (m_UV_Packed.m_NumItems >= m_VertexCount * 4)
|
||||||
@@ -818,7 +896,7 @@ namespace Unity_Studio
|
|||||||
m_UV2 = new float[m_VertexCount * 2];
|
m_UV2 = new float[m_VertexCount * 2];
|
||||||
for (uint v = 0; v < m_VertexCount * 2; v++)
|
for (uint v = 0; v < m_VertexCount * 2; v++)
|
||||||
{
|
{
|
||||||
m_UV2[v] = (float)m_UV_Unpacked[v + m_VertexCount * 2] / bitmax * m_UV_Packed.m_Range + m_UV_Packed.m_Start;
|
m_UV2[v] = (float)((double)m_UV_Unpacked[v + m_VertexCount * 2] / bitmax) * m_UV_Packed.m_Range + m_UV_Packed.m_Start;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_UV_Packed.m_NumItems >= m_VertexCount * 6)
|
if (m_UV_Packed.m_NumItems >= m_VertexCount * 6)
|
||||||
@@ -826,7 +904,7 @@ namespace Unity_Studio
|
|||||||
m_UV3 = new float[m_VertexCount * 2];
|
m_UV3 = new float[m_VertexCount * 2];
|
||||||
for (uint v = 0; v < m_VertexCount * 2; v++)
|
for (uint v = 0; v < m_VertexCount * 2; v++)
|
||||||
{
|
{
|
||||||
m_UV3[v] = (float)m_UV_Unpacked[v + m_VertexCount * 4] / bitmax * m_UV_Packed.m_Range + m_UV_Packed.m_Start;
|
m_UV3[v] = (float)((double)m_UV_Unpacked[v + m_VertexCount * 4] / bitmax) * m_UV_Packed.m_Range + m_UV_Packed.m_Start;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_UV_Packed.m_NumItems == m_VertexCount * 8)
|
if (m_UV_Packed.m_NumItems == m_VertexCount * 8)
|
||||||
@@ -834,17 +912,19 @@ namespace Unity_Studio
|
|||||||
m_UV4 = new float[m_VertexCount * 2];
|
m_UV4 = new float[m_VertexCount * 2];
|
||||||
for (uint v = 0; v < m_VertexCount * 2; v++)
|
for (uint v = 0; v < m_VertexCount * 2; v++)
|
||||||
{
|
{
|
||||||
m_UV4[v] = (float)m_UV_Unpacked[v + m_VertexCount * 6] / bitmax * m_UV_Packed.m_Range + m_UV_Packed.m_Start;
|
m_UV4[v] = (float)((double)m_UV_Unpacked[v + m_VertexCount * 6] / bitmax) * m_UV_Packed.m_Range + m_UV_Packed.m_Start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region m_BindPose
|
||||||
if (version[0] < 5)
|
if (version[0] < 5)
|
||||||
{
|
{
|
||||||
PackedBitVector m_BindPoses_Packed = new PackedBitVector();
|
PackedBitVector m_BindPoses_Packed = new PackedBitVector();
|
||||||
m_BindPoses_Packed.m_NumItems = a_Stream.ReadUInt32();
|
m_BindPoses_Packed.m_NumItems = a_Stream.ReadInt32();
|
||||||
m_BindPoses_Packed.m_Range = a_Stream.ReadSingle();
|
m_BindPoses_Packed.m_Range = a_Stream.ReadSingle();
|
||||||
m_BindPoses_Packed.m_Start = a_Stream.ReadSingle();
|
m_BindPoses_Packed.m_Start = a_Stream.ReadSingle();
|
||||||
m_BindPoses_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
m_BindPoses_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
||||||
@@ -852,10 +932,32 @@ namespace Unity_Studio
|
|||||||
a_Stream.AlignStream(4);
|
a_Stream.AlignStream(4);
|
||||||
m_BindPoses_Packed.m_BitSize = a_Stream.ReadByte();
|
m_BindPoses_Packed.m_BitSize = a_Stream.ReadByte();
|
||||||
a_Stream.Position += 3; //4 byte alignment
|
a_Stream.Position += 3; //4 byte alignment
|
||||||
|
|
||||||
|
if (m_BindPoses_Packed.m_NumItems > 0 && (bool)Properties.Settings.Default["exportDeformers"])
|
||||||
|
{
|
||||||
|
uint[] m_BindPoses_Unpacked = UnpackBitVector(m_BindPoses_Packed);
|
||||||
|
int bitmax = 0;//used to convert int value to float
|
||||||
|
for (int b = 0; b < m_BindPoses_Packed.m_BitSize; b++) { bitmax |= (1 << b); }
|
||||||
|
|
||||||
|
m_BindPose = new float[m_BindPoses_Packed.m_NumItems / 16][,];
|
||||||
|
|
||||||
|
for (int i = 0; i < m_BindPose.Length; i++)
|
||||||
|
{
|
||||||
|
m_BindPose[i] = new float[4, 4];
|
||||||
|
for (int j = 0; j < 4; j++)
|
||||||
|
{
|
||||||
|
for (int k = 0; k < 4; k++)
|
||||||
|
{
|
||||||
|
m_BindPose[i][j,k] = (float)((double)m_BindPoses_Unpacked[i * 16 + j * 4 + k] / bitmax) * m_BindPoses_Packed.m_Range + m_BindPoses_Packed.m_Start;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
PackedBitVector m_Normals_Packed = new PackedBitVector();
|
PackedBitVector m_Normals_Packed = new PackedBitVector();
|
||||||
m_Normals_Packed.m_NumItems = a_Stream.ReadUInt32();
|
m_Normals_Packed.m_NumItems = a_Stream.ReadInt32();
|
||||||
m_Normals_Packed.m_Range = a_Stream.ReadSingle();
|
m_Normals_Packed.m_Range = a_Stream.ReadSingle();
|
||||||
m_Normals_Packed.m_Start = a_Stream.ReadSingle();
|
m_Normals_Packed.m_Start = a_Stream.ReadSingle();
|
||||||
m_Normals_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
m_Normals_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
||||||
@@ -865,7 +967,7 @@ namespace Unity_Studio
|
|||||||
a_Stream.Position += 3; //4 byte alignment
|
a_Stream.Position += 3; //4 byte alignment
|
||||||
|
|
||||||
PackedBitVector m_Tangents_Packed = new PackedBitVector();
|
PackedBitVector m_Tangents_Packed = new PackedBitVector();
|
||||||
m_Tangents_Packed.m_NumItems = a_Stream.ReadUInt32();
|
m_Tangents_Packed.m_NumItems = a_Stream.ReadInt32();
|
||||||
m_Tangents_Packed.m_Range = a_Stream.ReadSingle();
|
m_Tangents_Packed.m_Range = a_Stream.ReadSingle();
|
||||||
m_Tangents_Packed.m_Start = a_Stream.ReadSingle();
|
m_Tangents_Packed.m_Start = a_Stream.ReadSingle();
|
||||||
m_Tangents_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
m_Tangents_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
||||||
@@ -874,23 +976,24 @@ namespace Unity_Studio
|
|||||||
m_Tangents_Packed.m_BitSize = a_Stream.ReadByte();
|
m_Tangents_Packed.m_BitSize = a_Stream.ReadByte();
|
||||||
a_Stream.Position += 3; //4 byte alignment
|
a_Stream.Position += 3; //4 byte alignment
|
||||||
|
|
||||||
PackedBitVector m_Weights_Packed = new PackedBitVector();
|
PackedBitVector m_Weights = new PackedBitVector();
|
||||||
m_Weights_Packed.m_NumItems = a_Stream.ReadUInt32();
|
m_Weights.m_NumItems = a_Stream.ReadInt32();
|
||||||
m_Weights_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
m_Weights.m_Data = new byte[a_Stream.ReadInt32()];
|
||||||
a_Stream.Read(m_Weights_Packed.m_Data, 0, m_Weights_Packed.m_Data.Length);
|
a_Stream.Read(m_Weights.m_Data, 0, m_Weights.m_Data.Length);
|
||||||
a_Stream.AlignStream(4);
|
a_Stream.AlignStream(4);
|
||||||
m_Weights_Packed.m_BitSize = a_Stream.ReadByte();
|
m_Weights.m_BitSize = a_Stream.ReadByte();
|
||||||
a_Stream.Position += 3; //4 byte alignment
|
a_Stream.Position += 3; //4 byte alignment
|
||||||
|
|
||||||
|
#region m_Normals
|
||||||
PackedBitVector m_NormalSigns_packed = new PackedBitVector();
|
PackedBitVector m_NormalSigns_packed = new PackedBitVector();
|
||||||
m_NormalSigns_packed.m_NumItems = a_Stream.ReadUInt32();
|
m_NormalSigns_packed.m_NumItems = a_Stream.ReadInt32();
|
||||||
m_NormalSigns_packed.m_Data = new byte[a_Stream.ReadInt32()];
|
m_NormalSigns_packed.m_Data = new byte[a_Stream.ReadInt32()];
|
||||||
a_Stream.Read(m_NormalSigns_packed.m_Data, 0, m_NormalSigns_packed.m_Data.Length);
|
a_Stream.Read(m_NormalSigns_packed.m_Data, 0, m_NormalSigns_packed.m_Data.Length);
|
||||||
a_Stream.AlignStream(4);
|
a_Stream.AlignStream(4);
|
||||||
m_NormalSigns_packed.m_BitSize = a_Stream.ReadByte();
|
m_NormalSigns_packed.m_BitSize = a_Stream.ReadByte();
|
||||||
a_Stream.Position += 3; //4 byte alignment
|
a_Stream.Position += 3; //4 byte alignment
|
||||||
|
|
||||||
if (m_Normals_Packed.m_NumItems > 0)
|
if (m_Normals_Packed.m_NumItems > 0 && (bool)Properties.Settings.Default["exportNormals"])
|
||||||
{
|
{
|
||||||
uint[] m_Normals_Unpacked = UnpackBitVector(m_Normals_Packed);
|
uint[] m_Normals_Unpacked = UnpackBitVector(m_Normals_Packed);
|
||||||
uint[] m_NormalSigns = UnpackBitVector(m_NormalSigns_packed);
|
uint[] m_NormalSigns = UnpackBitVector(m_NormalSigns_packed);
|
||||||
@@ -905,19 +1008,39 @@ namespace Unity_Studio
|
|||||||
if (m_NormalSigns[v] == 0) { m_Normals[v * 3 + 2] *= -1; }
|
if (m_NormalSigns[v] == 0) { m_Normals[v * 3 + 2] *= -1; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
PackedBitVector m_TangentSigns = new PackedBitVector();
|
#region m_Tangents
|
||||||
m_TangentSigns.m_NumItems = a_Stream.ReadUInt32();
|
PackedBitVector m_TangentSigns_packed = new PackedBitVector();
|
||||||
m_TangentSigns.m_Data = new byte[a_Stream.ReadInt32()];
|
m_TangentSigns_packed.m_NumItems = a_Stream.ReadInt32();
|
||||||
a_Stream.Read(m_TangentSigns.m_Data, 0, m_TangentSigns.m_Data.Length);
|
m_TangentSigns_packed.m_Data = new byte[a_Stream.ReadInt32()];
|
||||||
|
a_Stream.Read(m_TangentSigns_packed.m_Data, 0, m_TangentSigns_packed.m_Data.Length);
|
||||||
a_Stream.AlignStream(4);
|
a_Stream.AlignStream(4);
|
||||||
m_TangentSigns.m_BitSize = a_Stream.ReadByte();
|
m_TangentSigns_packed.m_BitSize = a_Stream.ReadByte();
|
||||||
a_Stream.Position += 3; //4 byte alignment
|
a_Stream.Position += 3; //4 byte alignment
|
||||||
|
|
||||||
|
if (m_Tangents_Packed.m_NumItems > 0 && (bool)Properties.Settings.Default["exportTangents"])
|
||||||
|
{
|
||||||
|
uint[] m_Tangents_Unpacked = UnpackBitVector(m_Tangents_Packed);
|
||||||
|
uint[] m_TangentSigns = UnpackBitVector(m_TangentSigns_packed);
|
||||||
|
int bitmax = 0;
|
||||||
|
for (int b = 0; b < m_Tangents_Packed.m_BitSize; b++) { bitmax |= (1 << b); }
|
||||||
|
m_Tangents = new float[m_Tangents_Packed.m_NumItems / 2 * 3];
|
||||||
|
for (int v = 0; v < m_Tangents_Packed.m_NumItems / 2; v++)
|
||||||
|
{
|
||||||
|
m_Tangents[v * 3] = (float)((double)m_Tangents_Unpacked[v * 2] / bitmax) * m_Tangents_Packed.m_Range + m_Tangents_Packed.m_Start;
|
||||||
|
m_Tangents[v * 3 + 1] = (float)((double)m_Tangents_Unpacked[v * 2 + 1] / bitmax) * m_Tangents_Packed.m_Range + m_Tangents_Packed.m_Start;
|
||||||
|
m_Tangents[v * 3 + 2] = (float)Math.Sqrt(1 - m_Tangents[v * 3] * m_Tangents[v * 3] - m_Tangents[v * 3 + 1] * m_Tangents[v * 3 + 1]);
|
||||||
|
if (m_TangentSigns[v] == 0) { m_Tangents[v * 3 + 2] *= -1; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region m_FloatColors
|
||||||
if (version[0] >= 5)
|
if (version[0] >= 5)
|
||||||
{
|
{
|
||||||
PackedBitVector m_FloatColors = new PackedBitVector();
|
PackedBitVector m_FloatColors = new PackedBitVector();
|
||||||
m_FloatColors.m_NumItems = a_Stream.ReadUInt32();
|
m_FloatColors.m_NumItems = a_Stream.ReadInt32();
|
||||||
m_FloatColors.m_Range = a_Stream.ReadSingle();
|
m_FloatColors.m_Range = a_Stream.ReadSingle();
|
||||||
m_FloatColors.m_Start = a_Stream.ReadSingle();
|
m_FloatColors.m_Start = a_Stream.ReadSingle();
|
||||||
m_FloatColors.m_Data = new byte[a_Stream.ReadInt32()];
|
m_FloatColors.m_Data = new byte[a_Stream.ReadInt32()];
|
||||||
@@ -926,7 +1049,7 @@ namespace Unity_Studio
|
|||||||
m_FloatColors.m_BitSize = a_Stream.ReadByte();
|
m_FloatColors.m_BitSize = a_Stream.ReadByte();
|
||||||
a_Stream.Position += 3; //4 byte alignment
|
a_Stream.Position += 3; //4 byte alignment
|
||||||
|
|
||||||
if (m_FloatColors.m_NumItems > 0)
|
if (m_FloatColors.m_NumItems > 0 && (bool)Properties.Settings.Default["exportColors"])
|
||||||
{
|
{
|
||||||
uint[] m_FloatColors_Unpacked = UnpackBitVector(m_FloatColors);
|
uint[] m_FloatColors_Unpacked = UnpackBitVector(m_FloatColors);
|
||||||
int bitmax = 0;
|
int bitmax = 0;
|
||||||
@@ -940,17 +1063,41 @@ namespace Unity_Studio
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region m_Skin
|
||||||
PackedBitVector m_BoneIndices = new PackedBitVector();
|
PackedBitVector m_BoneIndices = new PackedBitVector();
|
||||||
m_BoneIndices.m_NumItems = a_Stream.ReadUInt32();
|
m_BoneIndices.m_NumItems = a_Stream.ReadInt32();
|
||||||
m_BoneIndices.m_Data = new byte[a_Stream.ReadInt32()];
|
m_BoneIndices.m_Data = new byte[a_Stream.ReadInt32()];
|
||||||
a_Stream.Read(m_BoneIndices.m_Data, 0, m_BoneIndices.m_Data.Length);
|
a_Stream.Read(m_BoneIndices.m_Data, 0, m_BoneIndices.m_Data.Length);
|
||||||
a_Stream.AlignStream(4);
|
a_Stream.AlignStream(4);
|
||||||
m_BoneIndices.m_BitSize = a_Stream.ReadByte();
|
m_BoneIndices.m_BitSize = a_Stream.ReadByte();
|
||||||
a_Stream.Position += 3; //4 byte alignment
|
a_Stream.Position += 3; //4 byte alignment
|
||||||
|
|
||||||
|
//how the hell does this work??
|
||||||
|
if (m_BoneIndices.m_NumItems > 0 && m_BoneIndices.m_NumItems == m_Weights.m_NumItems && (bool)Properties.Settings.Default["exportDeformers"])
|
||||||
|
{
|
||||||
|
uint[] m_Weights_Unpacked = UnpackBitVector(m_Weights);
|
||||||
|
int bitmax = 0;
|
||||||
|
for (int b = 0; b < m_Weights.m_BitSize; b++) { bitmax |= (1 << b); }
|
||||||
|
|
||||||
|
uint[] m_BoneIndices_Unpacked = UnpackBitVector(m_BoneIndices);
|
||||||
|
|
||||||
|
m_Skin = new List<BoneInfluence>[m_BoneIndices.m_NumItems / 4];
|
||||||
|
for (int s = 0; s < m_Skin.Length; s++)
|
||||||
|
{
|
||||||
|
m_Skin[s] = new List<BoneInfluence>();
|
||||||
|
for (int i = 0; i < 4; i++)
|
||||||
|
{
|
||||||
|
m_Skin[s].Add(new BoneInfluence() { weight = (float)((double)m_Weights_Unpacked[s * 4 + i] / bitmax),
|
||||||
|
boneIndex = (int)m_BoneIndices_Unpacked[s * 4 + i] });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
PackedBitVector m_Triangles = new PackedBitVector();
|
PackedBitVector m_Triangles = new PackedBitVector();
|
||||||
m_Triangles.m_NumItems = a_Stream.ReadUInt32();
|
m_Triangles.m_NumItems = a_Stream.ReadInt32();
|
||||||
m_Triangles.m_Data = new byte[a_Stream.ReadInt32()];
|
m_Triangles.m_Data = new byte[a_Stream.ReadInt32()];
|
||||||
a_Stream.Read(m_Triangles.m_Data, 0, m_Triangles.m_Data.Length);
|
a_Stream.Read(m_Triangles.m_Data, 0, m_Triangles.m_Data.Length);
|
||||||
a_Stream.AlignStream(4);
|
a_Stream.AlignStream(4);
|
||||||
@@ -980,7 +1127,7 @@ namespace Unity_Studio
|
|||||||
if (version[0] < 5)
|
if (version[0] < 5)
|
||||||
{
|
{
|
||||||
PackedBitVector m_Colors_Packed = new PackedBitVector();
|
PackedBitVector m_Colors_Packed = new PackedBitVector();
|
||||||
m_Colors_Packed.m_NumItems = a_Stream.ReadUInt32();
|
m_Colors_Packed.m_NumItems = a_Stream.ReadInt32();
|
||||||
m_Colors_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
m_Colors_Packed.m_Data = new byte[a_Stream.ReadInt32()];
|
||||||
a_Stream.Read(m_Colors_Packed.m_Data, 0, m_Colors_Packed.m_Data.Length);
|
a_Stream.Read(m_Colors_Packed.m_Data, 0, m_Colors_Packed.m_Data.Length);
|
||||||
a_Stream.AlignStream(4);
|
a_Stream.AlignStream(4);
|
||||||
@@ -1011,6 +1158,7 @@ namespace Unity_Studio
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else { uint m_UVInfo = a_Stream.ReadUInt32(); }
|
||||||
|
|
||||||
a_Stream.Position += 24; //Axis-Aligned Bounding Box
|
a_Stream.Position += 24; //Axis-Aligned Bounding Box
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,7 @@ using System.Text;
|
|||||||
|
|
||||||
namespace Unity_Studio
|
namespace Unity_Studio
|
||||||
{
|
{
|
||||||
class Renderer
|
class MeshRenderer
|
||||||
{
|
{
|
||||||
public PPtr m_GameObject;
|
public PPtr m_GameObject;
|
||||||
public bool m_Enabled;
|
public bool m_Enabled;
|
||||||
@@ -15,7 +15,7 @@ namespace Unity_Studio
|
|||||||
public ushort m_LightmapIndexDynamic;
|
public ushort m_LightmapIndexDynamic;
|
||||||
public PPtr[] m_Materials;
|
public PPtr[] m_Materials;
|
||||||
|
|
||||||
public Renderer(AssetPreloadData preloadData)
|
public MeshRenderer(AssetPreloadData preloadData)
|
||||||
{
|
{
|
||||||
var sourceFile = preloadData.sourceFile;
|
var sourceFile = preloadData.sourceFile;
|
||||||
var a_Stream = preloadData.sourceFile.a_Stream;
|
var a_Stream = preloadData.sourceFile.a_Stream;
|
||||||
182
Unity Studio/Unity Classes/MonoBehaviour.cs
Normal file
182
Unity Studio/Unity Classes/MonoBehaviour.cs
Normal file
@@ -0,0 +1,182 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Unity_Studio
|
||||||
|
{
|
||||||
|
class MonoBehaviour
|
||||||
|
{
|
||||||
|
public string serializedText;
|
||||||
|
|
||||||
|
public MonoBehaviour(AssetPreloadData preloadData, bool readSwitch)
|
||||||
|
{
|
||||||
|
var sourceFile = preloadData.sourceFile;
|
||||||
|
var a_Stream = preloadData.sourceFile.a_Stream;
|
||||||
|
a_Stream.Position = preloadData.Offset;
|
||||||
|
|
||||||
|
var m_GameObject = sourceFile.ReadPPtr();
|
||||||
|
var m_Enabled = a_Stream.ReadByte();
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
var m_Script = sourceFile.ReadPPtr();
|
||||||
|
var m_Name = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
||||||
|
if (readSwitch)
|
||||||
|
{
|
||||||
|
preloadData.extension = ".txt";
|
||||||
|
a_Stream.Position = preloadData.Offset;
|
||||||
|
ClassStrStruct classStructure;
|
||||||
|
if (sourceFile.ClassStructures.TryGetValue(preloadData.Type1, out classStructure))
|
||||||
|
{
|
||||||
|
var member = classStructure.members2;
|
||||||
|
var strs = member.Split(new string[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries);
|
||||||
|
var sb = new StringBuilder();
|
||||||
|
Read(sb, strs, a_Stream);
|
||||||
|
serializedText = sb.ToString();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var str = "PPtr<GameObject> m_GameObject\r\n";
|
||||||
|
str += "\tint m_FileID = " + m_GameObject.m_FileID + "\r\n";
|
||||||
|
str += "\tint64 m_PathID = " + m_GameObject.m_PathID + "\r\n";
|
||||||
|
str += "UInt8 m_Enabled = " + m_Enabled + "\r\n";
|
||||||
|
str += "PPtr<MonoScript> m_Script\r\n";
|
||||||
|
str += "\tint m_FileID = " + m_Script.m_FileID + "\r\n";
|
||||||
|
str += "\tint64 m_PathID = " + m_Script.m_PathID + "\r\n";
|
||||||
|
str += "string m_Name = \"" + m_Name + "\"\r\n";
|
||||||
|
serializedText = str;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (m_Name != "")
|
||||||
|
{
|
||||||
|
preloadData.Text = m_Name;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
preloadData.Text = preloadData.TypeString + " #" + preloadData.uniqueID;
|
||||||
|
}
|
||||||
|
preloadData.SubItems.AddRange(new string[] { preloadData.TypeString, preloadData.Size.ToString() });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Read(StringBuilder sb, string[] strs, EndianStream a_Stream)
|
||||||
|
{
|
||||||
|
for (int i = 0; i < strs.Length; i++)
|
||||||
|
{
|
||||||
|
var strs2 = strs[i].Split('\t');
|
||||||
|
var level = int.Parse(strs2[0]);
|
||||||
|
var varTypeStr = strs2[1];
|
||||||
|
var varNameStr = strs2[2];
|
||||||
|
if (varTypeStr == "SInt8")//sbyte
|
||||||
|
{
|
||||||
|
var value = a_Stream.ReadSByte();
|
||||||
|
sb.AppendFormat("{0}{1} {2} = {3}\r\n", (new string('\t', level)), varTypeStr, varNameStr, value);
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
}
|
||||||
|
else if (varTypeStr == "UInt8")//byte
|
||||||
|
{
|
||||||
|
var value = a_Stream.ReadByte();
|
||||||
|
sb.AppendFormat("{0}{1} {2} = {3}\r\n", (new string('\t', level)), varTypeStr, varNameStr, value);
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
}
|
||||||
|
else if (varTypeStr == "short" || varTypeStr == "SInt16")//Int16
|
||||||
|
{
|
||||||
|
var value = a_Stream.ReadInt16();
|
||||||
|
sb.AppendFormat("{0}{1} {2} = {3}\r\n", (new string('\t', level)), varTypeStr, varNameStr, value);
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
}
|
||||||
|
else if (varTypeStr == "UInt16" || varTypeStr == "unsigned short")//UInt16
|
||||||
|
{
|
||||||
|
var value = a_Stream.ReadUInt16();
|
||||||
|
sb.AppendFormat("{0}{1} {2} = {3}\r\n", (new string('\t', level)), varTypeStr, varNameStr, value);
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
}
|
||||||
|
else if (varTypeStr == "int" || varTypeStr == "SInt32")//Int32
|
||||||
|
{
|
||||||
|
var value = a_Stream.ReadInt32();
|
||||||
|
sb.AppendFormat("{0}{1} {2} = {3}\r\n", (new string('\t', level)), varTypeStr, varNameStr, value);
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
}
|
||||||
|
else if (varTypeStr == "UInt32" || varTypeStr == "unsigned int")//UInt32
|
||||||
|
{
|
||||||
|
var value = a_Stream.ReadUInt32();
|
||||||
|
sb.AppendFormat("{0}{1} {2} = {3}\r\n", (new string('\t', level)), varTypeStr, varNameStr, value);
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
}
|
||||||
|
else if (varTypeStr == "long long" || varTypeStr == "SInt64")//Int64
|
||||||
|
{
|
||||||
|
var value = a_Stream.ReadInt64();
|
||||||
|
sb.AppendFormat("{0}{1} {2} = {3}\r\n", (new string('\t', level)), varTypeStr, varNameStr, value);
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
}
|
||||||
|
else if (varTypeStr == "UInt64" || varTypeStr == "unsigned long long")//UInt64
|
||||||
|
{
|
||||||
|
var value = a_Stream.ReadUInt64();
|
||||||
|
sb.AppendFormat("{0}{1} {2} = {3}\r\n", (new string('\t', level)), varTypeStr, varNameStr, value);
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
}
|
||||||
|
else if (varTypeStr == "float")//float
|
||||||
|
{
|
||||||
|
var value = a_Stream.ReadSingle();
|
||||||
|
sb.AppendFormat("{0}{1} {2} = {3:f}\r\n", (new string('\t', level)), varTypeStr, varNameStr, value);
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
}
|
||||||
|
else if (varTypeStr == "double")//double
|
||||||
|
{
|
||||||
|
var value = a_Stream.ReadDouble();
|
||||||
|
sb.AppendFormat("{0}{1} {2} = {3:f4}\r\n", (new string('\t', level)), varTypeStr, varNameStr, value);
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
}
|
||||||
|
else if (varTypeStr == "bool")//bool
|
||||||
|
{
|
||||||
|
var value = a_Stream.ReadBoolean();
|
||||||
|
sb.AppendFormat("{0}{1} {2} = {3}\r\n", (new string('\t', level)), varTypeStr, varNameStr, value);
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
}
|
||||||
|
else if (varTypeStr == "string")//string
|
||||||
|
{
|
||||||
|
var value = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
||||||
|
sb.AppendFormat("{0}{1} {2} = \"{3}\"\r\n", (new string('\t', level)), varTypeStr, varNameStr, value);
|
||||||
|
i += 3;//skip
|
||||||
|
}
|
||||||
|
else if (varTypeStr == "Array")//Array
|
||||||
|
{
|
||||||
|
sb.AppendFormat("{0}{1} {2}\r\n", (new string('\t', level)), varTypeStr, varNameStr);
|
||||||
|
var size = a_Stream.ReadInt32();
|
||||||
|
sb.AppendFormat("{0}{1} {2} = {3}\r\n", (new string('\t', level)), "int", "size", size);
|
||||||
|
var array = ReadArray(strs, level, i);
|
||||||
|
for (int j = 0; j < size; j++)
|
||||||
|
{
|
||||||
|
sb.AppendFormat("{0}[{1}]\r\n", (new string('\t', level + 1)), j);
|
||||||
|
Read(sb, array, a_Stream);
|
||||||
|
}
|
||||||
|
i += array.Length + 1;//skip
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
sb.AppendFormat("{0}{1} {2}\r\n", (new string('\t', level)), varTypeStr, varNameStr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private string[] ReadArray(string[] strs, int level, int index)
|
||||||
|
{
|
||||||
|
List<string> strs3 = new List<string>();
|
||||||
|
for (int i = index + 2; i < strs.Length; i++)//skip int size
|
||||||
|
{
|
||||||
|
var strs2 = strs[i].Split('\t');
|
||||||
|
var level2 = int.Parse(strs2[0]);
|
||||||
|
if (level2 <= level)
|
||||||
|
{
|
||||||
|
return strs3.ToArray();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
strs3.Add(strs[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return strs3.ToArray();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -16,9 +16,18 @@ namespace Unity_Studio
|
|||||||
var a_Stream = preloadData.sourceFile.a_Stream;
|
var a_Stream = preloadData.sourceFile.a_Stream;
|
||||||
a_Stream.Position = preloadData.Offset;
|
a_Stream.Position = preloadData.Offset;
|
||||||
|
|
||||||
|
|
||||||
|
if ((sourceFile.version[0] == 5 && sourceFile.version[1] >= 5) || sourceFile.version[0] > 5)//5.5.0 nad up
|
||||||
|
{
|
||||||
|
//productGUID
|
||||||
|
a_Stream.ReadInt32();
|
||||||
|
a_Stream.ReadInt32();
|
||||||
|
a_Stream.ReadInt32();
|
||||||
|
a_Stream.ReadInt32();
|
||||||
|
}
|
||||||
if (sourceFile.version[0] >= 3)
|
if (sourceFile.version[0] >= 3)
|
||||||
{
|
{
|
||||||
if (sourceFile.version[0] == 3 && sourceFile.version[1] <2) { string AndroidLicensePublicKey = a_Stream.ReadAlignedString(a_Stream.ReadInt32()); }
|
if (sourceFile.version[0] == 3 && sourceFile.version[1] < 2) { string AndroidLicensePublicKey = a_Stream.ReadAlignedString(a_Stream.ReadInt32()); }
|
||||||
else { bool AndroidProfiler = a_Stream.ReadBoolean(); a_Stream.AlignStream(4); }
|
else { bool AndroidProfiler = a_Stream.ReadBoolean(); a_Stream.AlignStream(4); }
|
||||||
|
|
||||||
int defaultScreenOrientation = a_Stream.ReadInt32();
|
int defaultScreenOrientation = a_Stream.ReadInt32();
|
||||||
@@ -33,7 +42,8 @@ namespace Unity_Studio
|
|||||||
if (sourceFile.version[0] == 5 && (sourceFile.version[1] > 2 || (sourceFile.version[1] == 2 && sourceFile.version[2] >= 1)))
|
if (sourceFile.version[0] == 5 && (sourceFile.version[1] > 2 || (sourceFile.version[1] == 2 && sourceFile.version[2] >= 1)))
|
||||||
{ bool useOnDemandResources = a_Stream.ReadBoolean(); a_Stream.AlignStream(4); }
|
{ bool useOnDemandResources = a_Stream.ReadBoolean(); a_Stream.AlignStream(4); }
|
||||||
|
|
||||||
int targetResolution = a_Stream.ReadInt32();
|
if (sourceFile.version[0] < 5 || (sourceFile.version[0] == 5 && sourceFile.version[1] < 3))
|
||||||
|
{ int targetResolution = a_Stream.ReadInt32(); }
|
||||||
|
|
||||||
if (sourceFile.version[0] == 3 && sourceFile.version[1] <= 1) { bool OverrideIPodMusic = a_Stream.ReadBoolean(); a_Stream.AlignStream(4); }
|
if (sourceFile.version[0] == 3 && sourceFile.version[1] <= 1) { bool OverrideIPodMusic = a_Stream.ReadBoolean(); a_Stream.AlignStream(4); }
|
||||||
else if (sourceFile.version[0] == 3 && sourceFile.version[1] <= 4) { }
|
else if (sourceFile.version[0] == 3 && sourceFile.version[1] <= 4) { }
|
||||||
73
Unity Studio/Unity Classes/Shader.cs
Normal file
73
Unity Studio/Unity Classes/Shader.cs
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Unity_Studio
|
||||||
|
{
|
||||||
|
class Shader
|
||||||
|
{
|
||||||
|
public string m_Name;
|
||||||
|
public byte[] m_Script;
|
||||||
|
public string m_PathName;
|
||||||
|
|
||||||
|
public Shader(AssetPreloadData preloadData, bool readSwitch)
|
||||||
|
{
|
||||||
|
var sourceFile = preloadData.sourceFile;
|
||||||
|
var a_Stream = preloadData.sourceFile.a_Stream;
|
||||||
|
a_Stream.Position = preloadData.Offset;
|
||||||
|
preloadData.extension = ".txt";
|
||||||
|
|
||||||
|
if (sourceFile.platform == -2)
|
||||||
|
{
|
||||||
|
uint m_ObjectHideFlags = a_Stream.ReadUInt32();
|
||||||
|
PPtr m_PrefabParentObject = sourceFile.ReadPPtr();
|
||||||
|
PPtr m_PrefabInternal = sourceFile.ReadPPtr();
|
||||||
|
}
|
||||||
|
|
||||||
|
m_Name = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
||||||
|
if ((sourceFile.version[0] == 5 && sourceFile.version[1] >= 5) || sourceFile.version[0] > 5)
|
||||||
|
{
|
||||||
|
if (readSwitch)
|
||||||
|
{
|
||||||
|
m_Script = Encoding.UTF8.GetBytes("Serialized Shader can't be read");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (m_Name != "") { preloadData.Text = m_Name; }
|
||||||
|
else { preloadData.Text = preloadData.TypeString + " #" + preloadData.uniqueID; }
|
||||||
|
preloadData.SubItems.AddRange(new string[] { preloadData.TypeString, preloadData.exportSize.ToString() });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
int m_Script_size = a_Stream.ReadInt32();
|
||||||
|
|
||||||
|
if (readSwitch) //asset is read for preview or export
|
||||||
|
{
|
||||||
|
m_Script = new byte[m_Script_size];
|
||||||
|
a_Stream.Read(m_Script, 0, m_Script_size);
|
||||||
|
|
||||||
|
if (m_Script[0] == 93) { m_Script = SevenZip.Compression.LZMA.SevenZipHelper.Decompress(m_Script); }
|
||||||
|
if (m_Script[0] == 60 || (m_Script[0] == 239 && m_Script[1] == 187 && m_Script[2] == 191 && m_Script[3] == 60)) { preloadData.extension = ".xml"; }
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
byte lzmaTest = a_Stream.ReadByte();
|
||||||
|
if (lzmaTest == 93)
|
||||||
|
{
|
||||||
|
a_Stream.Position += 4;
|
||||||
|
preloadData.exportSize = a_Stream.ReadInt32(); //actualy int64
|
||||||
|
a_Stream.Position -= 8;
|
||||||
|
}
|
||||||
|
else { preloadData.exportSize = m_Script_size; }
|
||||||
|
|
||||||
|
a_Stream.Position += m_Script_size - 1;
|
||||||
|
|
||||||
|
if (m_Name != "") { preloadData.Text = m_Name; }
|
||||||
|
else { preloadData.Text = preloadData.TypeString + " #" + preloadData.uniqueID; }
|
||||||
|
preloadData.SubItems.AddRange(new string[] { preloadData.TypeString, preloadData.exportSize.ToString() });
|
||||||
|
}
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
m_PathName = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -15,6 +15,7 @@ namespace Unity_Studio
|
|||||||
public ushort m_LightmapIndexDynamic;
|
public ushort m_LightmapIndexDynamic;
|
||||||
public PPtr[] m_Materials;
|
public PPtr[] m_Materials;
|
||||||
public PPtr m_Mesh;
|
public PPtr m_Mesh;
|
||||||
|
public PPtr[] m_Bones;
|
||||||
|
|
||||||
public SkinnedMeshRenderer(AssetPreloadData preloadData)
|
public SkinnedMeshRenderer(AssetPreloadData preloadData)
|
||||||
{
|
{
|
||||||
@@ -59,14 +60,29 @@ namespace Unity_Studio
|
|||||||
m_Materials[m] = sourceFile.ReadPPtr();
|
m_Materials[m] = sourceFile.ReadPPtr();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (version[0] < 3) { a_Stream.Position += 16; } //m_LightmapTilingOffset vector4d
|
if (version[0] < 3)
|
||||||
|
{
|
||||||
|
a_Stream.Position += 16;//m_LightmapTilingOffset vector4d
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int m_SubsetIndices_size = a_Stream.ReadInt32();
|
if ((sourceFile.version[0] == 5 && sourceFile.version[1] >= 5) || sourceFile.version[0] > 5)//5.5.0 and up
|
||||||
a_Stream.Position += m_SubsetIndices_size * 4;
|
{
|
||||||
|
a_Stream.Position += 4;//m_StaticBatchInfo
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
int m_SubsetIndices_size = a_Stream.ReadInt32();
|
||||||
|
a_Stream.Position += m_SubsetIndices_size * 4;
|
||||||
|
}
|
||||||
PPtr m_StaticBatchRoot = sourceFile.ReadPPtr();
|
PPtr m_StaticBatchRoot = sourceFile.ReadPPtr();
|
||||||
|
|
||||||
if (version[0] >= 4 || (version[0] == 3 && version[1] >= 5))
|
if ((sourceFile.version[0] == 5 && sourceFile.version[1] >= 4) || sourceFile.version[0] > 5)//5.4.0 and up
|
||||||
|
{
|
||||||
|
PPtr m_ProbeAnchor = sourceFile.ReadPPtr();
|
||||||
|
PPtr m_LightProbeVolumeOverride = sourceFile.ReadPPtr();
|
||||||
|
}
|
||||||
|
else if (version[0] >= 4 || (version[0] == 3 && version[1] >= 5))
|
||||||
{
|
{
|
||||||
bool m_UseLightProbes = a_Stream.ReadBoolean();
|
bool m_UseLightProbes = a_Stream.ReadBoolean();
|
||||||
a_Stream.Position += 3; //alignment
|
a_Stream.Position += 3; //alignment
|
||||||
@@ -98,28 +114,38 @@ namespace Unity_Studio
|
|||||||
|
|
||||||
m_Mesh = sourceFile.ReadPPtr();
|
m_Mesh = sourceFile.ReadPPtr();
|
||||||
|
|
||||||
/*int m_Bones_size = a_Stream.ReadInt32();
|
m_Bones = new PPtr[a_Stream.ReadInt32()];
|
||||||
for (int b = 0; b < m_Bones_size; b++)
|
for (int b = 0; b < m_Bones.Length; b++)
|
||||||
{
|
{
|
||||||
PPtr aBone = sourceFile.ReadPPtr();
|
m_Bones[b] = sourceFile.ReadPPtr();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (version[0] < 3)
|
if (version[0] < 3)
|
||||||
{
|
{
|
||||||
int m_BindPose_size = a_Stream.ReadInt32();
|
int m_BindPose = a_Stream.ReadInt32();
|
||||||
a_Stream.Position += m_BindPose_size * 16 * 4;//Matrix4x4f
|
a_Stream.Position += m_BindPose * 16 * 4;//Matrix4x4f
|
||||||
}
|
}
|
||||||
else if (version[0] >= 3 && version[1] >= 4)
|
else
|
||||||
{
|
{
|
||||||
if (version[1] >= 5)
|
if (version[0] >= 4 || (version[0] == 4 && version[1] >= 3))
|
||||||
|
{
|
||||||
|
int m_BlendShapeWeights = a_Stream.ReadInt32();
|
||||||
|
a_Stream.Position += m_BlendShapeWeights * 4; //floats
|
||||||
|
}
|
||||||
|
|
||||||
|
if (version[0] >= 4 || (version[0] >= 3 && version[1] >= 5))
|
||||||
{
|
{
|
||||||
PPtr m_RootBone = sourceFile.ReadPPtr();
|
PPtr m_RootBone = sourceFile.ReadPPtr();
|
||||||
}
|
}
|
||||||
//AABB
|
|
||||||
float[] m_Center = new float[] { a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() };
|
if (version[0] >= 4 || (version[0] == 3 && version[1] >= 4))
|
||||||
float[] m_Extent = new float[] { a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() };
|
{
|
||||||
bool m_DirtyAABB = a_Stream.ReadBoolean();
|
//AABB
|
||||||
}*/
|
float[] m_Center = new float[] { a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() };
|
||||||
|
float[] m_Extent = new float[] { a_Stream.ReadSingle(), a_Stream.ReadSingle(), a_Stream.ReadSingle() };
|
||||||
|
bool m_DirtyAABB = a_Stream.ReadBoolean();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -11,14 +11,12 @@ namespace Unity_Studio
|
|||||||
public byte[] m_Script;
|
public byte[] m_Script;
|
||||||
public string m_PathName;
|
public string m_PathName;
|
||||||
|
|
||||||
public int exportSize;
|
|
||||||
public string extension = ".txt";
|
|
||||||
|
|
||||||
public TextAsset(AssetPreloadData preloadData, bool readSwitch)
|
public TextAsset(AssetPreloadData preloadData, bool readSwitch)
|
||||||
{
|
{
|
||||||
var sourceFile = preloadData.sourceFile;
|
var sourceFile = preloadData.sourceFile;
|
||||||
var a_Stream = preloadData.sourceFile.a_Stream;
|
var a_Stream = preloadData.sourceFile.a_Stream;
|
||||||
a_Stream.Position = preloadData.Offset;
|
a_Stream.Position = preloadData.Offset;
|
||||||
|
preloadData.extension = ".txt";
|
||||||
|
|
||||||
if (sourceFile.platform == -2)
|
if (sourceFile.platform == -2)
|
||||||
{
|
{
|
||||||
@@ -37,7 +35,7 @@ namespace Unity_Studio
|
|||||||
a_Stream.Read(m_Script, 0, m_Script_size);
|
a_Stream.Read(m_Script, 0, m_Script_size);
|
||||||
|
|
||||||
if (m_Script[0] == 93) { m_Script = SevenZip.Compression.LZMA.SevenZipHelper.Decompress(m_Script); }
|
if (m_Script[0] == 93) { m_Script = SevenZip.Compression.LZMA.SevenZipHelper.Decompress(m_Script); }
|
||||||
if (m_Script[0] == 60 || (m_Script[0] == 239 && m_Script[1] == 187 && m_Script[2] == 191 && m_Script[3] == 60)) { extension = ".xml"; }
|
if (m_Script[0] == 60 || (m_Script[0] == 239 && m_Script[1] == 187 && m_Script[2] == 191 && m_Script[3] == 60)) { preloadData.extension = ".xml"; }
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -45,12 +43,16 @@ namespace Unity_Studio
|
|||||||
if (lzmaTest == 93)
|
if (lzmaTest == 93)
|
||||||
{
|
{
|
||||||
a_Stream.Position += 4;
|
a_Stream.Position += 4;
|
||||||
exportSize = a_Stream.ReadInt32(); //actualy int64
|
preloadData.exportSize = a_Stream.ReadInt32(); //actualy int64
|
||||||
a_Stream.Position -= 8;
|
a_Stream.Position -= 8;
|
||||||
}
|
}
|
||||||
else { exportSize = m_Script_size; }
|
else { preloadData.exportSize = m_Script_size; }
|
||||||
|
|
||||||
a_Stream.Position += m_Script_size - 1;
|
a_Stream.Position += m_Script_size - 1;
|
||||||
|
|
||||||
|
if (m_Name != "") { preloadData.Text = m_Name; }
|
||||||
|
else { preloadData.Text = preloadData.TypeString + " #" + preloadData.uniqueID; }
|
||||||
|
preloadData.SubItems.AddRange(new string[] { preloadData.TypeString, preloadData.exportSize.ToString() });
|
||||||
}
|
}
|
||||||
a_Stream.AlignStream(4);
|
a_Stream.AlignStream(4);
|
||||||
|
|
||||||
892
Unity Studio/Unity Classes/Texture2D.cs
Normal file
892
Unity Studio/Unity Classes/Texture2D.cs
Normal file
@@ -0,0 +1,892 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Unity_Studio
|
||||||
|
{
|
||||||
|
class Texture2D
|
||||||
|
{
|
||||||
|
public string m_Name;
|
||||||
|
public int m_Width;
|
||||||
|
public int m_Height;
|
||||||
|
public int m_CompleteImageSize;
|
||||||
|
public TextureFormat m_TextureFormat;
|
||||||
|
public bool m_MipMap = false;
|
||||||
|
public bool m_IsReadable;
|
||||||
|
public bool m_ReadAllowed;
|
||||||
|
public int m_ImageCount;
|
||||||
|
public int m_TextureDimension;
|
||||||
|
//m_TextureSettings
|
||||||
|
public int m_FilterMode;
|
||||||
|
public int m_Aniso;
|
||||||
|
public float m_MipBias;
|
||||||
|
public int m_WrapMode;
|
||||||
|
public int m_LightmapFormat;
|
||||||
|
public int m_ColorSpace;
|
||||||
|
//m_StreamData
|
||||||
|
public uint offset;
|
||||||
|
public uint size;
|
||||||
|
public string path;
|
||||||
|
public byte[] image_data;
|
||||||
|
|
||||||
|
//DDS Start
|
||||||
|
public byte[] dwMagic = { 0x44, 0x44, 0x53, 0x20, 0x7c };
|
||||||
|
public int dwFlags = 0x1 + 0x2 + 0x4 + 0x1000;
|
||||||
|
//public int dwHeight; m_Height
|
||||||
|
//public int dwWidth; m_Width
|
||||||
|
public int dwPitchOrLinearSize = 0x0;
|
||||||
|
public int dwMipMapCount = 0x1;
|
||||||
|
public int dwSize = 0x20;
|
||||||
|
public int dwFlags2;
|
||||||
|
public int dwFourCC = 0x0;
|
||||||
|
public int dwRGBBitCount;
|
||||||
|
public int dwRBitMask;
|
||||||
|
public int dwGBitMask;
|
||||||
|
public int dwBBitMask;
|
||||||
|
public int dwABitMask;
|
||||||
|
public int dwCaps = 0x1000;
|
||||||
|
public int dwCaps2 = 0x0;
|
||||||
|
//DDS End
|
||||||
|
//PVR Start
|
||||||
|
public int pvrVersion = 0x03525650;
|
||||||
|
public int pvrFlags = 0x0;
|
||||||
|
public long pvrPixelFormat;
|
||||||
|
public int pvrColourSpace = 0x0;
|
||||||
|
public int pvrChannelType = 0x0;
|
||||||
|
//public int pvrHeight; m_Height
|
||||||
|
//public int pvrWidth; m_Width
|
||||||
|
public int pvrDepth = 0x1;
|
||||||
|
public int pvrNumSurfaces = 0x1; //For texture arrays
|
||||||
|
public int pvrNumFaces = 0x1; //For cube maps
|
||||||
|
//public int pvrMIPMapCount; dwMipMapCount
|
||||||
|
public int pvrMetaDataSize = 0x0;
|
||||||
|
//PVR End
|
||||||
|
//KTX Start
|
||||||
|
public int glType = 0;
|
||||||
|
public int glTypeSize = 1;
|
||||||
|
public int glFormat = 0;
|
||||||
|
public int glInternalFormat;
|
||||||
|
public int glBaseInternalFormat;
|
||||||
|
//public int pixelWidth; m_Width
|
||||||
|
//public int pixelHeight; m_Height
|
||||||
|
public int pixelDepth = 0;
|
||||||
|
public int numberOfArrayElements = 0;
|
||||||
|
public int numberOfFaces = 1;
|
||||||
|
public int numberOfMipmapLevels = 1;
|
||||||
|
public int bytesOfKeyValueData = 0;
|
||||||
|
//KTX End
|
||||||
|
//ASTC Start
|
||||||
|
public byte[] astc_magic = { 0x13, 0xab, 0xa1, 0x5c };
|
||||||
|
public byte blockdim_x;
|
||||||
|
public byte blockdim_y;
|
||||||
|
public byte blockdim_z = 1;
|
||||||
|
public byte[] xsize = new byte[3];
|
||||||
|
public byte[] ysize = new byte[3];
|
||||||
|
public byte[] zsize = new byte[3] { 1, 0, 0 };
|
||||||
|
//ASTC END
|
||||||
|
//TextureConverter
|
||||||
|
public int q_format;
|
||||||
|
//Texture data
|
||||||
|
public int image_data_size;
|
||||||
|
|
||||||
|
public Texture2D(AssetPreloadData preloadData, bool readSwitch)
|
||||||
|
{
|
||||||
|
var sourceFile = preloadData.sourceFile;
|
||||||
|
var a_Stream = preloadData.sourceFile.a_Stream;
|
||||||
|
a_Stream.Position = preloadData.Offset;
|
||||||
|
|
||||||
|
if (sourceFile.platform == -2)
|
||||||
|
{
|
||||||
|
uint m_ObjectHideFlags = a_Stream.ReadUInt32();
|
||||||
|
PPtr m_PrefabParentObject = sourceFile.ReadPPtr();
|
||||||
|
PPtr m_PrefabInternal = sourceFile.ReadPPtr();
|
||||||
|
}
|
||||||
|
|
||||||
|
m_Name = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
||||||
|
m_Width = a_Stream.ReadInt32();
|
||||||
|
m_Height = a_Stream.ReadInt32();
|
||||||
|
m_CompleteImageSize = a_Stream.ReadInt32();
|
||||||
|
m_TextureFormat = (TextureFormat)a_Stream.ReadInt32();
|
||||||
|
|
||||||
|
if (sourceFile.version[0] < 5 || (sourceFile.version[0] == 5 && sourceFile.version[1] < 2))
|
||||||
|
{ m_MipMap = a_Stream.ReadBoolean(); }
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dwFlags += 0x20000;
|
||||||
|
dwMipMapCount = a_Stream.ReadInt32();//is this with or without main image?
|
||||||
|
dwCaps += 0x400008;
|
||||||
|
}
|
||||||
|
|
||||||
|
m_IsReadable = a_Stream.ReadBoolean(); //2.6.0 and up
|
||||||
|
m_ReadAllowed = a_Stream.ReadBoolean(); //3.0.0 and up
|
||||||
|
a_Stream.AlignStream(4);
|
||||||
|
|
||||||
|
m_ImageCount = a_Stream.ReadInt32();
|
||||||
|
m_TextureDimension = a_Stream.ReadInt32();
|
||||||
|
//m_TextureSettings
|
||||||
|
m_FilterMode = a_Stream.ReadInt32();
|
||||||
|
m_Aniso = a_Stream.ReadInt32();
|
||||||
|
m_MipBias = a_Stream.ReadSingle();
|
||||||
|
m_WrapMode = a_Stream.ReadInt32();
|
||||||
|
|
||||||
|
if (sourceFile.version[0] >= 3)
|
||||||
|
{
|
||||||
|
m_LightmapFormat = a_Stream.ReadInt32();
|
||||||
|
if (sourceFile.version[0] >= 4 || sourceFile.version[1] >= 5) { m_ColorSpace = a_Stream.ReadInt32(); } //3.5.0 and up
|
||||||
|
}
|
||||||
|
|
||||||
|
image_data_size = a_Stream.ReadInt32();
|
||||||
|
|
||||||
|
if (m_MipMap)
|
||||||
|
{
|
||||||
|
dwFlags += 0x20000;
|
||||||
|
dwMipMapCount = Convert.ToInt32(Math.Log(Math.Max(m_Width, m_Height)) / Math.Log(2));
|
||||||
|
dwCaps += 0x400008;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (image_data_size == 0 && ((sourceFile.version[0] == 5 && sourceFile.version[1] >= 3) || sourceFile.version[0] > 5))//5.3.0 and up
|
||||||
|
{
|
||||||
|
offset = a_Stream.ReadUInt32();
|
||||||
|
size = a_Stream.ReadUInt32();
|
||||||
|
image_data_size = (int)size;
|
||||||
|
path = a_Stream.ReadAlignedString(a_Stream.ReadInt32());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (readSwitch)
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(path))
|
||||||
|
{
|
||||||
|
path = Path.Combine(Path.GetDirectoryName(sourceFile.filePath), path.Replace("archive:/", ""));
|
||||||
|
if (File.Exists(path) ||
|
||||||
|
File.Exists(path = Path.Combine(Path.GetDirectoryName(sourceFile.filePath), Path.GetFileName(path))))
|
||||||
|
{
|
||||||
|
image_data = new byte[image_data_size];
|
||||||
|
BinaryReader reader = new BinaryReader(File.OpenRead(path));
|
||||||
|
reader.BaseStream.Position = offset;
|
||||||
|
reader.Read(image_data, 0, image_data_size);
|
||||||
|
reader.Close();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
EndianStream estream = null;
|
||||||
|
if (UnityStudioForm.assetsfileandstream.TryGetValue(Path.GetFileName(path), out estream))
|
||||||
|
{
|
||||||
|
estream.Position = offset;
|
||||||
|
image_data = estream.ReadBytes(image_data_size);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
image_data = new byte[image_data_size];
|
||||||
|
a_Stream.Read(image_data, 0, image_data_size);
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (m_TextureFormat)
|
||||||
|
{
|
||||||
|
case TextureFormat.Alpha8: //test pass
|
||||||
|
{
|
||||||
|
/*dwFlags2 = 0x2;
|
||||||
|
dwRGBBitCount = 0x8;
|
||||||
|
dwRBitMask = 0x0;
|
||||||
|
dwGBitMask = 0x0;
|
||||||
|
dwBBitMask = 0x0;
|
||||||
|
dwABitMask = 0xFF; *///透明通道丢失?
|
||||||
|
//转ARGB32
|
||||||
|
var bytes = Enumerable.Repeat<byte>(0xFF, image_data_size * 4).ToArray();
|
||||||
|
for (int i = 0; i < image_data_size; i++)
|
||||||
|
{
|
||||||
|
bytes[i * 4] = image_data[i];
|
||||||
|
}
|
||||||
|
image_data = bytes;
|
||||||
|
image_data_size = image_data_size * 4;
|
||||||
|
bytes = null;
|
||||||
|
dwFlags2 = 0x41;
|
||||||
|
dwRGBBitCount = 0x20;
|
||||||
|
dwRBitMask = 0xFF00;
|
||||||
|
dwGBitMask = 0xFF0000;
|
||||||
|
dwBBitMask = -16777216;
|
||||||
|
dwABitMask = 0xFF;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ARGB4444: //test pass
|
||||||
|
{
|
||||||
|
if (sourceFile.platform == 11) //swap bytes for Xbox confirmed, PS3 not encountered
|
||||||
|
{
|
||||||
|
for (int i = 0; i < (image_data_size / 2); i++)
|
||||||
|
{
|
||||||
|
byte b0 = image_data[i * 2];
|
||||||
|
image_data[i * 2] = image_data[i * 2 + 1];
|
||||||
|
image_data[i * 2 + 1] = b0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dwFlags2 = 0x41;
|
||||||
|
dwRGBBitCount = 0x10;
|
||||||
|
dwRBitMask = 0xF00;
|
||||||
|
dwGBitMask = 0xF0;
|
||||||
|
dwBBitMask = 0xF;
|
||||||
|
dwABitMask = 0xF000;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.RGB24: //test pass
|
||||||
|
{
|
||||||
|
dwFlags2 = 0x40;
|
||||||
|
dwRGBBitCount = 0x18;
|
||||||
|
dwRBitMask = 0xFF;
|
||||||
|
dwGBitMask = 0xFF00;
|
||||||
|
dwBBitMask = 0xFF0000;
|
||||||
|
dwABitMask = 0x0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.RGBA32: //test pass
|
||||||
|
{
|
||||||
|
dwFlags2 = 0x41;
|
||||||
|
dwRGBBitCount = 0x20;
|
||||||
|
dwRBitMask = 0xFF;
|
||||||
|
dwGBitMask = 0xFF00;
|
||||||
|
dwBBitMask = 0xFF0000;
|
||||||
|
dwABitMask = -16777216;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ARGB32://test pass
|
||||||
|
{
|
||||||
|
dwFlags2 = 0x41;
|
||||||
|
dwRGBBitCount = 0x20;
|
||||||
|
dwRBitMask = 0xFF00;
|
||||||
|
dwGBitMask = 0xFF0000;
|
||||||
|
dwBBitMask = -16777216;
|
||||||
|
dwABitMask = 0xFF;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.RGB565: //test pass
|
||||||
|
{
|
||||||
|
if (sourceFile.platform == 11)
|
||||||
|
{
|
||||||
|
for (int i = 0; i < (image_data_size / 2); i++)
|
||||||
|
{
|
||||||
|
byte b0 = image_data[i * 2];
|
||||||
|
image_data[i * 2] = image_data[i * 2 + 1];
|
||||||
|
image_data[i * 2 + 1] = b0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dwFlags2 = 0x40;
|
||||||
|
dwRGBBitCount = 0x10;
|
||||||
|
dwRBitMask = 0xF800;
|
||||||
|
dwGBitMask = 0x7E0;
|
||||||
|
dwBBitMask = 0x1F;
|
||||||
|
dwABitMask = 0x0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.R16:
|
||||||
|
break;
|
||||||
|
case TextureFormat.DXT1: //test pass
|
||||||
|
{
|
||||||
|
if (sourceFile.platform == 11) //X360 only, PS3 not
|
||||||
|
{
|
||||||
|
for (int i = 0; i < (image_data_size / 2); i++)
|
||||||
|
{
|
||||||
|
byte b0 = image_data[i * 2];
|
||||||
|
image_data[i * 2] = image_data[i * 2 + 1];
|
||||||
|
image_data[i * 2 + 1] = b0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (m_MipMap) { dwPitchOrLinearSize = m_Height * m_Width / 2; }
|
||||||
|
dwFlags2 = 0x4;
|
||||||
|
dwFourCC = 0x31545844;
|
||||||
|
dwRGBBitCount = 0x0;
|
||||||
|
dwRBitMask = 0x0;
|
||||||
|
dwGBitMask = 0x0;
|
||||||
|
dwBBitMask = 0x0;
|
||||||
|
dwABitMask = 0x0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.DXT5: //test pass
|
||||||
|
{
|
||||||
|
if (sourceFile.platform == 11) //X360, PS3 not
|
||||||
|
{
|
||||||
|
for (int i = 0; i < (image_data_size / 2); i++)
|
||||||
|
{
|
||||||
|
byte b0 = image_data[i * 2];
|
||||||
|
image_data[i * 2] = image_data[i * 2 + 1];
|
||||||
|
image_data[i * 2 + 1] = b0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (m_MipMap) { dwPitchOrLinearSize = m_Height * m_Width / 2; }
|
||||||
|
dwFlags2 = 0x4;
|
||||||
|
dwFourCC = 0x35545844;
|
||||||
|
dwRGBBitCount = 0x0;
|
||||||
|
dwRBitMask = 0x0;
|
||||||
|
dwGBitMask = 0x0;
|
||||||
|
dwBBitMask = 0x0;
|
||||||
|
dwABitMask = 0x0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.RGBA4444: //test pass
|
||||||
|
{
|
||||||
|
dwFlags2 = 0x41;
|
||||||
|
dwRGBBitCount = 0x10;
|
||||||
|
dwRBitMask = 0xF000;
|
||||||
|
dwGBitMask = 0xF00;
|
||||||
|
dwBBitMask = 0xF0;
|
||||||
|
dwABitMask = 0xF;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.BGRA32: //test pass
|
||||||
|
{
|
||||||
|
dwFlags2 = 0x41;
|
||||||
|
dwRGBBitCount = 0x20;
|
||||||
|
dwRBitMask = 0xFF0000;
|
||||||
|
dwGBitMask = 0xFF00;
|
||||||
|
dwBBitMask = 0xFF;
|
||||||
|
dwABitMask = -16777216;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.RHalf://Not sure
|
||||||
|
{
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_R_16F;
|
||||||
|
glInternalFormat = KTXHeader.GL_R16F;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RED;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.RGHalf://Not sure
|
||||||
|
{
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_RG_HF;
|
||||||
|
glInternalFormat = KTXHeader.GL_RG16F;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RG;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.RGBAHalf://Not sure
|
||||||
|
{
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_RGBA_HF;
|
||||||
|
glInternalFormat = KTXHeader.GL_RGBA16F;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGBA;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.RFloat://Not sure
|
||||||
|
{
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_R_F;
|
||||||
|
glInternalFormat = KTXHeader.GL_R32F;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RED;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.RGFloat://Not sure
|
||||||
|
{
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_RG_F;
|
||||||
|
glInternalFormat = KTXHeader.GL_RG32F;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RG;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.RGBAFloat://Not sure
|
||||||
|
{
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_RGBA_F;
|
||||||
|
glInternalFormat = KTXHeader.GL_RGBA32F;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGBA;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.YUY2://Not sure
|
||||||
|
{
|
||||||
|
pvrPixelFormat = 17;
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_YUYV_16;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.BC4:
|
||||||
|
{
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_RED_RGTC1;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RED;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.BC5:
|
||||||
|
{
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_RG_RGTC2;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RG;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.BC6H:
|
||||||
|
{
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGB;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.BC7:
|
||||||
|
{
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_RGBA_BPTC_UNORM;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGBA;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.DXT1Crunched: //DXT1 Crunched
|
||||||
|
case TextureFormat.DXT5Crunched: //DXT1 Crunched
|
||||||
|
break;
|
||||||
|
case TextureFormat.PVRTC_RGB2: //test pass
|
||||||
|
{
|
||||||
|
pvrPixelFormat = 0;
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGB;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.PVRTC_RGBA2: //test pass
|
||||||
|
{
|
||||||
|
pvrPixelFormat = 1;
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGBA;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.PVRTC_RGB4: //test pass
|
||||||
|
{
|
||||||
|
pvrPixelFormat = 2;
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGB;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.PVRTC_RGBA4: //test pass
|
||||||
|
{
|
||||||
|
pvrPixelFormat = 3;
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGBA;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ETC_RGB4: //test pass
|
||||||
|
{
|
||||||
|
pvrPixelFormat = 6;
|
||||||
|
glInternalFormat = KTXHeader.GL_ETC1_RGB8_OES;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGB;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ATC_RGB4: //test pass
|
||||||
|
{
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_ATITC_RGB;
|
||||||
|
glInternalFormat = KTXHeader.GL_ATC_RGB_AMD;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGB;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ATC_RGBA8: //test pass
|
||||||
|
{
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_ATC_RGBA_INTERPOLATED_ALPHA;
|
||||||
|
glInternalFormat = KTXHeader.GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGBA;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.EAC_R:
|
||||||
|
{
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_EAC_R_UNSIGNED;
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_R11_EAC;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RED;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.EAC_R_SIGNED:
|
||||||
|
{
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_EAC_R_SIGNED;
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_SIGNED_R11_EAC;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RED;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.EAC_RG:
|
||||||
|
{
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_EAC_RG_UNSIGNED;
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_RG11_EAC;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RG;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.EAC_RG_SIGNED:
|
||||||
|
{
|
||||||
|
q_format = (int)QFORMAT.Q_FORMAT_EAC_RG_SIGNED;
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_SIGNED_RG11_EAC;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RG;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ETC2_RGB: //test pass
|
||||||
|
{
|
||||||
|
pvrPixelFormat = 22;
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_RGB8_ETC2;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGB;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ETC2_RGBA1: //test pass
|
||||||
|
{
|
||||||
|
pvrPixelFormat = 24;
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGBA;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ETC2_RGBA8: //test pass
|
||||||
|
{
|
||||||
|
pvrPixelFormat = 23;
|
||||||
|
glInternalFormat = KTXHeader.GL_COMPRESSED_RGBA8_ETC2_EAC;
|
||||||
|
glBaseInternalFormat = KTXHeader.GL_RGBA;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ASTC_RGB_4x4: //test pass
|
||||||
|
case TextureFormat.ASTC_RGBA_4x4: //test pass
|
||||||
|
{
|
||||||
|
blockdim_x = 4;
|
||||||
|
blockdim_y = 4;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ASTC_RGB_5x5: //test pass
|
||||||
|
case TextureFormat.ASTC_RGBA_5x5: //test pass
|
||||||
|
{
|
||||||
|
blockdim_x = 5;
|
||||||
|
blockdim_y = 5;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ASTC_RGB_6x6: //test pass
|
||||||
|
case TextureFormat.ASTC_RGBA_6x6: //test pass
|
||||||
|
{
|
||||||
|
blockdim_x = 6;
|
||||||
|
blockdim_y = 6;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ASTC_RGB_8x8: //test pass
|
||||||
|
case TextureFormat.ASTC_RGBA_8x8: //test pass
|
||||||
|
{
|
||||||
|
blockdim_x = 8;
|
||||||
|
blockdim_y = 8;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ASTC_RGB_10x10: //test pass
|
||||||
|
case TextureFormat.ASTC_RGBA_10x10: //test pass
|
||||||
|
{
|
||||||
|
blockdim_x = 10;
|
||||||
|
blockdim_y = 10;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ASTC_RGB_12x12: //test pass
|
||||||
|
case TextureFormat.ASTC_RGBA_12x12: //test pass
|
||||||
|
{
|
||||||
|
blockdim_x = 12;
|
||||||
|
blockdim_y = 12;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case TextureFormat.ETC_RGB4_3DS:
|
||||||
|
case TextureFormat.ETC_RGBA8_3DS:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
preloadData.InfoText = "Width: " + m_Width.ToString() + "\nHeight: " + m_Height.ToString() + "\nFormat: ";
|
||||||
|
preloadData.exportSize = image_data_size;
|
||||||
|
|
||||||
|
string type = m_TextureFormat.ToString();
|
||||||
|
preloadData.InfoText += type;
|
||||||
|
|
||||||
|
switch (m_TextureFormat)
|
||||||
|
{
|
||||||
|
case TextureFormat.Alpha8:
|
||||||
|
case TextureFormat.ARGB4444:
|
||||||
|
case TextureFormat.RGB24:
|
||||||
|
case TextureFormat.RGBA32:
|
||||||
|
case TextureFormat.ARGB32:
|
||||||
|
case TextureFormat.RGB565:
|
||||||
|
case TextureFormat.DXT1:
|
||||||
|
case TextureFormat.DXT5:
|
||||||
|
case TextureFormat.RGBA4444:
|
||||||
|
case TextureFormat.BGRA32:
|
||||||
|
preloadData.extension = ".dds"; preloadData.exportSize += 128; break;
|
||||||
|
case TextureFormat.DXT1Crunched:
|
||||||
|
case TextureFormat.DXT5Crunched:
|
||||||
|
preloadData.extension = ".crn"; break;
|
||||||
|
case TextureFormat.YUY2:
|
||||||
|
case TextureFormat.PVRTC_RGB2:
|
||||||
|
case TextureFormat.PVRTC_RGBA2:
|
||||||
|
case TextureFormat.PVRTC_RGB4:
|
||||||
|
case TextureFormat.PVRTC_RGBA4:
|
||||||
|
case TextureFormat.ETC_RGB4:
|
||||||
|
case TextureFormat.ETC2_RGB:
|
||||||
|
case TextureFormat.ETC2_RGBA1:
|
||||||
|
case TextureFormat.ETC2_RGBA8:
|
||||||
|
preloadData.extension = ".pvr"; preloadData.exportSize += 52; break;
|
||||||
|
case TextureFormat.RHalf:
|
||||||
|
case TextureFormat.RGHalf:
|
||||||
|
case TextureFormat.RGBAHalf:
|
||||||
|
case TextureFormat.RFloat:
|
||||||
|
case TextureFormat.RGFloat:
|
||||||
|
case TextureFormat.RGBAFloat:
|
||||||
|
case TextureFormat.BC4:
|
||||||
|
case TextureFormat.BC5:
|
||||||
|
case TextureFormat.BC6H:
|
||||||
|
case TextureFormat.BC7:
|
||||||
|
case TextureFormat.ATC_RGB4:
|
||||||
|
case TextureFormat.ATC_RGBA8:
|
||||||
|
case TextureFormat.EAC_R:
|
||||||
|
case TextureFormat.EAC_R_SIGNED:
|
||||||
|
case TextureFormat.EAC_RG:
|
||||||
|
case TextureFormat.EAC_RG_SIGNED:
|
||||||
|
preloadData.extension = ".ktx"; preloadData.exportSize += 68; break;
|
||||||
|
case TextureFormat.ASTC_RGB_4x4:
|
||||||
|
case TextureFormat.ASTC_RGB_5x5:
|
||||||
|
case TextureFormat.ASTC_RGB_6x6:
|
||||||
|
case TextureFormat.ASTC_RGB_8x8:
|
||||||
|
case TextureFormat.ASTC_RGB_10x10:
|
||||||
|
case TextureFormat.ASTC_RGB_12x12:
|
||||||
|
case TextureFormat.ASTC_RGBA_4x4:
|
||||||
|
case TextureFormat.ASTC_RGBA_5x5:
|
||||||
|
case TextureFormat.ASTC_RGBA_6x6:
|
||||||
|
case TextureFormat.ASTC_RGBA_8x8:
|
||||||
|
case TextureFormat.ASTC_RGBA_10x10:
|
||||||
|
case TextureFormat.ASTC_RGBA_12x12:
|
||||||
|
preloadData.extension = ".astc"; preloadData.exportSize += 10; break;
|
||||||
|
default:
|
||||||
|
preloadData.extension = "_" + type + ".tex"; break;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (m_FilterMode)
|
||||||
|
{
|
||||||
|
case 0: preloadData.InfoText += "\nFilter Mode: Point "; break;
|
||||||
|
case 1: preloadData.InfoText += "\nFilter Mode: Bilinear "; break;
|
||||||
|
case 2: preloadData.InfoText += "\nFilter Mode: Trilinear "; break;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
preloadData.InfoText += "\nAnisotropic level: " + m_Aniso.ToString() + "\nMip map bias: " + m_MipBias.ToString();
|
||||||
|
|
||||||
|
switch (m_WrapMode)
|
||||||
|
{
|
||||||
|
case 0: preloadData.InfoText += "\nWrap mode: Repeat"; break;
|
||||||
|
case 1: preloadData.InfoText += "\nWrap mode: Clamp"; break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (m_Name != "") { preloadData.Text = m_Name; }
|
||||||
|
else { preloadData.Text = preloadData.TypeString + " #" + preloadData.uniqueID; }
|
||||||
|
preloadData.SubItems.AddRange(new string[] { preloadData.TypeString, preloadData.exportSize.ToString() });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public enum TextureFormat
|
||||||
|
{
|
||||||
|
Alpha8 = 1,
|
||||||
|
ARGB4444,
|
||||||
|
RGB24,
|
||||||
|
RGBA32,
|
||||||
|
ARGB32,
|
||||||
|
RGB565 = 7,
|
||||||
|
R16 = 9,
|
||||||
|
DXT1,
|
||||||
|
DXT5 = 12,
|
||||||
|
RGBA4444,
|
||||||
|
BGRA32,
|
||||||
|
RHalf,
|
||||||
|
RGHalf,
|
||||||
|
RGBAHalf,
|
||||||
|
RFloat,
|
||||||
|
RGFloat,
|
||||||
|
RGBAFloat,
|
||||||
|
YUY2,
|
||||||
|
BC4 = 26,
|
||||||
|
BC5,
|
||||||
|
BC6H = 24,
|
||||||
|
BC7,
|
||||||
|
DXT1Crunched = 28,
|
||||||
|
DXT5Crunched,
|
||||||
|
PVRTC_RGB2,
|
||||||
|
PVRTC_RGBA2,
|
||||||
|
PVRTC_RGB4,
|
||||||
|
PVRTC_RGBA4,
|
||||||
|
ETC_RGB4,
|
||||||
|
ATC_RGB4,
|
||||||
|
ATC_RGBA8,
|
||||||
|
EAC_R = 41,
|
||||||
|
EAC_R_SIGNED,
|
||||||
|
EAC_RG,
|
||||||
|
EAC_RG_SIGNED,
|
||||||
|
ETC2_RGB,
|
||||||
|
ETC2_RGBA1,
|
||||||
|
ETC2_RGBA8,
|
||||||
|
ASTC_RGB_4x4,
|
||||||
|
ASTC_RGB_5x5,
|
||||||
|
ASTC_RGB_6x6,
|
||||||
|
ASTC_RGB_8x8,
|
||||||
|
ASTC_RGB_10x10,
|
||||||
|
ASTC_RGB_12x12,
|
||||||
|
ASTC_RGBA_4x4,
|
||||||
|
ASTC_RGBA_5x5,
|
||||||
|
ASTC_RGBA_6x6,
|
||||||
|
ASTC_RGBA_8x8,
|
||||||
|
ASTC_RGBA_10x10,
|
||||||
|
ASTC_RGBA_12x12,
|
||||||
|
ETC_RGB4_3DS,
|
||||||
|
ETC_RGBA8_3DS
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public class KTXHeader
|
||||||
|
{
|
||||||
|
public static byte[] IDENTIFIER = { 0xAB, 0x4B, 0x54, 0x58, 0x20, 0x31, 0x31, 0xBB, 0x0D, 0x0A, 0x1A, 0x0A };
|
||||||
|
public static byte[] ENDIANESS_LE = new byte[] { 1, 2, 3, 4 };
|
||||||
|
public static byte[] ENDIANESS_BE = new byte[] { 4, 3, 2, 1 };
|
||||||
|
|
||||||
|
// constants for glInternalFormat
|
||||||
|
public static int GL_ETC1_RGB8_OES = 0x8D64;
|
||||||
|
|
||||||
|
public static int GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00;
|
||||||
|
public static int GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01;
|
||||||
|
public static int GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
|
||||||
|
public static int GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
|
||||||
|
|
||||||
|
public static int GL_ATC_RGB_AMD = 0x8C92;
|
||||||
|
public static int GL_ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93;
|
||||||
|
public static int GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE;
|
||||||
|
|
||||||
|
public static int GL_COMPRESSED_RGB8_ETC2 = 0x9274;
|
||||||
|
public static int GL_COMPRESSED_SRGB8_ETC2 = 0x9275;
|
||||||
|
public static int GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276;
|
||||||
|
public static int GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277;
|
||||||
|
public static int GL_COMPRESSED_RGBA8_ETC2_EAC = 0x9278;
|
||||||
|
public static int GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279;
|
||||||
|
public static int GL_COMPRESSED_R11_EAC = 0x9270;
|
||||||
|
public static int GL_COMPRESSED_SIGNED_R11_EAC = 0x9271;
|
||||||
|
public static int GL_COMPRESSED_RG11_EAC = 0x9272;
|
||||||
|
public static int GL_COMPRESSED_SIGNED_RG11_EAC = 0x9273;
|
||||||
|
|
||||||
|
public static int GL_COMPRESSED_RED_RGTC1 = 0x8DBB;
|
||||||
|
public static int GL_COMPRESSED_RG_RGTC2 = 0x8DBD;
|
||||||
|
public static int GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F;
|
||||||
|
public static int GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C;
|
||||||
|
|
||||||
|
public static int GL_R16F = 0x822D;
|
||||||
|
public static int GL_RG16F = 0x822F;
|
||||||
|
public static int GL_RGBA16F = 0x881A;
|
||||||
|
public static int GL_R32F = 0x822E;
|
||||||
|
public static int GL_RG32F = 0x8230;
|
||||||
|
public static int GL_RGBA32F = 0x8814;
|
||||||
|
|
||||||
|
// constants for glBaseInternalFormat
|
||||||
|
public static int GL_RED = 0x1903;
|
||||||
|
public static int GL_GREEN = 0x1904;
|
||||||
|
public static int GL_BLUE = 0x1905;
|
||||||
|
public static int GL_ALPHA = 0x1906;
|
||||||
|
public static int GL_RGB = 0x1907;
|
||||||
|
public static int GL_RGBA = 0x1908;
|
||||||
|
public static int GL_RG = 0x8227;
|
||||||
|
}
|
||||||
|
|
||||||
|
//from TextureConverter.h
|
||||||
|
public enum QFORMAT
|
||||||
|
{
|
||||||
|
// General formats
|
||||||
|
Q_FORMAT_RGBA_8UI = 1,
|
||||||
|
Q_FORMAT_RGBA_8I,
|
||||||
|
Q_FORMAT_RGB5_A1UI,
|
||||||
|
Q_FORMAT_RGBA_4444,
|
||||||
|
Q_FORMAT_RGBA_16UI,
|
||||||
|
Q_FORMAT_RGBA_16I,
|
||||||
|
Q_FORMAT_RGBA_32UI,
|
||||||
|
Q_FORMAT_RGBA_32I,
|
||||||
|
|
||||||
|
Q_FORMAT_PALETTE_8_RGBA_8888,
|
||||||
|
Q_FORMAT_PALETTE_8_RGBA_5551,
|
||||||
|
Q_FORMAT_PALETTE_8_RGBA_4444,
|
||||||
|
Q_FORMAT_PALETTE_4_RGBA_8888,
|
||||||
|
Q_FORMAT_PALETTE_4_RGBA_5551,
|
||||||
|
Q_FORMAT_PALETTE_4_RGBA_4444,
|
||||||
|
Q_FORMAT_PALETTE_1_RGBA_8888,
|
||||||
|
Q_FORMAT_PALETTE_8_RGB_888,
|
||||||
|
Q_FORMAT_PALETTE_8_RGB_565,
|
||||||
|
Q_FORMAT_PALETTE_4_RGB_888,
|
||||||
|
Q_FORMAT_PALETTE_4_RGB_565,
|
||||||
|
|
||||||
|
Q_FORMAT_R2_GBA10UI,
|
||||||
|
Q_FORMAT_RGB10_A2UI,
|
||||||
|
Q_FORMAT_RGB10_A2I,
|
||||||
|
Q_FORMAT_RGBA_F,
|
||||||
|
Q_FORMAT_RGBA_HF,
|
||||||
|
|
||||||
|
Q_FORMAT_RGB9_E5, // Last five bits are exponent bits (Read following section in GLES3 spec: "3.8.17 Shared Exponent Texture Color Conversion")
|
||||||
|
Q_FORMAT_RGB_8UI,
|
||||||
|
Q_FORMAT_RGB_8I,
|
||||||
|
Q_FORMAT_RGB_565,
|
||||||
|
Q_FORMAT_RGB_16UI,
|
||||||
|
Q_FORMAT_RGB_16I,
|
||||||
|
Q_FORMAT_RGB_32UI,
|
||||||
|
Q_FORMAT_RGB_32I,
|
||||||
|
|
||||||
|
Q_FORMAT_RGB_F,
|
||||||
|
Q_FORMAT_RGB_HF,
|
||||||
|
Q_FORMAT_RGB_11_11_10_F,
|
||||||
|
|
||||||
|
Q_FORMAT_RG_F,
|
||||||
|
Q_FORMAT_RG_HF,
|
||||||
|
Q_FORMAT_RG_32UI,
|
||||||
|
Q_FORMAT_RG_32I,
|
||||||
|
Q_FORMAT_RG_16I,
|
||||||
|
Q_FORMAT_RG_16UI,
|
||||||
|
Q_FORMAT_RG_8I,
|
||||||
|
Q_FORMAT_RG_8UI,
|
||||||
|
Q_FORMAT_RG_S88,
|
||||||
|
|
||||||
|
Q_FORMAT_R_32UI,
|
||||||
|
Q_FORMAT_R_32I,
|
||||||
|
Q_FORMAT_R_F,
|
||||||
|
Q_FORMAT_R_16F,
|
||||||
|
Q_FORMAT_R_16I,
|
||||||
|
Q_FORMAT_R_16UI,
|
||||||
|
Q_FORMAT_R_8I,
|
||||||
|
Q_FORMAT_R_8UI,
|
||||||
|
|
||||||
|
Q_FORMAT_LUMINANCE_ALPHA_88,
|
||||||
|
Q_FORMAT_LUMINANCE_8,
|
||||||
|
Q_FORMAT_ALPHA_8,
|
||||||
|
|
||||||
|
Q_FORMAT_LUMINANCE_ALPHA_F,
|
||||||
|
Q_FORMAT_LUMINANCE_F,
|
||||||
|
Q_FORMAT_ALPHA_F,
|
||||||
|
Q_FORMAT_LUMINANCE_ALPHA_HF,
|
||||||
|
Q_FORMAT_LUMINANCE_HF,
|
||||||
|
Q_FORMAT_ALPHA_HF,
|
||||||
|
Q_FORMAT_DEPTH_16,
|
||||||
|
Q_FORMAT_DEPTH_24,
|
||||||
|
Q_FORMAT_DEPTH_24_STENCIL_8,
|
||||||
|
Q_FORMAT_DEPTH_32,
|
||||||
|
|
||||||
|
Q_FORMAT_BGR_565,
|
||||||
|
Q_FORMAT_BGRA_8888,
|
||||||
|
Q_FORMAT_BGRA_5551,
|
||||||
|
Q_FORMAT_BGRX_8888,
|
||||||
|
Q_FORMAT_BGRA_4444,
|
||||||
|
// Compressed formats
|
||||||
|
Q_FORMAT_ATITC_RGBA,
|
||||||
|
Q_FORMAT_ATC_RGBA_EXPLICIT_ALPHA = Q_FORMAT_ATITC_RGBA,
|
||||||
|
Q_FORMAT_ATITC_RGB,
|
||||||
|
Q_FORMAT_ATC_RGB = Q_FORMAT_ATITC_RGB,
|
||||||
|
Q_FORMAT_ATC_RGBA_INTERPOLATED_ALPHA,
|
||||||
|
Q_FORMAT_ETC1_RGB8,
|
||||||
|
Q_FORMAT_3DC_X,
|
||||||
|
Q_FORMAT_3DC_XY,
|
||||||
|
|
||||||
|
Q_FORMAT_ETC2_RGB8,
|
||||||
|
Q_FORMAT_ETC2_RGBA8,
|
||||||
|
Q_FORMAT_ETC2_RGB8_PUNCHTHROUGH_ALPHA1,
|
||||||
|
Q_FORMAT_ETC2_SRGB8,
|
||||||
|
Q_FORMAT_ETC2_SRGB8_ALPHA8,
|
||||||
|
Q_FORMAT_ETC2_SRGB8_PUNCHTHROUGH_ALPHA1,
|
||||||
|
Q_FORMAT_EAC_R_SIGNED,
|
||||||
|
Q_FORMAT_EAC_R_UNSIGNED,
|
||||||
|
Q_FORMAT_EAC_RG_SIGNED,
|
||||||
|
Q_FORMAT_EAC_RG_UNSIGNED,
|
||||||
|
|
||||||
|
Q_FORMAT_S3TC_DXT1_RGB,
|
||||||
|
Q_FORMAT_S3TC_DXT1_RGBA,
|
||||||
|
Q_FORMAT_S3TC_DXT3_RGBA,
|
||||||
|
Q_FORMAT_S3TC_DXT5_RGBA,
|
||||||
|
|
||||||
|
// YUV formats
|
||||||
|
Q_FORMAT_AYUV_32,
|
||||||
|
Q_FORMAT_I444_24,
|
||||||
|
Q_FORMAT_YUYV_16,
|
||||||
|
Q_FORMAT_UYVY_16,
|
||||||
|
Q_FORMAT_I420_12,
|
||||||
|
Q_FORMAT_YV12_12,
|
||||||
|
Q_FORMAT_NV21_12,
|
||||||
|
Q_FORMAT_NV12_12,
|
||||||
|
|
||||||
|
// ASTC Format
|
||||||
|
Q_FORMAT_ASTC_8,
|
||||||
|
Q_FORMAT_ASTC_16,
|
||||||
|
};
|
||||||
@@ -35,28 +35,49 @@
|
|||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\x86\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ApplicationIcon>unity.ico</ApplicationIcon>
|
<ApplicationIcon>Resources\unity.ico</ApplicationIcon>
|
||||||
|
</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>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||||
|
<OutputPath>bin\x64\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Half">
|
<Reference Include="System.Half, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\..\..\..\Tools\LIBRARIES\csharp-half-code-2\System.Half\bin\Release\System.Half.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>library\System.Half.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Web.Extensions" />
|
<Reference Include="System.Web.Extensions" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
@@ -67,9 +88,8 @@
|
|||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="Tao.DevIl, Version=1.6.8.3, Culture=neutral, PublicKeyToken=7ec4053013524957, processorArchitecture=MSIL">
|
<Reference Include="Tao.DevIl">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>library\Tao.DevIl.dll</HintPath>
|
||||||
<HintPath>..\..\..\..\..\Tools\SDK\taoframework-2.1.0\taoframework-2.1.0\bin\Tao.DevIl.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@@ -128,57 +148,54 @@
|
|||||||
<DependentUpon>AboutBox.cs</DependentUpon>
|
<DependentUpon>AboutBox.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="AssetPreloadData.cs" />
|
<Compile Include="AssetPreloadData.cs" />
|
||||||
<Compile Include="AudioClip.cs" />
|
<Compile Include="Unity Classes\AudioClip.cs" />
|
||||||
<Compile Include="BuildSettings.cs" />
|
<Compile Include="Unity Classes\BuildSettings.cs" />
|
||||||
<Compile Include="BundleFile.cs" />
|
<Compile Include="BundleFile.cs" />
|
||||||
<Compile Include="ClassIDReference.cs" />
|
<Compile Include="ClassIDReference.cs" />
|
||||||
<Compile Include="EndianStream.cs" />
|
<Compile Include="EndianStream.cs" />
|
||||||
<Compile Include="FBXExport.cs">
|
<Compile Include="ExportOptions.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="FBXExport.Designer.cs">
|
<Compile Include="ExportOptions.Designer.cs">
|
||||||
<DependentUpon>FBXExport.cs</DependentUpon>
|
<DependentUpon>ExportOptions.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Font.cs" />
|
<Compile Include="FMOD Studio API\fmod.cs" />
|
||||||
|
<Compile Include="FMOD Studio API\fmod_dsp.cs" />
|
||||||
|
<Compile Include="FMOD Studio API\fmod_errors.cs" />
|
||||||
|
<Compile Include="Unity Classes\Font.cs" />
|
||||||
<Compile Include="GOHierarchy.cs">
|
<Compile Include="GOHierarchy.cs">
|
||||||
<SubType>Component</SubType>
|
<SubType>Component</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Lz4DecoderStream.cs" />
|
<Compile Include="Lz4DecoderStream.cs" />
|
||||||
<Compile Include="Material.cs" />
|
<Compile Include="Unity Classes\Material.cs" />
|
||||||
<Compile Include="Mesh.cs" />
|
<Compile Include="Unity Classes\Mesh.cs" />
|
||||||
<Compile Include="FMOD\fmod.cs" />
|
<Compile Include="Unity Classes\GameObject.cs" />
|
||||||
<Compile Include="FMOD\fmod_dsp.cs" />
|
|
||||||
<Compile Include="FMOD\fmod_errors.cs" />
|
|
||||||
<Compile Include="FMOD\fmod_memoryinfo.cs" />
|
|
||||||
<Compile Include="GameObject.cs" />
|
|
||||||
<Compile Include="helpers.cs" />
|
<Compile Include="helpers.cs" />
|
||||||
<Compile Include="PlayerSettings.cs" />
|
<Compile Include="Unity Classes\MonoBehaviour.cs" />
|
||||||
<Compile Include="RectTransform.cs" />
|
<Compile Include="Unity Classes\PlayerSettings.cs" />
|
||||||
<Compile Include="Renderer.cs" />
|
<Compile Include="Unity Classes\RectTransform.cs" />
|
||||||
<Compile Include="SkinnedMeshRenderer.cs" />
|
<Compile Include="Unity Classes\MeshRenderer.cs" />
|
||||||
<Compile Include="MeshFilter.cs" />
|
<Compile Include="Unity Classes\Shader.cs" />
|
||||||
<Compile Include="TextAsset.cs" />
|
<Compile Include="Unity Classes\SkinnedMeshRenderer.cs" />
|
||||||
<Compile Include="Texture2D.cs" />
|
<Compile Include="Unity Classes\MeshFilter.cs" />
|
||||||
<Compile Include="Transform.cs" />
|
<Compile Include="Unity Classes\TextAsset.cs" />
|
||||||
|
<Compile Include="Unity Classes\Texture2D.cs" />
|
||||||
|
<Compile Include="Unity Classes\Transform.cs" />
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="AssetsFile.cs" />
|
||||||
<Compile Include="UnityStudioForm.cs">
|
<Compile Include="UnityStudioForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="UnityStudioForm.Designer.cs">
|
<Compile Include="UnityStudioForm.Designer.cs">
|
||||||
<DependentUpon>UnityStudioForm.cs</DependentUpon>
|
<DependentUpon>UnityStudioForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
<Compile Include="AssetsFile.cs" />
|
|
||||||
<EmbeddedResource Include="AboutBox.resx">
|
<EmbeddedResource Include="AboutBox.resx">
|
||||||
<DependentUpon>AboutBox.cs</DependentUpon>
|
<DependentUpon>AboutBox.cs</DependentUpon>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="FBXExport.resx">
|
<EmbeddedResource Include="ExportOptions.resx">
|
||||||
<DependentUpon>FBXExport.cs</DependentUpon>
|
<DependentUpon>ExportOptions.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="UnityStudioForm.resx">
|
|
||||||
<DependentUpon>UnityStudioForm.cs</DependentUpon>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Properties\Resources.resx">
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
@@ -190,6 +207,10 @@
|
|||||||
<DependentUpon>Resources.resx</DependentUpon>
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<EmbeddedResource Include="UnityStudioForm.resx">
|
||||||
|
<DependentUpon>UnityStudioForm.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
<None Include="app.config" />
|
<None Include="app.config" />
|
||||||
<None Include="Properties\Settings.settings">
|
<None Include="Properties\Settings.settings">
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
@@ -200,7 +221,6 @@
|
|||||||
<DependentUpon>Settings.settings</DependentUpon>
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
</Compile>
|
</Compile>
|
||||||
<None Include="Resources\preview.png" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
|
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
|
||||||
@@ -220,9 +240,16 @@
|
|||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="unity.ico" />
|
<None Include="Resources\unity.ico" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\preview.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<PostBuildEvent>xcopy /y "$(ProjectDir)library" "$(TargetDir)"
|
||||||
|
xcopy /y "$(ProjectDir)library\$(PlatformName)" "$(TargetDir)"</PostBuildEvent>
|
||||||
|
</PropertyGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- 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.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
|
|||||||
201
Unity Studio/UnityStudioForm.Designer.cs
generated
201
Unity Studio/UnityStudioForm.Designer.cs
generated
@@ -44,7 +44,7 @@
|
|||||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.exportClassStructuresMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.exportClassStructuresMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.uniqueNames = new System.Windows.Forms.ToolStripMenuItem();
|
this.displayAll = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.enablePreview = new System.Windows.Forms.ToolStripMenuItem();
|
this.enablePreview = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.displayInfo = new System.Windows.Forms.ToolStripMenuItem();
|
this.displayInfo = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.openAfterExport = new System.Windows.Forms.ToolStripMenuItem();
|
this.openAfterExport = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
@@ -75,6 +75,7 @@
|
|||||||
this.previewPanel = new System.Windows.Forms.Panel();
|
this.previewPanel = new System.Windows.Forms.Panel();
|
||||||
this.assetInfoLabel = new System.Windows.Forms.Label();
|
this.assetInfoLabel = new System.Windows.Forms.Label();
|
||||||
this.FMODpanel = new System.Windows.Forms.Panel();
|
this.FMODpanel = new System.Windows.Forms.Panel();
|
||||||
|
this.FMODcopyright = new System.Windows.Forms.Label();
|
||||||
this.FMODinfoLabel = new System.Windows.Forms.Label();
|
this.FMODinfoLabel = new System.Windows.Forms.Label();
|
||||||
this.FMODtimerLabel = new System.Windows.Forms.Label();
|
this.FMODtimerLabel = new System.Windows.Forms.Label();
|
||||||
this.FMODstatusLabel = new System.Windows.Forms.Label();
|
this.FMODstatusLabel = new System.Windows.Forms.Label();
|
||||||
@@ -100,7 +101,7 @@
|
|||||||
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
|
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
|
||||||
this.saveFolderDialog1 = new System.Windows.Forms.SaveFileDialog();
|
this.saveFolderDialog1 = new System.Windows.Forms.SaveFileDialog();
|
||||||
this.treeTip = new System.Windows.Forms.ToolTip(this.components);
|
this.treeTip = new System.Windows.Forms.ToolTip(this.components);
|
||||||
this.FMODcopyright = new System.Windows.Forms.Label();
|
this.all3DObjectssplitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.menuStrip1.SuspendLayout();
|
this.menuStrip1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||||
this.splitContainer1.Panel1.SuspendLayout();
|
this.splitContainer1.Panel1.SuspendLayout();
|
||||||
@@ -129,7 +130,7 @@
|
|||||||
this.helpToolStripMenuItem});
|
this.helpToolStripMenuItem});
|
||||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.menuStrip1.Name = "menuStrip1";
|
this.menuStrip1.Name = "menuStrip1";
|
||||||
this.menuStrip1.Size = new System.Drawing.Size(1264, 24);
|
this.menuStrip1.Size = new System.Drawing.Size(1264, 25);
|
||||||
this.menuStrip1.TabIndex = 0;
|
this.menuStrip1.TabIndex = 0;
|
||||||
this.menuStrip1.Text = "menuStrip1";
|
this.menuStrip1.Text = "menuStrip1";
|
||||||
//
|
//
|
||||||
@@ -142,39 +143,39 @@
|
|||||||
this.extractBundleToolStripMenuItem,
|
this.extractBundleToolStripMenuItem,
|
||||||
this.extractFolderToolStripMenuItem});
|
this.extractFolderToolStripMenuItem});
|
||||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||||
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
this.fileToolStripMenuItem.Size = new System.Drawing.Size(39, 21);
|
||||||
this.fileToolStripMenuItem.Text = "File";
|
this.fileToolStripMenuItem.Text = "File";
|
||||||
//
|
//
|
||||||
// loadFileToolStripMenuItem
|
// loadFileToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.loadFileToolStripMenuItem.Name = "loadFileToolStripMenuItem";
|
this.loadFileToolStripMenuItem.Name = "loadFileToolStripMenuItem";
|
||||||
this.loadFileToolStripMenuItem.Size = new System.Drawing.Size(158, 22);
|
this.loadFileToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
|
||||||
this.loadFileToolStripMenuItem.Text = "Load file...";
|
this.loadFileToolStripMenuItem.Text = "Load file...";
|
||||||
this.loadFileToolStripMenuItem.Click += new System.EventHandler(this.loadFile_Click);
|
this.loadFileToolStripMenuItem.Click += new System.EventHandler(this.loadFile_Click);
|
||||||
//
|
//
|
||||||
// loadFolderToolStripMenuItem
|
// loadFolderToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.loadFolderToolStripMenuItem.Name = "loadFolderToolStripMenuItem";
|
this.loadFolderToolStripMenuItem.Name = "loadFolderToolStripMenuItem";
|
||||||
this.loadFolderToolStripMenuItem.Size = new System.Drawing.Size(158, 22);
|
this.loadFolderToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
|
||||||
this.loadFolderToolStripMenuItem.Text = "Load folder...";
|
this.loadFolderToolStripMenuItem.Text = "Load folder...";
|
||||||
this.loadFolderToolStripMenuItem.Click += new System.EventHandler(this.loadFolder_Click);
|
this.loadFolderToolStripMenuItem.Click += new System.EventHandler(this.loadFolder_Click);
|
||||||
//
|
//
|
||||||
// toolStripMenuItem1
|
// toolStripMenuItem1
|
||||||
//
|
//
|
||||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(155, 6);
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(165, 6);
|
||||||
//
|
//
|
||||||
// extractBundleToolStripMenuItem
|
// extractBundleToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.extractBundleToolStripMenuItem.Name = "extractBundleToolStripMenuItem";
|
this.extractBundleToolStripMenuItem.Name = "extractBundleToolStripMenuItem";
|
||||||
this.extractBundleToolStripMenuItem.Size = new System.Drawing.Size(158, 22);
|
this.extractBundleToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
|
||||||
this.extractBundleToolStripMenuItem.Text = "Extract bundle...";
|
this.extractBundleToolStripMenuItem.Text = "Extract bundle...";
|
||||||
this.extractBundleToolStripMenuItem.Click += new System.EventHandler(this.extractBundleToolStripMenuItem_Click);
|
this.extractBundleToolStripMenuItem.Click += new System.EventHandler(this.extractBundleToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// extractFolderToolStripMenuItem
|
// extractFolderToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.extractFolderToolStripMenuItem.Name = "extractFolderToolStripMenuItem";
|
this.extractFolderToolStripMenuItem.Name = "extractFolderToolStripMenuItem";
|
||||||
this.extractFolderToolStripMenuItem.Size = new System.Drawing.Size(158, 22);
|
this.extractFolderToolStripMenuItem.Size = new System.Drawing.Size(168, 22);
|
||||||
this.extractFolderToolStripMenuItem.Text = "Extract folder...";
|
this.extractFolderToolStripMenuItem.Text = "Extract folder...";
|
||||||
this.extractFolderToolStripMenuItem.Click += new System.EventHandler(this.extractFolderToolStripMenuItem_Click);
|
this.extractFolderToolStripMenuItem.Click += new System.EventHandler(this.extractFolderToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
@@ -187,7 +188,7 @@
|
|||||||
this.toolStripSeparator2,
|
this.toolStripSeparator2,
|
||||||
this.exportClassStructuresMenuItem});
|
this.exportClassStructuresMenuItem});
|
||||||
this.debugMenuItem.Name = "debugMenuItem";
|
this.debugMenuItem.Name = "debugMenuItem";
|
||||||
this.debugMenuItem.Size = new System.Drawing.Size(80, 20);
|
this.debugMenuItem.Size = new System.Drawing.Size(87, 21);
|
||||||
this.debugMenuItem.Text = "Diagnostics";
|
this.debugMenuItem.Text = "Diagnostics";
|
||||||
this.debugMenuItem.Visible = false;
|
this.debugMenuItem.Visible = false;
|
||||||
//
|
//
|
||||||
@@ -195,14 +196,14 @@
|
|||||||
//
|
//
|
||||||
this.buildClassStructuresMenuItem.CheckOnClick = true;
|
this.buildClassStructuresMenuItem.CheckOnClick = true;
|
||||||
this.buildClassStructuresMenuItem.Name = "buildClassStructuresMenuItem";
|
this.buildClassStructuresMenuItem.Name = "buildClassStructuresMenuItem";
|
||||||
this.buildClassStructuresMenuItem.Size = new System.Drawing.Size(208, 22);
|
this.buildClassStructuresMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||||
this.buildClassStructuresMenuItem.Text = "Build class structures";
|
this.buildClassStructuresMenuItem.Text = "Build class structures";
|
||||||
//
|
//
|
||||||
// dontLoadAssetsMenuItem
|
// dontLoadAssetsMenuItem
|
||||||
//
|
//
|
||||||
this.dontLoadAssetsMenuItem.CheckOnClick = true;
|
this.dontLoadAssetsMenuItem.CheckOnClick = true;
|
||||||
this.dontLoadAssetsMenuItem.Name = "dontLoadAssetsMenuItem";
|
this.dontLoadAssetsMenuItem.Name = "dontLoadAssetsMenuItem";
|
||||||
this.dontLoadAssetsMenuItem.Size = new System.Drawing.Size(208, 22);
|
this.dontLoadAssetsMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||||
this.dontLoadAssetsMenuItem.Text = "Don\'t load assets";
|
this.dontLoadAssetsMenuItem.Text = "Don\'t load assets";
|
||||||
this.dontLoadAssetsMenuItem.CheckedChanged += new System.EventHandler(this.dontLoadAssetsMenuItem_CheckedChanged);
|
this.dontLoadAssetsMenuItem.CheckedChanged += new System.EventHandler(this.dontLoadAssetsMenuItem_CheckedChanged);
|
||||||
//
|
//
|
||||||
@@ -210,44 +211,43 @@
|
|||||||
//
|
//
|
||||||
this.dontBuildHierarchyMenuItem.CheckOnClick = true;
|
this.dontBuildHierarchyMenuItem.CheckOnClick = true;
|
||||||
this.dontBuildHierarchyMenuItem.Name = "dontBuildHierarchyMenuItem";
|
this.dontBuildHierarchyMenuItem.Name = "dontBuildHierarchyMenuItem";
|
||||||
this.dontBuildHierarchyMenuItem.Size = new System.Drawing.Size(208, 22);
|
this.dontBuildHierarchyMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||||
this.dontBuildHierarchyMenuItem.Text = "Don\'t build hierarchy tree";
|
this.dontBuildHierarchyMenuItem.Text = "Don\'t build hierarchy tree";
|
||||||
//
|
//
|
||||||
// toolStripSeparator2
|
// toolStripSeparator2
|
||||||
//
|
//
|
||||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||||
this.toolStripSeparator2.Size = new System.Drawing.Size(205, 6);
|
this.toolStripSeparator2.Size = new System.Drawing.Size(221, 6);
|
||||||
//
|
//
|
||||||
// exportClassStructuresMenuItem
|
// exportClassStructuresMenuItem
|
||||||
//
|
//
|
||||||
this.exportClassStructuresMenuItem.Name = "exportClassStructuresMenuItem";
|
this.exportClassStructuresMenuItem.Name = "exportClassStructuresMenuItem";
|
||||||
this.exportClassStructuresMenuItem.Size = new System.Drawing.Size(208, 22);
|
this.exportClassStructuresMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||||
this.exportClassStructuresMenuItem.Text = "Export class structures";
|
this.exportClassStructuresMenuItem.Text = "Export class structures";
|
||||||
this.exportClassStructuresMenuItem.Click += new System.EventHandler(this.exportClassStructuresMenuItem_Click);
|
this.exportClassStructuresMenuItem.Click += new System.EventHandler(this.exportClassStructuresMenuItem_Click);
|
||||||
//
|
//
|
||||||
// optionsToolStripMenuItem
|
// optionsToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.uniqueNames,
|
this.displayAll,
|
||||||
this.enablePreview,
|
this.enablePreview,
|
||||||
this.displayInfo,
|
this.displayInfo,
|
||||||
this.openAfterExport,
|
this.openAfterExport,
|
||||||
this.assetGroupOptions,
|
this.assetGroupOptions,
|
||||||
this.showExpOpt});
|
this.showExpOpt});
|
||||||
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
|
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
|
||||||
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
|
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(66, 21);
|
||||||
this.optionsToolStripMenuItem.Text = "Options";
|
this.optionsToolStripMenuItem.Text = "Options";
|
||||||
//
|
//
|
||||||
// uniqueNames
|
// displayAll
|
||||||
//
|
//
|
||||||
this.uniqueNames.Checked = true;
|
this.displayAll.CheckOnClick = true;
|
||||||
this.uniqueNames.CheckOnClick = true;
|
this.displayAll.Name = "displayAll";
|
||||||
this.uniqueNames.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.displayAll.Size = new System.Drawing.Size(252, 22);
|
||||||
this.uniqueNames.Name = "uniqueNames";
|
this.displayAll.Text = "Display all assets";
|
||||||
this.uniqueNames.Size = new System.Drawing.Size(252, 22);
|
this.displayAll.ToolTipText = "Check this option will display all types assets. Not extractable assets can expor" +
|
||||||
this.uniqueNames.Text = "Unique exported filenames";
|
"t the RAW file.";
|
||||||
this.uniqueNames.ToolTipText = resources.GetString("uniqueNames.ToolTipText");
|
this.displayAll.CheckedChanged += new System.EventHandler(this.MenuItem_CheckedChanged);
|
||||||
this.uniqueNames.CheckedChanged += new System.EventHandler(this.MenuItem_CheckedChanged);
|
|
||||||
//
|
//
|
||||||
// enablePreview
|
// enablePreview
|
||||||
//
|
//
|
||||||
@@ -290,7 +290,7 @@
|
|||||||
"Group exported assets by source file",
|
"Group exported assets by source file",
|
||||||
"Do not group exported assets"});
|
"Do not group exported assets"});
|
||||||
this.assetGroupOptions.Name = "assetGroupOptions";
|
this.assetGroupOptions.Name = "assetGroupOptions";
|
||||||
this.assetGroupOptions.Size = new System.Drawing.Size(192, 23);
|
this.assetGroupOptions.Size = new System.Drawing.Size(192, 25);
|
||||||
this.assetGroupOptions.SelectedIndexChanged += new System.EventHandler(this.assetGroupOptions_SelectedIndexChanged);
|
this.assetGroupOptions.SelectedIndexChanged += new System.EventHandler(this.assetGroupOptions_SelectedIndexChanged);
|
||||||
//
|
//
|
||||||
// showExpOpt
|
// showExpOpt
|
||||||
@@ -304,52 +304,53 @@
|
|||||||
//
|
//
|
||||||
this.exportToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.exportToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.exportAll3DMenuItem,
|
this.exportAll3DMenuItem,
|
||||||
|
this.all3DObjectssplitToolStripMenuItem,
|
||||||
this.exportSelected3DMenuItem,
|
this.exportSelected3DMenuItem,
|
||||||
this.toolStripSeparator1,
|
this.toolStripSeparator1,
|
||||||
this.exportAllAssetsMenuItem,
|
this.exportAllAssetsMenuItem,
|
||||||
this.exportSelectedAssetsMenuItem,
|
this.exportSelectedAssetsMenuItem,
|
||||||
this.exportFilteredAssetsMenuItem});
|
this.exportFilteredAssetsMenuItem});
|
||||||
this.exportToolStripMenuItem.Name = "exportToolStripMenuItem";
|
this.exportToolStripMenuItem.Name = "exportToolStripMenuItem";
|
||||||
this.exportToolStripMenuItem.Size = new System.Drawing.Size(52, 20);
|
this.exportToolStripMenuItem.Size = new System.Drawing.Size(58, 21);
|
||||||
this.exportToolStripMenuItem.Text = "Export";
|
this.exportToolStripMenuItem.Text = "Export";
|
||||||
//
|
//
|
||||||
// exportAll3DMenuItem
|
// exportAll3DMenuItem
|
||||||
//
|
//
|
||||||
this.exportAll3DMenuItem.Name = "exportAll3DMenuItem";
|
this.exportAll3DMenuItem.Name = "exportAll3DMenuItem";
|
||||||
this.exportAll3DMenuItem.Size = new System.Drawing.Size(176, 22);
|
this.exportAll3DMenuItem.Size = new System.Drawing.Size(192, 22);
|
||||||
this.exportAll3DMenuItem.Text = "All 3D objects";
|
this.exportAll3DMenuItem.Text = "All 3D objects";
|
||||||
this.exportAll3DMenuItem.Click += new System.EventHandler(this.Export3DObjects_Click);
|
this.exportAll3DMenuItem.Click += new System.EventHandler(this.Export3DObjects_Click);
|
||||||
//
|
//
|
||||||
// exportSelected3DMenuItem
|
// exportSelected3DMenuItem
|
||||||
//
|
//
|
||||||
this.exportSelected3DMenuItem.Name = "exportSelected3DMenuItem";
|
this.exportSelected3DMenuItem.Name = "exportSelected3DMenuItem";
|
||||||
this.exportSelected3DMenuItem.Size = new System.Drawing.Size(176, 22);
|
this.exportSelected3DMenuItem.Size = new System.Drawing.Size(192, 22);
|
||||||
this.exportSelected3DMenuItem.Text = "Selected 3D objects";
|
this.exportSelected3DMenuItem.Text = "Selected 3D objects";
|
||||||
this.exportSelected3DMenuItem.Click += new System.EventHandler(this.Export3DObjects_Click);
|
this.exportSelected3DMenuItem.Click += new System.EventHandler(this.Export3DObjects_Click);
|
||||||
//
|
//
|
||||||
// toolStripSeparator1
|
// toolStripSeparator1
|
||||||
//
|
//
|
||||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||||
this.toolStripSeparator1.Size = new System.Drawing.Size(173, 6);
|
this.toolStripSeparator1.Size = new System.Drawing.Size(189, 6);
|
||||||
//
|
//
|
||||||
// exportAllAssetsMenuItem
|
// exportAllAssetsMenuItem
|
||||||
//
|
//
|
||||||
this.exportAllAssetsMenuItem.Name = "exportAllAssetsMenuItem";
|
this.exportAllAssetsMenuItem.Name = "exportAllAssetsMenuItem";
|
||||||
this.exportAllAssetsMenuItem.Size = new System.Drawing.Size(176, 22);
|
this.exportAllAssetsMenuItem.Size = new System.Drawing.Size(192, 22);
|
||||||
this.exportAllAssetsMenuItem.Text = "All assets";
|
this.exportAllAssetsMenuItem.Text = "All assets";
|
||||||
this.exportAllAssetsMenuItem.Click += new System.EventHandler(this.ExportAssets_Click);
|
this.exportAllAssetsMenuItem.Click += new System.EventHandler(this.ExportAssets_Click);
|
||||||
//
|
//
|
||||||
// exportSelectedAssetsMenuItem
|
// exportSelectedAssetsMenuItem
|
||||||
//
|
//
|
||||||
this.exportSelectedAssetsMenuItem.Name = "exportSelectedAssetsMenuItem";
|
this.exportSelectedAssetsMenuItem.Name = "exportSelectedAssetsMenuItem";
|
||||||
this.exportSelectedAssetsMenuItem.Size = new System.Drawing.Size(176, 22);
|
this.exportSelectedAssetsMenuItem.Size = new System.Drawing.Size(192, 22);
|
||||||
this.exportSelectedAssetsMenuItem.Text = "Selected assets";
|
this.exportSelectedAssetsMenuItem.Text = "Selected assets";
|
||||||
this.exportSelectedAssetsMenuItem.Click += new System.EventHandler(this.ExportAssets_Click);
|
this.exportSelectedAssetsMenuItem.Click += new System.EventHandler(this.ExportAssets_Click);
|
||||||
//
|
//
|
||||||
// exportFilteredAssetsMenuItem
|
// exportFilteredAssetsMenuItem
|
||||||
//
|
//
|
||||||
this.exportFilteredAssetsMenuItem.Name = "exportFilteredAssetsMenuItem";
|
this.exportFilteredAssetsMenuItem.Name = "exportFilteredAssetsMenuItem";
|
||||||
this.exportFilteredAssetsMenuItem.Size = new System.Drawing.Size(176, 22);
|
this.exportFilteredAssetsMenuItem.Size = new System.Drawing.Size(192, 22);
|
||||||
this.exportFilteredAssetsMenuItem.Text = "Filtered assets";
|
this.exportFilteredAssetsMenuItem.Text = "Filtered assets";
|
||||||
this.exportFilteredAssetsMenuItem.Click += new System.EventHandler(this.ExportAssets_Click);
|
this.exportFilteredAssetsMenuItem.Click += new System.EventHandler(this.ExportAssets_Click);
|
||||||
//
|
//
|
||||||
@@ -358,13 +359,13 @@
|
|||||||
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.aboutToolStripMenuItem});
|
this.aboutToolStripMenuItem});
|
||||||
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
||||||
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
|
this.helpToolStripMenuItem.Size = new System.Drawing.Size(47, 21);
|
||||||
this.helpToolStripMenuItem.Text = "Help";
|
this.helpToolStripMenuItem.Text = "Help";
|
||||||
//
|
//
|
||||||
// aboutToolStripMenuItem
|
// aboutToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
||||||
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
|
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(111, 22);
|
||||||
this.aboutToolStripMenuItem.Text = "About";
|
this.aboutToolStripMenuItem.Text = "About";
|
||||||
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
@@ -372,7 +373,7 @@
|
|||||||
//
|
//
|
||||||
this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.splitContainer1.Location = new System.Drawing.Point(0, 24);
|
this.splitContainer1.Location = new System.Drawing.Point(0, 25);
|
||||||
this.splitContainer1.Name = "splitContainer1";
|
this.splitContainer1.Name = "splitContainer1";
|
||||||
//
|
//
|
||||||
// splitContainer1.Panel1
|
// splitContainer1.Panel1
|
||||||
@@ -387,12 +388,10 @@
|
|||||||
this.splitContainer1.Panel2.Controls.Add(this.classPreviewPanel);
|
this.splitContainer1.Panel2.Controls.Add(this.classPreviewPanel);
|
||||||
this.splitContainer1.Panel2.Controls.Add(this.statusStrip1);
|
this.splitContainer1.Panel2.Controls.Add(this.statusStrip1);
|
||||||
this.splitContainer1.Panel2MinSize = 400;
|
this.splitContainer1.Panel2MinSize = 400;
|
||||||
this.splitContainer1.Size = new System.Drawing.Size(1264, 658);
|
this.splitContainer1.Size = new System.Drawing.Size(1264, 605);
|
||||||
this.splitContainer1.SplitterDistance = 420;
|
this.splitContainer1.SplitterDistance = 420;
|
||||||
this.splitContainer1.TabIndex = 2;
|
this.splitContainer1.TabIndex = 2;
|
||||||
this.splitContainer1.TabStop = false;
|
this.splitContainer1.TabStop = false;
|
||||||
this.splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer1_SplitterMoved);
|
|
||||||
this.splitContainer1.Resize += new System.EventHandler(this.splitContainer1_Resize);
|
|
||||||
//
|
//
|
||||||
// tabControl1
|
// tabControl1
|
||||||
//
|
//
|
||||||
@@ -403,7 +402,7 @@
|
|||||||
this.tabControl1.Name = "tabControl1";
|
this.tabControl1.Name = "tabControl1";
|
||||||
this.tabControl1.Padding = new System.Drawing.Point(17, 3);
|
this.tabControl1.Padding = new System.Drawing.Point(17, 3);
|
||||||
this.tabControl1.SelectedIndex = 0;
|
this.tabControl1.SelectedIndex = 0;
|
||||||
this.tabControl1.Size = new System.Drawing.Size(418, 634);
|
this.tabControl1.Size = new System.Drawing.Size(418, 583);
|
||||||
this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
|
this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
|
||||||
this.tabControl1.TabIndex = 0;
|
this.tabControl1.TabIndex = 0;
|
||||||
this.tabControl1.Selected += new System.Windows.Forms.TabControlEventHandler(this.tabPageSelected);
|
this.tabControl1.Selected += new System.Windows.Forms.TabControlEventHandler(this.tabPageSelected);
|
||||||
@@ -414,7 +413,7 @@
|
|||||||
this.tabPage1.Controls.Add(this.treeSearch);
|
this.tabPage1.Controls.Add(this.treeSearch);
|
||||||
this.tabPage1.Location = new System.Drawing.Point(4, 22);
|
this.tabPage1.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage1.Name = "tabPage1";
|
this.tabPage1.Name = "tabPage1";
|
||||||
this.tabPage1.Size = new System.Drawing.Size(410, 608);
|
this.tabPage1.Size = new System.Drawing.Size(410, 557);
|
||||||
this.tabPage1.TabIndex = 0;
|
this.tabPage1.TabIndex = 0;
|
||||||
this.tabPage1.Text = "Scene Hierarchy";
|
this.tabPage1.Text = "Scene Hierarchy";
|
||||||
this.tabPage1.UseVisualStyleBackColor = true;
|
this.tabPage1.UseVisualStyleBackColor = true;
|
||||||
@@ -424,9 +423,9 @@
|
|||||||
this.sceneTreeView.CheckBoxes = true;
|
this.sceneTreeView.CheckBoxes = true;
|
||||||
this.sceneTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.sceneTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.sceneTreeView.HideSelection = false;
|
this.sceneTreeView.HideSelection = false;
|
||||||
this.sceneTreeView.Location = new System.Drawing.Point(0, 20);
|
this.sceneTreeView.Location = new System.Drawing.Point(0, 21);
|
||||||
this.sceneTreeView.Name = "sceneTreeView";
|
this.sceneTreeView.Name = "sceneTreeView";
|
||||||
this.sceneTreeView.Size = new System.Drawing.Size(410, 588);
|
this.sceneTreeView.Size = new System.Drawing.Size(410, 536);
|
||||||
this.sceneTreeView.TabIndex = 1;
|
this.sceneTreeView.TabIndex = 1;
|
||||||
this.sceneTreeView.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.sceneTreeView_AfterCheck);
|
this.sceneTreeView.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.sceneTreeView_AfterCheck);
|
||||||
//
|
//
|
||||||
@@ -436,7 +435,7 @@
|
|||||||
this.treeSearch.ForeColor = System.Drawing.SystemColors.GrayText;
|
this.treeSearch.ForeColor = System.Drawing.SystemColors.GrayText;
|
||||||
this.treeSearch.Location = new System.Drawing.Point(0, 0);
|
this.treeSearch.Location = new System.Drawing.Point(0, 0);
|
||||||
this.treeSearch.Name = "treeSearch";
|
this.treeSearch.Name = "treeSearch";
|
||||||
this.treeSearch.Size = new System.Drawing.Size(410, 20);
|
this.treeSearch.Size = new System.Drawing.Size(410, 21);
|
||||||
this.treeSearch.TabIndex = 0;
|
this.treeSearch.TabIndex = 0;
|
||||||
this.treeSearch.Text = " Search ";
|
this.treeSearch.Text = " Search ";
|
||||||
this.treeSearch.TextChanged += new System.EventHandler(this.treeSearch_TextChanged);
|
this.treeSearch.TextChanged += new System.EventHandler(this.treeSearch_TextChanged);
|
||||||
@@ -451,10 +450,11 @@
|
|||||||
this.tabPage2.Controls.Add(this.listSearch);
|
this.tabPage2.Controls.Add(this.listSearch);
|
||||||
this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage2.Name = "tabPage2";
|
this.tabPage2.Name = "tabPage2";
|
||||||
this.tabPage2.Size = new System.Drawing.Size(410, 608);
|
this.tabPage2.Size = new System.Drawing.Size(410, 557);
|
||||||
this.tabPage2.TabIndex = 1;
|
this.tabPage2.TabIndex = 1;
|
||||||
this.tabPage2.Text = "Asset List";
|
this.tabPage2.Text = "Asset List";
|
||||||
this.tabPage2.UseVisualStyleBackColor = true;
|
this.tabPage2.UseVisualStyleBackColor = true;
|
||||||
|
this.tabPage2.Resize += new System.EventHandler(this.tabPage2_Resize);
|
||||||
//
|
//
|
||||||
// assetListView
|
// assetListView
|
||||||
//
|
//
|
||||||
@@ -467,9 +467,9 @@
|
|||||||
this.assetListView.GridLines = true;
|
this.assetListView.GridLines = true;
|
||||||
this.assetListView.HideSelection = false;
|
this.assetListView.HideSelection = false;
|
||||||
this.assetListView.LabelEdit = true;
|
this.assetListView.LabelEdit = true;
|
||||||
this.assetListView.Location = new System.Drawing.Point(0, 20);
|
this.assetListView.Location = new System.Drawing.Point(0, 21);
|
||||||
this.assetListView.Name = "assetListView";
|
this.assetListView.Name = "assetListView";
|
||||||
this.assetListView.Size = new System.Drawing.Size(410, 588);
|
this.assetListView.Size = new System.Drawing.Size(410, 536);
|
||||||
this.assetListView.TabIndex = 1;
|
this.assetListView.TabIndex = 1;
|
||||||
this.assetListView.UseCompatibleStateImageBehavior = false;
|
this.assetListView.UseCompatibleStateImageBehavior = false;
|
||||||
this.assetListView.View = System.Windows.Forms.View.Details;
|
this.assetListView.View = System.Windows.Forms.View.Details;
|
||||||
@@ -491,6 +491,7 @@
|
|||||||
// columnHeaderSize
|
// columnHeaderSize
|
||||||
//
|
//
|
||||||
this.columnHeaderSize.Text = "Size";
|
this.columnHeaderSize.Text = "Size";
|
||||||
|
this.columnHeaderSize.Width = 23;
|
||||||
//
|
//
|
||||||
// listSearch
|
// listSearch
|
||||||
//
|
//
|
||||||
@@ -498,7 +499,7 @@
|
|||||||
this.listSearch.ForeColor = System.Drawing.SystemColors.GrayText;
|
this.listSearch.ForeColor = System.Drawing.SystemColors.GrayText;
|
||||||
this.listSearch.Location = new System.Drawing.Point(0, 0);
|
this.listSearch.Location = new System.Drawing.Point(0, 0);
|
||||||
this.listSearch.Name = "listSearch";
|
this.listSearch.Name = "listSearch";
|
||||||
this.listSearch.Size = new System.Drawing.Size(410, 20);
|
this.listSearch.Size = new System.Drawing.Size(410, 21);
|
||||||
this.listSearch.TabIndex = 0;
|
this.listSearch.TabIndex = 0;
|
||||||
this.listSearch.Text = " Filter ";
|
this.listSearch.Text = " Filter ";
|
||||||
this.listSearch.TextChanged += new System.EventHandler(this.ListSearchTextChanged);
|
this.listSearch.TextChanged += new System.EventHandler(this.ListSearchTextChanged);
|
||||||
@@ -509,10 +510,10 @@
|
|||||||
//
|
//
|
||||||
this.progressbarPanel.Controls.Add(this.progressBar1);
|
this.progressbarPanel.Controls.Add(this.progressBar1);
|
||||||
this.progressbarPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.progressbarPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
this.progressbarPanel.Location = new System.Drawing.Point(0, 634);
|
this.progressbarPanel.Location = new System.Drawing.Point(0, 583);
|
||||||
this.progressbarPanel.Name = "progressbarPanel";
|
this.progressbarPanel.Name = "progressbarPanel";
|
||||||
this.progressbarPanel.Padding = new System.Windows.Forms.Padding(1, 3, 1, 1);
|
this.progressbarPanel.Padding = new System.Windows.Forms.Padding(1, 3, 1, 1);
|
||||||
this.progressbarPanel.Size = new System.Drawing.Size(418, 22);
|
this.progressbarPanel.Size = new System.Drawing.Size(418, 20);
|
||||||
this.progressbarPanel.TabIndex = 2;
|
this.progressbarPanel.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// progressBar1
|
// progressBar1
|
||||||
@@ -520,14 +521,14 @@
|
|||||||
this.progressBar1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.progressBar1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.progressBar1.Location = new System.Drawing.Point(1, 3);
|
this.progressBar1.Location = new System.Drawing.Point(1, 3);
|
||||||
this.progressBar1.Name = "progressBar1";
|
this.progressBar1.Name = "progressBar1";
|
||||||
this.progressBar1.Size = new System.Drawing.Size(416, 18);
|
this.progressBar1.Size = new System.Drawing.Size(416, 16);
|
||||||
this.progressBar1.Step = 1;
|
this.progressBar1.Step = 1;
|
||||||
this.progressBar1.TabIndex = 1;
|
this.progressBar1.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// previewPanel
|
// previewPanel
|
||||||
//
|
//
|
||||||
this.previewPanel.BackColor = System.Drawing.SystemColors.ControlDark;
|
this.previewPanel.BackColor = System.Drawing.SystemColors.ControlDark;
|
||||||
this.previewPanel.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("previewPanel.BackgroundImage")));
|
this.previewPanel.BackgroundImage = Properties.Resources.preview;
|
||||||
this.previewPanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
this.previewPanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||||
this.previewPanel.Controls.Add(this.assetInfoLabel);
|
this.previewPanel.Controls.Add(this.assetInfoLabel);
|
||||||
this.previewPanel.Controls.Add(this.FMODpanel);
|
this.previewPanel.Controls.Add(this.FMODpanel);
|
||||||
@@ -536,7 +537,7 @@
|
|||||||
this.previewPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.previewPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.previewPanel.Location = new System.Drawing.Point(0, 0);
|
this.previewPanel.Location = new System.Drawing.Point(0, 0);
|
||||||
this.previewPanel.Name = "previewPanel";
|
this.previewPanel.Name = "previewPanel";
|
||||||
this.previewPanel.Size = new System.Drawing.Size(838, 634);
|
this.previewPanel.Size = new System.Drawing.Size(838, 581);
|
||||||
this.previewPanel.TabIndex = 1;
|
this.previewPanel.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// assetInfoLabel
|
// assetInfoLabel
|
||||||
@@ -544,9 +545,9 @@
|
|||||||
this.assetInfoLabel.AutoSize = true;
|
this.assetInfoLabel.AutoSize = true;
|
||||||
this.assetInfoLabel.BackColor = System.Drawing.Color.Transparent;
|
this.assetInfoLabel.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.assetInfoLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
this.assetInfoLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||||
this.assetInfoLabel.Location = new System.Drawing.Point(4, 8);
|
this.assetInfoLabel.Location = new System.Drawing.Point(4, 7);
|
||||||
this.assetInfoLabel.Name = "assetInfoLabel";
|
this.assetInfoLabel.Name = "assetInfoLabel";
|
||||||
this.assetInfoLabel.Size = new System.Drawing.Size(0, 13);
|
this.assetInfoLabel.Size = new System.Drawing.Size(0, 12);
|
||||||
this.assetInfoLabel.TabIndex = 0;
|
this.assetInfoLabel.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// FMODpanel
|
// FMODpanel
|
||||||
@@ -563,26 +564,36 @@
|
|||||||
this.FMODpanel.Controls.Add(this.FMODstopButton);
|
this.FMODpanel.Controls.Add(this.FMODstopButton);
|
||||||
this.FMODpanel.Controls.Add(this.FMODpauseButton);
|
this.FMODpanel.Controls.Add(this.FMODpauseButton);
|
||||||
this.FMODpanel.Controls.Add(this.FMODplayButton);
|
this.FMODpanel.Controls.Add(this.FMODplayButton);
|
||||||
this.FMODpanel.Location = new System.Drawing.Point(220, 209);
|
this.FMODpanel.Location = new System.Drawing.Point(220, 191);
|
||||||
this.FMODpanel.Name = "FMODpanel";
|
this.FMODpanel.Name = "FMODpanel";
|
||||||
this.FMODpanel.Size = new System.Drawing.Size(400, 200);
|
this.FMODpanel.Size = new System.Drawing.Size(400, 185);
|
||||||
this.FMODpanel.TabIndex = 2;
|
this.FMODpanel.TabIndex = 2;
|
||||||
this.FMODpanel.Visible = false;
|
this.FMODpanel.Visible = false;
|
||||||
//
|
//
|
||||||
|
// FMODcopyright
|
||||||
|
//
|
||||||
|
this.FMODcopyright.AutoSize = true;
|
||||||
|
this.FMODcopyright.ForeColor = System.Drawing.SystemColors.ControlLight;
|
||||||
|
this.FMODcopyright.Location = new System.Drawing.Point(117, 173);
|
||||||
|
this.FMODcopyright.Name = "FMODcopyright";
|
||||||
|
this.FMODcopyright.Size = new System.Drawing.Size(341, 12);
|
||||||
|
this.FMODcopyright.TabIndex = 9;
|
||||||
|
this.FMODcopyright.Text = "Audio Engine supplied by FMOD by Firelight Technologies.";
|
||||||
|
//
|
||||||
// FMODinfoLabel
|
// FMODinfoLabel
|
||||||
//
|
//
|
||||||
this.FMODinfoLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
this.FMODinfoLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||||
this.FMODinfoLabel.Location = new System.Drawing.Point(82, 54);
|
this.FMODinfoLabel.Location = new System.Drawing.Point(82, 50);
|
||||||
this.FMODinfoLabel.Name = "FMODinfoLabel";
|
this.FMODinfoLabel.Name = "FMODinfoLabel";
|
||||||
this.FMODinfoLabel.Size = new System.Drawing.Size(176, 13);
|
this.FMODinfoLabel.Size = new System.Drawing.Size(176, 12);
|
||||||
this.FMODinfoLabel.TabIndex = 8;
|
this.FMODinfoLabel.TabIndex = 8;
|
||||||
//
|
//
|
||||||
// FMODtimerLabel
|
// FMODtimerLabel
|
||||||
//
|
//
|
||||||
this.FMODtimerLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
this.FMODtimerLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||||
this.FMODtimerLabel.Location = new System.Drawing.Point(264, 54);
|
this.FMODtimerLabel.Location = new System.Drawing.Point(212, 50);
|
||||||
this.FMODtimerLabel.Name = "FMODtimerLabel";
|
this.FMODtimerLabel.Name = "FMODtimerLabel";
|
||||||
this.FMODtimerLabel.Size = new System.Drawing.Size(99, 13);
|
this.FMODtimerLabel.Size = new System.Drawing.Size(158, 12);
|
||||||
this.FMODtimerLabel.TabIndex = 7;
|
this.FMODtimerLabel.TabIndex = 7;
|
||||||
this.FMODtimerLabel.Text = "0:00.0 / 0:00.0";
|
this.FMODtimerLabel.Text = "0:00.0 / 0:00.0";
|
||||||
this.FMODtimerLabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
this.FMODtimerLabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||||
@@ -590,19 +601,19 @@
|
|||||||
// FMODstatusLabel
|
// FMODstatusLabel
|
||||||
//
|
//
|
||||||
this.FMODstatusLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
this.FMODstatusLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||||
this.FMODstatusLabel.Location = new System.Drawing.Point(26, 54);
|
this.FMODstatusLabel.Location = new System.Drawing.Point(26, 50);
|
||||||
this.FMODstatusLabel.Name = "FMODstatusLabel";
|
this.FMODstatusLabel.Name = "FMODstatusLabel";
|
||||||
this.FMODstatusLabel.Size = new System.Drawing.Size(50, 13);
|
this.FMODstatusLabel.Size = new System.Drawing.Size(50, 12);
|
||||||
this.FMODstatusLabel.TabIndex = 6;
|
this.FMODstatusLabel.TabIndex = 6;
|
||||||
this.FMODstatusLabel.Text = "Stopped";
|
this.FMODstatusLabel.Text = "Stopped";
|
||||||
//
|
//
|
||||||
// FMODprogressBar
|
// FMODprogressBar
|
||||||
//
|
//
|
||||||
this.FMODprogressBar.AutoSize = false;
|
this.FMODprogressBar.AutoSize = false;
|
||||||
this.FMODprogressBar.Location = new System.Drawing.Point(29, 73);
|
this.FMODprogressBar.Location = new System.Drawing.Point(29, 67);
|
||||||
this.FMODprogressBar.Maximum = 1000;
|
this.FMODprogressBar.Maximum = 1000;
|
||||||
this.FMODprogressBar.Name = "FMODprogressBar";
|
this.FMODprogressBar.Name = "FMODprogressBar";
|
||||||
this.FMODprogressBar.Size = new System.Drawing.Size(348, 24);
|
this.FMODprogressBar.Size = new System.Drawing.Size(348, 22);
|
||||||
this.FMODprogressBar.TabIndex = 5;
|
this.FMODprogressBar.TabIndex = 5;
|
||||||
this.FMODprogressBar.TickStyle = System.Windows.Forms.TickStyle.None;
|
this.FMODprogressBar.TickStyle = System.Windows.Forms.TickStyle.None;
|
||||||
this.FMODprogressBar.Scroll += new System.EventHandler(this.FMODprogressBar_Scroll);
|
this.FMODprogressBar.Scroll += new System.EventHandler(this.FMODprogressBar_Scroll);
|
||||||
@@ -612,7 +623,7 @@
|
|||||||
// FMODvolumeBar
|
// FMODvolumeBar
|
||||||
//
|
//
|
||||||
this.FMODvolumeBar.LargeChange = 2;
|
this.FMODvolumeBar.LargeChange = 2;
|
||||||
this.FMODvolumeBar.Location = new System.Drawing.Point(273, 103);
|
this.FMODvolumeBar.Location = new System.Drawing.Point(273, 95);
|
||||||
this.FMODvolumeBar.Name = "FMODvolumeBar";
|
this.FMODvolumeBar.Name = "FMODvolumeBar";
|
||||||
this.FMODvolumeBar.Size = new System.Drawing.Size(104, 45);
|
this.FMODvolumeBar.Size = new System.Drawing.Size(104, 45);
|
||||||
this.FMODvolumeBar.TabIndex = 4;
|
this.FMODvolumeBar.TabIndex = 4;
|
||||||
@@ -623,9 +634,9 @@
|
|||||||
// FMODloopButton
|
// FMODloopButton
|
||||||
//
|
//
|
||||||
this.FMODloopButton.Appearance = System.Windows.Forms.Appearance.Button;
|
this.FMODloopButton.Appearance = System.Windows.Forms.Appearance.Button;
|
||||||
this.FMODloopButton.Location = new System.Drawing.Point(212, 103);
|
this.FMODloopButton.Location = new System.Drawing.Point(212, 95);
|
||||||
this.FMODloopButton.Name = "FMODloopButton";
|
this.FMODloopButton.Name = "FMODloopButton";
|
||||||
this.FMODloopButton.Size = new System.Drawing.Size(55, 45);
|
this.FMODloopButton.Size = new System.Drawing.Size(55, 42);
|
||||||
this.FMODloopButton.TabIndex = 3;
|
this.FMODloopButton.TabIndex = 3;
|
||||||
this.FMODloopButton.Text = "Loop";
|
this.FMODloopButton.Text = "Loop";
|
||||||
this.FMODloopButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.FMODloopButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
@@ -634,9 +645,9 @@
|
|||||||
//
|
//
|
||||||
// FMODstopButton
|
// FMODstopButton
|
||||||
//
|
//
|
||||||
this.FMODstopButton.Location = new System.Drawing.Point(151, 103);
|
this.FMODstopButton.Location = new System.Drawing.Point(151, 95);
|
||||||
this.FMODstopButton.Name = "FMODstopButton";
|
this.FMODstopButton.Name = "FMODstopButton";
|
||||||
this.FMODstopButton.Size = new System.Drawing.Size(55, 45);
|
this.FMODstopButton.Size = new System.Drawing.Size(55, 42);
|
||||||
this.FMODstopButton.TabIndex = 2;
|
this.FMODstopButton.TabIndex = 2;
|
||||||
this.FMODstopButton.Text = "Stop";
|
this.FMODstopButton.Text = "Stop";
|
||||||
this.FMODstopButton.UseVisualStyleBackColor = true;
|
this.FMODstopButton.UseVisualStyleBackColor = true;
|
||||||
@@ -644,9 +655,9 @@
|
|||||||
//
|
//
|
||||||
// FMODpauseButton
|
// FMODpauseButton
|
||||||
//
|
//
|
||||||
this.FMODpauseButton.Location = new System.Drawing.Point(90, 103);
|
this.FMODpauseButton.Location = new System.Drawing.Point(90, 95);
|
||||||
this.FMODpauseButton.Name = "FMODpauseButton";
|
this.FMODpauseButton.Name = "FMODpauseButton";
|
||||||
this.FMODpauseButton.Size = new System.Drawing.Size(55, 45);
|
this.FMODpauseButton.Size = new System.Drawing.Size(55, 42);
|
||||||
this.FMODpauseButton.TabIndex = 1;
|
this.FMODpauseButton.TabIndex = 1;
|
||||||
this.FMODpauseButton.Text = "Pause";
|
this.FMODpauseButton.Text = "Pause";
|
||||||
this.FMODpauseButton.UseVisualStyleBackColor = true;
|
this.FMODpauseButton.UseVisualStyleBackColor = true;
|
||||||
@@ -654,9 +665,9 @@
|
|||||||
//
|
//
|
||||||
// FMODplayButton
|
// FMODplayButton
|
||||||
//
|
//
|
||||||
this.FMODplayButton.Location = new System.Drawing.Point(29, 103);
|
this.FMODplayButton.Location = new System.Drawing.Point(29, 95);
|
||||||
this.FMODplayButton.Name = "FMODplayButton";
|
this.FMODplayButton.Name = "FMODplayButton";
|
||||||
this.FMODplayButton.Size = new System.Drawing.Size(55, 45);
|
this.FMODplayButton.Size = new System.Drawing.Size(55, 42);
|
||||||
this.FMODplayButton.TabIndex = 0;
|
this.FMODplayButton.TabIndex = 0;
|
||||||
this.FMODplayButton.Text = "Play";
|
this.FMODplayButton.Text = "Play";
|
||||||
this.FMODplayButton.UseVisualStyleBackColor = true;
|
this.FMODplayButton.UseVisualStyleBackColor = true;
|
||||||
@@ -670,7 +681,7 @@
|
|||||||
this.fontPreviewBox.Name = "fontPreviewBox";
|
this.fontPreviewBox.Name = "fontPreviewBox";
|
||||||
this.fontPreviewBox.ReadOnly = true;
|
this.fontPreviewBox.ReadOnly = true;
|
||||||
this.fontPreviewBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
|
this.fontPreviewBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
|
||||||
this.fontPreviewBox.Size = new System.Drawing.Size(838, 634);
|
this.fontPreviewBox.Size = new System.Drawing.Size(838, 581);
|
||||||
this.fontPreviewBox.TabIndex = 0;
|
this.fontPreviewBox.TabIndex = 0;
|
||||||
this.fontPreviewBox.Text = resources.GetString("fontPreviewBox.Text");
|
this.fontPreviewBox.Text = resources.GetString("fontPreviewBox.Text");
|
||||||
this.fontPreviewBox.Visible = false;
|
this.fontPreviewBox.Visible = false;
|
||||||
@@ -685,7 +696,7 @@
|
|||||||
this.textPreviewBox.Name = "textPreviewBox";
|
this.textPreviewBox.Name = "textPreviewBox";
|
||||||
this.textPreviewBox.ReadOnly = true;
|
this.textPreviewBox.ReadOnly = true;
|
||||||
this.textPreviewBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
this.textPreviewBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||||
this.textPreviewBox.Size = new System.Drawing.Size(838, 634);
|
this.textPreviewBox.Size = new System.Drawing.Size(838, 581);
|
||||||
this.textPreviewBox.TabIndex = 2;
|
this.textPreviewBox.TabIndex = 2;
|
||||||
this.textPreviewBox.Visible = false;
|
this.textPreviewBox.Visible = false;
|
||||||
this.textPreviewBox.WordWrap = false;
|
this.textPreviewBox.WordWrap = false;
|
||||||
@@ -696,7 +707,7 @@
|
|||||||
this.classPreviewPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.classPreviewPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.classPreviewPanel.Location = new System.Drawing.Point(0, 0);
|
this.classPreviewPanel.Location = new System.Drawing.Point(0, 0);
|
||||||
this.classPreviewPanel.Name = "classPreviewPanel";
|
this.classPreviewPanel.Name = "classPreviewPanel";
|
||||||
this.classPreviewPanel.Size = new System.Drawing.Size(838, 634);
|
this.classPreviewPanel.Size = new System.Drawing.Size(838, 581);
|
||||||
this.classPreviewPanel.TabIndex = 3;
|
this.classPreviewPanel.TabIndex = 3;
|
||||||
this.classPreviewPanel.Visible = false;
|
this.classPreviewPanel.Visible = false;
|
||||||
//
|
//
|
||||||
@@ -708,7 +719,7 @@
|
|||||||
this.classTextBox.Name = "classTextBox";
|
this.classTextBox.Name = "classTextBox";
|
||||||
this.classTextBox.ReadOnly = true;
|
this.classTextBox.ReadOnly = true;
|
||||||
this.classTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
this.classTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||||
this.classTextBox.Size = new System.Drawing.Size(838, 634);
|
this.classTextBox.Size = new System.Drawing.Size(838, 581);
|
||||||
this.classTextBox.TabIndex = 3;
|
this.classTextBox.TabIndex = 3;
|
||||||
this.classTextBox.WordWrap = false;
|
this.classTextBox.WordWrap = false;
|
||||||
//
|
//
|
||||||
@@ -716,7 +727,7 @@
|
|||||||
//
|
//
|
||||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.toolStripStatusLabel1});
|
this.toolStripStatusLabel1});
|
||||||
this.statusStrip1.Location = new System.Drawing.Point(0, 634);
|
this.statusStrip1.Location = new System.Drawing.Point(0, 581);
|
||||||
this.statusStrip1.Name = "statusStrip1";
|
this.statusStrip1.Name = "statusStrip1";
|
||||||
this.statusStrip1.Size = new System.Drawing.Size(838, 22);
|
this.statusStrip1.Size = new System.Drawing.Size(838, 22);
|
||||||
this.statusStrip1.TabIndex = 2;
|
this.statusStrip1.TabIndex = 2;
|
||||||
@@ -775,9 +786,8 @@
|
|||||||
//
|
//
|
||||||
// openFileDialog1
|
// openFileDialog1
|
||||||
//
|
//
|
||||||
this.openFileDialog1.Filter = "Unity asset files|level*; mainData; CustomAssetBundle-*; CAB-*; BuildPlayer-*; *." +
|
this.openFileDialog1.AddExtension = false;
|
||||||
"assets; *.sharedAssets|Unity bundle files|*.unity3d; *.unity3d.lz4; *.assetbundl" +
|
this.openFileDialog1.Filter = resources.GetString("openFileDialog1.Filter");
|
||||||
"e; *.bundle; *.bytes";
|
|
||||||
this.openFileDialog1.Multiselect = true;
|
this.openFileDialog1.Multiselect = true;
|
||||||
this.openFileDialog1.RestoreDirectory = true;
|
this.openFileDialog1.RestoreDirectory = true;
|
||||||
//
|
//
|
||||||
@@ -803,28 +813,26 @@
|
|||||||
this.saveFolderDialog1.RestoreDirectory = true;
|
this.saveFolderDialog1.RestoreDirectory = true;
|
||||||
this.saveFolderDialog1.Title = "Browse for folder";
|
this.saveFolderDialog1.Title = "Browse for folder";
|
||||||
//
|
//
|
||||||
// FMODcopyright
|
// all3DObjectssplitToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.FMODcopyright.AutoSize = true;
|
this.all3DObjectssplitToolStripMenuItem.Name = "all3DObjectssplitToolStripMenuItem";
|
||||||
this.FMODcopyright.ForeColor = System.Drawing.SystemColors.ControlLight;
|
this.all3DObjectssplitToolStripMenuItem.Size = new System.Drawing.Size(192, 22);
|
||||||
this.FMODcopyright.Location = new System.Drawing.Point(117, 187);
|
this.all3DObjectssplitToolStripMenuItem.Text = "All 3D objects (split)";
|
||||||
this.FMODcopyright.Name = "FMODcopyright";
|
this.all3DObjectssplitToolStripMenuItem.Click += new System.EventHandler(this.all3DObjectssplitToolStripMenuItem_Click);
|
||||||
this.FMODcopyright.Size = new System.Drawing.Size(283, 13);
|
|
||||||
this.FMODcopyright.TabIndex = 9;
|
|
||||||
this.FMODcopyright.Text = "Audio Engine supplied by FMOD by Firelight Technologies.";
|
|
||||||
//
|
//
|
||||||
// UnityStudioForm
|
// UnityStudioForm
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(1264, 682);
|
this.ClientSize = new System.Drawing.Size(1264, 630);
|
||||||
this.Controls.Add(this.splitContainer1);
|
this.Controls.Add(this.splitContainer1);
|
||||||
this.Controls.Add(this.menuStrip1);
|
this.Controls.Add(this.menuStrip1);
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.Icon = Properties.Resources.unity;
|
||||||
this.KeyPreview = true;
|
this.KeyPreview = true;
|
||||||
this.MainMenuStrip = this.menuStrip1;
|
this.MainMenuStrip = this.menuStrip1;
|
||||||
this.MinimumSize = new System.Drawing.Size(620, 400);
|
this.MinimumSize = new System.Drawing.Size(620, 372);
|
||||||
this.Name = "UnityStudioForm";
|
this.Name = "UnityStudioForm";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
this.Text = "Unity Studio";
|
this.Text = "Unity Studio";
|
||||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.UnityStudioForm_FormClosing);
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.UnityStudioForm_FormClosing);
|
||||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.UnityStudioForm_KeyDown);
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.UnityStudioForm_KeyDown);
|
||||||
@@ -899,7 +907,7 @@
|
|||||||
private System.Windows.Forms.Timer timer;
|
private System.Windows.Forms.Timer timer;
|
||||||
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem uniqueNames;
|
private System.Windows.Forms.ToolStripMenuItem displayAll;
|
||||||
private System.Windows.Forms.ToolStripMenuItem enablePreview;
|
private System.Windows.Forms.ToolStripMenuItem enablePreview;
|
||||||
private System.Windows.Forms.ToolStripMenuItem displayInfo;
|
private System.Windows.Forms.ToolStripMenuItem displayInfo;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
||||||
@@ -930,6 +938,7 @@
|
|||||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
||||||
private System.Windows.Forms.ToolStripMenuItem exportClassStructuresMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem exportClassStructuresMenuItem;
|
||||||
private System.Windows.Forms.Label FMODcopyright;
|
private System.Windows.Forms.Label FMODcopyright;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem all3DObjectssplitToolStripMenuItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -117,187 +117,9 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>325, 17</value>
|
|
||||||
</metadata>
|
|
||||||
<data name="uniqueNames.ToolTipText" xml:space="preserve">
|
|
||||||
<value>Two or more assets may have the same name, and Unity Studio will never overwrite an existing file.
|
|
||||||
Check this option to add a unique numeric identifier at the end of each filename, and ensure that all assets are extracted.</value>
|
|
||||||
</data>
|
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<data name="previewPanel.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>
|
<value>325, 17</value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
|
|
||||||
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
|
|
||||||
bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE
|
|
||||||
sRAUVLAHJAgoMRhFVCxvRtaLrqy89/Ly++Osb+2z97n77L3PWhcAkqcvl5cGSwGQyhPwgzyc6RGRUXTs
|
|
||||||
AIABHmCAKQBMVka6X7B7CBDJy82FniFyAl8EAfB6WLwCcNPQM4BOB/+fpFnpfIHomAARm7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||
6hhX7wJ0riJ3bSsKwJl10dIYs1v/gvq3IgVA7rrrPl0ANAlnJ7RU0KsJ0BP9irHQcdA4I69w/FeTV1aM
|
|
||||||
cXZxlmSKXOFWFADtd+XCpb7R5BcaoxUtAKJtxR1X7VwBkKOzJiM7ofUBX02AnuxjwOy7/x4df+QYCp28
|
|
||||||
+rOuHv+K5F0xhkSSuFYn05MFQPtn3xO15y2KxmplCoBoba+4G9Ax6bPxvwZcYGPrGGRWWfWsq6AVfH0w
|
|
||||||
2hTESNsnSieMxiNnP6PQNjt+LbrVx6+N+tS0Ud9CG/WraaO+LcWq8zy6Smme2qKmP9Pn1to+NX0u9WnV
|
|
||||||
cxmJVYVP6yhz1a9RDK3RcY0oJsWm+RwdQ6F9dDxah2v+cVByDK5naR1UMVrA36P2+M8uns9O572eh+w7
|
|
||||||
lid9plh7tM7qY/iK8jQKG81sD9hoZnvARjPbAzaa2R6w0cz2gI1mtgdsNLM9YKOZ7QEbzWwP2Ghme8BG
|
|
||||||
M9sDNprZHrDRzPaAjWa2B2w0sz1go5ntARvNbA/YaGZ7wEYz2wM2mtkesNHM9oCNZrYHbDSzPWCjme0B
|
|
||||||
G81sD9hoZnvARjPbAzaa2R6w0cz2gI1mtgdsNLM9YKOZ7QEbzWwP2Ghme8BGM9sDNprZHrDRzHbwz7/+
|
|
||||||
B4miQIUoSo42AAAAAElFTkSuQmCC
|
|
||||||
</value>
|
|
||||||
</data>
|
</data>
|
||||||
<data name="fontPreviewBox.Text" xml:space="preserve">
|
<data name="fontPreviewBox.Text" xml:space="preserve">
|
||||||
<value>abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWYZ
|
<value>abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWYZ
|
||||||
@@ -317,522 +139,32 @@ The quick brown fox jumps over the lazy dog. 1234567890
|
|||||||
|
|
||||||
The quick brown fox jumps over the lazy dog. 1234567890</value>
|
The quick brown fox jumps over the lazy dog. 1234567890</value>
|
||||||
</data>
|
</data>
|
||||||
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<data name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>440, 17</value>
|
<value>440, 17</value>
|
||||||
</metadata>
|
</data>
|
||||||
<metadata name="timer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<data name="timer.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>556, 17</value>
|
<value>556, 17</value>
|
||||||
</metadata>
|
</data>
|
||||||
<metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<data name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>636, 17</value>
|
<value>636, 17</value>
|
||||||
</metadata>
|
</data>
|
||||||
<metadata name="openFolderDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<data name="openFileDialog1.Filter" xml:space="preserve">
|
||||||
|
<value>Unity asset files|level*; globalgamemanagers; mainData; CustomAssetBundle-*; CAB-*; BuildPlayer-*; *.assets; *.sharedAssets|Unity bundle files|*.unity3d; *.unity3d.lz4; *.assetbundle; *.bundle; *.bytes</value>
|
||||||
|
</data>
|
||||||
|
<data name="openFolderDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>169, 17</value>
|
<value>169, 17</value>
|
||||||
</metadata>
|
</data>
|
||||||
<metadata name="saveFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<data name="saveFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>776, 17</value>
|
<value>776, 17</value>
|
||||||
</metadata>
|
</data>
|
||||||
<metadata name="saveFolderDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<data name="saveFolderDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</data>
|
||||||
<metadata name="treeTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<data name="treeTip.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>912, 17</value>
|
<value>912, 17</value>
|
||||||
</metadata>
|
</data>
|
||||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
|
<data name="$this.TrayHeight" type="System.Int32, mscorlib">
|
||||||
<value>67</value>
|
<value>67</value>
|
||||||
</metadata>
|
|
||||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
AAABAAEAAAAAAAEAIACdcgAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAEAAAABAAgGAAAAXHKoZgAAAAlw
|
|
||||||
SFlzAAALEwAACxMBAJqcGAAAIABJREFUeJzsvXeUHNWdL/6pqs5hunuCZhRHM5KIlggSshAoWIDfA4wx
|
|
||||||
2IuDwMaPJOCZZwz4Gev81stZbPO89pp14L0j7y4GhNYoIgECmyREBoExFpqoMEoTO+dU9fuj59bcun2r
|
|
||||||
umc0Mxpp+nNOn+6uulV1q+p+8/d+r6AoCiqooILJCfFkd6CCCio4eagwgAoqmMSoMIAKKpjEMJ3sDlRQ
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+bNm4u+vj6NpOdpHzyGU8oMIO940A8w5qgw
|
|
||||||
gGFg+/bt91x77bX/FolE0NLSgnQ6DbvdrsmU4xE+/Z/ezpP+escTVX/27NmoqanBW2+9hc7OTtUcSKVS
|
|
||||||
EARBE5rLZNIlJLx+8g1PpefZ8LxafaMFSTKpqca9vb34zne+gyuvvBKfffaZ6qSjIx+lvP70c+VV+iHb
|
|
||||||
Gxsb8dln+/CXv/wFDodDLayaTCbR1taGq666Uo3dG12LDUPq9Y18k9mBgxOpzkilUrNtNtuh4T214aHC
|
|
||||||
AMrEjh07/te11177aDQaRUtLC62qcePOBLx9PKml1544hxRFQXNzM+rr67Ft2za8/PIrMJkkzZTXwiSZ
|
|
||||||
hKGE56n1Q047QvgF250l+rEmeBoF1b9wf+l0GjNmzMAdd9yBaDSCaDSqyX3gwUgz0IMsy/B6vbDZbHj2
|
|
||||||
2e0YGPDDbreqmY0mk4TOzg74/X44nU6EQiHutfT6YmSOkP4RjctsNiObzV5us9n+3fDkJ4gKAygDzz//
|
|
||||||
/D1f/vKXH43FYti3b5+G+A0HoAIo4FfCAYaW2SIftnQ1GRCyLGPWrFmYOnUqNm7chL/85c9wOBzI5/OI
|
|
||||||
RqNlheb0PPVEpS9lw48H0dMwmUwwmQrRjO7ubtx9991YuHAh9uzZo/HeE9DPkYae9CXHEJCKRE1NTXj7
|
|
||||||
7bfx1ltvw+l0IBqNIJfLQxAKfTp0qAtdXV0499xzEYlEdPuvZ4bomSM0stksST1eBaDCAE4mtm3bds91
|
|
||||||
1133b/F4HC0tLWqyBl1Qk1XpVUkvClDk4qo6KiMQBQgorpVHl8kixD99+nRs2rQJO3e+oHqhk8mkxnM/
|
|
||||||
Gsk3J4vgaZDSYFarFeFwGAsXLsR3v/tdHDlyBOl0uijspweWIfC0Nfp9TJkyBYlEAs8+ux3ZbAaAgmQy
|
|
||||||
BVkuRGmsVisCgQA6OjqwePHiogpKvP6whG5E+OR4khYsiuKYLxtWYQAGePnllzXEz6r9eqo++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qj0B9h8gKyqARw/fhzt7R1wOLTFQqme
|
|
||||||
G9r7egyDvi7RdmRZPmE/wCnFAFpbWzctWLDgHwKBAEKhkCppaBjFX1lGwO5nQUsiQLuQxN69e/H73/9e
|
|
||||||
DWXRxE8n+ZCBN1mIn8y3KKT7JtDU1IQ77rgD4XAYqVTKsFwa/VuPQfO0A1JnQRAEbN68GeFwGPl8DolE
|
|
||||||
smh25WhIf3JNXjQglUqhpaUFANSxqZ1QVt75jcYwuQdBEE7YD3DKMIC///3vm84666yvBYNBRCIRVfIb
|
|
||||||
JegYhVaMHjDvfIT4m5ubsW/fPvzmN79BNBqFKIoIBkPqcl1kya50Onnap/fyQK/uEw6Hceutt+K88xag
|
|
||||||
q6uLm/Cjl4VJEzmvvgIBKfM1ffp07Nq1C2+99TYT9hsi/tF+FzwzwGq1oL29DcFgEHa7vei+ePfKbqPv
|
|
||||||
kX4GtAk6qAUsBuA9kXs4JRhAW1vbpvnz538tGAwiHA4D0F+ii3WalLIjjRxPPMnf2tqKf/u33yAcjkCS
|
|
||||||
TIOSP4J4PE6p/SlkMqOnbp4qoFf3CQaDuPjii3HzzTfjyJGjZLlrrt2vZ26x+3lQlEJl5UQigc2bt0BR
|
|
||||||
ZKRSKUr1H13bnwabFVgoE2bBwYMHceDAAU21YKP+D3dcUvkAYjQa/cKJ3MOEZwD79u3bdOaZZ2okv9H6
|
|
||||||
fKVUex5D4M1BJ1AURZX87e3t+PWvH0UoFBp0aAVVyV8g/oTG4TeZiJ92/BHN7M4770RdXZ06J4Onxusl
|
|
||||||
ZZH/7G/6WJLvX11djR07nsPevXupsJ82338siqsUzwsoMHy/34+2tjaYTKay1zPkaTrkGjxQ+QAnND14
|
|
||||||
QjOAlpaWzeecc87XgsECoQHQTfKhf/OkCo/LlppSSspTNTc3o7OzE//6r79GMBiA2WxS1f4hm3/yEj+g
|
|
||||||
re/f39+Ha665Btdff31R2I83VZanEbDvhX035N3Nnj0bx44dw44dz6nEf6L5/sOB1gzIIpPJQ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YW3/ieL4Y8GbHORwONDe3o6jR4+ioaEBfr+/5Hm8Xi9aWlo++fGPf7xhrPo6qlGAgwcP
|
|
||||||
Pj979uwvRaNRDfHT3wR6g4O3jwXrSdZrzxuIZHs59qjesfTv0mYJP2ORx/j02rHX5YG3MlJRTzheeJ4T
|
|
||||||
iu1fqedcysOv9/zZ7bIso6qqCmazBZs3b0FX19DqPvTCqhNR9adBGAAdCZAkCUePHkV7e7vu8uH08W63
|
|
||||||
G7Is44knnvj2WPZ11BhAV1fXC42NjVdHIpETVs3KnTWlB94gpz96lVpLHScIAgRRex6jUtd6RGZ4fkFr
|
|
||||||
c/OOYfezHnVeX9ia/KXuG0DJfvCeIfvfiMnR/SZhvxkzZqC1tRUvvvgi3G6S75+asGE/HkhCEGEChfoE
|
|
||||||
OSQSCezbp60SxNOYRFGEw+HAzp07n3jkkUf+PpZ9HRUG0NHR8cLMmTOvikQiGmfPcIlYb7CVc/xwGATd
|
|
||||||
ppwBrmkH4/vSu3fe/fBAaxV6DIPspwmeHMe7J14f2HYs82DPoSiKhiGw98PL8uM9G943OZ6E/f70p2dQ
|
|
||||||
0CJz1GSfobUWJrL0JyjOCszAarWgpaUFiURCndEHaJ+xoijw+XyIxWKZJ5988n+OdT9PmAEcPnz4haam
|
|
||||||
JpX4WZRDiEbQy+yj/+upUnqDlf1fbh+NGE651ygl/XkEanRvtHTXY0R61+adi0f4gNbDX+paeufTO4aE
|
|
||||||
/Wpra/HGG7vx1ltvUWv7FZf4nkhhPz1o5wUUwoEWS6FK0IEDB+ByuTTtybMxm80wmUzYsGHDDzZu3Bgb
|
|
||||||
636eEAPo6Oh4Yfr06VfF4/GyVTIj1VHPMVWKQPX285IqeP/LGaR61y0iGKZPRuEedls5908TPK+dHsHr
|
|
||||||
Tbst5/6MmKXeMzJiBDw0NDQglUph48aNADC4us/ETvoxAusIzOUKaeUDA/3q7EC2vaIUCn20tLR03n77
|
|
||||||
7b8fj36OmAF0dXXtbGpquioWixmq/cPh1qUIjm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QJOdpHA4gCAIRhPltO1GgFL5Abxtejn7egRZ
|
|
||||||
Sg1nr1UuoehpFXrXMFLrWfAW5ChF3HrPwug+2XPrJQLpHQcUZhbGYjHkcjl85zvfwfTp09Uc+VOZ6FnQ
|
|
||||||
mmU0GsWMGTNwzjnnqFPkBUFAMBhEfX294/rrr//dePZtJFGAlNfrXQyKCZQrOcg2+pv3W0+6ldpWCnrH
|
|
||||||
lzPYTmT+AG+/Xt/LJUS98xhpQaWuX4rxsdcxCo+W6ocgDPkKjh8/jrq6Otxyyy3o6+sbsVCY6BAEAaFQ
|
|
||||||
COeeey5qamoQi8U0zzCZTOK666676ZZbbjlvvPo00jwAwgQ+LdVQjxq4U70AACAASURBVLjKIbqRSHW2
|
|
||||||
TTmS2YgY2P88IjHqu14pMV7/CFEQlFMuW++e9e5Dr696/TK6htHcg3L7JEkSMpkM4vE4brrpJixduhTH
|
|
||||||
jh2HyWQaNoOfiGDfraIAF1xwAQCodTLIh6yG/b3vfe+P49W/E8kELGICpYjRaJseyiF4XvtyiKQUIyhX
|
|
||||||
s9G7ppH01OuD3nlEUQSE4fk5iJQuR5qX6mupe+e10WOavG19fX2QJAk//OEPkc8X0n0lSSpaPORUgyAI
|
|
||||||
6loKhUIn01QGQPYTiKKIUCiE888///yf/vSnN41H/070yaZpJlDugOZtL5fbq22Eof+lpLEeyplDYLSN
|
|
||||||
3l7q2rysQPKtJzHZiIKA4kiBkWZh9M1e2+heR0L0vHvWuw4hjkAggMsuuwzf/OY3B1dmtqpM4FQFqako
|
|
||||||
SRLi8TjOOeccnHnmmUgkEtz2pBL1bbfd9tt77rnHOub9G4VzqEyAl/46VhCYEINhiI7+XSbTKZdpsecp
|
|
||||||
hxEN12wplXPBfoxm5pUr7dk2RgxEj4HqZTOy7UkoMhQKAQAefPBB1NXVIZ1Ow2KxwGQynZJMgGhuoijC
|
|
||||||
bDYjmUzhwgsvVEub89oLgoBAIIApU6Z4lixZ8oux7uNoPdW01+u9SBCEv/EGqt6ALyd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AAu9
|
|
||||||
KIFeu3w+D0mSMH36dGzduhVf/epX0dAwdZABFGoGTjSHoMVigc1mg8tVYFTXXnst/vjHP6rVjowS2Yy2
|
|
||||||
i6IIj8eD3/zmN9+/5557/m00+jreDAAoMIH3AFwE6GsCI2EO5bQXBAG5XA6iKKK+vh4AcM011+D5559H
|
|
||||||
U1MT0umMWp2GzpQbwmTQCgrmkCgOqbJmsxkWiwV2ux1Op3Owlp8JNTU1+P3vfwev14uuri7uijcE5UaA
|
|
||||||
2Hb5fB4+nw9utxvXX389tm3bhvr6esRiMaTT6QkVFhQEQWWUVVVVGBjw42c/+ynuueceDAwMqG3YY0qd
|
|
||||||
EyiMY4/Hg0gkkrnjjjumbNy40TihoJz+niTuKYZCoXcBLAaGbw4MRxPQ25fP51UmoCgKLr/8crz22muY
|
|
||||||
Nm06Mpm0WsTxVEs+GU0Q5x9xZpnNFthsVpUB1NTUIBQKY/Xqb+HOO+9EIBBAJBLReOnLMQWMfAXkHIqi
|
|
||||||
YObMmfj444+xcuVKWK1W5HI5dd2AifJ+JEmC1WqFw+GAy+WCLMt4+umncemll2JgYKBs6a/3TBSlsHbA
|
|
||||||
c889t/6aa6454RmDJ4sBABQT4JkDpVJtR5p+S4NmAvl8HitXrsRbb72FKVOmqJKFMIDJxgjo8N0QAzCr
|
|
||||||
g7uqqgo+nw8ulxuKouDRRx/FvHlzcfjwYQAomrxTKs/DqB9A4V05nU5UV1fjBz+4D7/+9b9i6tSpiEaj
|
|
||||||
quk2EWA2m1X7X1GA+fM/h82bN8PpdGqWVCcYDvET2Gw22O12PPjggxf+/Oc//+uJ9PdkTrGSvV7vEgAf
|
|
||||||
GMX12d9GD6bUdvY6JETY29sLSZLw2muvYcmSJejr64PJNLSC61iHLiciSL4/iUNnMhlkMhmk02mkUmkk
|
|
||||||
k0kkEgnk84WsvfXrnwIAVFdX6z4r+h2w76LUGBDFwirBiqLghz98AE1NTYjF4rBarRNmtiDLMOPxGM47
|
|
||||||
7zx4PB7EYr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wAuLuMYVwBcXMYxrgC4uIxjXAFwcRnHuALg4jKOcQXAxWUc4wqAi8s4xhUAF5dxjCsALi7j
|
|
||||||
mP8HaXmb6e5VKzoAAAAASUVORK5CYII=
|
|
||||||
</value>
|
|
||||||
</data>
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@@ -7,8 +7,8 @@
|
|||||||
</configSections>
|
</configSections>
|
||||||
<userSettings>
|
<userSettings>
|
||||||
<Unity_Studio.Properties.Settings>
|
<Unity_Studio.Properties.Settings>
|
||||||
<setting name="uniqueNames" serializeAs="String">
|
<setting name="displayAll" serializeAs="String">
|
||||||
<value>True</value>
|
<value>False</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="enablePreview" serializeAs="String">
|
<setting name="enablePreview" serializeAs="String">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
@@ -43,6 +43,21 @@
|
|||||||
<setting name="showExpOpt" serializeAs="String">
|
<setting name="showExpOpt" serializeAs="String">
|
||||||
<value>False</value>
|
<value>False</value>
|
||||||
</setting>
|
</setting>
|
||||||
|
<setting name="exportDeformers" serializeAs="String">
|
||||||
|
<value>True</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="convertDummies" serializeAs="String">
|
||||||
|
<value>True</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="convertTexture" serializeAs="String">
|
||||||
|
<value>True</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="convertfsb" serializeAs="String">
|
||||||
|
<value>True</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="convertType" serializeAs="String">
|
||||||
|
<value>PNG</value>
|
||||||
|
</setting>
|
||||||
</Unity_Studio.Properties.Settings>
|
</Unity_Studio.Properties.Settings>
|
||||||
</userSettings>
|
</userSettings>
|
||||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
|
||||||
|
|||||||
@@ -73,6 +73,44 @@ namespace Unity_Studio
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void ParseGameObject(this List<AssetsFile> assetsfileList, GameObject m_GameObject)
|
||||||
|
{
|
||||||
|
foreach (var m_Component in m_GameObject.m_Components)
|
||||||
|
{
|
||||||
|
if (m_Component.m_FileID >= 0 && m_Component.m_FileID < assetsfileList.Count)
|
||||||
|
{
|
||||||
|
AssetsFile sourceFile = assetsfileList[m_Component.m_FileID];
|
||||||
|
AssetPreloadData asset;
|
||||||
|
if (sourceFile.preloadTable.TryGetValue(m_Component.m_PathID, out asset))
|
||||||
|
{
|
||||||
|
switch (asset.Type2)
|
||||||
|
{
|
||||||
|
case 4: //Transform
|
||||||
|
{
|
||||||
|
m_GameObject.m_Transform = m_Component;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 23: //MeshRenderer
|
||||||
|
{
|
||||||
|
m_GameObject.m_MeshRenderer = m_Component;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 33: //MeshFilter
|
||||||
|
{
|
||||||
|
m_GameObject.m_MeshFilter = m_Component;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 137: //SkinnedMeshRenderer
|
||||||
|
{
|
||||||
|
m_GameObject.m_SkinnedMeshRenderer = m_Component;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class TexEnv
|
class TexEnv
|
||||||
|
|||||||
56
Unity Studio/library/7zip license.txt
Normal file
56
Unity Studio/library/7zip license.txt
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
7-Zip
|
||||||
|
~~~~~
|
||||||
|
License for use and distribution
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
7-Zip Copyright (C) 1999-2015 Igor Pavlov.
|
||||||
|
|
||||||
|
Licenses for files are:
|
||||||
|
|
||||||
|
1) 7z.dll: GNU LGPL + unRAR restriction
|
||||||
|
2) All other files: GNU LGPL
|
||||||
|
|
||||||
|
The GNU LGPL + unRAR restriction means that you must follow both
|
||||||
|
GNU LGPL rules and unRAR restriction rules.
|
||||||
|
|
||||||
|
|
||||||
|
Note:
|
||||||
|
You can use 7-Zip on any computer, including a computer in a commercial
|
||||||
|
organization. You don't need to register or pay for 7-Zip.
|
||||||
|
|
||||||
|
|
||||||
|
GNU LGPL information
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You can receive a copy of the GNU Lesser General Public License from
|
||||||
|
http://www.gnu.org/
|
||||||
|
|
||||||
|
|
||||||
|
unRAR restriction
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
The decompression engine for RAR archives was developed using source
|
||||||
|
code of unRAR program.
|
||||||
|
All copyrights to original unRAR code are owned by Alexander Roshal.
|
||||||
|
|
||||||
|
The license for original unRAR code has the following restriction:
|
||||||
|
|
||||||
|
The unRAR sources cannot be used to re-create the RAR compression algorithm,
|
||||||
|
which is proprietary. Distribution of modified unRAR sources in separate form
|
||||||
|
or as a part of other software is permitted, provided that it is clearly
|
||||||
|
stated in the documentation and source comments that the code may
|
||||||
|
not be used to develop a RAR (WinRAR) compatible archiver.
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
Igor Pavlov
|
||||||
151
Unity Studio/library/FMOD LICENSE.TXT
Normal file
151
Unity Studio/library/FMOD LICENSE.TXT
Normal file
@@ -0,0 +1,151 @@
|
|||||||
|
FMOD, FMOD Ex, FMOD Designer and FMOD Studio are
|
||||||
|
Copyright <20> 2005-2016 Firelight Technologies Pty, Ltd.
|
||||||
|
|
||||||
|
GRANT OF LICENSE
|
||||||
|
----------------
|
||||||
|
THIS END USER LICENSE AGREEMENT GRANTS THE USER, THE RIGHT TO USE FMOD,
|
||||||
|
IN ITS LIBRARY AND TOOL FORM, IN THEIR OWN PRODUCTS, BE THEY FOR PERSONAL,
|
||||||
|
EDUCATIONAL OR COMMERCIAL USE.
|
||||||
|
THE USER MUST ADHERE TO THE LICENSING MODEL PROVIDED BY FIRELIGHT
|
||||||
|
TECHNOLOGIES, AND MUST APPLY FOR A LICENSE IF NECESSARY. THE FOLLOWING
|
||||||
|
LICENSES ARE AVAILABLE.
|
||||||
|
|
||||||
|
FMOD NON-COMMERCIAL LICENSE
|
||||||
|
------------------------------------
|
||||||
|
IF YOUR PRODUCT IS NOT INTENDED FOR COMMERCIAL GAIN AND DOES NOT
|
||||||
|
INCLUDE THE FMOD LIBRARY FOR RESALE, LICENSE OR OTHER COMMERCIAL
|
||||||
|
DISTRIBUTION, THEN USE OF FMOD IS FREE OF CHARGE. THERE ARE NO
|
||||||
|
LICENSE FEES FOR NON-COMMERCIAL APPLICATIONS.
|
||||||
|
THE USER MAY USE THIS EULA AS EVIDENCE OF THEIR LICENSE WITHOUT
|
||||||
|
CONTACTING FIRELIGHT TECHNOLOGIES.
|
||||||
|
|
||||||
|
CONDITIONS/LIMITATIONS:
|
||||||
|
- WHEN USING THIS LICENSE, THE FMOD LIBRARY CANNOT BE USED FOR
|
||||||
|
RESALE OR OTHER COMMERCIAL DISTRIBUTION
|
||||||
|
- THIS LICENSE CANNOT BE USED FOR PRODUCTS WHICH DO NOT MAKE
|
||||||
|
PROFIT BUT ARE STILL COMMERCIALLY RELEASED
|
||||||
|
- THIS LICENSE CANNOT BE USED FOR COMMERCIAL SERVICES, WHERE THE
|
||||||
|
EXECUTABLE CONTAINING FMOD IS NOT SOLD, BUT THE DATA IS.
|
||||||
|
- WHEN USING FMOD, A CREDIT LINE IS REQUIRED IN EITHER DOCUMENTATION,
|
||||||
|
OR 'ON SCREEN' FORMAT (IF POSSIBLE). IT SHOULD CONTAIN AT LEAST
|
||||||
|
THE WORDS "FMOD" (OR "FMOD STUDIO" IF APPLICABLE) AND
|
||||||
|
"FIRELIGHT TECHNOLOGIES."
|
||||||
|
LOGOS ARE AVAILABLE FOR BOX OR MANUAL ART, BUT ARE NOT MANDATORY.
|
||||||
|
AN EXAMPLE CREDIT COULD BE:
|
||||||
|
|
||||||
|
FMOD Sound System, copyright <20> Firelight Technologies Pty, Ltd., 1994-2016.
|
||||||
|
OR
|
||||||
|
FMOD Studio, copyright <20> Firelight Technologies Pty, Ltd., 1994-2016.
|
||||||
|
OR
|
||||||
|
Audio Engine supplied by FMOD by Firelight Technologies.
|
||||||
|
|
||||||
|
NOTE THIS IN ADVANCE, AS IT MUST BE DONE BEFORE SHIPPING YOUR
|
||||||
|
PRODUCT WITH FMOD.
|
||||||
|
|
||||||
|
FMOD FREE FOR INDIES LICENSE (FMOD STUDIO ONLY)
|
||||||
|
------------------------------------------------
|
||||||
|
INDIE DEVELOPERS ARE CONSIDERED BY OUR LICENSING MODEL, DEVELOPERS THAT DEVELOP
|
||||||
|
A TITLE FOR UNDER $100K USD (TYPICALLY CONSIDERED AN 'INDIE' TITLE) TOTAL
|
||||||
|
BUDGET, MEANING YOUR TOTAL COSTS ARE LESS THAN $100K USD AT TIME OF SHIPPING,
|
||||||
|
YOU CAN USE FMOD FOR FREE.
|
||||||
|
|
||||||
|
CONDITIONS/LIMITATIONS
|
||||||
|
- PLEASE WRITE TO SALES@FMOD.COM WITH THE NAME OF YOUR TITLE, RELEASE DATE
|
||||||
|
AND PLATFORMS SO WE CAN REGISTER YOU IN OUR SYSTEM.
|
||||||
|
- THERE IS NO RESTRICTION ON PLATFORM, ANY PLATFORM COMBINATION MAY BE USED.
|
||||||
|
- INCOME IS NOT RELEVANT TO THE BUDGET LEVEL, IT MUST BE EXPENSE RELATED.
|
||||||
|
- WHEN USING FMOD, A CREDIT LINE IS REQUIRED IN EITHER DOCUMENTATION,
|
||||||
|
OR 'ON SCREEN' FORMAT (IF POSSIBLE). IT SHOULD CONTAIN AT LEAST
|
||||||
|
THE WORDS FMOD STUDIO AND FIRELIGHT TECHNOLOGIES.
|
||||||
|
LOGOS ARE AVAILABLE FOR BOX OR MANUAL ART, BUT ARE NOT MANDATORY.
|
||||||
|
AN EXAMPLE CREDIT COULD BE:
|
||||||
|
|
||||||
|
FMOD STUDIO, COPYRIGHT <20> FIRELIGHT TECHNOLOGIES PTY, LTD., 1994-2016.
|
||||||
|
|
||||||
|
COMMERCIAL USAGE (FMOD EX AND FMOD STUDIO)
|
||||||
|
------------------------------------------
|
||||||
|
IF THE PRODUCT THAT USES FMOD IS INTENDED TO GENERATE INCOME, VIA DIRECT SALES
|
||||||
|
OR INDIRECT REVENUE (SUCH AS ADVERTISING, DONATIONS, CONTRACT FEE) THEN THE
|
||||||
|
DEVELOPER MUST APPLY TO FIRELIGHT TECHNOLOGIES FOR A COMMERCIAL LICENSE (UNLESS
|
||||||
|
THE USER QUALIFIES FOR AN FMOD STUDIO 'INDIE LICENSE').
|
||||||
|
TO APPLY FOR THIS LICENSE WRITE TO SALES@FMOD.COM WITH THE RELEVANT DETAILS.
|
||||||
|
|
||||||
|
REDISTRIBUTION LICENSE (FMOD EX AND FMOD STUDIO)
|
||||||
|
------------------------------------------------
|
||||||
|
IF THE USER WISHES TO REDISTRIBUTE FMOD AS PART OF AN ENGINE OR TOOL SOLUTION,
|
||||||
|
THE USER MUST APPLY TO FIRELIGHT TECHNOLOGIES TO BE GRANTED A 'REDISTRIBUTION
|
||||||
|
LICENSE'.
|
||||||
|
TO APPLY FOR THIS LICENSE WRITE TO SALES@FMOD.COM WITH THE RELEVANT DETAILS.
|
||||||
|
|
||||||
|
WARRANTY AND LIMITATION OF LIABILITY
|
||||||
|
------------------------------------
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION
|
||||||
|
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
FMOD Uses Ogg Vorbis codec. BSD license.
|
||||||
|
-----------------------------------------
|
||||||
|
Copyright (c) 2002, Xiph.org Foundation
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
|
||||||
|
- Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
- Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
- Neither the name of the Xiph.org Foundation nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived from
|
||||||
|
this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION
|
||||||
|
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
For Android platform code.
|
||||||
|
--------------------------
|
||||||
|
Copyright (C) 2010 The Android Open Source Project
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
* Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
* Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in
|
||||||
|
the documentation and/or other materials provided with the
|
||||||
|
distribution.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||||
|
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||||
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
||||||
|
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGE.
|
||||||
BIN
Unity Studio/library/System.Half.dll
Normal file
BIN
Unity Studio/library/System.Half.dll
Normal file
Binary file not shown.
22
Unity Studio/library/Tao.DevIl.License.txt
Normal file
22
Unity Studio/library/Tao.DevIl.License.txt
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
MIT License
|
||||||
|
Copyright <20>2003-2006 Tao Framework Team
|
||||||
|
http://www.taoframework.com
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
BIN
Unity Studio/library/Tao.DevIl.dll
Normal file
BIN
Unity Studio/library/Tao.DevIl.dll
Normal file
Binary file not shown.
3441
Unity Studio/library/Tao.DevIl.xml
Normal file
3441
Unity Studio/library/Tao.DevIl.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
Unity Studio/library/astcenc.exe
Normal file
BIN
Unity Studio/library/astcenc.exe
Normal file
Binary file not shown.
BIN
Unity Studio/library/x64/DevIL.dll
Normal file
BIN
Unity Studio/library/x64/DevIL.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x64/ILU.dll
Normal file
BIN
Unity Studio/library/x64/ILU.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x64/ILUT.dll
Normal file
BIN
Unity Studio/library/x64/ILUT.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x64/PVRTexLib.dll
Normal file
BIN
Unity Studio/library/x64/PVRTexLib.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x64/PVRTexLibWrapper.dll
Normal file
BIN
Unity Studio/library/x64/PVRTexLibWrapper.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x64/TextureConverter.dll
Normal file
BIN
Unity Studio/library/x64/TextureConverter.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x64/TextureConverterWrapper.dll
Normal file
BIN
Unity Studio/library/x64/TextureConverterWrapper.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x64/fmod.dll
Normal file
BIN
Unity Studio/library/x64/fmod.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x86/DevIL.dll
Normal file
BIN
Unity Studio/library/x86/DevIL.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x86/ILU.dll
Normal file
BIN
Unity Studio/library/x86/ILU.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x86/ILUT.dll
Normal file
BIN
Unity Studio/library/x86/ILUT.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x86/PVRTexLib.dll
Normal file
BIN
Unity Studio/library/x86/PVRTexLib.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x86/PVRTexLibWrapper.dll
Normal file
BIN
Unity Studio/library/x86/PVRTexLibWrapper.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x86/TextureConverter.dll
Normal file
BIN
Unity Studio/library/x86/TextureConverter.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x86/TextureConverterWrapper.dll
Normal file
BIN
Unity Studio/library/x86/TextureConverterWrapper.dll
Normal file
Binary file not shown.
BIN
Unity Studio/library/x86/fmod.dll
Normal file
BIN
Unity Studio/library/x86/fmod.dll
Normal file
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 29 KiB |
Reference in New Issue
Block a user