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

pokemon leaf green fast fowarding crash #2236

Closed
Celiois opened this issue Jul 8, 2021 · 26 comments
Closed

pokemon leaf green fast fowarding crash #2236

Celiois opened this issue Jul 8, 2021 · 26 comments
Labels
port:Qt Affects the Qt version (the standard desktop version)
Milestone

Comments

@Celiois
Copy link

Celiois commented Jul 8, 2021

In Pokemon Leaf Green, if you fast forward, for what seems like a random amount of time, then it crashes. The emulator or something might just be overloaded bc of the fast forwarding, but I wouldn't know.
pkmnlg.zip

@endrift
Copy link
Member

endrift commented Jul 8, 2021

Duplicate of #2137 (which got deleted, so you'll find more info in #2138).

@endrift endrift closed this as completed Jul 8, 2021
@Celiois
Copy link
Author

Celiois commented Jul 8, 2021

it isnt tho
this isnt about the cpu, its about fast fowarding causing crashes
if you are having the same problem as me, i found a solution:
just set the fast fowarding speed cap to 5x
Which you go to:
Tools -> Settings -> Emulation, and after that it's at the top and check off "Unbounded" and put the speed cap at 5x, which is the default, you can try more but idk about it.

@endrift
Copy link
Member

endrift commented Jul 8, 2021

You...didn't read enough of the replies. Turn off sync to video.

@Celiois
Copy link
Author

Celiois commented Jul 8, 2021

it is off, it was always off

@endrift
Copy link
Member

endrift commented Jul 8, 2021

Alright, try downloading a development build from the website and let me know if it's fixed in that. I'm going to be releasing 0.9.2 soon which has some fixes that are currently only available in the development builds.

@Celiois
Copy link
Author

Celiois commented Jul 8, 2021

yeah, it still is a problem

@endrift endrift reopened this Jul 8, 2021
@Celiois
Copy link
Author

Celiois commented Jul 8, 2021

it might be caused by switching off of fast forward and moving at the same time

@Celiois
Copy link
Author

Celiois commented Jul 8, 2021

im going to try to recreate it for testing

@Celiois
Copy link
Author

Celiois commented Jul 8, 2021

oh yeah btw if i didnt make it clear, it crashes the emulator, not freezes the game

@endrift
Copy link
Member

endrift commented Jul 8, 2021

Does it crash the emulator or just hang it? They're different and have different meanings from a development point of view.

@Celiois
Copy link
Author

Celiois commented Jul 8, 2021

well, technically it freezes the game, and you can use the emulator, but once you select an option on the menu, it stops working and you have to end the process in task manager

@endrift
Copy link
Member

endrift commented Jul 8, 2021

Ok, that's a hang. It's probably deadlocking for some reason. So to confirm you were able to make it hang in the development build?

@Celiois
Copy link
Author

Celiois commented Jul 8, 2021

yeah

@endrift endrift added the port:Qt Affects the Qt version (the standard desktop version) label Jul 8, 2021
@endrift endrift added this to the mGBA 0.9.2 milestone Jul 8, 2021
@Celiois
Copy link
Author

Celiois commented Jul 8, 2021

ok it seems to just happen randomly, and the previous hypothesis mightve been wrong, since it doesnt happen consistently

@fancythedeveloper
Copy link

your issue sounds like something i had pretty recently as well but with Pokemon Emerald instead of LeafGreen, maybe test this with other games and see if its not just an issue with the Gen 3 Pokemon games?

@endrift
Copy link
Member

endrift commented Jul 8, 2021

It's almost certainly every game.

@Celiois
Copy link
Author

Celiois commented Jul 8, 2021

it wasn't an issue with pokemon clover, a fan game of fire red, when i was playing it

@endrift
Copy link
Member

endrift commented Jul 9, 2021

Can you try downloading 7061 or newer (if applicable) from this page to see if it's fixed now? https://mgba.io/builds/1/

@Celiois
Copy link
Author

Celiois commented Jul 11, 2021

yeah, i just saw this since i was away from my pc for a while

@endrift
Copy link
Member

endrift commented Jul 11, 2021

Does that "yeah" mean "yeah I checked and it's fixed"?

@Celiois
Copy link
Author

Celiois commented Jul 11, 2021

no, that "yeah" means, "ok i will do it"

@Celiois
Copy link
Author

Celiois commented Jul 11, 2021

i couldn't recreate it after 30 minutes, so it should be fixed

@endrift
Copy link
Member

endrift commented Jul 11, 2021

Perfect, thanks. I wasn't able to reproduce it myself but I was able to get it to hang when exiting if I'd been fast forwarding for too long. FIxed in d202cdd.

@endrift endrift closed this as completed Jul 11, 2021
@NoisyFlake
Copy link

Has this issue somehow been reintroduced? I'm experiencing exactly the same issue (on FireRed) with the latest mGBA 0.10.0

@Celiois
Copy link
Author

Celiois commented Nov 24, 2022

Holy crap this was so long ago, but I found a fix if I haven't already said it in this thread.
Try setting your fast forward speed to a limit instead of unbounded, I usually do 5x since I can still move.
If it is still crashing, then ig it is an issue again.

@NoisyFlake
Copy link

I can confirm that running it at 5x speed does indeed "fix" this issue, had it running the whole night and it's still running.

Would love to get an actual fix for running it at unbound speed though :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
port:Qt Affects the Qt version (the standard desktop version)
Projects
None yet
Development

No branches or pull requests

4 participants