Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000564Doomseeker[All Projects] Suggestionpublic2011-08-16 01:202018-09-29 14:49
ReporterAlexMax 
Assigned ToBlzut3 
PrioritynormalSeveritymajorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.8 Beta 
Summary0000564: Odamex Plugin: Set -waddir to Wadseeker download directory
DescriptionRight now, if you join an odamex server and it switches maps and the wad downloader kicks in, it will attempt to download wad files to the same place your IWAD is located. Sometimes, this is good, but other times it can end up someplace ridiculous like your steam directory.

Therefore, -waddir ought to be set to the same directory that WADSeeker downloads files to. If there is no download directory set, just do what you do now.
Attached Files

- Relationships

-  Notes
User avatar (0002126)
Blzut3 (administrator)
2011-08-17 06:26

Does Odamex have a proper way to set the download directory from the command line or is the first directory in -waddir always used?
User avatar (0002128)
AlexMax (reporter)
2011-08-17 21:31

> Does Odamex have a proper way to set the download directory from the command line

No.

> or is the first directory in -waddir always used?

A quick look at cl_main.cpp reveals the following:

// Try to save to the wad paths in this order -- Hyper_Eye
D_AddSearchDir(dirs, Args.CheckValue("-waddir"), separator);
D_AddSearchDir(dirs, getenv("DOOMWADDIR"), separator);
D_AddSearchDir(dirs, getenv("DOOMWADPATH"), separator);
D_AddSearchDir(dirs, waddirs.cstring(), separator);

dirs is a vector of strings, and D_AddSearchDir is intelligent enough to split a string containing multiple directories. The separator character is ';' on Windows and ':' elsewhere. That should be enough information to answer that and several potential follow-up questions you might have. :)

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2011-08-16 01:20 AlexMax New Issue
2011-08-17 06:24 Blzut3 Assigned To => Blzut3
2011-08-17 06:24 Blzut3 Status new => assigned
2011-08-17 06:26 Blzut3 Note Added: 0002126
2011-08-17 06:26 Blzut3 Status assigned => feedback
2011-08-17 21:31 AlexMax Note Added: 0002128
2011-08-17 21:31 AlexMax Status feedback => assigned
2011-08-23 23:26 Blzut3 Status assigned => resolved
2011-08-23 23:26 Blzut3 Fixed in Version => 0.8 Beta
2011-08-23 23:26 Blzut3 Resolution open => fixed
2018-09-29 14:49 WubTheCaptain Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker