mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-20 00:18:02 +03:00
texm viewer
This commit is contained in:
14
MeshUnpacker/Program.cs
Normal file
14
MeshUnpacker/Program.cs
Normal file
@ -0,0 +1,14 @@
|
||||
// See https://aka.ms/new-console-template for more information
|
||||
|
||||
Console.WriteLine("Hello, World!");
|
||||
|
||||
using var fs = new FileStream("C:\\ParkanUnpacked\\11_fr_e_brige.msh\\0_fr_e_brige.bin", FileMode.Open);
|
||||
|
||||
byte[] buffer = new byte[38];
|
||||
|
||||
for (int i = 0; i < 6; i++)
|
||||
{
|
||||
fs.ReadExactly(buffer);
|
||||
|
||||
Console.WriteLine(string.Join(" ", buffer.Select(x => x.ToString("X2"))));
|
||||
}
|
Reference in New Issue
Block a user