Skip to content

Commit

Permalink
Houdini 19.5 and python 3.9 update
Browse files Browse the repository at this point in the history
  • Loading branch information
instance-id committed Jul 24, 2022
1 parent 6aa6d9c commit ef3bc0d
Show file tree
Hide file tree
Showing 190 changed files with 31,742 additions and 27 deletions.
71 changes: 45 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,32 @@
### Currently only *fully* working on Windows and Linux. If there is interest in a working Mac version, let me know.

#### [Installation](#install) | [Compatability Details](#notes)

---

Thanks for checking out Searcher. Below are the instructions to get you up and running.

## Help Docs

https://help.instance.id/searcher/

## Note for Houdini 18.5+
SideFX has only included SQLite v 3.31.0 with H18.5 and their support has told me they have no plans to upgrade it to 3.33.0 (which has FTS5 enabled (Full-Text Search), which is needed by Searcher). Because of this, an extra step is required to install/use Searcher with Houdini 18.5+ until/unless they decide to include SQLite 3.33.0 instead of 3.31.0.
---

## Change Log:

### v0.1.3

Added Houdini v19.5 compatibility

---

## Note for Houdini 18.5-19.5 (Windows)

SideFX has only included SQLite v 3.31.0 with H18.5+ and their support has told me they have no plans to upgrade it to 3.33.0 (which has FTS5 enabled (Full-Text Search), which is needed by Searcher). Because of this, an extra step is required to install/use Searcher with Houdini 18.5+ until/unless they decide to include SQLite 3.33.0 instead of 3.31.0.

