screen2sprite converter [python]
written on python3
https://github.com/qboneteam/scr2spr
coordinates and sizes sets in char
usage:
'-x', '--x', default=0, type=int
'-y', '--y', default=0, type=int
'-wide', '--width', type=int
'-high', '--height', type=int
'-c', '--count', default=1, type=int
'-col', '--color', default=False, type=bool
'-i', '--input', type=str
'-o', '--output', default='sprite.bin', type=str
https://github.com/qboneteam/scr2spr
coordinates and sizes sets in char
usage:
'-x', '--x', default=0, type=int
'-y', '--y', default=0, type=int
'-wide', '--width', type=int
'-high', '--height', type=int
'-c', '--count', default=1, type=int
'-col', '--color', default=False, type=bool
'-i', '--input', type=str
'-o', '--output', default='sprite.bin', type=str
Post edited by 71m05h1k on
https://github.com/qboneteam/scr2spr - python converter from ZX-Spectrum screen to sprite!
Comments
Example:
If you wanna take B/W sprite from "FEUD":
scr2spr.py -i "example.scr" -x 6 -y 0 -high 4 -wide 3 -c 23
If you wanna take colors sprite from "SAVAGE"(crazy colored by me):
scr2spr.py -i "example.scr" -x 16 -y 10 -high 4 -wide 4 -c 7 -col True
python3 scr2spr.py ....some keys.....
your linux may need python2 so a solution could be run this program from within thonny.org ide (and built-in python3) which takes care of path conflicts.
JSpeccy-win32-portable