AronParker / AviRecorder

A recording tool for source-based games.
25 stars 5 forks source link

Enhancement suggestion #19

Open Optivex opened 6 years ago

Optivex commented 6 years ago

Alright so I've been using VDM files to control the recording process of my demos. My scenario is that each demo will start and stop recording at certain ticks and then play the next demo in the same folder. image

The demos record one after the other unless this happens:

The game crashes when it stops recording sometimes, even if I just use 60fps, after about 15 clips the game would crash at the end of a recording.

The crash doesn't wreck the footage as it happens when the recording stops. The problem is I need the game to launch again and continue recording.

So I was wondering if you could code in a feature so that there's a checkbox in settings that will auto relaunch the game after it closes (after 30-60 seconds or so would be good). Also a textbox where the user could enter their demo path (e.g. "demos/opm/clips/"). Then when the game relaunches it needs to count how many .avi files are in the movie folder, +1 it, and then add that to the end of the demo path with a "playdemo " in front. So if there's 5 avi files in the movie folder, you would have "playdemo demos/opm/clips/6". This command would be entered in the autoexec.

Then if the game crashes again it needs to do another avi count and autoexec update to continue recording the rest of the demos until it reaches the end.