pcsx2
pcsx2 copied to clipboard
[BUG]: Difficult to Enable Video Recording on Game Start
Describe the Bug
It's difficult to get video recording mode to work correctly when starting a game. Often it breaks the emulator and makes it unusable without force quitting.
Reproduction Steps
- drag and drop a .bin onto the emulator
- immediately press ESC to pause the game
- Go to Tools> Video Recording
- Begin a recording
Notice: The filename may not include the game title if you didn't wait long enough (bug)
Notice: If the game does have a title, but the status bar does not yet show "Vulkan", then the emulator will be frozen. You cannot shut the game down nor reset it. You must force quit the emulator and try again.
Expected Behavior
If the video rendering system is not yet active, then it should start recording once the video renderer is available.
Otherwise, you need to time it very precisely to make sure you can start the recording as close to power-on as possible.
PCSX2 Revision
1.7.4342
Operating System
Windows 10 (64bit)
If Linux - Specify Distro
No response
I was going to suggest that your issue is you're dragging in an unknown game, you'd be better off populating the game list with your game so the emulator knows what it is in advance, because the way you're doing it, it doesn't know until the game starts booting, which can be a few seconds.
However even if it's in the game list it doesn't know, despite the pause menu knowing what game it is, so I guess we can improve that.
However this might be the same problem as the other thread, where the UI can't inform the core, I don't know how this all works. I'm sure Stenzek will say if this isn't possible.
The pause menu gets the game from the same source as the window title, so it doesn't "know what game it is" before the ELF loads. I'm guessing OP is referring to the filename being displayed.
yes, I know what they mean :P If you pause it and enable video recording, you get the BIOS CRC/ident and the date, so I guess maybe not?
If we can't do it, then we can't do it, that's fine :)
We can query it early, but the best solution would probably be to automatically start recording after the game sets the video mode, since the ELF will definitely be loaded then. Yeah, you won't get the boot animation in the capture, but it's going to kill recording when the game switches from whatever mode the BIOS was in anyway... (due to the resolution and/or frame rate change)
I'm guessing OP is referring to the filename being displayed.
Right, the filename ends up with an empty game title if you do it too early.
the best solution would probably be to automatically start recording after the game sets the video mode
Yup, that'd be perfect.
Can this be rechecked on latest nightly?
Appears to be fine on current master the file names correctly.