Picking apart spectrum screens
Dear all,
Being a fan of remakes, I'm constantly trying to pick apart spectrum game screens to see how they're made up - how many characters one platform is from another, is a tunnel big enough to fit the player sprite, etc.
I don't know how many times I've counted character squares and estimated gaps, so I was wondering, is there a tool out there that will overlay a static game screen pic (it doesn't have to be in-game) with either a 8x8 grid or bright 0/1 squares?
I know I can do it manually by placing screen-grabs in PhotoShop and sticking a layered grid over it, but is there a program like Spin or something that has this built it?
Just wondering.
Toby
EDIT: actually, I know I can adjust photoshop's grid overlay to 8x8, but I'd still like to know if another tool does it.
Being a fan of remakes, I'm constantly trying to pick apart spectrum game screens to see how they're made up - how many characters one platform is from another, is a tunnel big enough to fit the player sprite, etc.
I don't know how many times I've counted character squares and estimated gaps, so I was wondering, is there a tool out there that will overlay a static game screen pic (it doesn't have to be in-game) with either a 8x8 grid or bright 0/1 squares?
I know I can do it manually by placing screen-grabs in PhotoShop and sticking a layered grid over it, but is there a program like Spin or something that has this built it?
Just wondering.
Toby
EDIT: actually, I know I can adjust photoshop's grid overlay to 8x8, but I'd still like to know if another tool does it.
Post edited by Tobo on
Comments
- IONIAN-GAMES.com -
SevenuP has an 8x8 grid, but ZX-Paintbrush's "Colour Grid" (the button next to zoom factor) seems the best for your needs.
You can create such binary file with a very simple script. You can even create it in your emulator using BASIC.
Execute this code, let it fill the screen, then export 768 bytes from 22528 into a binary file.
You can do it easily in Spectaculator, don't know about other emulators.
SQUARES:ld bc,384 ld hl,22528 ld ix,NEXTRES NEXTROW:ld e,16 NEXTRES:res 6,(hl) inc hl NEXTSET:set 6,(hl) inc hl dec e jr nz,NEXTBC bit 6,(ix+1) jr nz,RESSET SETRES: set 6,(ix+1) res 6,(ix+4) jr SETE16 RESSET: res 6,(ix+1) set 6,(ix+4) SETE16: ld e,16 NEXTBC: dec bc ld a,b or c jr nz,NEXTRES retPro Motion has pretty good grid features (and many others, too). Actually, if you have ever cursed while trying to do any precise pixel art (especially with masks/transparency involved) in PhotoShop or Gimp, you should be in seventh heaven once you get familiar with Pro Motion.
Patrik
BTW, no need to get fancy with self modifying code - something like this would suffice:
Patrik
I mean, I wasn't suggesting to run my code on top of a saved screen, but to use my code to generate the attribute file and export it so you can import it on top of whichever is on the emulator at any time, so you can do it while playing.
That's what I understood too. And indeed the way I've done it many times before. :)
My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation, SQIJ.
Twitter: Sokurah
Thanks, guys.
Toby
SQUARES:ld c,12 ld hl,22528 NEXTROW:ld b,16 NEXTRES:res 6,(hl) inc hl ld a,(hl) cpl res 7,a ld (hl),a set 6,(hl) inc hl djnz NEXTRES ld b,16 NEXTSET:ld a,(hl) cpl res 7,a ld (hl),a set 6,(hl) inc hl res 6,(hl) inc hl djnz NEXTSET NEXTBC: dec c jr nz,NEXTROW ret