Line 229:
Line 229:
: The remaining part is compressed using a LZ77 like algorithm (just like the Nintendo DS). Here ([[Content.bin Part B decompresser|local]] & [http://pastebin.com/f43e9b2cc mirror]) is a little snippet of code to decompress it (uses XXXX_02_gameinfo.bin files as output by [[User:Magicus|Magicus]] [[parse-channel.c]], downloadable here). This code is NOT fully functional, because sometimes the algorithm request data not present in the buffer, and fills it with 'X' instead. Maybe someone can fix it, I think it's not difficult ;) [[User:Arcnor|Arcnor]] 21:40, 27 February 2008 (GMT)
: The remaining part is compressed using a LZ77 like algorithm (just like the Nintendo DS). Here ([[Content.bin Part B decompresser|local]] & [http://pastebin.com/f43e9b2cc mirror]) is a little snippet of code to decompress it (uses XXXX_02_gameinfo.bin files as output by [[User:Magicus|Magicus]] [[parse-channel.c]], downloadable here). This code is NOT fully functional, because sometimes the algorithm request data not present in the buffer, and fills it with 'X' instead. Maybe someone can fix it, I think it's not difficult ;) [[User:Arcnor|Arcnor]] 21:40, 27 February 2008 (GMT)
−
:: The latest version of [[parse_channel.c]] now properly handles LZ77 compression. Thanks for the hint! [[User:Magicus|Magicus]] 10:23, 1 March 2008 (PST)
+
:: The latest version of [[parse-channel.c]] now properly handles LZ77 compression. Thanks for the hint! [[User:Magicus|Magicus]] 10:23, 1 March 2008 (PST)
===Part C: Cleartext "Bk" header===
===Part C: Cleartext "Bk" header===