Download:
Windows x64: [SQLite v3.33.0](https://www.sqlite.org/2020/sqlite-dll-win64-x64-3330000.zip)

- Extract the downloaded sqlite-dll-win64-x64-3330000.zip file, then in another window browse to your Houdini installation directory: aka `$HFS/bin`.
By default this is located at: `C:\Program Files\SideFX\Houdini19.0.xxx\bin`
- In the Houdini $HFS/bin folder, locate the `sqlite3.dll` file and either make a backup copy to save elsewhere (just in case), or simply rename it to `sqlite3.dll.bak`
Expand All @@ -33,37 +48,42 @@ Linux: [SQLite v3.33.0](https://www.sqlite.org/2020/sqlite-tools-linux-x86-33300
MacOS: [SQLite v3.33.0](https://www.sqlite.org/2020/sqlite-tools-osx-x86-3330000.zip)

---

#### Install

1. Extract/unzip 'Searcher_\<version>.zip'. (ex. Searcher_{#version}.zip) Inside will be a packages and Searcher folder as well as a README.md and a url link to this page.
```
Searcher_{#version}.zip /
Searcher_{#version}/__ /packages/
|_ /Searcher/
|__ README.md
|__ Searcher_install_instructions.url

```
Searcher_{#version}.zip /
Searcher_{#version}/__ /packages/
|_ /Searcher/
|__ README.md
|__ Searcher_install_instructions.url
```

2. Move the Searcher folder somewhere permanent. It can be placed where ever you would like. Make note of the folder path, as it will be needed in a later step. Examples below:

| OS | Path (replace \<user> with your actual username) |
| -------------------------------------------- | ------------------------------------------------- |
| <i class="fa fa-windows fa-1x"></i> Windows: | C:\Users\\\<user>\houdini_addons\Searcher |
| <i class="fa fa-linux fa-1x"></i> Linux: | /home/\<user>/houdini_addons/Searcher |
| <i class="fa fa-apple fa-1x"></i> MacOS: | /Users/\<user>/Library/h_addons/Searcher |
| OS | Path (replace \<user> with your actual username) |
| -------------------------------------------- | ------------------------------------------------- |
| <i class="fa fa-windows fa-1x"></i> Windows: | C:\Users\\\<user>\houdini_addons\Searcher |
| <i class="fa fa-linux fa-1x"></i> Linux: | /home/\<user>/houdini_addons/Searcher |
| <i class="fa fa-apple fa-1x"></i> MacOS: | /Users/\<user>/Library/h_addons/Searcher |

3. Move the 'packages' folder into your Houdini $HOME directory. The locations are seen below:
| OS | Path (replace \<user> with your actual username) |
| -------------------------------------------- | ---------------------------------------------------------------------- |
| <i class="fa fa-windows fa-1x"></i> Windows: | C:\Users\\\<user>\Documents\houdini18.0\packages\Searcher.json |
| <i class="fa fa-linux fa-1x"></i> Linux: | /home/\<user>/houdini18.0/packages/Searcher.json |
| <i class="fa fa-apple fa-1x"></i> MacOS: | /Users/\<user>/Library/Preferences/houdini/18.0/packages/Searcher.json |

| OS | Path (replace \<user> with your actual username) |
| -------------------------------------------- | ---------------------------------------------------------------------- |
| <i class="fa fa-windows fa-1x"></i> Windows: | C:\Users\\\<user>\Documents\houdini18.0\packages\Searcher.json |
| <i class="fa fa-linux fa-1x"></i> Linux: | /home/\<user>/houdini18.0/packages/Searcher.json |
| <i class="fa fa-apple fa-1x"></i> MacOS: | /Users/\<user>/Library/Preferences/houdini/18.0/packages/Searcher.json |

4. Within the 'packages' folder is the Searcher.json file. Open this file in your editor of choice and edit line #27. Within the second set of quotation marks input the path to the Searcher folder from step #2. On Windows, replace the backslashes (\\) in the path with a forwardslashs (/)
Ex. If using Windows and following the example listed above, line 27 would look like this:
```
"SEARCHERLOCATION": "C:/Users/<user>/houdini_addons/Searcher",
```
Ex. If using Windows and following the example listed above, line 27 would look like this:

```
"SEARCHERLOCATION": "C:/Users/<user>/houdini_addons/Searcher",
```

5. Save the file and start Houdini. On the main shelf toolbar add the Searcher shelf by clicking on the plus(+) button, then the Shelves tab, followed by selecting "Searcher Shelf" seen in the images below:
![](https://i.imgur.com/GzdyUYt.png)
![](https://i.imgur.com/F4C5MOx.png)
Expand All @@ -80,12 +100,11 @@ Ex. If using Windows and following the example listed above, line 27 would look
| ![](https://i.imgur.com/h9Nefqz.png) Houdini: | Version: 18.0.348 and up |

##### Tested versions

| OS | Versions Tested |
| ---------- | -------------------------------------- |
| ⊞ Windows: | Windows 10 Pro v10.0.19041.264 (v2004) |
| 🐧 Linux: | Pop_OS! (Ubuntu) 19.04/19.10/20.04 |
| 🍎 MacOS: | Possibly coming soon, if requested |


| 🐧 Linux: | Pop_OS! (Ubuntu) 19.04/19.10/20.04 |
| 🍎 MacOS: | Possibly coming soon, if requested |

<i class="fa fa-firefox fa-1x"></i> [website](https://instance.id/) | <i class="fa fa-twitter fa-1x"></i> [twitter](https://twitter.com/instance_id) | <i class="fa fa-github fa-1x"> </i> [github](https://github.com/instance-id) | <i class="fa fa-bug fa-1x"></i> [issues](https://github.com/instance-id/searcher_addon/issues?q=) | <i class="fa fa-at fa-1x"></i> [email](https://github.com/instance-id/searcher_addon/issues?q=)
4 changes: 3 additions & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,18 @@ if ($Version) {
$date = Get-Date -Format 'yyyy-MM-dd_HH-mm-ss'
$exclude = '--exclude-from=build/exclude.excl'
$include = '--include-from=build/include.incl'
$config = '--config=C:/Users/mosthated/.backup/rclone.conf'
$cmd = ''
$source1 = ''
$destination1 = ''

if ($IsWindows) {
$config = '--config=C:/Users/mosthated/.backup/rclone.conf'
$cmd = 'C:\files\rclone\rclone.exe'
$source1 = 'E:\GitHub\Searcher\'
$destination1 = 'E:\Searcher'
$log1 = "--log-file=C:\files\rclone\logs\Searcher_Build_$date.log"
} elseif ($IsLinux) {
$config = '--config=/home/mosthated/.config/rclone/rclone.conf'
$cmd = 'rclone'
$source1 = '/mnt/x/GitHub/instance-id/1_Projects/Searcher'
$destination1 = '/mnt/x/_dev/Searcher'
Expand Down Expand Up @@ -71,6 +72,7 @@ if ($Version) {
Move-Item -Path $destination1\help -Destination $folderVer\$searcher\help
Move-Item -Path $destination1\python2.7libs -Destination $folderVer\$searcher\python2.7libs
Move-Item -Path $destination1\python3.7libs -Destination $folderVer\$searcher\python3.7libs
Move-Item -Path $destination1\python3.9libs -Destination $folderVer\$searcher\python3.9libs
Move-Item -Path $destination1\toolbar -Destination $folderVer\$searcher\toolbar

$listfiles = Get-ChildItem $folderVer -Recurse -File -Include '*.md', '*.txt'
Expand Down
Loading

0 comments on commit ef3bc0d

Please sign in to comment.