1
0
mirror of synced 2024-11-12 10:10:50 +01:00

More AAMP v2 save fixes. Should be mostly complete now.

This commit is contained in:
KillzXGaming 2019-05-02 20:49:43 -04:00
parent a8957c0a0d
commit f28295363d
8 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -1025,7 +1025,9 @@ namespace Bfres.Structs
{
if (IsWiiU)
{
Console.WriteLine("Saving Buffer");
BfresWiiU.SaveVertexBuffer(this);
Console.WriteLine("Reading Buffer");
BfresWiiU.ReadShapesVertices(this, ShapeU, VertexBufferU, GetParentModel());
return;
}

View File

@ -967,10 +967,14 @@ namespace FirstPlugin
VertexBuffer buffer = new VertexBuffer();
buffer.Attributes = new ResDict<VertexAttrib>();
Console.WriteLine("Updating Buffer");
VertexBufferHelper helper = new VertexBufferHelper(buffer, Syroot.BinaryData.ByteOrder.BigEndian);
List<VertexBufferHelperAttrib> atrib = new List<VertexBufferHelperAttrib>();
fshp.UpdateVertices();
Console.WriteLine("Creating Buffer");
foreach (FSHP.VertexAttribute att in fshp.vertexAttributes)
{
if (att.Name == "_p0")

Binary file not shown.

Binary file not shown.