mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-12-12 01:31:20 +04:00
improve binary varset parsing
This commit is contained in:
@@ -18,8 +18,20 @@ using VarsetLib;
|
||||
// converter.Convert("E:\\ParkanUnpacked\\bases.rlb\\25_MESH_R_H_02.msh");
|
||||
|
||||
|
||||
var fs = new FileStream("E:\\ParkanUnpacked\\behpsp.res\\31_00 00 00 00_prof_generator.var", FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
foreach (var path in Directory.EnumerateFiles("E:\\ParkanUnpacked\\behpsp.res"))
|
||||
{
|
||||
using var fs = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
|
||||
var file = BinaryVarsetFileParser.Parse(fs);
|
||||
var file = BinaryVarsetFileParser.Parse(fs);
|
||||
|
||||
_ = 5;
|
||||
_ = 5;
|
||||
}
|
||||
|
||||
{
|
||||
var fs = new FileStream("E:\\ParkanUnpacked\\behpsp.res\\31_00 00 00 00_prof_generator.var", FileMode.Open,
|
||||
FileAccess.Read, FileShare.Read);
|
||||
|
||||
var file = BinaryVarsetFileParser.Parse(fs);
|
||||
|
||||
_ = 5;
|
||||
}
|
||||
Reference in New Issue
Block a user