diff --git a/RevokeMsgPatcher/Utils/FileUtil.cs b/RevokeMsgPatcher/Utils/FileUtil.cs index e7bb263..0e18c60 100644 --- a/RevokeMsgPatcher/Utils/FileUtil.cs +++ b/RevokeMsgPatcher/Utils/FileUtil.cs @@ -70,7 +70,18 @@ namespace RevokeMsgPatcher.Utils foreach (Change change in changes) { stream.Seek(change.Position, SeekOrigin.Begin); - stream.Write(change.Content, 0, change.Content.Length); + foreach(byte b in change.Content) + { + // 跳过通配符 + if(b == 0x3F) + { + stream.ReadByte(); + } + else + { + stream.WriteByte(b); + } + } } } }