More fixes to bfres proeprties and editor
This commit is contained in:
parent
d4da6db3df
commit
c5ad630eaa
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -82,15 +82,28 @@ namespace FirstPlugin
|
||||
}
|
||||
private void AdvancedEditor(object sender, EventArgs args)
|
||||
{
|
||||
BFRES file = null;
|
||||
|
||||
ObjectEditor editor = (ObjectEditor)LibraryGUI.Instance.GetActiveForm();
|
||||
if (editor != null)
|
||||
{
|
||||
file = (BFRES)editor.GetActiveFile(); }
|
||||
|
||||
if (editExt[0].Checked)
|
||||
{
|
||||
editExt[0].Checked = false;
|
||||
PluginRuntime.UseSimpleBfresEditor = true;
|
||||
|
||||
if (file != null)
|
||||
file.LoadSimpleMode();
|
||||
}
|
||||
else
|
||||
{
|
||||
editExt[0].Checked = true;
|
||||
PluginRuntime.UseSimpleBfresEditor = false;
|
||||
|
||||
if (file != null)
|
||||
file.LoadAdvancedMode();
|
||||
}
|
||||
}
|
||||
private void NewWiiUBfres(object sender, EventArgs args)
|
||||
@ -189,6 +202,74 @@ namespace FirstPlugin
|
||||
drawables.Remove(skeleton);
|
||||
}
|
||||
|
||||
public void LoadAdvancedMode()
|
||||
{
|
||||
foreach (var model in BFRESRender.models)
|
||||
{
|
||||
foreach (var mat in model.materials.Values)
|
||||
{
|
||||
foreach (var tex in mat.TextureMaps)
|
||||
{
|
||||
mat.Nodes.RemoveByKey(tex.Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void LoadSimpleMode()
|
||||
{
|
||||
ObjectEditor editor = (ObjectEditor)LibraryGUI.Instance.GetActiveForm();
|
||||
if (editor == null)
|
||||
return;
|
||||
|
||||
editor.treeViewCustom1.BeginUpdate();
|
||||
|
||||
foreach (var model in BFRESRender.models)
|
||||
{
|
||||
foreach (var mat in model.materials.Values)
|
||||
{
|
||||
mat.Nodes.Clear();
|
||||
|
||||
foreach (MatTexture tex in mat.TextureMaps)
|
||||
{
|
||||
mat.Nodes.Add(new MatTextureWrapper(tex.Name, tex.Name, tex));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach (TreeNode node in Nodes)
|
||||
{
|
||||
if (node is BFRESAnimFolder)
|
||||
{
|
||||
foreach (BFRESGroupNode animFolder in node.Nodes)
|
||||
{
|
||||
if (animFolder.Type == BRESGroupType.SkeletalAnim)
|
||||
{
|
||||
foreach (FSKA anim in animFolder.Nodes)
|
||||
{
|
||||
foreach (FSKA.BoneAnimNode bone in ((FSKA)anim).Bones)
|
||||
{
|
||||
int index = 0;
|
||||
if (bone.BoneAnimU != null)
|
||||
{
|
||||
foreach (var curve in bone.BoneAnimU.Curves)
|
||||
bone.Nodes.Add("Anim Curve " + index++);
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (var curve in bone.BoneAnim.Curves)
|
||||
bone.Nodes.Add("Anim Curve " + index++);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
editor.treeViewCustom1.EndUpdate();
|
||||
}
|
||||
|
||||
List<AbstractGlDrawable> drawables = new List<AbstractGlDrawable>();
|
||||
public void LoadEditors(object SelectedSection)
|
||||
{
|
||||
@ -196,6 +277,20 @@ namespace FirstPlugin
|
||||
|
||||
if (IsSimpleEditor)
|
||||
{
|
||||
if (SelectedSection is MatTextureWrapper)
|
||||
{
|
||||
SamplerEditorSimple editorT = (SamplerEditorSimple)LibraryGUI.Instance.GetActiveContent(typeof(SamplerEditorSimple));
|
||||
if (editorT == null)
|
||||
{
|
||||
editorT = new SamplerEditorSimple();
|
||||
editorT.Dock = DockStyle.Fill;
|
||||
LibraryGUI.Instance.LoadEditor(editorT);
|
||||
}
|
||||
editorT.Text = Text;
|
||||
editorT.LoadTexture(((MatTextureWrapper)SelectedSection).textureMap);
|
||||
return;
|
||||
}
|
||||
|
||||
STPropertyGrid editor = (STPropertyGrid)LibraryGUI.Instance.GetActiveContent(typeof(STPropertyGrid));
|
||||
if (editor == null)
|
||||
{
|
||||
@ -231,7 +326,7 @@ namespace FirstPlugin
|
||||
if (((FMAT)SelectedSection).MaterialU != null)
|
||||
editor.LoadProperty(((FMAT)SelectedSection).MaterialU, OnPropertyChanged);
|
||||
else
|
||||
editor.LoadProperty(((FMAT)SelectedSection).MaterialU, OnPropertyChanged);
|
||||
editor.LoadProperty(((FMAT)SelectedSection).Material, OnPropertyChanged);
|
||||
}
|
||||
else if (SelectedSection is BfresBone)
|
||||
{
|
||||
@ -240,12 +335,12 @@ namespace FirstPlugin
|
||||
else
|
||||
editor.LoadProperty(((BfresBone)SelectedSection).Bone, OnPropertyChanged);
|
||||
}
|
||||
else if (SelectedSection is FSKL)
|
||||
else if (SelectedSection is FSKL.fsklNode)
|
||||
{
|
||||
if (((FSKL)SelectedSection).node.SkeletonU != null)
|
||||
editor.LoadProperty(((FSKL)SelectedSection).node.SkeletonU, OnPropertyChanged);
|
||||
if (((FSKL.fsklNode)SelectedSection).SkeletonU != null)
|
||||
editor.LoadProperty(((FSKL.fsklNode)SelectedSection).SkeletonU, OnPropertyChanged);
|
||||
else
|
||||
editor.LoadProperty(((FSKL)SelectedSection).node.Skeleton, OnPropertyChanged);
|
||||
editor.LoadProperty(((FSKL.fsklNode)SelectedSection).Skeleton, OnPropertyChanged);
|
||||
}
|
||||
else if (SelectedSection is FSKA)
|
||||
{
|
||||
@ -287,8 +382,9 @@ namespace FirstPlugin
|
||||
{
|
||||
//Add drawables
|
||||
drawables.Add(BFRESRender);
|
||||
foreach (var mdl in BFRESRender.models)
|
||||
drawables.Add(mdl.Skeleton);
|
||||
|
||||
for (int m = 0; m < BFRESRender.models.Count; m++)
|
||||
drawables.Add(BFRESRender.models[m].Skeleton);
|
||||
}
|
||||
|
||||
if (Runtime.UseViewport)
|
||||
@ -496,7 +592,6 @@ namespace FirstPlugin
|
||||
reader.Position = 0;
|
||||
}
|
||||
|
||||
|
||||
LoadMenus(IsWiiU);
|
||||
|
||||
|
||||
@ -504,15 +599,15 @@ namespace FirstPlugin
|
||||
BFRESRender.ModelTransform = MarioCostumeEditor.SetTransform(FileName);
|
||||
BFRESRender.ResFileNode = this;
|
||||
|
||||
|
||||
if (IsWiiU)
|
||||
{
|
||||
BFRESRender.LoadFile(new Syroot.NintenTools.Bfres.ResFile(stream));
|
||||
LoadFile(new Syroot.NintenTools.Bfres.ResFile(stream));
|
||||
}
|
||||
else
|
||||
{
|
||||
BFRESRender.LoadFile(new Syroot.NintenTools.NSW.Bfres.ResFile(stream));
|
||||
LoadFile(new Syroot.NintenTools.NSW.Bfres.ResFile(stream));
|
||||
}
|
||||
|
||||
}
|
||||
public void Unload()
|
||||
{
|
||||
@ -555,7 +650,7 @@ namespace FirstPlugin
|
||||
LoadEditors(this);
|
||||
}
|
||||
|
||||
public void Load(ResU.ResFile res)
|
||||
public void LoadFile(ResU.ResFile res)
|
||||
{
|
||||
CanDelete = true;
|
||||
|
||||
@ -578,18 +673,18 @@ namespace FirstPlugin
|
||||
|
||||
if (resFileU.Models.Count > 0)
|
||||
{
|
||||
foreach (ResU.Model mdl in resFileU.Models.Values)
|
||||
for (int i = 0; i < resFileU.Models.Count; i++)
|
||||
{
|
||||
var fmdl = new FMDL();
|
||||
BfresWiiU.ReadModel(fmdl, mdl);
|
||||
BfresWiiU.ReadModel(fmdl, resFileU.Models[i]);
|
||||
modelFolder.AddNode(fmdl);
|
||||
}
|
||||
}
|
||||
if (resFileU.Textures.Count > 0)
|
||||
{
|
||||
foreach (ResU.Texture tex in resFileU.Textures.Values)
|
||||
for (int i = 0; i < resFileU.Textures.Count; i++)
|
||||
{
|
||||
var ftex = new FTEX(tex);
|
||||
var ftex = new FTEX(resFileU.Textures[i]);
|
||||
texturesFolder.AddNode(ftex);
|
||||
ftex.UpdateMipMaps();
|
||||
}
|
||||
@ -599,72 +694,72 @@ namespace FirstPlugin
|
||||
var group = new BFRESGroupNode(BRESGroupType.SkeletalAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (ResU.SkeletalAnim anim in resFileU.SkeletalAnims.Values)
|
||||
group.AddNode(new FSKA(anim));
|
||||
for (int i = 0; i < resFileU.SkeletalAnims.Count; i++)
|
||||
group.AddNode(new FSKA(resFileU.SkeletalAnims[i]));
|
||||
}
|
||||
if (resFileU.ShaderParamAnims.Count > 0)
|
||||
{
|
||||
var group = new BFRESGroupNode(BRESGroupType.ShaderParamAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (ResU.ShaderParamAnim anim in resFileU.ShaderParamAnims.Values)
|
||||
group.AddNode(new FSHU(anim, MaterialAnimation.AnimationType.ShaderParam));
|
||||
for (int i = 0; i < resFileU.ShaderParamAnims.Count; i++)
|
||||
group.AddNode(new FSHU(resFileU.ShaderParamAnims[i], MaterialAnimation.AnimationType.ShaderParam));
|
||||
}
|
||||
if (resFileU.ColorAnims.Count > 0)
|
||||
{
|
||||
var group = new BFRESGroupNode(BRESGroupType.ColorAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (ResU.ShaderParamAnim anim in resFileU.ColorAnims.Values)
|
||||
group.AddNode(new FSHU(anim, MaterialAnimation.AnimationType.Color));
|
||||
for (int i = 0; i < resFileU.ColorAnims.Count; i++)
|
||||
group.AddNode(new FSHU(resFileU.ColorAnims[i], MaterialAnimation.AnimationType.Color));
|
||||
}
|
||||
if (resFileU.TexSrtAnims.Count > 0)
|
||||
{
|
||||
var group = new BFRESGroupNode(BRESGroupType.TexSrtAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (ResU.ShaderParamAnim anim in resFileU.TexSrtAnims.Values)
|
||||
group.AddNode(new FSHU(anim, MaterialAnimation.AnimationType.TexturePattern));
|
||||
for (int i = 0; i < resFileU.TexSrtAnims.Count; i++)
|
||||
group.AddNode(new FSHU(resFileU.TexSrtAnims[i], MaterialAnimation.AnimationType.TexturePattern));
|
||||
}
|
||||
if (resFileU.TexPatternAnims.Count > 0)
|
||||
{
|
||||
var group = new BFRESGroupNode(BRESGroupType.TexPatAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (ResU.TexPatternAnim anim in resFileU.TexPatternAnims.Values)
|
||||
group.AddNode(new FTXP(anim));
|
||||
for (int i = 0; i < resFileU.TexPatternAnims.Count; i++)
|
||||
group.AddNode(new FTXP(resFileU.TexPatternAnims[i]));
|
||||
}
|
||||
if (resFileU.ShapeAnims.Count > 0)
|
||||
{
|
||||
var group = new BFRESGroupNode(BRESGroupType.ShapeAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (ResU.ShapeAnim anim in resFileU.ShapeAnims.Values)
|
||||
group.AddNode(new FSHA(anim));
|
||||
for (int i = 0; i < resFileU.ShapeAnims.Count; i++)
|
||||
group.AddNode(new FSHA(resFileU.ShapeAnims[i]));
|
||||
}
|
||||
if (resFileU.BoneVisibilityAnims.Count > 0)
|
||||
{
|
||||
var group = new BFRESGroupNode(BRESGroupType.BoneVisAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (ResU.VisibilityAnim anim in resFileU.BoneVisibilityAnims.Values)
|
||||
group.AddNode(new FVIS(anim));
|
||||
for (int i = 0; i < resFileU.BoneVisibilityAnims.Count; i++)
|
||||
group.AddNode(new FVIS(resFileU.BoneVisibilityAnims[i]));
|
||||
}
|
||||
if (resFileU.MatVisibilityAnims.Count > 0)
|
||||
{
|
||||
var group = new BFRESGroupNode(BRESGroupType.MatVisAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (ResU.VisibilityAnim anim in resFileU.BoneVisibilityAnims.Values)
|
||||
group.AddNode(new FVIS(anim));
|
||||
for (int i = 0; i < resFileU.MatVisibilityAnims.Count; i++)
|
||||
group.AddNode(new FVIS(resFileU.MatVisibilityAnims[i]));
|
||||
}
|
||||
if (resFileU.SceneAnims.Count > 0)
|
||||
{
|
||||
var group = new BFRESGroupNode(BRESGroupType.SceneAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (ResU.SceneAnim anim in resFileU.SceneAnims.Values)
|
||||
group.AddNode(new FSCN(anim));
|
||||
for (int i = 0; i < resFileU.SceneAnims.Count; i++)
|
||||
group.AddNode(new FSCN(resFileU.SceneAnims[i]));
|
||||
}
|
||||
if (resFileU.ExternalFiles.Count > 0)
|
||||
{
|
||||
@ -673,8 +768,11 @@ namespace FirstPlugin
|
||||
externalFilesFolder.AddNode(new ExternalFileData(anim.Key, anim.Value.Data));
|
||||
}
|
||||
}
|
||||
|
||||
if (PluginRuntime.UseSimpleBfresEditor)
|
||||
LoadSimpleMode();
|
||||
}
|
||||
public void Load(ResFile res)
|
||||
public void LoadFile(ResFile res)
|
||||
{
|
||||
resFile = res;
|
||||
|
||||
@ -700,10 +798,10 @@ namespace FirstPlugin
|
||||
|
||||
if (resFile.Models.Count > 0)
|
||||
{
|
||||
foreach (Model mdl in resFile.Models)
|
||||
for (int i = 0; i < resFile.Models.Count; i++)
|
||||
{
|
||||
var fmdl = new FMDL();
|
||||
BfresSwitch.ReadModel(fmdl, mdl);
|
||||
BfresSwitch.ReadModel(fmdl, resFile.Models[i]);
|
||||
modelFolder.AddNode(fmdl);
|
||||
}
|
||||
}
|
||||
@ -712,8 +810,8 @@ namespace FirstPlugin
|
||||
var group = new BFRESGroupNode(BRESGroupType.SkeletalAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (SkeletalAnim anim in resFile.SkeletalAnims)
|
||||
group.AddNode(new FSKA(anim));
|
||||
for (int i = 0; i < resFile.SkeletalAnims.Count; i++)
|
||||
group.AddNode(new FSKA(resFile.SkeletalAnims[i]));
|
||||
}
|
||||
if (resFile.MaterialAnims.Count > 0)
|
||||
{
|
||||
@ -731,8 +829,9 @@ namespace FirstPlugin
|
||||
bool HasMatVisAnim = false;
|
||||
bool HasMaterialAnim = false;
|
||||
|
||||
foreach (MaterialAnim anim in resFile.MaterialAnims)
|
||||
for (int i = 0; i < resFile.MaterialAnims.Count; i++)
|
||||
{
|
||||
var anim = resFile.MaterialAnims[i];
|
||||
if (FMAA.IsShaderParamAnimation(anim.Name))
|
||||
{
|
||||
group.AddNode(new FMAA(anim, MaterialAnimation.AnimationType.ShaderParam));
|
||||
@ -783,24 +882,24 @@ namespace FirstPlugin
|
||||
var group = new BFRESGroupNode(BRESGroupType.BoneVisAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (VisibilityAnim anim in resFile.BoneVisibilityAnims)
|
||||
group.AddNode(new FVIS(anim));
|
||||
for (int i = 0; i < resFile.BoneVisibilityAnims.Count; i++)
|
||||
group.AddNode(new FVIS(resFile.BoneVisibilityAnims[i]));
|
||||
}
|
||||
if (resFile.SceneAnims.Count > 0)
|
||||
{
|
||||
var group = new BFRESGroupNode(BRESGroupType.SceneAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (SceneAnim anim in resFile.SceneAnims)
|
||||
group.AddNode(new FSCN(anim));
|
||||
for (int i = 0; i < resFile.SceneAnims.Count; i++)
|
||||
group.AddNode(new FSCN(resFile.SceneAnims[i]));
|
||||
}
|
||||
if (resFile.ShapeAnims.Count > 0)
|
||||
{
|
||||
var group = new BFRESGroupNode(BRESGroupType.ShapeAnim);
|
||||
animFolder.Nodes.Add(group);
|
||||
|
||||
foreach (ShapeAnim anim in resFile.ShapeAnims)
|
||||
group.AddNode(new FSHA(anim));
|
||||
for (int i = 0; i < resFile.ShapeAnims.Count; i++)
|
||||
group.AddNode(new FSHA(resFile.ShapeAnims[i]));
|
||||
}
|
||||
if (resFile.ExternalFiles.Count > 0)
|
||||
{
|
||||
@ -837,6 +936,9 @@ namespace FirstPlugin
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (PluginRuntime.UseSimpleBfresEditor)
|
||||
LoadSimpleMode();
|
||||
}
|
||||
|
||||
public static void ReplaceNode(TreeNode node, TreeNode replaceNode, TreeNode NewNode)
|
||||
|
@ -1036,7 +1036,7 @@ namespace Bfres.Structs
|
||||
private void CreateBones(STBone bone)
|
||||
{
|
||||
Bone bn = new Bone();
|
||||
bn.BillboardIndex = (ushort)bone.BillboardIndex;
|
||||
bn.BillboardIndex = (short)bone.BillboardIndex;
|
||||
bn.Flags = BoneFlags.Visible;
|
||||
bn.FlagsRotation = BoneFlagsRotation.EulerXYZ;
|
||||
bn.FlagsTransform = BoneFlagsTransform.None;
|
||||
|
@ -530,6 +530,31 @@ namespace Bfres.Structs
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class MatTextureWrapper : TreeNodeCustom
|
||||
{
|
||||
public MatTexture textureMap;
|
||||
|
||||
public MatTextureWrapper(string key, string text, MatTexture texture)
|
||||
{
|
||||
Name = key;
|
||||
Text = text;
|
||||
textureMap = texture;
|
||||
|
||||
ImageKey = "texture";
|
||||
SelectedImageKey = "texture";
|
||||
}
|
||||
|
||||
public override void OnClick(TreeView treeView)
|
||||
{
|
||||
UpdateEditor();
|
||||
}
|
||||
public void UpdateEditor()
|
||||
{
|
||||
((BFRES)Parent.Parent.Parent.Parent.Parent).LoadEditors(this);
|
||||
}
|
||||
}
|
||||
|
||||
public class MatTexture : STGenericMatTexture
|
||||
{
|
||||
public string animatedTexName = "";
|
||||
|
@ -281,7 +281,7 @@ namespace Bfres.Structs
|
||||
BoneU.Rotation = new Syroot.Maths.Vector4F(rotation[0], rotation[1], rotation[2], rotation[3]);
|
||||
BoneU.Name = Text;
|
||||
BoneU.Flags = FlagVisible ? ResU.BoneFlags.Visible : 0;
|
||||
BoneU.ParentIndex = (ushort)parentIndex;
|
||||
BoneU.ParentIndex = (short)parentIndex;
|
||||
BoneU.SmoothMatrixIndex = SmoothMatrixIndex;
|
||||
BoneU.RigidMatrixIndex = RigidMatrixIndex;
|
||||
|
||||
@ -294,7 +294,7 @@ namespace Bfres.Structs
|
||||
Bone.Rotation = new Syroot.Maths.Vector4F(rotation[0], rotation[1], rotation[2], rotation[3]);
|
||||
Bone.Name = Text;
|
||||
Bone.Flags = FlagVisible ? BoneFlags.Visible : 0;
|
||||
Bone.ParentIndex = (ushort)parentIndex;
|
||||
Bone.ParentIndex = (short)parentIndex;
|
||||
Bone.SmoothMatrixIndex = SmoothMatrixIndex;
|
||||
Bone.RigidMatrixIndex = RigidMatrixIndex;
|
||||
|
||||
@ -341,7 +341,7 @@ namespace Bfres.Structs
|
||||
Nodes.Add(bn);
|
||||
skeletonParent.bones.Add(bn);
|
||||
|
||||
BoneU.ParentIndex = (ushort)bn.parentIndex;
|
||||
BoneU.ParentIndex = (short)bn.parentIndex;
|
||||
((FSKL)skeletonParent).AddBone(BoneU);
|
||||
}
|
||||
else
|
||||
|
@ -221,13 +221,16 @@ namespace Bfres.Structs
|
||||
Nodes.Clear();
|
||||
Bones.Clear();
|
||||
|
||||
foreach (BoneAnim bn in ska.BoneAnims)
|
||||
for (int i = 0; i < ska.BoneAnims.Count; i++)
|
||||
{
|
||||
var bn = ska.BoneAnims[i];
|
||||
|
||||
BoneAnimNode bone = new BoneAnimNode(bn.Name, false);
|
||||
bone.BoneAnim = bn;
|
||||
bone.UseSegmentScaleCompensate = bn.ApplySegmentScaleCompensate;
|
||||
|
||||
Bones.Add(bone);
|
||||
Nodes.Add(bone);
|
||||
|
||||
if (ska.FlagsRotate == SkeletalAnimFlagsRotate.EulerXYZ)
|
||||
bone.RotType = Animation.RotationType.EULER;
|
||||
@ -287,6 +290,7 @@ namespace Bfres.Structs
|
||||
bone.UseSegmentScaleCompensate = bn.ApplySegmentScaleCompensate;
|
||||
|
||||
Bones.Add(bone);
|
||||
// Nodes.Add(bone);
|
||||
|
||||
if (ska.FlagsRotate == ResU.SkeletalAnimFlagsRotate.EulerXYZ)
|
||||
bone.RotType = Animation.RotationType.EULER;
|
||||
|
@ -54,7 +54,7 @@ namespace FirstPlugin
|
||||
{
|
||||
var mat = MatrixExenstion.GetMatrixInverted(bone);
|
||||
|
||||
bn.ParentIndex = (ushort)bone.parentIndex;
|
||||
bn.ParentIndex = (short)bone.parentIndex;
|
||||
|
||||
if (bn.SmoothMatrixIndex > -1)
|
||||
model.Skeleton.InverseModelMatrices[bn.SmoothMatrixIndex] = mat;
|
||||
@ -572,7 +572,7 @@ namespace FirstPlugin
|
||||
ushort SmoothIndex = 0;
|
||||
foreach (STBone genericBone in Bones)
|
||||
{
|
||||
genericBone.BillboardIndex = ushort.MaxValue;
|
||||
genericBone.BillboardIndex = -1;
|
||||
|
||||
STConsole.WriteLine($"Applying bone " + genericBone.Text);
|
||||
|
||||
|
@ -916,7 +916,7 @@ namespace FirstPlugin
|
||||
ushort SmoothIndex = 0;
|
||||
foreach (STBone genericBone in Bones)
|
||||
{
|
||||
genericBone.BillboardIndex = ushort.MaxValue;
|
||||
genericBone.BillboardIndex = -1;
|
||||
|
||||
//Clone a generic bone with the generic data
|
||||
BfresBone bn = new BfresBone(fskl);
|
||||
|
@ -69,15 +69,6 @@ namespace FirstPlugin
|
||||
UpdateTextureMaps();
|
||||
}
|
||||
|
||||
public void LoadFile(ResU.ResFile resFileU)
|
||||
{
|
||||
ResFileNode.Load(resFileU);
|
||||
}
|
||||
public void LoadFile(ResFile resFile)
|
||||
{
|
||||
ResFileNode.Load(resFile);
|
||||
}
|
||||
|
||||
public void Destroy()
|
||||
{
|
||||
bool buffersWereInitialized = ibo_elements != 0 && vbo_position != 0;
|
||||
|
230
Switch_FileFormatsMain/GUI/BFRES/Texture Sampler/SamplerEditorSimple.Designer.cs
generated
Normal file
230
Switch_FileFormatsMain/GUI/BFRES/Texture Sampler/SamplerEditorSimple.Designer.cs
generated
Normal file
@ -0,0 +1,230 @@
|
||||
namespace FirstPlugin.Forms
|
||||
{
|
||||
partial class SamplerEditorSimple
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SamplerEditorSimple));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.stPanel1 = new Switch_Toolbox.Library.Forms.STPanel();
|
||||
this.stLabel3 = new Switch_Toolbox.Library.Forms.STLabel();
|
||||
this.stTextBox2 = new Switch_Toolbox.Library.Forms.STTextBox();
|
||||
this.samplerCB = new Switch_Toolbox.Library.Forms.STComboBox();
|
||||
this.stLabel2 = new Switch_Toolbox.Library.Forms.STLabel();
|
||||
this.stButton1 = new Switch_Toolbox.Library.Forms.STButton();
|
||||
this.nameTB = new Switch_Toolbox.Library.Forms.STTextBox();
|
||||
this.stLabel1 = new Switch_Toolbox.Library.Forms.STLabel();
|
||||
this.stPropertyGrid1 = new Switch_Toolbox.Library.Forms.STPropertyGrid();
|
||||
this.textureBP = new Switch_Toolbox.Library.Forms.PictureBoxCustom();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
|
||||
this.splitContainer2.Panel1.SuspendLayout();
|
||||
this.splitContainer2.Panel2.SuspendLayout();
|
||||
this.splitContainer2.SuspendLayout();
|
||||
this.stPanel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.textureBP)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.textureBP);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(585, 522);
|
||||
this.splitContainer1.SplitterDistance = 299;
|
||||
this.splitContainer1.TabIndex = 0;
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer2.Name = "splitContainer2";
|
||||
//
|
||||
// splitContainer2.Panel1
|
||||
//
|
||||
this.splitContainer2.Panel1.Controls.Add(this.stPanel1);
|
||||
//
|
||||
// splitContainer2.Panel2
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.stPropertyGrid1);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(585, 299);
|
||||
this.splitContainer2.SplitterDistance = 277;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// stPanel1
|
||||
//
|
||||
this.stPanel1.Controls.Add(this.stLabel3);
|
||||
this.stPanel1.Controls.Add(this.stTextBox2);
|
||||
this.stPanel1.Controls.Add(this.samplerCB);
|
||||
this.stPanel1.Controls.Add(this.stLabel2);
|
||||
this.stPanel1.Controls.Add(this.stButton1);
|
||||
this.stPanel1.Controls.Add(this.nameTB);
|
||||
this.stPanel1.Controls.Add(this.stLabel1);
|
||||
this.stPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.stPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.stPanel1.Name = "stPanel1";
|
||||
this.stPanel1.Size = new System.Drawing.Size(277, 299);
|
||||
this.stPanel1.TabIndex = 0;
|
||||
//
|
||||
// stLabel3
|
||||
//
|
||||
this.stLabel3.AutoSize = true;
|
||||
this.stLabel3.Location = new System.Drawing.Point(5, 87);
|
||||
this.stLabel3.Name = "stLabel3";
|
||||
this.stLabel3.Size = new System.Drawing.Size(29, 13);
|
||||
this.stLabel3.TabIndex = 6;
|
||||
this.stLabel3.Text = "Hint:";
|
||||
//
|
||||
// stTextBox2
|
||||
//
|
||||
this.stTextBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.stTextBox2.Location = new System.Drawing.Point(67, 85);
|
||||
this.stTextBox2.Name = "stTextBox2";
|
||||
this.stTextBox2.Size = new System.Drawing.Size(207, 20);
|
||||
this.stTextBox2.TabIndex = 5;
|
||||
//
|
||||
// samplerCB
|
||||
//
|
||||
this.samplerCB.BorderColor = System.Drawing.Color.Empty;
|
||||
this.samplerCB.BorderStyle = System.Windows.Forms.ButtonBorderStyle.Solid;
|
||||
this.samplerCB.ButtonColor = System.Drawing.Color.Empty;
|
||||
this.samplerCB.FormattingEnabled = true;
|
||||
this.samplerCB.Location = new System.Drawing.Point(68, 58);
|
||||
this.samplerCB.Name = "samplerCB";
|
||||
this.samplerCB.ReadOnly = true;
|
||||
this.samplerCB.Size = new System.Drawing.Size(206, 21);
|
||||
this.samplerCB.TabIndex = 4;
|
||||
//
|
||||
// stLabel2
|
||||
//
|
||||
this.stLabel2.AutoSize = true;
|
||||
this.stLabel2.Location = new System.Drawing.Point(3, 61);
|
||||
this.stLabel2.Name = "stLabel2";
|
||||
this.stLabel2.Size = new System.Drawing.Size(48, 13);
|
||||
this.stLabel2.TabIndex = 3;
|
||||
this.stLabel2.Text = "Sampler:";
|
||||
//
|
||||
// stButton1
|
||||
//
|
||||
this.stButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.stButton1.Location = new System.Drawing.Point(220, 29);
|
||||
this.stButton1.Name = "stButton1";
|
||||
this.stButton1.Size = new System.Drawing.Size(54, 23);
|
||||
this.stButton1.TabIndex = 2;
|
||||
this.stButton1.Text = "Edit:";
|
||||
this.stButton1.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// nameTB
|
||||
//
|
||||
this.nameTB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.nameTB.Location = new System.Drawing.Point(8, 32);
|
||||
this.nameTB.Name = "nameTB";
|
||||
this.nameTB.Size = new System.Drawing.Size(207, 20);
|
||||
this.nameTB.TabIndex = 1;
|
||||
//
|
||||
// stLabel1
|
||||
//
|
||||
this.stLabel1.AutoSize = true;
|
||||
this.stLabel1.Location = new System.Drawing.Point(5, 10);
|
||||
this.stLabel1.Name = "stLabel1";
|
||||
this.stLabel1.Size = new System.Drawing.Size(46, 13);
|
||||
this.stLabel1.TabIndex = 0;
|
||||
this.stLabel1.Text = "Texture:";
|
||||
//
|
||||
// stPropertyGrid1
|
||||
//
|
||||
this.stPropertyGrid1.AutoScroll = true;
|
||||
this.stPropertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.stPropertyGrid1.Location = new System.Drawing.Point(0, 0);
|
||||
this.stPropertyGrid1.Name = "stPropertyGrid1";
|
||||
this.stPropertyGrid1.ShowHintDisplay = true;
|
||||
this.stPropertyGrid1.Size = new System.Drawing.Size(304, 299);
|
||||
this.stPropertyGrid1.TabIndex = 0;
|
||||
//
|
||||
// textureBP
|
||||
//
|
||||
this.textureBP.BackColor = System.Drawing.Color.Transparent;
|
||||
this.textureBP.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("textureBP.BackgroundImage")));
|
||||
this.textureBP.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.textureBP.Location = new System.Drawing.Point(0, 0);
|
||||
this.textureBP.Name = "textureBP";
|
||||
this.textureBP.Size = new System.Drawing.Size(585, 219);
|
||||
this.textureBP.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.textureBP.TabIndex = 0;
|
||||
this.textureBP.TabStop = false;
|
||||
//
|
||||
// SamplerEditorSimple
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Name = "SamplerEditorSimple";
|
||||
this.Size = new System.Drawing.Size(585, 522);
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.splitContainer2.Panel1.ResumeLayout(false);
|
||||
this.splitContainer2.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
||||
this.splitContainer2.ResumeLayout(false);
|
||||
this.stPanel1.ResumeLayout(false);
|
||||
this.stPanel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.textureBP)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private System.Windows.Forms.SplitContainer splitContainer2;
|
||||
private Switch_Toolbox.Library.Forms.STPanel stPanel1;
|
||||
private Switch_Toolbox.Library.Forms.STLabel stLabel3;
|
||||
private Switch_Toolbox.Library.Forms.STTextBox stTextBox2;
|
||||
private Switch_Toolbox.Library.Forms.STComboBox samplerCB;
|
||||
private Switch_Toolbox.Library.Forms.STLabel stLabel2;
|
||||
private Switch_Toolbox.Library.Forms.STButton stButton1;
|
||||
private Switch_Toolbox.Library.Forms.STTextBox nameTB;
|
||||
private Switch_Toolbox.Library.Forms.STLabel stLabel1;
|
||||
private Switch_Toolbox.Library.Forms.STPropertyGrid stPropertyGrid1;
|
||||
private Switch_Toolbox.Library.Forms.PictureBoxCustom textureBP;
|
||||
}
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using Bfres.Structs;
|
||||
|
||||
namespace FirstPlugin.Forms
|
||||
{
|
||||
public partial class SamplerEditorSimple : UserControl
|
||||
{
|
||||
private Thread Thread;
|
||||
|
||||
public SamplerEditorSimple()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void LoadTexture(MatTexture texture)
|
||||
{
|
||||
nameTB.Text = texture.Name;
|
||||
|
||||
samplerCB.Items.Clear();
|
||||
samplerCB.Items.Add(texture.SamplerName);
|
||||
samplerCB.SelectedItem = texture.SamplerName;
|
||||
|
||||
if (texture.wiiUSampler != null)
|
||||
{
|
||||
stPropertyGrid1.LoadProperty(texture.wiiUSampler , OnPropertyChanged);
|
||||
}
|
||||
else
|
||||
{
|
||||
stPropertyGrid1.LoadProperty(texture.switchSampler, OnPropertyChanged);
|
||||
}
|
||||
|
||||
foreach (BNTX bntx in PluginRuntime.bntxContainers)
|
||||
{
|
||||
if (bntx.Textures.ContainsKey(texture.Name))
|
||||
{
|
||||
Thread = new Thread((ThreadStart)(() =>
|
||||
{
|
||||
textureBP.Image = Switch_Toolbox.Library.Imaging.GetLoadingImage();
|
||||
textureBP.Image = bntx.Textures[texture.Name].GetBitmap();
|
||||
}));
|
||||
Thread.Start();
|
||||
}
|
||||
}
|
||||
foreach (BFRESGroupNode ftexCont in PluginRuntime.ftexContainers)
|
||||
{
|
||||
if (ftexCont.ResourceNodes.ContainsKey(texture.Name))
|
||||
{
|
||||
Thread = new Thread((ThreadStart)(() =>
|
||||
{
|
||||
textureBP.Image = Switch_Toolbox.Library.Imaging.GetLoadingImage();
|
||||
textureBP.Image = ((FTEX)ftexCont.ResourceNodes[texture.Name]).GetBitmap();
|
||||
}));
|
||||
Thread.Start();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void OnPropertyChanged()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void stTextBox2_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,328 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="textureBP.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAlgAAAJYCAMAAACJuGjuAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
JgAAgIQAAPoAAAC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|
||||
kvArnu7TMGOwQkBrBGaOgI59BJSFX8p1KhBQJ17HuoWEyvhbosYIaBiu4xxnNGq/GayHAJq139oVZ/QQ
|
||||
mGk4zW7tt3aFGa0JAhPXKv5Grfv8ckaj93+veSuXxEAIUwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
@ -9,7 +9,7 @@ namespace FirstPlugin
|
||||
{
|
||||
public class PluginRuntime
|
||||
{
|
||||
public static bool UseSimpleBfresEditor = false;
|
||||
public static bool UseSimpleBfresEditor = true;
|
||||
|
||||
public static Dictionary<string, BFLIM> bflimTextures = new Dictionary<string, BFLIM>();
|
||||
public static List<BNTX> bntxContainers = new List<BNTX>();
|
||||
|
@ -200,7 +200,7 @@
|
||||
<Compile Include="FileFormats\Audio\MP3.cs" />
|
||||
<Compile Include="FileFormats\Audio\Ogg.cs" />
|
||||
<Compile Include="FileFormats\Audio\WAV.cs" />
|
||||
<Compile Include="FileFormats\BFRES\BFRESGroup.cs" />
|
||||
<Compile Include="FileFormats\BFRES\BFRESGroupNode.cs" />
|
||||
<Compile Include="FileFormats\BFRES\BFRESAnimFolder.cs" />
|
||||
<Compile Include="FileFormats\BFRES\gfxEnum.cs" />
|
||||
<Compile Include="FileFormats\BFRES\GLEnumConverter.cs" />
|
||||
@ -309,6 +309,12 @@
|
||||
<Compile Include="GUI\BFRES\Shape\VertexBufferEncodeEditor.Designer.cs">
|
||||
<DependentUpon>VertexBufferEncodeEditor.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="GUI\BFRES\Texture Sampler\SamplerEditorSimple.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="GUI\BFRES\Texture Sampler\SamplerEditorSimple.Designer.cs">
|
||||
<DependentUpon>SamplerEditorSimple.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="GUI\BFRES\TexturePattern\AddSamplerKeyGroup.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -939,6 +945,9 @@
|
||||
<EmbeddedResource Include="GUI\BFRES\Materials\RenderInfoDataEditor.resx">
|
||||
<DependentUpon>RenderInfoDataEditor.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="GUI\BFRES\Texture Sampler\SamplerEditorSimple.resx">
|
||||
<DependentUpon>SamplerEditorSimple.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="GUI\BFRES\TexturePattern\AddSamplerKeyGroup.resx">
|
||||
<DependentUpon>AddSamplerKeyGroup.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
5b4c9d5675ade4ad129780633801a37156738757
|
||||
75aca8a71972838de6e8f123a623f1026e38bd08
|
||||
|
@ -321,3 +321,4 @@ C:\Users\Nathan\Documents\GitHub\SwitchToolboxV1\Toolbox\bin\Release\Lib\Plugins
|
||||
C:\Users\Nathan\Documents\GitHub\SwitchToolboxV1\Switch_FileFormatsMain\obj\Release\Switch_FileFormatsMain.csproj.CopyComplete
|
||||
C:\Users\Nathan\Documents\GitHub\SwitchToolboxV1\Switch_FileFormatsMain\obj\Release\FirstPlugin.Forms.CollisionMaterialEditor.resources
|
||||
C:\Users\Nathan\Documents\GitHub\SwitchToolboxV1\Switch_FileFormatsMain\obj\Release\FirstPlugin.Forms.MSBTEditor.resources
|
||||
C:\Users\Nathan\Documents\GitHub\SwitchToolboxV1\Switch_FileFormatsMain\obj\Release\FirstPlugin.Forms.SamplerEditorSimple.resources
|
||||
|
Binary file not shown.
Binary file not shown.
@ -271,7 +271,7 @@ namespace Switch_Toolbox.Library
|
||||
|
||||
public void DisposeRenderable()
|
||||
{
|
||||
if (RenderableTex != null)
|
||||
if (RenderableTex != null && Runtime.UseViewport)
|
||||
{
|
||||
RenderableTex.Dispose();
|
||||
RenderableTex = null;
|
||||
|
@ -25,7 +25,7 @@ namespace Switch_Toolbox.Library
|
||||
|
||||
public STSkeleton skeletonParent;
|
||||
public BoneRotationType RotationType;
|
||||
public ushort BillboardIndex;
|
||||
public short BillboardIndex;
|
||||
public short RigidMatrixIndex;
|
||||
public short SmoothMatrixIndex;
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
@ -2968,6 +2968,7 @@
|
||||
<summary>
|
||||
Gets or sets the minimum LoD level.
|
||||
</summary>
|
||||
|
||||
</member>
|
||||
<member name="P:Syroot.NintenTools.Bfres.GX2.TexSampler.MaxLod">
|
||||
<summary>
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user