Your ROOT_URL in app.ini is https://git.ondrovo.com/ but you are visiting http://159.69.29.240:49153/NintenHero/Meat-Cleaver/blame/commit/091e725025a99653f819ad643ce6cdf7757ed0e5/StringTable.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
A tool to extract from Super Meat Boy dat files.
|
|
|
|
using static Program;
|
|
|
|
|
|
|
|
|
|
namespace Meat_Cleaver
|
|
|
|
|
{
|
|
|
|
|
static public class StringTable
|
|
|
|
|
{
|
|
|
|
|
public static List<string> Table(int count)
|
|
|
|
|
{
|
|
|
|
|
List<string> table = [];
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < count; i++)
|
|
|
|
|
table.Add(NullTerminatedString());
|
|
|
|
|
return table;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static string NullTerminatedString()
|
|
|
|
|
{
|
|
|
|
|
char[] fileName = [];
|
|
|
|
|
char readchar = (char)1;
|
|
|
|
|
while (readchar > 0)
|
|
|
|
|
{
|
|
|
|
|
readchar = br.ReadChar();
|
|
|
|
|
Array.Resize(ref fileName, fileName.Length + 1);
|
|
|
|
|
fileName[^1] = readchar;
|
|
|
|
|
}
|
|
|
|
|
Array.Resize(ref fileName, fileName.Length - 1);
|
|
|
|
|
return new(fileName);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|