Frame output always reports 512x480; active width, overscan and interlace field are not exposed #2

Closed
opened 2026-10-28 22:47:59 +00:00 by Gatchan · 2 comments
Owner

ff6_frame_output_t.width/height are fixed at 512/480 by hw_picture() (core/hw/hw.c) because LakeSnes always renders a doubled 512x480 frame. The brief asks for metadata: active width (256/512), lines (224/239), interlaced, field.

Needed: read the PPU state (pseudo-hires/hires, overscan, interlace, even/odd field) in hw_picture and fill the metadata; hosts and ff6cli --shot then crop/scale from it.

Check: title screen (224 lines, 256 wide) and a known 239-line or hires scene if any exists in FF6 (to find).

`ff6_frame_output_t.width/height` are fixed at 512/480 by `hw_picture()` (`core/hw/hw.c`) because LakeSnes always renders a doubled 512x480 frame. The brief asks for metadata: active width (256/512), lines (224/239), interlaced, field. Needed: read the PPU state (pseudo-hires/hires, overscan, interlace, even/odd field) in `hw_picture` and fill the metadata; hosts and `ff6cli --shot` then crop/scale from it. Check: title screen (224 lines, 256 wide) and a known 239-line or hires scene if any exists in FF6 (to find).
Author
Owner

Starting: delegated to a fresh agent (background), one branch and PR per issue.

Starting: delegated to a fresh agent (background), one branch and PR per issue.
Author
Owner

Merged (PR #29), after merging main (no manual conflict). Main-session check: release --fast 22/22 incl. rom.frame.*; ff6cli --shot 600 gives a 256x224 title screen, checked by eye. Finding: FF6 never uses interlace, overscan or hires (all $2133 writes store 0; 0 unusual frames over 80 000 replayed frames, US/JP).

Merged (PR #29), after merging main (no manual conflict). Main-session check: release `--fast` 22/22 incl. `rom.frame.*`; `ff6cli --shot 600` gives a 256x224 title screen, checked by eye. Finding: FF6 never uses interlace, overscan or hires (all $2133 writes store 0; 0 unusual frames over 80 000 replayed frames, US/JP).
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Gatchan/FF6Portage#2
No description provided.