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

Linkin problem (synchronization perhaps?) #3355

Open
nuive opened this issue Nov 25, 2024 · 1 comment
Open

Linkin problem (synchronization perhaps?) #3355

nuive opened this issue Nov 25, 2024 · 1 comment

Comments

@nuive
Copy link
Contributor

nuive commented Nov 25, 2024

Tried using different GB pokémon games.

Linking has some strange problems using most recent dev build.

Firstly I though it was related to Lua scripting, but I think this is another thing. Linking works more or less without a Lua script running, but if a Lua script is running or has run it won't work, I've tried at least 40 times. A script as simple as a print("Hello world") will break this functionality until you restart mGBA.

This works flawlessly with mGBA 0.10.3 but I've found an interesting thing using dev builds. When you try to start a link session (for example when talking to a Pokémon Center link receptionist) 2nd mGBA window will go into fast forward mode for some strange reason. If you can stablish a connection, speed will turn to normal speed and all will work. The problem with Lua scripts is that the connection never stablish. Best case first window will go into Trade Center and 2nd window will freeze.

An interesting test would be try to do this changing windows without a keyboard. I use a keyboard because I'm blind, and perhaps the fast forward thing has some relation with alt+tab combination used to switch between windows (tab is fast forward, after all). I've tried switching windows with alt+escape too with same results but... who knows? Perhaps it is something related to keyboard input...

Edit: Tried with GBA (Pokémon Fire Red) and same problem. Cannot stablish a connection. If I load a Lua script when connection is stablished, it breaks.

@nuive
Copy link
Contributor Author

nuive commented Dec 19, 2024

Okay, more tests:

mGBA 0.10.4 has not this problem, so it seems a 0.11 issue.
I've been trying building previous dev versions. Due to FFmpeg I cannot build anything prior to:

commit 6853080
Author: Vicki Pfau [email protected]
Date: Mon Nov 6 22:16:14 2023 -0800

FFmpeg: Fix deprecation warnings

But in that commit this problem is already present.

Edit: I found a build from commit:

commit 4e85de3
Author: Vicki Pfau [email protected]
Date: Fri Feb 3 01:54:30 2023 -0800

Util: Fix some macro best practices

And the problem is not present.

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

No branches or pull requests

1 participant