linuxgurugamer Posted March 17 Share Posted March 17 (edited) This script is designed to package up all the files necessary to report a bug to the KSP 2 developers The script consists of three files, an INI file, a PowerShell .ps1 file and a batch file. The INI file contains a description for each parameter, full explanation is further down What it does The script will gather up all files necessary to report a bug. You will be prompted for some information, and the files will be compiled into a zip file and stored in a file. All settings are configurable in the INI file. The result will be in two zip files, one containing the logs and the second containing the save file(s) Installation Unpack the zip file into a folder Double-click on the install.bat file Technical Information While you should never need to change it, the following is provided for those people who would want to manually customize the config INI file Documentation zipFilePath This contains the full path to where you want the script to saved the zip file pathToGameDirectory Replace with the path to the directory where KSP 2 is. The followin two lines are examples of two different locations where KSP 2 lives on my system: Usage Once the INI file is configured, you can start the script by double-clicking on the desktop Icon. The following prompts are displayed: Enter Bug title: Enter the title of the bug. Keep this short, it is used as the name of the zip file. Also, if there is an existing zip file by that name you will be prompted to enter a different one. It is also advisable not use spaces Please enter the bug description. Enter a blank line when you're finished. Select the Severity of the bug Select the Frequency of the bug A list of all the campaigns in the SinglePlayer directory is then displayed. Select the campaign which you are reporting the bug occurred in. Then a list of the save files for that campaign are displayed. Again, select the one which contains the bug. Do you want to include a workspace? (y/N): Yes or no, pressing return (or anything other than a "y") will bypass the workspaces If you did reply with a "y", you will then be presented with a list of workspaces Select the workspace to include. The files will then be packaged up, and the names of the file(s) which contain the bug report will be displayed. When done, press to end the script and close the window Availability License: GPLv3 Download: https://github.com/linuxgurugamer/KSP2_BugPackager/releases Edited June 22 by linuxgurugamer Quote Link to comment Share on other sites More sharing options...
Daniel Prates Posted March 19 Share Posted March 19 I was wondering if you would be the first to come up with one of those! Quote Link to comment Share on other sites More sharing options...
Nikolai Posted March 19 Share Posted March 19 Does this only work on Steam installs or something? I tried using it for KSP2 v0.1.1.0 using the portable install; after altering KSP2_BugPackager.ini and double-clicking KSP2_BugPackager.bat, PowerShell opens quickly and then immediately closes (without asking me any questions). Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted March 20 Author Share Posted March 20 3 hours ago, Nikolai said: Does this only work on Steam installs or something? I tried using it for KSP2 v0.1.1.0 using the portable install; after altering KSP2_BugPackager.ini and double-clicking KSP2_BugPackager.bat, PowerShell opens quickly and then immediately closes (without asking me any questions). Did you configure the INI file as it says in the OP and the README? Quote Link to comment Share on other sites More sharing options...
Nikolai Posted March 20 Share Posted March 20 (edited) 22 hours ago, linuxgurugamer said: Did you configure the INI file as it says in the OP and the README? Yes. Here are the contents of my INI file: [KSP2_BugPackager] debug=0 allInOneFile=true zipFilePath=D:\Games userName=go_4_ pathToGameDirectory=D:\Games\KSP2_win64 # Following are two examples # pathToGameDirectory=C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program 2 # pathToGameDirectory=U:\SteamLibrary\steamapps\common\Kerbal Space Program 2 pathToCampaignDirectories=C:\Users\go_4_\AppData\LocalLow\Intercept Games\Kerbal Space Program 2\Saves\SinglePlayer Edited March 21 by Nikolai Added contents of INI file Quote Link to comment Share on other sites More sharing options...
Space_Moomin Posted March 21 Share Posted March 21 (edited) Hello Nikolai, I think the issue is the .bat file On windows, try replacing it with this line: PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& '.\KSP2_BugPackager.ps1'" Edited March 21 by Space_Moomin Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted March 21 Author Share Posted March 21 45 minutes ago, Space_Moomin said: Hello Nikolai, I think the issue is the .bat file On windows, try replacing it with this line: PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& '.\KSP2_BugPackager.ps1'" @Nikolai Please let me know if that works for you. The bat I supplied worked on my system, but it's quite possible it needs to be updated with this. Quote Link to comment Share on other sites More sharing options...
Nikolai Posted March 21 Share Posted March 21 (edited) 8 hours ago, linuxgurugamer said: @Nikolai Please let me know if that works for you. The bat I supplied worked on my system, but it's quite possible it needs to be updated with this. Changing the contents of the batch file to follow Space_Moomin's suggestions worked like a charm! Thank you both very much! Now, stupid question: Where do I go to report bugs? Edited March 21 by Nikolai Additional question Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted March 23 Author Share Posted March 23 On 3/21/2023 at 4:44 PM, Nikolai said: Changing the contents of the batch file to follow Space_Moomin's suggestions worked like a charm! Thank you both very much! Now, stupid question: Where do I go to report bugs? Next release will help with that. For now: Submit feedback through the game launcher Private division Customer Support: https://support.privatedivision.com/hc/en-us/requests/new?ticket_form_id=360001675633 Forum page: https://forum.kerbalspaceprogram.com/index.php?/forum/144-ksp2-bug-reports/ Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted March 23 Author Share Posted March 23 (edited) I have a beta available for the next version: Changes Made app fully GUI based Added ability to include misc files to be added Removed option for allInOneFile Added credits header line to bug description (deleted, see next post) Please test this, and be sure to look at the generated zip file. This is a total rewrite, and while I think I got all the issues fixed, would like to get some additional eyes on it before I make it a full release. I also need to write some documentation, but it should be fairly easy to follow Edited March 24 by linuxgurugamer Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted March 24 Author Share Posted March 24 (edited) New Beta, 0.3.1 Fixed error when adding multiple optional files Added button to clear entered files (deleted) Edited March 27 by linuxgurugamer Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted March 27 Author Share Posted March 27 New release 0.3.2 Made app fully GUI based Added ability to include misc files to be added Removed option for allInOneFile Added credits header line to bug description Fixed error when adding multiple optional files Added button to clear entered files Updated prompts for drag/drop Swapped location of the bug reports buttons Added an additional line re. forum files Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted May 2 Author Share Posted May 2 New release, 0.3.3 Fixed the buttons for the reporting pages to only show after the finalize button is clicked Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted May 5 Author Share Posted May 5 New release, 0.4.0 Added more information gathering: DX Diagnostic information System information Added Severity and Frequency Added prompts to indicate info gathering in progress Quote Link to comment Share on other sites More sharing options...
Angelo Kerman Posted May 6 Share Posted May 6 This is a great reporting tool. By chance does it produce a boilerplate text (e.g. system information) for the start of a forum post? That might be helpful for users who post bugs on the forums. Then it would be a matter of opening the boilerplate output and cutting and pasting. Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted June 19 Author Share Posted June 19 On 5/6/2023 at 2:42 PM, Angelo Kerman said: This is a great reporting tool. By chance does it produce a boilerplate text (e.g. system information) for the start of a forum post? That might be helpful for users who post bugs on the forums. Then it would be a matter of opening the boilerplate output and cutting and pasting. Well, you can copy from the text file Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted June 20 Author Share Posted June 20 I'm working on a new release, should be out in a few days. Will include an installer and some gui improvements Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted June 22 Author Share Posted June 22 New release, 0.5.0 Removed all reference to the allInOne option, not used anymore Thanks to forum user @anth12 for suggesting a lot of the following: Created installer Updated URL for bug reporting Put the installed files within their own folder within the KSP2 Installation folder Added shortcut to desktop GUI stuff Added window to display system specs, to make it easier to copy/paste to bugpage Added button to open the reports folder Added selection of first item in list box Added buttons to copy the OS, CPU, RAM and GPU info to the clipboard Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted June 23 Author Share Posted June 23 New release, 0.6.0 Added auto-populating of data fields in web page when called Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted June 25 Author Share Posted June 25 New release, 0.7.0 Added autofilling of title on webpage I have not been able to fill the description on the web page Quote Link to comment Share on other sites More sharing options...
NovaRaptorTV Posted July 14 Share Posted July 14 (edited) I am trying to generate a bug report using this, and it is not generating the zip file I need. The path I current have it set to is the following: zipFilePath=D:\SteamLibrary\steamapps\common\Kerbal Space Program 2\KSP2_BugPackager\KSP2_BugPackagerReports\KSP2_BugPackagerReports And here is the game directory path: pathToGameDirectory=D:\SteamLibrary\steamapps\common\Kerbal Space Program 2 6 minutes ago, NovaRaptorTV said: I am trying to generate a bug report using this, and it is not generating the zip file I need. The path I current have it set to is the following: zipFilePath=D:\SteamLibrary\steamapps\common\Kerbal Space Program 2\KSP2_BugPackager\KSP2_BugPackagerReports\KSP2_BugPackagerReports And here is the game directory path: pathToGameDirectory=D:\SteamLibrary\steamapps\common\Kerbal Space Program 2 tried reinstalling it, and it still doesn't work Edited July 14 by NovaRaptorTV Quote Link to comment Share on other sites More sharing options...
NovaRaptorTV Posted July 14 Share Posted July 14 28 minutes ago, NovaRaptorTV said: I am trying to generate a bug report using this, and it is not generating the zip file I need. The path I current have it set to is the following: zipFilePath=D:\SteamLibrary\steamapps\common\Kerbal Space Program 2\KSP2_BugPackager\KSP2_BugPackagerReports\KSP2_BugPackagerReports And here is the game directory path: pathToGameDirectory=D:\SteamLibrary\steamapps\common\Kerbal Space Program 2 tried reinstalling it, and it still doesn't work Please disregard previous post. This occurred when I put a '?' in the bug report title Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.