MantisBT - VCMI
View Issue Details
0002068VCMIOtherpublic2015-02-11 01:032022-04-12 11:19
SXX 
vmarkovtsev 
normalminoralways
closedfixed 
Linux
0.97b 
0.99 
0002068: On Linux game don't detect new files added to Maps directory till restart
As far as I get this is Linux-only problem as on Windows VCMI detect newly added files just fine.
  - Run VCMI and go to "New Game" -> "Single Scenario"
  - Now go back to menu.
  - Add few files to "~/.local/share/vcmi/Maps" (or where it's located for you)
  - Try to open "Single Scenario" again.
No tags attached.
Issue History
2015-02-11 01:03SXXNew Issue
2015-02-11 06:07SXXSummaryOn Linux game don't detect new files added to Maps directory => On Linux game don't detect new files added to Maps directory till restart
2016-10-16 11:01SXXAssigned To => vmarkovtsev
2016-10-16 11:01SXXStatusnew => assigned
2016-10-16 11:04SXXNote Added: 0006838
2016-10-16 11:07SXXNote Added: 0006839
2016-10-16 11:46vmarkovtsevNote Added: 0006841
2016-10-16 23:54AVSNote Added: 0006842
2016-10-16 23:54AVSStatusassigned => resolved
2016-10-16 23:54AVSFixed in Version => 0.99
2016-10-16 23:54AVSResolutionopen => fixed
2016-10-17 12:04SXXNote Added: 0006847
2022-04-12 11:19PovelitelStatusresolved => closed

Notes
(0006838)
SXX   
2016-10-16 11:04   
Vadim I assigned you on this one, but it's up to you if you want to work on it or no. Probably this one might be super easy for someone who worked with Boost.Filesystem before.

Personally I simply not sure if there is cross-platform way to track filesystem changes so virtual FS can be updated if changed.
(0006839)
SXX   
2016-10-16 11:07   
And if there no simple way to do that we probably can simply rescan directories (like maps and saves) each time appropriate screen accessed.
(0006841)
vmarkovtsev   
2016-10-16 11:46   
Sure, will look at it
(0006842)
AVS   
2016-10-16 23:54   
fixed in https://github.com/vcmi/vcmi/pull/241 [^]
(0006847)
SXX   
2016-10-17 12:04   
Thanks! Tested, working fine!