You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: 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:
In fact, if you revert this commit into the master branch link connections work using Lua scripts (obviously issue #3046 reappears and script breakpoints don't work). With this commit, even loading a print("Hello world") script file in any of the windows (even before starting a multi window) breaks linking completely.
The thing is... I have no idea why is this happening.
Tried using different GB and GBA 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: 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
But in that commit this problem is already present.
Edit2: I found a build from commit:
commit 4e85de3
Author: Vicki Pfau [email protected]
Date: Fri Feb 3 01:54:30 2023 -0800
And the problem is not present.
The text was updated successfully, but these errors were encountered: