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
C:\DOSBox-X\drive_c\bb\py>python bbdat.py ..\DAT1 --list | |
+------------+------+------------+----------+ | |
|filename |offset|uncompressed|compressed| | |
+------------+------+------------+----------+ | |
|SCRIPTN.003 | 1514| 2763| 1697| | |
|SCRIPTT.003 | 3211| 2862| 1755| | |
|SCRIPTR.003 | 4966| 2832| 1722| | |
|SCRIPTK.003 | 6688| 2953| 1761| | |
|SCRIPTN.002 | 8449| 2750| 1666| |
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
CITY at (170,35): Athens | |
CITY at (185,40): Baghdad | |
CITY at (143,54): Bamako | |
CITY at (231,54): Bangkok | |
CITY at (168,26): Budapest | |
CITY at (99,86): Buenos Aires | |
CITY at (175,41): Cairo | |
CITY at (215,56): Colombo | |
CITY at (174,33): Istanbul | |
CITY at (220,39): Kathmandu |
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
10 Minute Power Hour:A BUCKET FULL OF GET FIT QUICK SCHEMES | |
10 Minute Power Hour:ALRIGHT YOU SCANDELOUS HOOKER | |
10 Minute Power Hour:ARIN SCREAMING MORE | |
10 Minute Power Hour:DID I DO THAT | |
10 Minute Power Hour:DON'T EAT THE FLUID | |
10 Minute Power Hour:DON'T TILT THIS PINBALL MACHINE | |
10 Minute Power Hour:I'M THE WORKOUT BOY | |
10 Minute Power Hour:MYTHICAL CREATURE BUKKAKE | |
10 Minute Power Hour:ONCE UPON A TIME I WAS BORN | |
10 Minute Power Hour:ONE HUNDRED PERCENT NUT PINCHER |
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
$names=["demisexual"] | |
$description="The Demisexual pride flag" | |
// Unknown creator. Maybe research further? | |
$textcolor=$black | |
// The trick here is that we define the top&bottom colors twice, so this ends up looking like we have variable heights | |
$center_stripe = RGB(110, 0,112) | |
$bottom = RGB(210,210,210) | |
vertical{ |
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
import struct, os, sys,array, glob, itertools, argparse | |
from PIL import Image | |
A8SIGNATURE =0xA0A1A2A3 | |
COMPRESS_NONE = 0 | |
COMPRESS_RLE = 1 | |
COMPRESSION_FORMATS=(COMPRESS_NONE, COMPRESS_RLE) | |
ESCAPE_CODE = 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
import struct,sys,os | |
name=sys.argv[1] | |
class AllBitsTester(object): | |
def __init__(self): | |
self.allbits =0 | |
def test(self, x): | |
self.allbits|=x | |
def completed(self): | |
return self.allbits == 1023 | |
def message(self): |
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
{ | |
"wordlist": { | |
"A": { | |
"trailers": [0], | |
"flags": ["NEGATIVE MATCH"], | |
"replacement_offset": 1, | |
"replacement_word": "TAIL" | |
}, | |
"A CONDOM": { | |
"trailers": [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
import os,glob,sys | |
images=glob.glob(sys.argv[1]) | |
images.sort() | |
if (len(images)&1) == 1: | |
print("Odd number of items! Can't split") | |
sys.exit(1) | |
midpoint = len(images)//2 | |
first_half = images[:midpoint] | |
last_half = images[midpoint:][::-1] |
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
import struct,glob | |
def readFilename(f): | |
data='' | |
while '.' not in data: | |
data=data+f.read(1) | |
data=data+f.read(3) | |
return data | |
for path in glob.glob('GL00_*.*'): | |
print path | |
with open(path,'rb') as f: |
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/python | |
import pygame | |
from pygame.constants import * | |
import sys,re | |
lines=[] | |
dots=[] | |
offset=[0,0] | |
def build_re(start,args): | |
return re.compile('^({})'.format(start) + (r'(?:[\s,]+)([-.\d]+)'*args)) | |
def anymatch(line,regexes): |
NewerOlder