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
#include <stdio.h> | |
#include <stdint.h> | |
#define HEADER_SIZE 16 | |
int IsNES20(uint8_t* header) | |
{ | |
return (header[7] & 0x0C) == 0x08; | |
} |
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
<!DOCTYPE html> | |
<html lang="en-us"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>[NES] Alien 3 - Editor (v1.1)</title> | |
<style> | |
html { | |
font-family: sans-serif; | |
} |
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 | |
# -*- coding: utf-8 -*- | |
""" | |
[Wii] Coraline | |
.dxt <-> PNG | |
Requirements: | |
pip install -U pillow | |
Usage: |
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
-- For BizHawk | |
local player_x_addr = 0x06E0 | |
local player_y_addr = 0x06E2 | |
local cam_x_addr = 0x05BA | |
local cam_y_addr = 0x05BC | |
local invincibility_addr = 0x0728 | |
local step = 1 | |
local prev_keys = {} | |
local prev_mouse = {} |
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
using CadEditor; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Xml.Linq; | |
using System.Windows.Forms; |
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 | |
""" | |
Input: zudugo.bin (CRC32: 0FA9D9AD) | |
Usage: | |
script.py zudugo.bin | |
License: Unlicense | |
""" | |
__version__ = '1.0.0' | |
__author__ = "infval" |
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 | |
__version__ = '1.0.1' | |
import os | |
import re | |
import sys | |
import json | |
import shutil | |
import zipfile |
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 | |
from pathlib import Path | |
from os import system | |
import sys | |
overwrite = '' | |
if len(sys.argv) > 1 and sys.argv[1] == '-y': | |
overwrite = '-y' | |
p = Path('.') |
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 | |
"""Fix pirated PlayStation 1 BIN for OpenEmu, Mednafen | |
usage: | |
script.py Image.bin [0|1|2] | |
0 - Japan, 1 - USA, 2 - Europe. Default: 1 | |
examples: | |
script.py "Chrono Cross (USA) (Disc 1).bin" | |
script.py "Chrono Cross (USA) (Disc 1).bin" 1 | |
script.py "Sexy Parodius (Japan).bin" 0 |
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 | |
from PIL import Image | |
from PIL import ImageDraw | |
FACTOR = 4 # Super sampling | |
H = 256 * FACTOR | |
HGAP = 16 * FACTOR | |
WLINE = 16 * FACTOR | |
numbers = ( |
NewerOlder