This file contains hidden or 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 | |
# | |
# Python script for dumping images from Read & Rhyme (Atari ST) | |
# Brad Smith, 2019 | |
# http://rainwarrior.ca | |
# | |
# Format is very simple: | |
# 1 x WORD header? always 0. | |
# 16 x WORD palette |
This file contains hidden or 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 | |
# | |
# Pasti .STX Atari ST disk image info dumper | |
# Prints out a human-readable version of all data found in the file | |
# | |
# Usage: | |
# stx_dump("a.stx") | |
# | |
# Based on Pasti reverse engineering: |
This file contains hidden or 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
# this program generates the "rule 90" fill bitstream | |
# seen at the start of many Phillips CD-i disc images | |
import PIL.Image | |
filename = "cdi90.png" | |
width = 29 | |
height = 645 | |
# first valid parent row starts at bit 188 |
This file contains hidden or 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
# eggstractor.py | |
# FNT file image extractor | |
# MDT packfile/map file extractor | |
# for E.G.G. Elemental Gimmick Gear (Dreamcast) | |
# | |
# Brad Smith, 2020 | |
# http://rainwarrior.ca | |
# | |
# Dump result archive: https://mega.nz/#F!B74zmaTJ!LQcdMdeOji_cKyfxwoYDbg |
This file contains hidden or 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
# map dumper for The Endless Night (DOS, 1993, Andy Wood / MythicArts) | |
# Brad Smith, 2020-07-18 | |
# make a "dump" folder before running this | |
# Python 3 | |
import math | |
import PIL.Image | |
import PIL.ImageDraw |
This file contains hidden or 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 | |
# | |
# Pasti .STX Atari ST disk image merger | |
# Allows combining of tracks from separate STX files, | |
# for cases where we can only dump part of a disk at a time. | |
# | |
# Usage: | |
# stx_main("a.stx") | |
# stx_add("b.stx") |
This file contains hidden or 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
# Files: | |
# Iga Ninden Gaiou (Japan).chd CRC32 1243A2DE | |
# | |
# Use chdman to extractcd: | |
# ing.bin CRC32 07E9BA8D | |
romin = "ing.bin" | |
romout = "inge.bin" | |
rom = open(romin,"rb").read() |
This file contains hidden or 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 | |
# | |
# Pasti .STX Atari ST image to .ST image converter. | |
# Creates an ST file using the sectors found in an STX, and reports missing/error sectors. | |
# | |
# Usage: | |
# stx_to_st("a.stx") | |
# stx_to_st("in.stx","out.st",tracks,sides,sectors) | |
# |
This file contains hidden or 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
# Terranigma data compressor and decompressor | |
# Brad Smith, 2022-02-07 | |
# https://rainwarrior.ca | |
# | |
# Format reference: | |
# https://www.terranigma.be/index.php/Compression | |
import sys | |
def usage(): |
This file contains hidden or 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
# Extracts sprites from the Korean DOS game Ice Kiss | |
# First run icekiss_sprite_file_extract.py to create the sprite bin files | |
# Also, take a screenshot of the gameplay with DOSBox to make a PNG with the correct palette | |
# Then run this to extract graphics from them | |
import PIL.Image | |
screenshot = PIL.Image.open("screenshot.png") # use for palette | |
def decode_file(filename): |