|Anonymous | Login||2019-06-25 07:36 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002189||VCMI||Other||public||2015-05-02 21:35||2018-04-13 14:28|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Platform||OS||Debian GNU/Linux||OS Version|
|Target Version||Fixed in Version||0.next|
|Summary||0002189: please consider adding /usr/share/games/vcmi as a data lookup path|
|Description||Vcmi stores static game data in /usr/share/vcmi which is totally correct from an XDG point of view. But the FHS (filesystem hierarchy standard) specifies /usr/share/games as the base directory for static game data. So it would be great if vcmi could add /usr/share/games/vcmi as an additional directory to look for game data after having looked in /usr/share/vcmi. That way, Debian could store static game data in /usr/share/games/vcmi without deviating from vcmi upstream in its lookup path. This would be convenient for Debian as most other games in Debian store their static game data in /usr/share/games as well because of the FHS.|
|Tags||No tags attached.|
I just added /usr/share/games/vcmi lookup dir here:
Please report back if it's work as intended!
I cannot confirm that it works.
I just built latest git HEAD and I see that lib/VCMIDirs.cpp adds:
ret.push_back(bfs::path("/usr/share/games") / "vcmi");
And I have my data in /usr/share/games/vcmi but when I start vcmi I get:
Error: Heroes III data was not found!
It's won't work if you run it from "bin" in build directory.
I intentionally made VCMI ignore all system-wide data when both binaries and "config", "Mods" directories are together. This way I can be sure that game installed from repository is not interfere with development.
That makes lots of sense.
But then I don't see why your commit shouldn't work and I guess you can close this bug report. :)
|2015-05-02 21:35||josch||New Issue|
|2015-06-24 23:52||AVS||Relationship added||related to 0002190|
|2015-09-22 12:59||AVS||Assigned To||=> SXX|
|2015-09-22 12:59||AVS||Status||new => assigned|
|2017-08-25 06:06||SXX||Note Added: 0007241|
|2018-04-13 13:31||josch||Note Added: 0007573|
|2018-04-13 14:13||SXX||Note Added: 0007574|
|2018-04-13 14:27||josch||Note Added: 0007575|
|2018-04-13 14:28||SXX||Status||assigned => resolved|
|2018-04-13 14:28||SXX||Fixed in Version||=> 0.next|
|2018-04-13 14:28||SXX||Resolution||open => fixed|
|Copyright © 2000 - 2019 MantisBT Team|