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

[Request] New TV Remote Implementation #160

Open
citrongames opened this issue Jan 16, 2024 · 1 comment
Open

[Request] New TV Remote Implementation #160

citrongames opened this issue Jan 16, 2024 · 1 comment
Assignees
Labels
GBC Issues with the GBC core

Comments

@citrongames
Copy link

GBC game "Doraemon Memories - Nobita no Omoide Daibouken" uses special tv remote to unlock its levels (ドラえもんのテレビリモコン or ドラえコン or in english Doracon). Normal TV Remote doesnt work.
How it should work - you start game, choose phone booth on level screen and select signal icon, game will wait for your input.

@shonumi shonumi self-assigned this Jan 18, 2024
@shonumi shonumi added the GBC Issues with the GBC core label Jan 18, 2024
@shonumi
Copy link
Owner

shonumi commented Jan 18, 2024

Thanks for the issue report. I had no idea this game used infrared, so I would have never known about it unless you brought up!

I took a look at the game's code, and it seems like it wants the GBC to receive actual, valid IR signals from a TV remote. Currently, GBE+ sends out 32 ON/OFF signals of different, randomized lengths. It works for a number of games that just want any kind of IR input, but not for Doracon, evidently.

If I had to guess, the game is probably trying to validate the NEC protocol. It shouldn't be too hard for GBE+ to emulate that. It's essentially still a bunch of ON/OFF signals, just with specific timings and something like 24-bits of data encoded. I could get working on it soon, taking a break from the Campho Advance development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GBC Issues with the GBC core
Projects
None yet
Development

No branches or pull requests

2 participants