Skip to content

Commit

Permalink
The garbage chunk SVR3 is now replaced with a message reading "SuperB…
Browse files Browse the repository at this point in the history
…MD - Gamma".
  • Loading branch information
Sage-of-Mirrors committed Jan 11, 2018
1 parent f84a369 commit e4a3874
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions SuperBMD/source/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,7 @@ public void ExportBMD(string fileName)
writer.Write(0); // Placeholder for file size
writer.Write(8); // Number of sections; bmd has 8, bdl has 9

writer.Write("SVR3".ToCharArray());
writer.Write(-1);
writer.Write((long)-1);
writer.Write("SuperBMD - Gamma".ToCharArray());

Scenegraph.Write(writer, packetCount, vertexCount);
VertexData.Write(writer);
Expand All @@ -147,8 +145,6 @@ public void ExportBMD(string fileName)

public void ExportAssImp(string fileName, string modelType, ExportSettings settings)
{
//throw new NotImplementedException();

string outDir = Path.GetDirectoryName(fileName);

Scene outScene = new Scene();
Expand Down

0 comments on commit e4a3874

Please sign in to comment.