Skip to content

Commit

Permalink
Merge pull request mockingbirdnest#4081 from pleroy/Support
Browse files Browse the repository at this point in the history
Add a SUPPORT.md file
  • Loading branch information
pleroy authored Aug 27, 2024
2 parents 56c894f + 1c5ffc3 commit 891c969
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Principia.sln
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Documentation", "Documentat
documentation\Legendre.tex = documentation\Legendre.tex
documentation\ODEs and Runge-Kutta integrators.tex = documentation\ODEs and Runge-Kutta integrators.tex
documentation\Perspective hiding.tex = documentation\Perspective hiding.tex
README.md = README.md
documentation\Releasing.md = documentation\Releasing.md
documentation\Rotational Motion.tex = documentation\Rotational Motion.tex
documentation\semtex.sty = documentation\semtex.sty
documentation\Setup.md = documentation\Setup.md
SUPPORT.md = SUPPORT.md
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ksp_plugin_adapter_stub", "ksp_plugin_adapter_stub\ksp_plugin_adapter_stub.csproj", "{34D500D6-4197-4665-BFDC-594957137CD6}"
Expand Down
83 changes: 83 additions & 0 deletions SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Support

This page explains where/how to get help with Principia. Please read through the
following guidelines.

## Discord

Questions regarding the usage of Principia are best directed to the [Discord
channel for
Principia](https://discord.com/channels/319857228905447436/480397772248580098).
There are many knowledgeable users there who can help you with basic questions
and provide guidance on getting started with the mod. The Discord channel is
*not* suitable for reporting bugs, however; a post like "when I do X it crashes"
will likely not been seen by the developers, and therefore the underlying bug
won’t be fixed.

## GitHub Issues

GitHub Issues should be used for reporting bugs (either crashes or
misbehaviours) and requesting new features or improvements. GitHub is *not*
suitable for questions on how to use the mod ("how do I go to the Moon from Cape
Canaveral?", for instance). Please use Discord for those.

### Crashes

There are two kinds of crashes that may be caused by Principia: crashes of
Principia itself, or crashes of KSP or Unity.

When reporting a crash, please indicate whether the crash is reproducible.
There is no need to include reproduction steps.

#### Principia Crashes

These crashes may manifest themselves as a Windows dialog box (on Windows) or a
SIGABRT (on Linux). Or the game may just stop.

Go to `<KSP directory>\glog\Principia`, you should find a `FATAL` file with a
name that matches the time of the crash, for instance
`FATAL.20230920-223637.6656.log`. You should also find an `INFO` file created
shortly before that, for instance `INFO.20230920-223615.6656.log`. Take these
two files (one is not enough), and
[attach](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files)
them to the issue. (Don't try to extract "interesting" snippets from these
files, we need them in their entirety.)

#### KSP or Unity Crashes

If you don’t have a `FATAL` file, you probably had a crash KSP or Unity that
Principia did not detect (Principia can still be the culprit). Normally, you
should find a crash directory located in one the directories:
* Windows: either
`%USERPROFILE%\AppData\LocalLow\Squad\Kerbal Space Program\Crashes` or
`%USERPROFILE%\AppData\Local\Temp\Squad\Kerbal Space Program\Crashes`
* macOS: possibly `~/Library/Logs/Unity`?
* Linux: possibly `~/.config/unity3d/Squad/Kerbal Space Program`?

The crash directory has a name that starts with `Crash` and matches the time of
the crash, for instance `Crash_2024-08-22_143949780`.
[Attach](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files)
an archive (`zip`, `7z`, `rar`, etc.) of the entire contents of this folder to
the issue (there should be at least 3 files, named `crash.dmp`,
`error.log`, and `Player.log`). Also include the `<KSP directory>\KSP.log` and
the `INFO` file ([see above](#principia-crashes)) at the time of the crash.
(Don't try to extract "interesting" snippets from these files, we need them in
their entirety.)

### Unexpected Behaviour and Other Bugs

It is possible for the mod to not crash, but still behave in an unexpected
manner. When that happens, please provide reproduction steps, possibly
including screenshots or movies showing the behaviour that you think is faulty.
Note that these issues may be caused by interactions between mods that are hard
for us to reproduce, so if you can give us a scenario that works in the stock
game that’s preferable.

### New Features and Improvements

If asking for a new feature, please explain the problem you are trying to solve,
not what you think the solution should be (that’s known as the
[XY Problem](https://en.wikipedia.org/wiki/XY_problem)). Most users are not in
a position to evaluate the complexity of implementing a particular solution, so
if you suggest a change that would be extremely onerous to implement, it’s
likely to be rejected, even if a cheap change would solve 80% of the problem.

0 comments on commit 891c969

Please sign in to comment.