Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Star Trek 25th Anniversary: Misaligned Border #2125

Open
alyosha-tas opened this issue Jun 12, 2020 · 2 comments
Open

Star Trek 25th Anniversary: Misaligned Border #2125

alyosha-tas opened this issue Jun 12, 2020 · 2 comments
Labels
Core: Gambatte (Alt.) Game Boy / Color (GB/GBC) core Core: GBHawk Game Boy / Color (GB/GBC) core Core: SameBoy (from 2.8) Game Boy / Color (GB/GBC) core Inaccuracy Affects accuracy of emulation Waiting on upstream

Comments

@alyosha-tas
Copy link
Contributor

The border in the intro text screen is misaligned. You can see it in this video for example, where it's zoomed in and really obvious:

https://www.youtube.com/watch?v=KsthKsr_2Sw&t=32s

You can also see it in this video, where it appears to be played on a gameboy player:

https://www.youtube.com/watch?v=HCmIQ24AMgo&t=62s

However, there are 2 videos where the border is properly aligned, one is played on SGB:

https://www.youtube.com/watch?v=bEArrvHV6wQ&t=181s

The other I'm not sure about:

https://www.youtube.com/watch?v=K-4r30hHwsA

The game uses the Window in a non-standard way. The top few scanlines are part of the window, then it turns off the window and the normal background is used for the text part, then turns the window back on for the bottom of the screen.

If the background is emulated normally, then it is in fact misaligned. If you look at the 2 videos with proper alignment, there is a clear blank vertical line on the left side of the screen. So, for some reason the background is being shifted to the right one pixel for the alignment to work out.

This one needs some console testing probably, since it could be it only works on original GB, or only on SGB, and maybe the behaviour was 'fixed' for CGB since the GBP video shows it misaligned again (if that is in fact real hardware.)

@alyosha-tas alyosha-tas added Core: GBHawk Game Boy / Color (GB/GBC) core Core: Gambatte (Alt.) Game Boy / Color (GB/GBC) core labels Jun 12, 2020
@YoshiRulz YoshiRulz added the Inaccuracy Affects accuracy of emulation label Jun 12, 2020
@nattthebear
Copy link
Contributor

Might be useful to send this upstream to gambatte pokeymans

@alyosha-tas
Copy link
Contributor Author

alyosha-tas commented Aug 1, 2020

I have confirmed on my own GBP that the border is mis-aligned. So somewhere between original GB and GBP the behaviour changed. I made issues for this on both Sameboy and Gambatte Speedrun.

edit: LIJI32/SameBoy#278 and pokemon-speedrunning/gambatte-speedrun#58 --yoshi

@YoshiRulz YoshiRulz added Waiting on upstream Core: SameBoy (from 2.8) Game Boy / Color (GB/GBC) core labels May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core: Gambatte (Alt.) Game Boy / Color (GB/GBC) core Core: GBHawk Game Boy / Color (GB/GBC) core Core: SameBoy (from 2.8) Game Boy / Color (GB/GBC) core Inaccuracy Affects accuracy of emulation Waiting on upstream
Projects
None yet
Development

No branches or pull requests

3 participants