Post by Membrane_on_Vacation on Sept 21, 2015 5:17:51 GMT
Hey Everyone,
I am holding off on archiving the SotA forum for the time being. For the most part the reason being is that there is no new information that isn't already out there. We all know what is happening and there are more productive things that I can be doing other than trying to spot the Moderator or SotA forum using "being bad."
However if you wish to continue, I will discolse the simple script batch file any windows user can use if you've got any light knowledge at all.
What you do is go and download: wkhtmltopdf - wkhtmltopdf.org/downloads.html
Create a folder anywhere on your system.
Create a new text document on that system, call it, sota_x.txt
Change the name of the text document to: sota_x.bat
Right click the sota_x.bat file and select edit.
Paste the following into the document, save the document, close the document:
-----
rem Insert page to print - ensure / at end if forum uses /pagexx
SET xlinkx=
rem Insert friendly forum topic title - used for save path & searching
SET xfilenamex=
rem Insert forum name - used for save path
SET xforumx=sota
rem Create a temp folder in case error is encountered in capture - can be deleted at any time
md C:\capture\%xforumx%\%xfilenamex%\temp
rem Begin capture
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx% C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page1.pdf
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx%page-2 C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page2.pdf
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx%page-3 C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page3.pdf
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx%page-4 C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page4.pdf
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx%page-5 C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page5.pdf
rem rename the captured folder structure to reflect the forum, file/thread name, and time in which it was captured for sorting.
ren C:\capture\%xforumx%\%xfilenamex%\temp "%xfilenamex%_%date:~4,2%-%date:~7,2%-%date:~10,4%_@_%time:~0,2%h%time:~3,2%m%time:~6,2%s"
-----
Depending on where you install wkhtmltopdf, the path above may change and you may need to adjust it!
This is now your template. Copy the file and paste it into the same folder to capture a new thread. You now only need to do a few very minor things.
1. enter the file name value on SET xfilenamex=
1a. this can be anything you want it to be, but I usually copy the forum thread title link directly out of the forum, it usually looks like: a-forum-title-name
2. enter the full url on SET xfilenamex=
3. set the forum type, this just creates a directory in your folder based on the value you input. I do different forums, so I use things like "sota" "steam" "mo" "mmorpg" and what not to keep them logically separate and easily findable.
4. adjust the number of pages. you can put as many pages as you want in there. you can put 100 pages in there so you almost never have to go back, but be warned each page that doesn't exist will print the last page in the post which does exist. example if the thread has 5 pages and you put 100 to save, pages 6-100 will be captured and will read exactly the same as page 5.
5. rename your copied file and probably use the same thing you did in step 1.
That is it. Sounds like a lot, but once you do this twice, it is a 15 second job!
Here are two examples:
1. Capture of thread on MMORPG:
-----
rem Insert page to print - ensure / at end if forum uses /pagexx
SET xlinkx=http://forums.mmorpg.com/discussion/437921/thread/p1
rem Insert friendly forum topic title - used for save path & searching
SET xfilenamex=Shroud-of-the-Avatar-New-Player-Owned-Town-Profiled
rem Insert forum name - used for save path
SET xforumx=mmorpg
md C:\capture\%xforumx%\%xfilenamex%\temp
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx% C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page1.pdf
ren C:\capture\%xforumx%\%xfilenamex%\temp "%xfilenamex%_%date:~4,2%-%date:~7,2%-%date:~10,4%_@_%time:~0,2%h%time:~3,2%m%time:~6,2%s"
-----
2. Capture of thread on SOTA:
-----
rem Insert page to print - ensure / at end if forum uses /pagexx
SET xlinkx=https://www.shroudoftheavatar.com/forum/index.php?threads/um-do-i-have-to-donate-to-get-a-house-i-see-them-for-sale-ingame.35251/
rem Insert friendly forum topic title - used for save path & searching
SET xfilenamex=um-do-i-have-to-donate-to-get-a-house
rem Insert forum name - used for save path
SET xforumx=sota
md C:\capture\%xforumx%\%xfilenamex%\temp
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx% C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page1.pdf
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx%page-2 C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page2.pdf
ren C:\capture\%xforumx%\%xfilenamex%\temp "%xfilenamex%_%date:~4,2%-%date:~7,2%-%date:~10,4%_@_%time:~0,2%h%time:~3,2%m%time:~6,2%s"
-----
Happy capturing if you plan on doing so.
I am holding off on archiving the SotA forum for the time being. For the most part the reason being is that there is no new information that isn't already out there. We all know what is happening and there are more productive things that I can be doing other than trying to spot the Moderator or SotA forum using "being bad."
However if you wish to continue, I will discolse the simple script batch file any windows user can use if you've got any light knowledge at all.
What you do is go and download: wkhtmltopdf - wkhtmltopdf.org/downloads.html
Create a folder anywhere on your system.
Create a new text document on that system, call it, sota_x.txt
Change the name of the text document to: sota_x.bat
Right click the sota_x.bat file and select edit.
Paste the following into the document, save the document, close the document:
-----
rem Insert page to print - ensure / at end if forum uses /pagexx
SET xlinkx=
rem Insert friendly forum topic title - used for save path & searching
SET xfilenamex=
rem Insert forum name - used for save path
SET xforumx=sota
rem Create a temp folder in case error is encountered in capture - can be deleted at any time
md C:\capture\%xforumx%\%xfilenamex%\temp
rem Begin capture
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx% C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page1.pdf
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx%page-2 C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page2.pdf
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx%page-3 C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page3.pdf
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx%page-4 C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page4.pdf
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx%page-5 C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page5.pdf
rem rename the captured folder structure to reflect the forum, file/thread name, and time in which it was captured for sorting.
ren C:\capture\%xforumx%\%xfilenamex%\temp "%xfilenamex%_%date:~4,2%-%date:~7,2%-%date:~10,4%_@_%time:~0,2%h%time:~3,2%m%time:~6,2%s"
-----
Depending on where you install wkhtmltopdf, the path above may change and you may need to adjust it!
This is now your template. Copy the file and paste it into the same folder to capture a new thread. You now only need to do a few very minor things.
1. enter the file name value on SET xfilenamex=
1a. this can be anything you want it to be, but I usually copy the forum thread title link directly out of the forum, it usually looks like: a-forum-title-name
2. enter the full url on SET xfilenamex=
3. set the forum type, this just creates a directory in your folder based on the value you input. I do different forums, so I use things like "sota" "steam" "mo" "mmorpg" and what not to keep them logically separate and easily findable.
4. adjust the number of pages. you can put as many pages as you want in there. you can put 100 pages in there so you almost never have to go back, but be warned each page that doesn't exist will print the last page in the post which does exist. example if the thread has 5 pages and you put 100 to save, pages 6-100 will be captured and will read exactly the same as page 5.
5. rename your copied file and probably use the same thing you did in step 1.
That is it. Sounds like a lot, but once you do this twice, it is a 15 second job!
Here are two examples:
1. Capture of thread on MMORPG:
-----
rem Insert page to print - ensure / at end if forum uses /pagexx
SET xlinkx=http://forums.mmorpg.com/discussion/437921/thread/p1
rem Insert friendly forum topic title - used for save path & searching
SET xfilenamex=Shroud-of-the-Avatar-New-Player-Owned-Town-Profiled
rem Insert forum name - used for save path
SET xforumx=mmorpg
md C:\capture\%xforumx%\%xfilenamex%\temp
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx% C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page1.pdf
ren C:\capture\%xforumx%\%xfilenamex%\temp "%xfilenamex%_%date:~4,2%-%date:~7,2%-%date:~10,4%_@_%time:~0,2%h%time:~3,2%m%time:~6,2%s"
-----
2. Capture of thread on SOTA:
-----
rem Insert page to print - ensure / at end if forum uses /pagexx
SET xlinkx=https://www.shroudoftheavatar.com/forum/index.php?threads/um-do-i-have-to-donate-to-get-a-house-i-see-them-for-sale-ingame.35251/
rem Insert friendly forum topic title - used for save path & searching
SET xfilenamex=um-do-i-have-to-donate-to-get-a-house
rem Insert forum name - used for save path
SET xforumx=sota
md C:\capture\%xforumx%\%xfilenamex%\temp
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx% C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page1.pdf
"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" --no-background --zoom 0.5 %xlinkx%page-2 C:\capture\%xforumx%\%xfilenamex%\temp\%xfilenamex%_page2.pdf
ren C:\capture\%xforumx%\%xfilenamex%\temp "%xfilenamex%_%date:~4,2%-%date:~7,2%-%date:~10,4%_@_%time:~0,2%h%time:~3,2%m%time:~6,2%s"
-----
Happy capturing if you plan on doing so.