Moderators: hgm, Andres Valverde
I agree, that does seem ideal combined with it arriving in .deb/.rpm form so it properly installs AND uninstalls later. But with my engine I likely won't do that since distros are just too diverse and sadly there is no way to do it that guarantees it will work even on just most of them. (And what if the user uses Arena for Linux, or one of the many other chess GUIs anyway? Such specific changes just don't scale very well.) But it's great that it works for the big, officially packaged engines like that, it's certainly a neat approach for these cases!It is of course already miserable that you have to type anything at all in the Load Engine dialog. If the engine was packaged in a truly compliant way it would also have included a file /usr/local/share/games/plugins/xboard/ENGINE.eng, which XBoard would have detected automatically
I'm aware, but yet another way I almost never use and almost never recommend personally because some packages don't have a working uninstall target, or break with distro-specific path changes. It's a bit like installer vs portable version on Windows: I sometimes prefer the portable version as well because installers don't necessarily work right, although on Windows that's more rare since it's more uniform. (and I would always get the portable version of a chess engine vs an installable one on Windows too since they tend to be small and have few dependencies anyway.) But it's ok, I guess to each their own.BTW, the most common and universal way to install non-distro software on Linux is to do it from source, through the "./configure; make; sudo make install" mantra
The thing is, I believe you since you work on XBoard and would have had user complaints if they didn't work. But I wouldn't have known without asking you, which is why I usually stay away from such possibly distro-specific system-wide paths. Almost all of them have /usr/share of course, but maybe some would use different subfolders in there for some software, who knows? I've seen weird differences with this and tend to avoid doing things as root that aren't really necessary, so cautiousness just makes more sense to me personally.do you actually know any Linux distros that do not have a /usr/bin or a usr/share? Currently the paths where XBoard would look for logos or .eng are hard-coded (as /usr(/local)/share/games/plugins/...), rather than configurable, because I never encountered a case where those paths would cause trouble.
I would agree if it weren't for the unusual, not really portable friendly engine directory default. This is why I still think this change would be an improvement for the cases for sure. It's just this unfortunate combination of the unusual default, easy to miss visual indication of that, and the engine usually working fine but the logo being mysteriously missing as a result.I don't think it is very useful to try to also require XBoard to be able to find the logo when the user specifies a wrong engine directory
That really is fair enough, and I also get the /usr/share recommendation! I wouldn't necessarily recommend it myself, but I can definitely see where you are coming from.I still recommend to place engines distributed as lone binaries in /usr/local/bin;
Yup, half of it at least! But I only noticed this was relevant after reading the small text which says it defaults to the binary directory when empty / when I started investigating why the logo didn't show up. So it'd still not have been the IMHO ideal experience of just picking the engine binary and it works(TM), but it would have saved me a lot of troubleshooting time once I realized something was wrong for sure.The real problem seems to be that you did not notice the directory field was not empty by default. Otherwise you would probably have just erased it, never giving the matter a second thought. It is a somewhat unfortunate coincidence that 'current directory' is indicated by the least-conspicuous non-empty string that exists.
Yes, but IMHO it's inherent to a portable install due to expected no side effects, with all the advantages and disadvantages. However, that logo and possibly more don't work after manual adding if I don't change a less obvious extra field really isn't so expected, IMHO, and changing it wouldn't break any of the basic expectations of a portable install.But the thing really worth complaining about is that you had to use the browse button and locate the engine binary with the file-selector dialog. That is at least 10 times as much work.
Yes, it is common expectation manually adding it in is required. But to me it seems a little like you conclude that is why specifying the engine can not be improved, even if the dialog were to be more confusing right now than it would need to be (which I think it is). That seems like a weird argument to me.All that interaction is broken by the portability. And the consequence is that you have to repair it by hand, doing the registration and pointing each GUI to logos through the menu dialog. That should be the common expectation for a portably installed engine.
Return to WinBoard development and bugfixing
Users browsing this forum: No registered users and 10 guests