Demor

A Modding Tool for Team Fortress 2

Updates

ToolParentSubmitterStats
  • Addition Also shows gamedir info of the demo file
  • Addition Also shows Demor version
Version 1.1.1 8mo

TF2 demo to replay converter

Demor is a tool to convert TF2 demo(*.dem) file to replay that you can edit in TF2 built-in replay editor.

There was a similar program called Replayer, but it has been abandoned for years and really buggy now, so I write Demor from scratch.

Demor is written in Python 3.6, the source code is here.

Usage

  • Download ZIP and unzip it.
  • Run demor.exe, it will detect your Steam and TF2 install directory automatically.
  • Drag the demo file into demor, or use "Browse" button.
  • Click "Save Replay" button, enter a title for replay, click "OK".
  • If everything is ok, launch or restart TF2, then click "Replays" button, your replay will be there, you can watch or edit it.

Limitions

  • Cause a TF2 demo file is a POV record, so only players you can see will appear, you can't see things that out of your sight during the game.
  • You can set a free thirdperson camera in replay editor, but it can't be moved while replay playing, you must set the camera at a specific position.
  • TF2 replay was released in 2011, the export and upload functions are old, don't use them. You should just record your screen (use software like bandicam) while watching/editing the replay in built-in editor.

How to set the thirdperson camera (from this video)

  • Choose replay in replay editor, Watch/Edit it.
  • Once the clip is playing, press Space to pause it.
  • Open developer console, type sv_cheats 1; thirdperson and press Enter. Then close the console.
  • Click the "Free Camera" button at bottom right corner.
  • Press Shift-F2 to open demoui window. Click the "Drive..." button.
  • Now you can press Shift-F2 again to close demoui, then use WASD and drag mouse to set your camera position.
  • Once the camera position ready, click "Firstperson Camera" button at bottom right corner.
  • Open demoui again, click "Drive..." button again to disable drive mode.
  • Now, you can press Space to play your demo and enjoy. Use any screen recorder to get your movie.

How to hide the top right corner red dot (also from this video)

  • Open developer console, type sv_cheats 1; cl_drawhud 0, press Enter. That's all, this command will hide everything except the movie itself.
  • To show the HUD again, just type cl_drawhud 1 command.

How to find the profile of a player in a replay (from this thread)

  • Choose replay in replay editor, Watch/Edit it.
  • Locate to the tick where that player is still in the server. You can play the replay to find that time, or use demoui to jump, or use demo_gototick [tick] command.
  • Type tf_scoreboard_mouse_mode 2 in developer console, this command will enable mouse functions in your scoreboard (mouse mode "2" is different from mouse mode "1", you can enable mode 1 in the game advanced options. But I recommand always use mode 2)
  • Play the replay, Hold TAB key, click left mouse button and move your cursor to the player name.
  • Right click it, a menu will show, click "Profile" and enjoy!
  • Note: sometimes the menu is buggy and doesn't show, I think this is a bug related to TF2 itself. You can always try this steam link to see who played with you recently: https://steamcommunity.com/my/friends/coplay/

Additional Resources

Sign up to access this!

Files

  • Any idea about sourcetv replays?
    Me avatar
    Mantra
    Me
    URL to post:
  • DFliyerz avatar
    DFliyerz Joined 4y ago
    Offline
    197 points Ranked 20299th
    5mo
    I have TF2 installed on a different hard drive than my system drive, and it won't detect TF2. Is there any way to make specifying the TF2 folder manual?
    Bananite
    URL to post:
  • Mariobro avatar
    Mariobro Joined 6y ago
    Offline
    7mo
    For some reason, when I convert a demo into a replay using this, nothing shows up in my Replays menu. Not sure why it's doing this, any help is appreciated.
    What?
    URL to post:
  • Melectrome avatar
    Melectrome Joined 2y ago
    Offline
    265 points Ranked 16370th
    8mo
    Speaking of viewing steamID's, you should add this too to the tutorial in the mod desc:
    blackwonder .tf/ threads/7920/
    (remove the spaces, I tried to bypass the silly restriction)

    Cheers!

    I like gibuses
    URL to post:
  • Melectrome avatar
    Melectrome Joined 2y ago
    Offline
    265 points Ranked 16370th
    8mo 8mo
    I've been using replayer for months to use a freecamera thanks to a trick I found (which you listed in this guide :p), and to view steamID's in demos, but I've been looking for a better version (and a version that works for win10 users) for a long time now. Thank you for this tool!
    I like gibuses
    URL to post:
  • Lazypurples about to make a fucking earthquake
    Me avatar
    Mantra
    Me
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Author
deluxghost
Creator
Credits
Melectrome
Helper

Submitter

deluxghost avatar
deluxghost Joined 2y ago
Offline
458 points Ranked 10698th

deluxghost
Creator
  • Paypal Donate
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

GPLv3

Details

Attributes

Genre
Coding/Scripting
Operating System
Windows
Compiled Language
Python
Development State
Beta
IDE Used
Visual Studio Code

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 118 DLs
  • 2.5k Views
  • 14 Posts
  • 8moSubmitted
  • 5moModified
  • 8moUpdated

Scores

  • Not yet rated
Sign up to access this!

More from Submitter

More Other/Misc Tools

bcp.crwdcntrl.net tracking pixel