Danbooru

Image Replacement Request Thread

Posted under General

This topic has been locked.

These are the fixed Flash files from topic #15331.

Here is a Python 3 function that converts these files back to the exact original files-->
def unfix(id, data):
    data = bytearray(data)
    assert data[:3] == b"CWS"
    data[:1] = b"F"
    data[8:] = zlib.decompress(data[8:])
    assert data[0x15:0x17] == b"\x44\x11" and data[0x17] in {0x00, 0x10}
    data[0x17] |= 8
    if id not in {457534, 516528, 667462, 1004105, 1017021}:
        data[:1] = b"C"
        data[8:] = zlib.compress(data[8:], level=9)
    return data

Already fixed, links obsolete: post #457534, post #463106, post #469576, post #474090, post #474092, post #474267, post #482623, post #516171, post #516528, post #538856, post #564494, post #575133, post #575140, post #584750, post #601409, post #607069, post #623333, post #630099, post #630247, post #651134, post #659001, post #662752, post #667462, post #668784, post #700582, post #717459, post #743163, post #743646, post #744413, post #751046, post #751139, post #766096, post #786704, post #793877, post #793891, post #796189, post #796198, post #817914, post #820192, post #879255, post #879262, post #966553, post #971419, post #994322, post #1004105, post #1017021, post #1031990, post #1032501, post #1048555, post #1176368, post #1197146

Updated

1 11 12 13 14 15 16 17 18 19 35