Author Topic: How to record a demo file (.dem)  (Read 590 times)

0 Members and 1 Guest are viewing this topic.

Offline Cable

  • ******
  • Posts: 2182
  • Gender: Male
  • hi
  • Respect: +1085
How to record a demo file (.dem)
« on: April 21, 2011, 05:58:41 PM »
+8
Introduction
A demo is a source recording that can be recorded and watched by typing simple commands in the console.
Recording demo's can be very useful for film creators like myself, But they can also be great proof for reports here on the forum and such.

Step 1:
While you are in game (TTT for example) press ~ to open your console.
(Your console MAY NOT be enabled. To enable it, Go to your Garrys mod options, Go to Keyboard and Mouse settings, click on advanced settings, and check the box that reads "Enable developers console"

Step 2:
Then you're going to type "record *You can put any file name here*"
So for example, Someone was hacking in TTT, I would spectate them and type in the console "record speedhacker"
It will then start recording, and it wont stop recording until you type stop in the console.

Step 3:
Once you've captured proof with the recording, The demo file can be found in your steam folder under
Program files/steam/steamapps/*your user name*/garrysmod/garrysmod
The file will be in there. From there all you need to do is upload it to any upload site. For example:
http://www.filesmelt.com/ or http://www.mediafire.com/
Once it's uploaded, Just simply make a report following the reference, and enter the file download link for proof.

Additional Information:
If you want to watch the recording yourself, go back into Garrysmod
open the console and type in "playdemo *file name here*"
So once again using my example, I would type "playdemo speedhacker"
The demo would start to play.


I need to note that some keyboards are not 'US' keyboards, so even when you enable the console, you can't open the console.

That's why you use
Launch Options

1. Right click the Game at the Library

2. Click Launch Options

3. Write -console

That'll automaticly open
ALWAYS the console, when you run the game.

Or, you could just mess up with the configs like bind x "toggleconsole" put that to your autoexec, or any config.
This works ONLY while playing.

-Thanks Mehis!
« Last Edit: April 23, 2011, 07:55:21 AM by Cable »

Offline jimonions

  • the text below is true
  • *****
  • Old Forum MemberWindows User
    View More Badges!

  • Posts: 822
  • Gender: Female
  • the text above is not true
  • Respect: +589
Re: How to record a demo file (.dem)
« Reply #1 on: April 21, 2011, 06:00:20 PM »
0
stickied for usefulness.

(JBanned) .:RND`=- DJ myppl8: if i eva become supa admin id ban moo and make hima guest

Offline Deelpeel

  • ***
  • Posts: 110
  • Gender: Male
  • Brodderlawnds is the best game evar
  • Respect: +24
Re: How to record a demo file (.dem)
« Reply #2 on: April 21, 2011, 06:00:50 PM »
0
tyvm! i always wondered how to play my demos :P



Offline Dale Feles

  • Hoersface
  • ******
  • Posts: 2938
  • Gender: Male
  • Respect: +622
Re: How to record a demo file (.dem)
« Reply #3 on: April 21, 2011, 06:12:29 PM »
0
Can you convert your files to .avi and such?




Thank you Marie for the sprite.

Offline Don

  • ******
  • Posts: 2556
  • Respect: +1201
Re: How to record a demo file (.dem)
« Reply #4 on: April 21, 2011, 06:13:14 PM »
0
Can you convert your files to .avi and such?
No, you'll have to re-record them with a program such as Fraps.

Offline Cable

  • ******
  • Posts: 2182
  • Gender: Male
  • hi
  • Respect: +1085
Re: How to record a demo file (.dem)
« Reply #5 on: April 21, 2011, 06:13:51 PM »
0
Can you convert your files to .avi and such?
You can use fraps to record the demo file.
Just play the demo in game and turn fraps on.
This is how i make ALL of my gmod videos.

asdf don beating me to it

Offline Hitman

  • *****
  • Posts: 865
  • Gender: Male
  • Respect: +112
Re: How to record a demo file (.dem)
« Reply #6 on: April 21, 2011, 06:16:08 PM »
0

EDIT: I forgot, Gabe Newell's bullshit engine update prevents this way to work. Use FRAPS.
« Last Edit: April 21, 2011, 06:23:08 PM by HเTMคภ »

Offline Cable

  • ******
  • Posts: 2182
  • Gender: Male
  • hi
  • Respect: +1085
Re: How to record a demo file (.dem)
« Reply #7 on: April 21, 2011, 06:17:42 PM »
0
There is another way to make them .avi or any other format
Code: [Select]
host_framerate 30
startmovie [filename] [video format]
playdemo [demo name]
Once it is done, type "endmovie"
Ah yes, I forgot this way.
Fraps is easier imo.

Offline Hitman

  • *****
  • Posts: 865
  • Gender: Male
  • Respect: +112
Re: How to record a demo file (.dem)
« Reply #8 on: April 21, 2011, 06:19:38 PM »
0
Ah yes, I forgot this way.
Fraps is easier imo.
But this way doesn't decrease fps and it also has good quality.

EDIT: I forgot, Gabe Newell's bullshit engine update prevents this way to work. Use FRAPS.
« Last Edit: April 21, 2011, 06:22:34 PM by HเTMคภ »

Offline Mr. Franklin

  • ******
  • Old Forum MemberWindows UserLinux UserLeague PlayerDonatorCat Lover
    View More Badges!

  • Posts: 2988
  • Gender: Male
  • I'm addicted to sweet tea
  • Respect: +388
Re: How to record a demo file (.dem)
« Reply #9 on: April 21, 2011, 07:21:39 PM »
0
i like this guide very much.
Quotes from friends:
 
.:~RND`=- coolzeldad -=: mah mouse is sqeakeh
.:~RND`=- Mr.Franklin -=: tweeeeek it

Twitch: http://www.twitch.tv/mrfranklin1972
Prox: Thread status: memed.

Offline » Magic «

  • i play pc computer
  • ***
  • Windows UserLinux UserLeague PlayerOld Forum MemberCat LoverDedicated Summoner
    View More Badges!

  • Posts: 5075
  • Gender: Male
  • ↑ ↑ ↓ ↓ ← → ← → B A
  • Respect: +782
    • MagiCorp
Re: How to record a demo file (.dem)
« Reply #10 on: April 22, 2011, 03:30:14 AM »
0
No, you'll have to re-record them with a program such as Fraps.

Yes you can

playmovie <dem> mp4
playdemo <dem>

Wait for it to finish then the mp4 will be in the gmod root dir

Offline blαh2355

  • Welcome to aperture science!
  • ***
  • League PlayerWindows User
    View More Badges!

  • Posts: 3921
  • Gender: Male
  • May we perform tests on you?
  • Respect: +978
Re: How to record a demo file (.dem)
« Reply #11 on: April 22, 2011, 08:49:39 PM »
0
For some reason, my gmod didn't have .mp4 extension, only .avi :(



Offline Deacon

  • The righteous rise, with burning eyes
  • ***
  • DonatorDWO Player
    View More Badges!

  • Posts: 4482
  • Gender: Male
  • of hatred and ill-will
  • Respect: +1788
Re: How to record a demo file (.dem)
« Reply #12 on: April 23, 2011, 01:29:13 AM »
0
Yes you can

playmovie <dem> mp4
playdemo <dem>

Wait for it to finish then the mp4 will be in the gmod root dir

this is broken

Offline » Magic «

  • i play pc computer
  • ***
  • Windows UserLinux UserLeague PlayerOld Forum MemberCat LoverDedicated Summoner
    View More Badges!

  • Posts: 5075
  • Gender: Male
  • ↑ ↑ ↓ ↓ ← → ← → B A
  • Respect: +782
    • MagiCorp
Re: How to record a demo file (.dem)
« Reply #13 on: April 23, 2011, 03:00:59 AM »
0

Offline Mehis

  • ****
  • Posts: 400
  • Gender: Male
  • lolbai
  • Respect: +88
Re: How to record a demo file (.dem)
« Reply #14 on: April 23, 2011, 03:40:46 AM »
0
I need to note that some keyboards are not 'US' keyboards, so even when you enable the console, you can't open the console. (Like mine)

That's why you use Launch Options

1. Right click the Game at the Library

2. Click Launch Options

3. Write -console

That'll automaticly open ALWAYS the console, when you run the game.

Or, you could just mess up with the configs like bind x "toggleconsole" put that to your autoexec, or any config.
This works ONLY while playing.

Also, i must say using startmovie avi (or something like that) doesn't actually make it BEST quality. Best solution is to make them to pictures, then put them together with VirtualDub. I know, it takes lot of space, but i think it has better quality.