Browse Source

Bug fixed while write file size in evt file

master
BahaBulle 8 years ago
parent
commit
6554da26ad
1 changed files with 1 additions and 16 deletions
  1. +1
    -16
      Hack.Xenosaga/Process/Scripts.cs

+ 1
- 16
Hack.Xenosaga/Process/Scripts.cs View File

@ -227,21 +227,6 @@ namespace Hack.Xenosaga.Process
return true; 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) private static bool extractEvt(string pathName, Encoding encode)
{ {
try try
@ -366,7 +351,7 @@ namespace Hack.Xenosaga.Process
destEvt.Write(BitConverter.GetBytes(posName), 0, 4, 12); destEvt.Write(BitConverter.GetBytes(posName), 0, 4, 12);
destEvt.Write(msName.ToArray(), 0, (int)msName.Length); 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 // Write index of files
destEvt.Position = 20; destEvt.Position = 20;


Loading…
Cancel
Save