By Riccardo Perni (P_R_S) on Wednesday, February 15, 2023 - 12:42 pm: Edit |
Jonathan you are my hero!!!
By Ginger McMurray (Gingermcmurray) on Wednesday, February 15, 2023 - 01:35 pm: Edit |
I'm definitely interested!
By Jonathan Jones (Jej1997) on Wednesday, February 15, 2023 - 04:14 pm: Edit |
Great, I will send the PDF to Jean and try to post the instructions for the python script later today.
One minor question in my mind is what to do about external references... to rules that aren't in the document. Right now I'm just drawing a red line under them and linking them to section Z5.0 ("The Star Fleet Universe") which lists most of the modules that exist.
By David Finan (Bbanzai) on Wednesday, February 15, 2023 - 05:32 pm: Edit |
Great idea, I always wondered why the pdf rule books weren't done this way to start with.
By Gregory S Flusche (Vandar) on Wednesday, February 15, 2023 - 05:43 pm: Edit |
How much will it cost to get a updated One... Like that
By Jonathan Jones (Jej1997) on Wednesday, February 15, 2023 - 08:41 pm: Edit |
It will be $0.00 if you run the python script on your existing PDF file. :D
By David Finan (Bbanzai) on Wednesday, February 15, 2023 - 09:32 pm: Edit |
Im interested as well how do I get the script, or is it best to wait for ADB to update the core rules and download them again from where we purchased them?
By Jonathan Jones (Jej1997) on Wednesday, February 15, 2023 - 09:51 pm: Edit |
Okay, here are the instructions:
How to make your Master Rulebook clickable
Please post comments here if you need help. Then I can improve the instructions if necessary.
By Johnny Casady (Phythalion) on Thursday, February 16, 2023 - 12:54 am: Edit |
Hallelujah! It works!
By Mike Dowd (Mike_Dowd) on Thursday, February 16, 2023 - 01:08 am: Edit |
Hmmm.. I wonder if this script could be adapted to F&E....
By Jonathan Jones (Jej1997) on Thursday, February 16, 2023 - 02:19 am: Edit |
It surely could. And anyone is welcome to do so. But I don't play F&E (yet), so I don't have the PDF.
By Ginger McMurray (Gingermcmurray) on Thursday, February 16, 2023 - 08:40 am: Edit |
Thank you!
By Ginger McMurray (Gingermcmurray) on Thursday, February 16, 2023 - 09:06 am: Edit |
If anyone has issues with the Microsoft Store like I did, perhaps because your work blocks it or you' not on a Windows machine, you can download Python from here: https://www.python.org/downloads/.
For me the script didn't do anything when I ran it using the right click and open command. I assume it's because of how I installed. Maybe I should have rebooted after the installation. In any case, you can also run the script in a command prompt.
1. Open a command prompt by clicking your windows search bar, typing CMD, and pressing enter.
2. Navigate to the folder where you stored your input file and the script by typing "cd" followed by the full name of the directory. Example: "cd C:\Users\ginger.mcmurray\Downloads"
3. Run the command by typing "python clickableMasterRulebook.py"
By Ted Fay (Catwhoeatsphoto) on Thursday, February 16, 2023 - 10:05 am: Edit |
Three cheers for Jonathan Jones!
Hip Hip, HUZZAH!
Hip Hip, HUZZAH!
Hip Hip, HUZZAH!
SING CELEBRATION!
By Ted Fay (Catwhoeatsphoto) on Thursday, February 16, 2023 - 10:09 am: Edit |
I have no less cause to celebrate, but I did have even more trouble than Ginger.
I followed the instructions precisely. Nothing happened.
I followed Ginger's instructions, above, about running in the command prompt. I got the following error message:
Traceback (most recent call last):
File "C:\Users\Ted\Desktop\SFB MRB PDF Link Creator\clickableMasterRulebook.py", line 75, in <module>
section_locations["D22.2H"] = section_locations["D22.28"]
KeyError: 'D22.28'
I tried rebooting and then running the exact same process (both steps 1 and 2 above). I received exactly the same error message.
My system is a Windows 10 machine. Can provide more details if needed.
HELP! Right now I'm feeling like when my wife says NO to me!!!!
By Gregory S Flusche (Vandar) on Thursday, February 16, 2023 - 10:14 am: Edit |
Is why I have not tried yet. I am a Clutz with stuff like that.
By Jonathan Jones (Jej1997) on Thursday, February 16, 2023 - 02:13 pm: Edit |
Ted Fay: The error message indicates that you are running the script on a document that doesn't have a "rule D22.28" in it -- or the script was unable to find that rule, for some reason.
Either you are trying to modify the wrong document (it only works on the Star Fleet Battles Master Rulebook, Silver Anniversary edition, 2012) or there are multiple versions that I'm not aware of.
If you right-click on your PDF file, click Properties and look at the Size field, what does it say? Mine says 11,362,122 bytes. If you want, you can e-mail it to me at sfbscript@spitzensparken.com, and I'll figure out the issue.
By Jonathan Jones (Jej1997) on Thursday, February 16, 2023 - 02:16 pm: Edit |
Ginger McMurray: Thanks for the feedback, I will add it to the instructions!
By Jonathan Jones (Jej1997) on Thursday, February 16, 2023 - 02:37 pm: Edit |
Hmm, I wonder if the versions available from the different e-book sites are different? They could be identical except for some minor difference that breaks the script.
I got mine from Warehouse 23. Where did you get yours, Ted?
By Steve Cole (Stevecole) on Thursday, February 16, 2023 - 03:39 pm: Edit |
I did put a memo on Jean's desk telling her we need to talk about this. She and I are (for medical reasons) in and out a lot and rarely here at the same time.
By Steve Cole (Stevecole) on Thursday, February 16, 2023 - 04:17 pm: Edit |
Okay, Jean and I found a moment to chat. I did not understand what this is, but now I do. Jonathan can give his software thing to anyone who has a PDF of the MRB and they can run their own version of it. No need for ADB to do anything. (Other people have been handing out similar patches for years.)
By David Bostwick (Zarquon) on Thursday, February 16, 2023 - 05:55 pm: Edit |
Jonathan:
This is Awesome!
You are my Hero.
By Jonathan Jones (Jej1997) on Thursday, February 16, 2023 - 07:43 pm: Edit |
I don't think of myself as a hero. Any one of you would have done the same in that situation. I was just in the right place at the right time. The real heroes are the people who wake up every day and play another game of Star Fleet Battles!
By Thomas Mathews (Turtle) on Friday, February 17, 2023 - 07:26 am: Edit |
Jonathan, will this work on the F&E Rulebook(s).
By Ken Kazinski (Kjkazinski) on Friday, February 17, 2023 - 07:56 am: Edit |
The "MR" rules come from Module E1/C5.
You can change the line:
external_sources["MR"] = "?"
to
external_sources["MR"] = "Module C5"
Administrator's Control Panel -- Board Moderators Only Administer Page | Delete Conversation | Close Conversation | Move Conversation |