Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Maribo

Welcome to the Speed Demos Forum [getting started, port usage + info, co-op, etc]

Recommended Posts

Extra info about DSDA-Doom, settings, launch arguments, etc.

Here are some more in-depth details regarding DSDA-Doom, its settings, and usage.

Settings: - most of these are already set to their recommended value, but these are here for convenience and posterity.
Under General category:

Spoiler

Video - Vertical Sync - Set this to either *YES* or *NO*, depending on how it feels for you.

Video - FPS Limit - If you play with an uncapped framerate or a capped framerate above 35, consider setting this to a value in multiples of 35 (70, 105, 140, etc) if you experience "stutter-y movement" or "lag".

Mouse - Carry Fractional Tics: Consider turning this to *YES* if you feel that mouse movement is "laggy" or "inaccurate" when recording a demo, or playing with -shorttics enabled.

Mouse - Vertical Mouse Movement: Set to *YES* if you want to vertical mouse movement to be off by default. You may still toggle it on and off with a key bind.

Display Options - Use Extended HUD: Set to *YES*, and it will show the extra stats lines above the status bar. These include the elapsed time, kills, items, and secrets.

Demo Settings - Strict Mode: Set to *YES* and DSDA-Doom will prevent you from doing things like accidentally entering cheat codes while recording a demo.

Under Setup category:

Spoiler

Key Bindings - Toggles - Vertmouse: This keybind will toggle vertical mouse movement on and off. Vertical mouse movement is required for executing glides, so it can be useful to bind if you plan on doing them. You must still have your vertical mouse sensitivity set to anything higher than 0 for vertical mouse movement to work.
Key Bindings - Misc - Restart Current Map: This keybind will restart the map and start a new demo recording, if you die you'll want to use this instead of pressing the 'use' key to respawn.

Status Bar / HUD - Heads-Up Display - Report Revealed Secrets: Set to *YES* and a message will flash on screen + sound will play when you enter a secret sector.


More Recording information:
Here is a more generic batch file, made by Daerik: demo script.zip. A batch file is essentially an easier way to start a program through the command line, providing it with arguments to do specific things. In the case of speedrunning Doom, these arguments are things like setting the proper compatibility level, the skill level, warping to the map you want to run, and other stuff detailed below.

This batch file is intended to be very easy to edit, where all you have to do is fill in the necessary information. All you have to do is fill it out, save it, then double click it to run it, and you'll be good to go.

 

Here is a breakdown for each variable:
set iwad= - set this to one of the iwads, most commonly one of: doom.wad / doom2.wad / tnt.wad / plutonia.wad
set skill= - set this to a number from 1 to 5. The corresponding difficulties are: 1 = I'm Too Young To Die / 2 = Hey, Not Too Rough / 3 = Hurt Me Plenty / 4 = Ultra-Violence / 5 = Nightmare! - the most common ones you will set this to are 4 and 5.
set warp= - set this to the map number (or the episode and map number, for wads based off of The Ultimate Doom), with a space between the episode and map number.
set pwad= - set this to the name of the pwad, or leave it blank if you are running an iwad.
set deh= - set this to the name of the dehacked file (.deh file extension) if the pwad uses one that is separate from the wad file itself.
set complevel= - set this to the relevant compatibility level for the wad you're running. This can often be found in the txt file of the wad, either by being named directly or being named one of the following: vanilla or limit-removing = 2 for Doom 2, 3 for The Ultimate Doom, and 4 for TNT:Evilution and The Plutonia Experiment / boom or boom-compatible = 9 / MBF = 11 / MBF21 = 21.
set name= set to whatever you wish to be the name of the demo.
set additional= set to any additional parameters. Here is a short list of useful ones:

Spoiler

-analysis - will output an analysis txt file with information about the run and what category (or categories, if multiple) it qualifies as.
-levelstat - will output a txt file with stats for the run such as time elapsed, kills, items, and secrets. Will output one line for each map, for episode or movie runs.
-shorttics - enables shorttics movement when not recording a demo. shorttics are otherwise automatically enabled when recording demos.
-stroller - automatically restricts movement in line with stroller requirements
-time_all - will output a message in-game with exact times for pressing the use key and picking up keys.
-nomusic - will disable music playback.

Here are a couple of example batch files using this template:

Cyberdreams MAP15 on Ultra-Violence, complevel 2, and load the external dehacked file: cy15.zip
Deathless Episode 3 MAP05 on Ultra-Violence, complevel 3, and print an analysis text file: d3l5.zip
Memento Mori MAP03 on Nightmare!, complevel 2, with music disabled: mm03.zip
Sunlust MAP10 on Ultra-Violence, complevel 9, print a levelstat text file and an analysis text file: sl10.zip


Playing back lmp files (Demos):

It is recommended to associate files with the lmp extension with your DSDA-Doom; in order to do this, just double click on an lmp, then follow the standard menus to select your DSDA-Doom exe to launch it with. Additionally, you'll want to have the Use Windows Launcher option in the menus set to SMART; this will result in DSDA-Doom automatically launching demos with the right PWADs when it can determine which PWAD to use for sure and provide you a launcher menu to select playback parameters in other cases.

You can also playback a demo from a batch file or the command line, using the -playdemo argument.
Example: dsda-doom.exe -iwad doom.wad -playdemo p1m1-897.lmp

You may also make use of demo playback to generate an automatic text file, using the -export_text_file argument.
Example: dsda-doom.exe -iwad doom.wad -playdemo p1m1-897.lmp -export_text_file

This will generate a txt file in a preset format provided by DSDA-Doom with information like the time and category.

Edited by Maribo

Share this post


Link to post

Old links and other stuff of interest:

Old welcome thread

Daerik's DSDA-Doom usage guide

DSDA Discord server

The Next Iteration of DSDA

 

Old DSDA-Doom development threads:

 

 

Some context for this thread:

Spoiler

The old welcome thread is pretty much an impenetrable giant wall of text with information that is interesting but ultimately not really useful for the purpose of getting into speedrunning Doom in current year. The goal of this thread was to make a relatively quick guide for just getting in there and running the game, and then include extra info like all the esoteric settings and command line stuff that becomes more relevant AFTER you determine if you even like running the game. This is why it's kept to simply suggesting DSDA-Doom, nobody who wants to get into running a game wants to read an essay about how you need to use ZDoom for ZDoom wads, how Crispy is only for vanilla/limit-removing so you'll need to stick to complevel 2-4 wads, etc.

 

Some credits:
I wrote up most of this myself, with multiple suggestions and critiques from rd, Doomkid, vdgg, and dew. Pretty sure I adapted some stuff from old posts by Grazza. Daerik wrote the original guide for DSDA-Doom, I adapted it and updated it a bit. 4shockblast made the co-op section. I probably got a lot of other input from other runners in the DSDA server when I was posting the original drafts, (I can think of kraflab and Zero-Master at minimum) so thank you too if you said anything.

 

Edited by Maribo

Share this post


Link to post
Guest
This topic is now closed to further replies.
×