-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual page #740
Comments
Just a heads-up: it's possible you don't need to run Julius from the command line on your first run. It should display a folder select dialog. If it's not working then it's likely a bug of some kind, which I'll be more than happy to help fix. |
I don’t get that, so something might be wrong indeed. I’m going to open another issue about that, so we can keep this one focused on the manual page. Done, cf. #741. |
Since the #741 bug is not really a bug, I'm guessing the manual could mention that a select folder window should appear and if nothing happens the game should be run from the console so the directory can be picked. |
Yes, if I had this information I would not have thought the .desktop launcher was broken in some way. So it sounds like an useful piece of information. Most users would not need this information, but the ones not having a supported GUI dialog alternative available are most probably the ones that are the most likely to read a manual page too. |
I briefly looked into creating a man page: it sounds like quite a bit of hassle for not much benefit. Personally, I tend to go for Considering you now have the dependencies set up to install tkinter so the select folder dialog is shown, do we still need the man page? |
The syntax is a pain to learn, I don’t suggest you go that way if you don’t need it outside of julius. But I already know how to work with it, so for me the effort would be much lower. My proposal obviously include this page maintenance afterwards, not only its initial writing.
I should report a bug about this one too, as it seems either
While it makes its lack less problematic, I still think it would be a worthwhile addition. Especially useful for people not installing the recommended dependencies, so could end up with Julius installed but without any of the path selectors available. |
I did not even look at the syntax, just at adding it to the build and making sure it ends up where it needs to be. There's no standard way to do it. And we have to basically code a big "if-else" in the cmake file for which platforms need this. Since this is a GUI program and not a CLI one, I want to avoid adding files that are not useful for the majority of users.
|
If it’s a pain to include in the build recipes I might include it at first only for the .deb package, and only contribute it back upstream after I find a clean and light way to include it. If there is no way to do that without big changes to the build process, it can stay as a Debian-specific addition.
It prints the usage information as expected, but does not stop here and then prompts me for the path to the game data (clearing up the terminal in the process, so the usage information is no longer shown) if ~/.local/share/bvschaik/julius/data_dir.txt is not already there. I would have expected it to stop the execution right after showing the usage syntax. |
Sounds like a plan.
That's a bit of an oversight on our end. I just fixed that on master. |
OK, I’m going to take that into account and direct the reader to the installation of one of the supported path browsers. With probably an extra warning about not editing this file by hand. |
Currently julius does not provide a manual page. But I see there are already some usage instructions:
I can write basic manual pages based on this, both a default page in English and a localized one in French.
In addition to the command usage and the command-line switches, it could include information on the ~/.local/share/bvschaik/julius/data_dir.txt path used to set the path to Caesar 3 data files. And maybe some information about the need to run julius once from a terminal the first time, so it can prompt for this path, before the .desktop menu entry can be used.
While I can provide these files (and would obviously keep them updated if you add new command-line switches, as long as you give me a ping so I don’t miss them), I don’t really know how to work with CMake so for now I would not know how to include them in the list of files to install. I could provide the manual pages and let you integrate them into the installation process, or if you have some time to explain how it works I would be happy to handle this part too.
The text was updated successfully, but these errors were encountered: