How i can split a large demo file?

Frequently Asked Questions

How i can split a large demo file?

Postby Du[R]eX » Sat Oct 05, 2013 8:03 am

To split a large demo file into smallest files you can use the Split functionality:
split1.png
split1.png (54.56 KiB) Viewed 2414 times


With this function you can split demos in 3 different ways:

    By Match: to make 1 output demo file for every match contained in the source file.
Output Base Name is mandatory and output files will be named as "[Output Base Name]_[Match Number].dm_1".

    By Round: to make 1 output demo file for every round contained in the source file (new match will be treated as new round).
Output Base Name is mandatory and output files will be named as "[Output Base Name]_[Match Number]_[Round Number].dm_1".

    By Input Timestamps: to split source demo into 2 or 3 random pieces.
Output Base Name is mandatory and output files will be named as "[Output Base Name]_[1 / 2 / 3].dm_1".


Output Base Name is always the output path + the beginning of the output file names (with no extension).

In "By Input Timestamps" split type you have to insert 4 extra parameters.

    Split Point1 (match number): (mandatory) match number of the 1st split point
    Split Point1 (timestamp): (mandatory) match timestamp of the 1st split point
    Split Point2 (match number): (optional) match number of the 2nd split point
    Split Point2 (timestamp): (optional) match timestamp of the 2nd split point

Timestamps are in the format HH:MM:SS ([hours]:[minutes]:[seconds]).


Examples:
split2.png
split2.png (16.41 KiB) Viewed 2414 times


This will make a "demo0008_1.dm_1" from the beginning of the source demo up to 50 seconds after the beginning of the 1st match, and a "demo0008_2.dm_1" from 50 seconds of the 1st match to the end of the source demo.


split3.png
split3.png (16.88 KiB) Viewed 2414 times


This will make a "demo0009_1.dm_1" from the beginning of the source demo up to 50 seconds after the beginning of the 1st match, "demo0009_2.dm_1" from 50 seconds of the 1st match up to 1 minutes and 10 seconds since the beginning of the 2nd match, and a "demo0009_3.dm_1" from 1 minutes and 10 seconds of the 2nd match to the end of the source demo.
Du[R]eX
Site Admin
 
Posts: 13
Joined: Fri Sep 20, 2013 4:53 pm

Return to FAQs