View Issue Details

IDProjectCategoryView StatusLast Update
0003567The Dark ModDesign/Codingpublic11.02.2024 22:14
Reporternaelstrof Assigned Totaaaki  
Status assignedResolutionopen 
PlatformLinux (any)OSLinux (any)OS VersionLinux (any)
Product VersionSVN 
Summary0003567: TDM incapable of being ran from a read-only directory as a normal user
DescriptionThis bug is based off the fact that fs_basepath should be assumed to be read-only, but TDM attempts to write to it anyway.

Launching TDM from a read-only directory (like any normal application/game in Linux) causes an immediate crash due to being incapable of writing to the game directory.
It is also incapable of writing configuration files or downloading maps.

To solve this, Doom 3 wrote everything it needed to ~/.doom3. This kind of functionality apparently was removed.

Attempting to reaquire the same functionality: Setting fs_modSavePath and fs_savepath to the home directory (~/.thedarkmod), and manually extracting allows TDM to run, but causes the following bugs:
* Maps loaded from ~/.thedarkmod/fms lack names, images or any information besides the map size in the menu (they appear invisible, basically), but are entirely playable by clicking where they should be in the menu.
* Any kind of configuration works during the run, but never saves properly. (Assuming configuration files are being saved to fs_basedir...)
* Pressing "Restart game" in the configuration pane causes it to crash due to not finding "Default.cfg".I couldn't find the file anywhere. Perhaps it too was trying to write itself to the read-only fs_basedir?
Steps To ReproduceInstall thedarkmod into any read-only filesystem location and attempt to play as a normal user.
Additional Information

This file states "fs_basepath path to local install, read-only", for good reason too.
Tagsinstall, linux


related to 0002966 resolvedtels Get rid of hardcoded ~/doom3 path on Linux 
related to 0003195 resolvedtaaaki Prevent TDM from running as root 




25.12.2019 02:22

administrator   ~0011941

Heated discussion on dev. forums:

Issue History

Date Modified Username Field Change
11.10.2013 00:17 naelstrof New Issue
15.10.2013 16:58 taaaki Assigned To => taaaki
15.10.2013 16:58 taaaki Status new => assigned
17.10.2013 11:16 taaaki Relationship added related to 0002966
12.10.2017 16:18 nbohr1more Relationship added related to 0003195
25.12.2019 02:22 stgatilov Note Added: 0011941
11.02.2024 05:26 Fiver Tag Attached: linux
11.02.2024 22:14 Fiver Tag Attached: install