|
|
@ -227,21 +227,6 @@ namespace Hack.Xenosaga.Process |
|
|
|
return true; |
|
|
|
} |
|
|
|
|
|
|
|
private static MemoryStream compilEvt(evtClass.stFile file) |
|
|
|
{ |
|
|
|
MemoryStream ms = new MemoryStream(); |
|
|
|
using (BinaryReader br = new BinaryReader(ms)) |
|
|
|
{ |
|
|
|
JavaClass jc = new JavaClass(); |
|
|
|
|
|
|
|
jc.load(br); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return ms; |
|
|
|
} |
|
|
|
|
|
|
|
private static bool extractEvt(string pathName, Encoding encode) |
|
|
|
{ |
|
|
|
try |
|
|
@ -366,7 +351,7 @@ namespace Hack.Xenosaga.Process |
|
|
|
|
|
|
|
destEvt.Write(BitConverter.GetBytes(posName), 0, 4, 12); |
|
|
|
destEvt.Write(msName.ToArray(), 0, (int)msName.Length); |
|
|
|
destEvt.Write(BitConverter.GetBytes(destEvt.Length), 0, 2, 8); |
|
|
|
destEvt.Write(BitConverter.GetBytes(destEvt.Length), 0, 4, 8); |
|
|
|
|
|
|
|
// Write index of files
|
|
|
|
destEvt.Position = 20; |
|
|
|