Skip to content

Commit f6e6f62

Browse files
author
arch
committed
add some OFS3 notes
1 parent cd9d1f1 commit f6e6f62

File tree

4 files changed

+24
-19
lines changed

4 files changed

+24
-19
lines changed

build_and_deploy.bat

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
REM script to build an deploy ofs extension
33
rmdir /Q /S "build" 2>NUL
44
rmdir /Q /S "dist/funscript-editor" 2>NUL
5-
rmdir /Q /S "%APPDATA%\\OFS\\OFS_data2\\extensions\\Funscript Generator Windows\\funscript-editor" 2>NUL
5+
rmdir /Q /S "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows\\funscript-editor" 2>NUL
66
del "dist\\funscript-editor.zip" 2>NUL
77
del funscript-editor.spec 2>NUL
8-
del "%APPDATA%\\OFS\\OFS_data2\\extensions\\Funscript Generator Windows\\main.lua" 2>NUL
9-
del "%APPDATA%\\OFS\\OFS_data2\\extensions\\Funscript Generator Windows\\json.lua" 2>NUL
10-
if not exist "%APPDATA%\\OFS\\OFS_data2\\extensions\\Funscript Generator Windows" mkdir "%APPDATA%\\OFS\\OFS_data2\\extensions\\Funscript Generator Windows"
8+
del "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows\\main.lua" 2>NUL
9+
del "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows\\json.lua" 2>NUL
10+
if not exist "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows" mkdir "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows"
1111
cd docs/app
1212
mkdocs build
1313
cd ../..
@@ -17,6 +17,6 @@ copy /Y "funscript_editor\\VERSION.txt" "dist\\funscript-editor\\funscript_edito
1717
md "dist\\funscript-editor\\OFS"
1818
copy /Y "contrib\\Installer\\assets\\main.lua" "dist\\funscript-editor\\OFS"
1919
copy /Y "contrib\\Installer\\assets\\json.lua" "dist\\funscript-editor\\OFS"
20-
move "dist\\funscript-editor" "%APPDATA%\\OFS\\OFS_data2\\extensions\\Funscript Generator Windows\\funscript-editor"
21-
copy /Y "contrib\\Installer\\assets\\main.lua" "%APPDATA%\\OFS\\OFS_data2\\extensions\\Funscript Generator Windows"
22-
copy /Y "contrib\\Installer\\assets\\json.lua" "%APPDATA%\\OFS\\OFS_data2\\extensions\\Funscript Generator Windows"
20+
move "dist\\funscript-editor" "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows\\funscript-editor"
21+
copy /Y "contrib\\Installer\\assets\\main.lua" "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows"
22+
copy /Y "contrib\\Installer\\assets\\json.lua" "%APPDATA%\\OFS\\OFS_data3\\extensions\\Funscript Generator Windows"

docs/app/docs/user-guide/build.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,7 @@ Path for extensions is `~/.local/share/OFS/OFS_data/extensions`
8989
### OFS 2.x.x
9090

9191
Path for extensions is `~/.local/share/OFS/OFS_data2/extensions`
92+
93+
### OFS 3.x.x
94+
95+
Path for extensions is `~/.local/share/OFS/OFS_data3/extensions`

docs/app/docs/user-guide/developer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Sometimes it is useful to test new functions and verify the correctness of chang
88

99
### Installation
1010

