Bug Tracker – Bug 1293

Odamex crashes when trying to write a demo to a path that does not exist

Last modified: 2019-07-30 15:35:27 CDT
Bug 1293 - Odamex crashes when trying to write a demo to a path that does not exist
Summary: Odamex crashes when trying to write a demo to a path that does not exist
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Client (show other bugs)
Version: 0.8.x
Hardware: All Other
: P5 normal
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks:
 
Reported: 2019-07-30 15:35 CDT by HeX_Vulture
Modified: 2019-07-30 15:35 CDT (History)
1 user (show)

See Also:

Attachments

Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this bug.
Description HeX_Vulture 2019-07-30 15:35:27 CDT
In my cfg, I have:
set "cl_netdemoname" "demos\\Odamex_%g_%d_%t_%n_%w_%m"

which would normally save my demo to \odamex\demos\whatever.odd. However, I forgot to create the directory "demos" when I installed the new version of Odamex, and when I tried to launch a demo mid-game the client instantly crashed. In the past it would say "failed to write demo" but now it does not even do that. Ideally the client could create the folder and save the demo without the user having to create things manually.