boi - it took me so long to figure this out
so this yaz0 decoder actually doesn't do its job properly with SM3DAS files, it'll need to be rewritten (btw yaz0dec from szstools has the same problem)
This commit is contained in:
@@ -5,7 +5,7 @@ using System.Text;
|
||||
|
||||
namespace BMGEditor
|
||||
{
|
||||
public static class Yaz0
|
||||
public static class Yaz0 // ONLY WORKS WITH BIG ENDIAN - TO REWRITE !!
|
||||
{
|
||||
// TODO: put compression in use?
|
||||
// note: compression is slow when dealing with large files (eg. 3D models)
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.IO;
|
||||
|
||||
namespace BMGEditor
|
||||
{
|
||||
public class Yaz0Stream : MemoryStream
|
||||
public class Yaz0Stream : MemoryStream //ONLY WORKS WITH BIG ENDIAN - TO REWRITE !!
|
||||
{
|
||||
public Yaz0Stream(Stream backend)
|
||||
: base(1)
|
||||
|
||||
Reference in New Issue
Block a user