View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003567||The Dark Mod||Design/Coding||public||11.10.2013 00:17||25.12.2019 02:22|
|Platform||Linux (any)||OS||Linux (any)||OS Version||Linux (any)|
|Summary||0003567: TDM incapable of being ran from a read-only directory as a normal user|
|Description||This 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 gamex86.so 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 gamex86.so 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 Reproduce||Install thedarkmod into any read-only filesystem location and attempt to play as a normal user.|
This file states "fs_basepath path to local install, read-only", for good reason too.
|Tags||No tags attached.|
|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|