This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Redump Disc Page | |
// @description Shows dat names, unhides dumpers/comments/contents sections | |
// @namespace Starshadow, Edness | |
// @include http://redump.org/disc/* | |
// @version 2.1 | |
// @grant GM.xmlHttpRequest | |
// ==/UserScript== | |
style = document.createElement("style"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Converts between QD and FDS disk images | |
""" | |
import struct | |
def create_fds_header(side_count): | |
return b"FDS\x1A" + bytes([side_count & 0xFF]) + bytes(11) |