public void TestDirectCompile() { var resPath = Path.Combine(Environment.CurrentDirectory, @"..\..\Res"); var path = Path.Combine(resPath, "emote_test2-pure.psb"); PSB psb = new PSB(path); psb.Header.Version = 3; psb.UpdateIndexes(); File.WriteAllBytes(path + ".build.psb", psb.Build()); }