Skip to content

Instantly share code, notes, and snippets.

Brad Smith bbbradsmith

Block or report user

Report or block bbbradsmith

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bbbradsmith
bbbradsmith / makeflop.md
Last active Apr 21, 2019
Simple file operations for a FAT12 floppy disk image. (Moved to GitHub)
@bbbradsmith
bbbradsmith / blades_of_steel_ppudata.py
Created Mar 6, 2019
Blades of Steel PPU data (CHR/nametable) decoder and encoder
View blades_of_steel_ppudata.py
#!/usr/bin/env python3
#
# Python script for decoding or re-encoding PPU data
# (CHR or nametable) bundles from Blades of Steel.
#
# See bottom of this file for example usage.
#
rom_filename = "Blades of Steel (U).nes"
@bbbradsmith
bbbradsmith / circlemap.py
Last active Feb 20, 2019
Example renderings of the chaotic Circle Map. - Details: https://www.patreon.com/posts/24826459
View circlemap.py
#!/usr/bin/env python3
#
# circlemap.py
# Brad Smith, 2019
# http://rainwarrior.ca
#
# Example renderings of the chaotic Circle Map.
# http://mathworld.wolfram.com/CircleMap.html
import sys
@bbbradsmith
bbbradsmith / nes_blocky.py
Last active Feb 4, 2019
NES blocky graphics converter - Details: https://www.patreon.com/posts/22735126
View nes_blocky.py
#!/usr/bin/env python3
# nes_blocky.py
# Brad Smith, 2018
# http://rainwarrior.ca
#
# Finds .NES ROM files in the current folder,
# and generates "blocky" pixellated versions of each,
# if the game does not use CHR-RAM.
@bbbradsmith
bbbradsmith / avecta.py
Last active Dec 13, 2018
Avecta (Atari ST) data dumper
View avecta.py
# Avecta I: Ebora is an Atari ST game published in STart Magazine, September 1989
#
# Information here:
# https://www.atarimagazines.com/startv4n2/avecta.html
#
# This program parses its data files, and generates maps from it.
# The file formats can be deduced from the program.
# Some of the data is described in comments.
import PIL.Image
View karnov_inspector.lua
-- Karnov Inspector lua script for FCEUX
-- rainwarrior 2018 #Karnovember
-- http://rainwarrior.ca
-- Press H for help
VERSION = "v1.0"
-- Modes and input handling to toggle them
@bbbradsmith
bbbradsmith / nsf2_strip.py
Created Aug 25, 2018
Utility to strip metadata from NSF2 files.
View nsf2_strip.py
#!/usr/bin/env python3
import sys
assert sys.version_info[0] >= 3, "Python 3 required."
#
# nsf2_strip.py
# Brad Smith, 2018-08-25
#
# This strips metadata from NSF2 files.
#
@bbbradsmith
bbbradsmith / nsfe_to_nsf2.py
Last active Aug 25, 2018
Utility to convert NSFe music files into the backward compatible NSF2 with metadata format.
View nsfe_to_nsf2.py
#!/usr/bin/env python3
import sys
assert sys.version_info[0] >= 3, "Python 3 required."
#
# nsfe_to_nsf2.py
# Brad Smith, 2018-08-24
#
# This converts an NSFe file to a preliminary "NSF2 with metadata" format.
#
You can’t perform that action at this time.