11-
There is no automated way to install the prereleases since they are indented for developer and technical experienced test users. To install the prerealese you have to extract the downloaded Prerelease to `%APPDATA%\OFS\OFS_data2\extensions\Funscript Generator Windows\funscript-editor`. Therefore first delete the `funscript-editor` folder in `%APPDATA%\OFS\OFS_data2\extensions\Funscript Generator Windows`. And create a new one with the content of the Prerelease. The preerelease now can be used as OFS extension. Note: For prereleases the version may be displayed incorrectly because there is no official release tag. To switch back to the latest official release delete the `funscript-editor` folder in `%APPDATA%\OFS\OFS_data2\extensions\Funscript Generator Windows` and run the `mtfg-ofs-extension-installer.exe` from [latest GitHub release](https://github.com/michael-mueller-git/Python-Funscript-Editor/releases/tag/latest).
11+
There is no automated way to install the prereleases since they are indented for developer and technical experienced test users. To install the prerealese you have to extract the downloaded Prerelease to `%APPDATA%\OFS\OFS_dataX\extensions\Funscript Generator Windows\funscript-editor`. Therefore first delete the `funscript-editor` folder in `%APPDATA%\OFS\OFS_dataX\extensions\Funscript Generator Windows`. And create a new one with the content of the Prerelease. The preerelease now can be used as OFS extension. Note: For prereleases the version may be displayed incorrectly because there is no official release tag. To switch back to the latest official release delete the `funscript-editor` folder in `%APPDATA%\OFS\OFS_dataX\extensions\Funscript Generator Windows` and run the `mtfg-ofs-extension-installer.exe` from [latest GitHub release](https://github.com/michael-mueller-git/Python-Funscript-Editor/releases/tag/latest).
1212

1313
## Development on Windows
1414

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

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Installation Windows (Easy)
44

5-
This method use an installer that check for the latest release on GitHub and automatically update the existing Motion Tracking Funscript Generator (MTFG) OFS Extension on your computer. If you want to make an clean install of the MTFG OFS Extension you can delete the existing folder `Funscript Generator Windows` in `%APPDATA%\OFS\OFS_data2\extensions` before running the installer.
5+
This method use an installer that check for the latest release on GitHub and automatically update the existing Motion Tracking Funscript Generator (MTFG) OFS Extension on your computer. If you want to make an clean install of the MTFG OFS Extension you can delete the existing folder `Funscript Generator Windows` in `%APPDATA%\OFS\OFS_dataX\extensions` (the `X` in `OFS_dataX` is an placeholder for your OFS Version) before running the installer.
66

77
**Installation:**
88

@@ -27,7 +27,7 @@ This method use an installer that check for the latest release on GitHub and aut
2727

2828
This section for technical interested people who want to understand the installation process. The source code of the installer is in the [`contrib/Installer`](https://github.com/michael-mueller-git/Python-Funscript-Editor/tree/main/contrib/Installer) directory of this repository. The installer perform the following Steps:
2929

30-
1. Check if the OFS Extension Directory `%APPDATA%\OFS\OFS_data2\extensions` exists.
30+
1. Check if the OFS Extension Directory `%APPDATA%\OFS\OFS_dataX\extensions` exists (the `X` in `OFS_dataX` is an placeholder for your OFS Version).
3131
2. Fetch the latest release Version from github rest api.
3232
3. Check if an (older) MTFG Version is already installed in the OFS Extension Directory: If we have already the latest version installed, we are done here
3333
4. The installer download the latest release version from github.
@@ -51,15 +51,16 @@ Manual Installation:
5151
<br> ![Install OFS](./images/ofs_installation_03.jpg)
5252
3. Start OFS at least once and close it again.
5353
<br> ![Start OFS](./images/ofs_installation_04.jpg)
54-
4. Download the application `funscript-editor_vx.x.x.zip` from https://github.com/michael-mueller-git/Python-Funscript-Editor/releases.
55-
5. Open your File Explorer and navigate to `%APPDATA%\OFS\OFS_data2\extensions`.
56-
6. Create an directory for the Extension with the name `Funscript Generator Windows`.
57-
7. Create an other directory inside the `Funscript Generator Windows` directory with the Name `funscript-editor`.
58-
8. Extract the Downloaded `funscript-editor_vx.x.x.zip` into `%APPDATA%\OFS\OFS_data2\extension\Funscript Generator Windows\funscript-editor`.
59-
9. Now check that the file `%APPDATA%\OFS\OFS_data2\extension\Funscript Generator Windows\funscript-editor\funscript-editor.exe` exists.
60-
10. Copy the content from `%APPDATA%\OFS\OFS_data\extension\Funscript Generator Windows\funscript-editor\OFS` to `%APPDATA%\OFS\OFS_data\extension\Funscript Generator Windows` and override existing files.
61-
11. Now check that the file `%APPDATA%\OFS\OFS_data2\extension\Funscript Generator Windows\main.lua` exists.
62-
12. Open OFS, activate the extension (3) and enable the window (4). Now you can use the extension at any position in the Video with the _Start MTFG_ Button (5). On slow computers, the program may take several seconds to start!. Before you press the _Start MTFG_ Button you have to open a video in OFS else you get only the Message Box "Video file was not specified!".
54+
4. Determine OFS extension directory in `%APPDATA%\OFS`. For OFS Version 3 the `OFS_EXTENSION_PATH` is `%APPDATA%\OFS\OFS_data3\extension`.
55+
5. Download the application `funscript-editor_vx.x.x.zip` from `https://github.com/michael-mueller-git/Python-Funscript-Editor/releases`.
56+
6. Open your File Explorer and navigate to `%OFS_EXTENSION_PATH%` (determined in step 4).
57+
7. Create an directory for the Extension with the name `Funscript Generator Windows`.
58+
8. Create an other directory inside the `Funscript Generator Windows` directory with the Name `funscript-editor`.
59+
9. Extract the Downloaded `funscript-editor_vx.x.x.zip` into `%OFS_EXTENSION_PATH%\Funscript Generator Windows\funscript-editor`.
60+
10. Now check that the file `%OFS_EXTENSION_PATH%\extension\Funscript Generator Windows\funscript-editor\funscript-editor.exe` exists.
61+
11. Copy the content from `%OFS_EXTENSION_PATH%\extension\Funscript Generator Windows\funscript-editor\OFS` to `%OFS_EXTENSION_PATH%\Funscript Generator Windows` and override existing files.
62+
12. Now check that the file `%OFS_EXTENSION_PATH%\Funscript Generator Windows\main.lua` exists.
63+
13. Open OFS, activate the extension (3) and enable the window (4). Now you can use the extension at any position in the Video with the _Start MTFG_ Button (5). On slow computers, the program may take several seconds to start!. Before you press the _Start MTFG_ Button you have to open a video in OFS else you get only the Message Box "Video file was not specified!".
6364
<br> ![Activate MTFG Extension](./images/ofs_extension_03.jpg)
6465

6566
<br>

0 commit comments

Comments
 (0)