View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003054 | The Dark Mod | Coding | public | 10.03.2012 19:28 | 21.04.2013 18:20 |
Reporter | taaaki | Assigned To | taaaki | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 1.08 | ||||
Target Version | TDM 1.08 | Fixed in Version | TDM 1.08 | ||
Summary | 0003054: Save screenshots to a central location | ||||
Description | Currently, screenshots are saved to the fanmission path (e.g. <base>/darkmod/fms/<mission>/screenshots ), which leads to screenshots being spread across multiple folders. Saving all screenshots to the same directory, regardless of mission, makes it easier to locate specific screenshots. Since screenshots from different missions will share the same folder, it would also be nice to prefix the screenshot name with the mission (and possibly the date and time as well). | ||||
Tags | No tags attached. | ||||
From Tels: I also thought about adding the fm name somehow into the screenshot file name. Probably needs any non "a-z" replaced by "_" (and made lowercase), but sounds like a sensible idea. However, it might be a bit complicated because the code that searches for the next free screenshot slot might get confused (maybe this code needs simply to be changed to "read all directory entries, then pick the one with the highest number" instead of doing a "blind" search. |
|
I've made some progress. All screenshots get saved to <basepath>/darkmod/screenshots now. I still need to fix the screenshot naming code since idStr::Filter isn't flexible enough to accomodate the mission name in filename easily. | |
Completed my changes to screenshot locations. All screenshots are now stored in <basepath>/darkmod/screenshots. Modified screenshot filename to include the currently installed mission and fixed the "slot" finding code. Revision 5352: FileSystem.cpp FileSystem.h Image.cpp RenderSystem_init.cpp |
|
I've done a fair bit of testing, but only on Windows. More testing and some Linux testing would be appreciated. | |
"All screenshots are now stored in <basepath>/darkmod/screenshots." My screenshots are being saved in [base]/darkmod/fms/screenshots. |
|
Hmmm, that looks like its saving to fs_modSavePath instead of fs_basepath. What SVN revision is your binary? And if its not too much of a pain, could you run TheDarkMod.exe with +set fs_debug 1 set and provide the console output. | |
Should be resolved in Revision 5479. | |
Date Modified | Username | Field | Change |
---|---|---|---|
10.03.2012 19:28 | taaaki | New Issue | |
10.03.2012 19:28 | taaaki | Status | new => assigned |
10.03.2012 19:28 | taaaki | Assigned To | => taaaki |
10.03.2012 19:28 | taaaki | Relationship added | related to 0003034 |
10.03.2012 19:32 | taaaki | Note Added: 0004388 | |
18.03.2012 20:15 | taaaki | Note Added: 0004419 | |
21.03.2012 16:29 | taaaki | Note Added: 0004420 | |
21.03.2012 16:31 | taaaki | Note Added: 0004421 | |
21.03.2012 16:31 | taaaki | Status | assigned => feedback |
19.04.2012 13:04 | Springheel | Note Added: 0004483 | |
19.04.2012 19:23 | taaaki | Note Added: 0004486 | |
19.04.2012 19:23 | taaaki | Status | feedback => assigned |
16.06.2012 18:59 | taaaki | Note Added: 0004664 | |
16.06.2012 18:59 | taaaki | Status | assigned => resolved |
16.06.2012 18:59 | taaaki | Fixed in Version | => TDM 1.08 |
16.06.2012 18:59 | taaaki | Resolution | open => fixed |
21.04.2013 18:20 | taaaki | Relationship added | related to 0003368 |