mirror of
https://github.com/WiiDatabase/nusdownloader.git
synced 2024-11-27 04:34:14 +01:00
U8.cs, Lz77.cs: Applied patch by castorinop. (Fixes issue 14)
NusClient.cs: Added fix by madri2, and custom fix to hopefully fix Demae channel issue. Update issue 11 Status: Started v patch readded, working on scripting not ignoring checkboxes. Update issue 9 Status: Fixed This should be fixed. Needs a rebuild, can't do that from where I am now.
This commit is contained in:
parent
0a5717c111
commit
3ed87d8ea1
@ -331,7 +331,7 @@ namespace libWiiSharp
|
||||
{
|
||||
int i, p, cmp;
|
||||
cmp = 1;
|
||||
p = N + 1 + (textBuffer[r] == 0xffff ? 0 : textBuffer[r]);
|
||||
p = N + 1 + (textBuffer[r] == 0xffff ? 0 : (int)textBuffer[r]);
|
||||
rightSon[r] = leftSon[r] = N; matchLength = 0;
|
||||
|
||||
for (; ; )
|
||||
|
@ -456,7 +456,9 @@ namespace libWiiSharp
|
||||
fireDebug(" - Creating WAD...");
|
||||
WAD wad = WAD.Create(cert, tik, tmd, contents);
|
||||
wad.RemoveFooter();
|
||||
wadName = wadName.Replace("[v]", this.TitleVersion.ToString());
|
||||
wadName = wadName.Replace("[v]", "v" + this.TitleVersion.ToString()); // fix by madri2
|
||||
if (Path.DirectorySeparatorChar.ToString() != "/" && Path.AltDirectorySeparatorChar.ToString() != "/")
|
||||
wadName = wadName.Replace("/", "");
|
||||
if (wadName.Contains(Path.DirectorySeparatorChar.ToString()) || wadName.Contains(Path.AltDirectorySeparatorChar.ToString()))
|
||||
wad.Save(wadName);
|
||||
else
|
||||
|
@ -826,7 +826,7 @@ namespace libWiiSharp
|
||||
|
||||
int size = u8Nodes.Count + 2;
|
||||
for (int j = 0; j < dirEntries.Length; j++)
|
||||
if (dirEntries[j].Contains(dirEntries[i] + "\\")) size++;
|
||||
if (dirEntries[j].Contains(dirEntries[i] + System.IO.Path.DirectorySeparatorChar.ToString())) size++;
|
||||
|
||||
tempNode.SizeOfData = (uint)size;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user