Closed Saalvage closed 1 year ago
That's an issue with the room itself, the tank model is not rotated correctly, I'll see if I can hack it to be correct.
I've also written a small C# script to check which rooms contain certain props, it does its job:
string[] check = {
"tank1.x",
"tank2.x",
};
var checkBytes = check.Select(x => Encoding.ASCII.GetBytes(x)).ToArray();
foreach (var file in Directory.EnumerateFiles(Console.ReadLine(), "*.rmesh")) {
var bytes = await File.ReadAllBytesAsync(file);
foreach (var i in Enumerable.Range(0, bytes.Length)) {
foreach (var c in checkBytes) {
if (bytes.Skip(i).Take(c.Length).SequenceEqual(c)) {
Console.WriteLine(file + " " + Encoding.ASCII.GetString(c));
}
}
}
}
Before
After