Skip to content

Instantly share code, notes, and snippets.

View DNA64's full-sized avatar
💭
Working on various classic projects

viral_dna DNA64

💭
Working on various classic projects
View GitHub Profile
###############################################
# TX SX OS unpacker - by hexkyz and naehrwert #
###############################################
from Crypto.Cipher import AES
from Crypto.Util import Counter
import os
import struct
"""
###############################################
# TX SX Pro Custom Payload Packer - by CTCaer #
###############################################
import struct
import hashlib
from os import unlink
"""
typedef struct boot_dat_hdr
@DNA64
DNA64 / _make_list.bat
Created January 28, 2018 09:15 — forked from keejelo/make_html_list.bat
Makes a list containing all games in gamefolder (hakchi2)
::*************************************************************************
:: Filename: _make_list.bat
:: Author : keejelo
:: Version : 1.01
:: Descr. : Makes a list containing all games in gamefolder.
:: Usage : Put the file into folder "hakchi2\games_snes" and then run it.
::*************************************************************************
TITLE Working, please wait...
ECHO OFF
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
@DNA64
DNA64 / sfc2sfrom.py
Last active March 23, 2018 12:06 — forked from anpage/sfc2sfrom.py
Scripts to convert SNES ROMs to SNES Classic (.sfrom) format and to read .sfrom headers
#!/usr/bin/env python
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR