MerlinCooper / iRacingReplayDirector

Application to automatically create highlight videos from iRacing Replay files
GNU General Public License v3.0
39 stars 5 forks source link

Error on"cut-out" replays #60

Open Luchianull opened 3 years ago

Luchianull commented 3 years ago

Hi, Thank you very much for continuing this project. It can prove very useful for quickly mashing up some highlights after a race. I do encounter a problem though:

Our race evening is composed of: practice(30') >quali(10') >heat_race(40') >warmup(3') >featured_race(25'). All this is saved in one single replay file.

Since the iRRD seems to automatically stop processing after the first race session, I needed to do something for the second race. Therefore, I go into iR, load the replay, and then save in a separate replay file only the featured_race.

However, when trying to use this second replay file (the "cut-out" from the original one) in iRRD, it returns an error :(. I wonder if the header of this kind of replay might be different? Or what else could be the issue? Any solution/workaround would be greatly appreciated. capture.log general.log

MerlinCooper commented 3 years ago

Hi @Luchianull,

at the point of time Dean (vipoo) developed the application there either was no heat-racing in iRacing implemented. Or he did just not see the use case. At the moment it is not implemented at all.

Not sure when I will have time to have a look - but might be that a simple tweak (not only searching for the first race start and look whether there are more in the file) could do the job.

At the moment the only workaround is to cut the file into two and run the application twice - just like you seem to do already.

Luchianull commented 3 years ago

Hi @MerlinCooper , thank you for the reply. Unfortunately, the workaround does not work :|. Like I was saying, my best guess is that the header of the cut replay is somehow different and the app does not know to work with it.

I do not mind working with two pieces, IF it would work :). Hopefully, something can be done. I wish I could help, but my coding skills are limited.

MerlinCooper commented 3 years ago

Wasn't here for a while. But trying to follow up on this topic (if I find the time).

You can indeed do something. Would you mind providing a race replay?

Luchianull commented 3 years ago

Hi @MerlinCooper , sure. Here is a typical replay of our race evening https://drive.google.com/file/d/1uUDRt9OZxYul0cg9v5UwQaaT1kWaZ8vS/view?usp=sharing

Thank you for looking into it.