Results 1 to 5 of 5

Thread: HELP! - Bulk converting Demos?

  1. Senior-Senior Member
    Join Date
    12-22-08
    Posts
    244
    Post Thanks / Like
    #1

    Question HELP! - Bulk converting Demos?

    This is somewhat of a technical question.

    Do any of you know of a way to batch a list of demos to be converted to AVI?.
    I know how to record, save, playback and convert individual demos but because the time it takes to playback a single one (with playdemo) is excruciatingly long (due to the low FPS), I want to have something read a list of demos (perhaps from a directory) and convert them all in a sequence.

    I tried doing writing something like:

    Code:
    startmovie <demo name>; playdemo <demo name>; endmovie; startmovie <next demo>; ....
    But that just aborted the frame capture right on the first demo when it finished loading.

    So, does such a method exist via a script of some kind or by other means?
    Greatly appreciate any helpful feedback on this matter.

  2. Zombie Rat
    Join Date
    07-04-09
    Posts
    372
    Post Thanks / Like
    #2
    I'm not sure there's an easy way to do this. You could try the wait command between the "playdemo [name]; endmovie" commands. It would go something like this:

    playdemo [name]; wait #; endmovie

    Where # is the length of the demo. Again, it's not easy to choose what value to use. You could try the number of ticks in the demo, but I don't know if that'll work. From what I've seen, 80 ~ 1 second (as in, "wait 80" lasts about a second).

  3. Chicago Ted
    Join Date
    01-01-09
    Posts
    2,142
    Post Thanks / Like
    #3
    I don't have any demos to try this with, but maybe this would work.

    Make a cfg file called movies.cfg, with the commands to play each demo, like so:

    playdemo demo1
    playdemo demo2

    etc...


    then execute movies.cfg and see if it will play them back to back.

    How are you converting them into AVI files? Fraps is the only way I know to do that.
    *********************************
    How To Post Your DXDIAG Information

    Can You Run It?


    Minimum Specs:

    Processor: 3gHz single core/2.0gHz Dual core
    RAM: 1GB/2GB for Vista
    Video Card: 128MB with support for DirectX 9.0c
    and Pixel Shader 2.0 (ATI 9600/GeForce 6600 or higher)
    Sound Card: DirectX 9.0c compatible

    Steam Ports to be opened:

    * UDP 27000 to 27020 inclusive
    * TCP 27020 to 27050 inclusive

    Dedicated or Listen Servers

    * TCP 27015 (SRCDS Rcon port)

  4. Senior-Senior Member
    Join Date
    12-22-08
    Posts
    244
    Post Thanks / Like
    #4
    startmovie <demo name> avi
    playdemo <demo name>
    endmovie

    Will convert to an AVI format and let you select CODEC. I wonder though, if I do what you are suggesting if that will just make one really big replay file or not..

  5. Chicago Ted
    Join Date
    01-01-09
    Posts
    2,142
    Post Thanks / Like
    #5
    Quote Originally Posted by uberuser View Post
    startmovie <demo name> avi
    playdemo <demo name>
    endmovie

    Will convert to an AVI format and let you select CODEC. I wonder though, if I do what you are suggesting if that will just make one really big replay file or not..
    Only one way to find out...I would think that as long as you change the moviename, you should be all right.
    *********************************
    How To Post Your DXDIAG Information

    Can You Run It?


    Minimum Specs:

    Processor: 3gHz single core/2.0gHz Dual core
    RAM: 1GB/2GB for Vista
    Video Card: 128MB with support for DirectX 9.0c
    and Pixel Shader 2.0 (ATI 9600/GeForce 6600 or higher)
    Sound Card: DirectX 9.0c compatible

    Steam Ports to be opened:

    * UDP 27000 to 27020 inclusive
    * TCP 27020 to 27050 inclusive

    Dedicated or Listen Servers

    * TCP 27015 (SRCDS Rcon port)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Title