Skip to content

Commit 665e9fa

Browse files
author
arch
committed
improve troubleshot section for ofs integration
1 parent 0f1b340 commit 665e9fa

File tree

6 files changed

+13
-4
lines changed

6 files changed

+13
-4
lines changed

docs/app/docs/user-guide/ofs-integration.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,22 @@ Currently we use a hacky lua script to communicate between the Python Funscript
1919

2020
## Troubleshot
2121

22+
If you have problems with the OFS integration setup first test if the app work in standalone mode by starting the `funscript-editor.exe`. This allows the source of the error to be narrowed down more quickly!
23+
24+
If the standalone application works, look for your problem in the issues listed below. If the standalone application not work or your issue was not solved by a point listed below, open an issue with a detailed problem description and the full terminal window output if available.
25+
2226
### After setting the min and max value after tracking no points are inserted in OFS
2327

24-
If the points are missing in OFS then most likely the variable `Settings.TmpFile` in the `funscript_generator.lua` script is set incorrectly.
28+
If the points are missing in OFS then most likely the variable `Settings.TmpFile` in the `funscript_generator.lua` script is set incorrectly or the generator crashes. A crash could happen if your PC does not have enough memory. The amount of memory required depends heavily on the video resolution!
2529

2630
### Noting happens when i press the Shortcut for the Funscript Generator
2731

2832
In most cases, the variable `Settings.FunscriptGenerator` in the `funscript_generator.lua` script was not set correctly.
2933

3034
If you are using an older version of the `funscript_generator.lua` you should download the latest version of the script from the [github release page](https://github.com/michael-mueller-git/Python-Funscript-Editor/releases). With older `funscript_generator.lua` scripts there were e.g. problems with blanks in the path.
3135

36+
**Important:** You have to use use `/` or `\\` for the `\` symbols in your path!
37+
3238
### When calling the generator, only a message box is displayed with the message: "Video file was not specified!"
3339

3440
In some cases OFS does not set the path to the video file within the lua script correctly (the variable `VideoFilePath` is empty). Mostly it helps to save the current project and/or create a new project. Then the variable should be set by OFS and the generator should work.

docs/app/site/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,5 +204,5 @@ <h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>
204204

205205
<!--
206206
MkDocs version : 1.1.2
207-
Build Date UTC : 2021-06-27 07:47:45.353935+00:00
207+
Build Date UTC : 2021-06-27 07:58:17.009150+00:00
208208
-->

docs/app/site/search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/app/site/sitemap.xml.gz

0 Bytes
Binary file not shown.

docs/app/site/user-guide/ofs-integration/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,14 @@ <h2 id="installation-windows">Installation (Windows)</h2>
132132
<li>Now you can use the shortcut at any position in the video to start the funscript generator.</li>
133133
</ol>
134134
<h2 id="troubleshot">Troubleshot</h2>
135+
<p>If you have problems with the OFS integration setup first test if the app work in standalone mode by starting the <code>funscript-editor.exe</code>. This allows the source of the error to be narrowed down more quickly!</p>
136+
<p>If the standalone application works, look for your problem in the issues listed below. If the standalone application not work or your issue was not solved by a point listed below, open an issue with a detailed problem description and the full terminal window output if available.</p>
135137
<h3 id="after-setting-the-min-and-max-value-after-tracking-no-points-are-inserted-in-ofs">After setting the min and max value after tracking no points are inserted in OFS</h3>
136-
<p>If the points are missing in OFS then most likely the variable <code>Settings.TmpFile</code> in the <code>funscript_generator.lua</code> script is set incorrectly.</p>
138+
<p>If the points are missing in OFS then most likely the variable <code>Settings.TmpFile</code> in the <code>funscript_generator.lua</code> script is set incorrectly or the generator crashes. A crash could happen if your PC does not have enough memory. The amount of memory required depends heavily on the video resolution!</p>
137139
<h3 id="noting-happens-when-i-press-the-shortcut-for-the-funscript-generator">Noting happens when i press the Shortcut for the Funscript Generator</h3>
138140
<p>In most cases, the variable <code>Settings.FunscriptGenerator</code> in the <code>funscript_generator.lua</code> script was not set correctly.</p>
139141
<p>If you are using an older version of the <code>funscript_generator.lua</code> you should download the latest version of the script from the <a href="https://github.com/michael-mueller-git/Python-Funscript-Editor/releases">github release page</a>. With older <code>funscript_generator.lua</code> scripts there were e.g. problems with blanks in the path.</p>
142+
<p><strong>Important:</strong> You have to use use <code>/</code> or <code>\\</code> for the <code>\</code> symbols in your path!</p>
140143
<h3 id="when-calling-the-generator-only-a-message-box-is-displayed-with-the-message-video-file-was-not-specified">When calling the generator, only a message box is displayed with the message: "Video file was not specified!"</h3>
141144
<p>In some cases OFS does not set the path to the video file within the lua script correctly (the variable <code>VideoFilePath</code> is empty). Mostly it helps to save the current project and/or create a new project. Then the variable should be set by OFS and the generator should work.</p>
142145
<h3 id="tracking-stops-automatically">Tracking stops automatically</h3>
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)