postLoader 3.71.3 doesn't seem to load Majora's Mask using cios38rev17b (in slot 248) - it code dumps and the nb.log file says that decompression failed. I did some looking through the source, compared to Mighty Channels 11.1 (which does work for my setup, but I prefer PL), and found that there's a key difference in Nandbooter's lz77.c:
I commented these lines out in both __decompressLZ77_11 and __decompressLZ77_10, and Majora's Mask booted perfectly. Are these lines there for a reason, or can they just be removed? Here's my nb.log file from when it failed:
Regardless, if anyone else can't play Majora's Mask with postLoader, do this:
* Install cios38rev17b to a slot you aren't already using. I recommend using ModMii for this - see Advanced Downloads.
* Compile postLoader, removing the above lines from addon/nandbooter/source/lz77.c.
* Make sure to set postLoader's game option for Majora's Mask to use the IOS slot in which you installed cios38rev17b.
Just posting in hopes that this gets fixed officially (I'm thinking there's probably an off by one problem causing a _Pos to be greater than the _Len or _Size variable once it gets to the final check) and helps others with the same problem.
Anyway, thanks for creating postLoader; it's a great SM replacement!
Code:
if (compressedPos > inputLen || decompressedPos > decompressedSize)
{
return -1;
}
I commented these lines out in both __decompressLZ77_11 and __decompressLZ77_10, and Majora's Mask booted perfectly. Are these lines there for a reason, or can they just be removed? Here's my nb.log file from when it failed:
nandBooter (b4): postLoader triiforce mod...
CONF: 248, 0, -1, 0, 0, 0, 0
NAND: 1,
videooption = 0
languageoption = -1
videopatchoption = 0
hooktypeoption = 0
ocarinaoption = 0
bootmethodoption = 0
Starting nand emu...
Nand_Mount: ios_rev = 17
Nand_Mount: IOS_Ioctlv = 0
Enabling Nand
Nand_Enable IOS_Ioctl = 0
Nand Mounted= 0
ISFS_Initialize: 0
Running search_and_read_dol
Reading TMD...done
Searching for main DOL...
Found DOL --> 00000001.app
Loading DOL: /title/00010001/4e415245/content/00000001.app
Decompressing...ERR: (search_and_read_dol) Decompression failed
ERR: (bootTitle) .dol loading failed
Things are gone wrong, disabling emulator...
Trying to write error log to sd...
CONF: 248, 0, -1, 0, 0, 0, 0
NAND: 1,
videooption = 0
languageoption = -1
videopatchoption = 0
hooktypeoption = 0
ocarinaoption = 0
bootmethodoption = 0
Starting nand emu...
Nand_Mount: ios_rev = 17
Nand_Mount: IOS_Ioctlv = 0
Enabling Nand
Nand_Enable IOS_Ioctl = 0
Nand Mounted= 0
ISFS_Initialize: 0
Running search_and_read_dol
Reading TMD...done
Searching for main DOL...
Found DOL --> 00000001.app
Loading DOL: /title/00010001/4e415245/content/00000001.app
Decompressing...ERR: (search_and_read_dol) Decompression failed
ERR: (bootTitle) .dol loading failed
Things are gone wrong, disabling emulator...
Trying to write error log to sd...
Regardless, if anyone else can't play Majora's Mask with postLoader, do this:
* Install cios38rev17b to a slot you aren't already using. I recommend using ModMii for this - see Advanced Downloads.
* Compile postLoader, removing the above lines from addon/nandbooter/source/lz77.c.
* Make sure to set postLoader's game option for Majora's Mask to use the IOS slot in which you installed cios38rev17b.
Just posting in hopes that this gets fixed officially (I'm thinking there's probably an off by one problem causing a _Pos to be greater than the _Len or _Size variable once it gets to the final check) and helps others with the same problem.
Anyway, thanks for creating postLoader; it's a great SM replacement!