An app launcher for Quest implemented in Unity.
- Supports launching both 3D and 2D apps
- Auto-categorizes apps as Quest, Go / GearVR or 2D
- Support for custom categorization
- Support for custom app icons and names (by default, uses app name and icon from the app's apk)
- Support for resizable grid
- Support for downloading app icons and names, including auto-updating
- Support for sorting alphabetically or by most recently used
- Support for renaming apps
- Support for custom 360/cubemap 3D backgrounds
- Supports both Oculus Quest and Go devices
There are various options available in Settings. These are:
- Automatic Tabs: By default, the launcher will display automatic tabs (Quest, Go/GrearVr and 2D). This setting allows you to specify the position of these tabs (left, top, right or off).
- Custom Tabs: Custom tabs allow for arbitrary categorization (like genre etc). See below for how to configure these. This setting, like the above, allows you to specify the position of these tabs (left, top, right or off).
- Sort By: Whether to sort alphabetically or most recent.
- Show 2D: Whether to show 2D apps.
- Grid Size: How many columns & rows to display.
- Background: Pick a custom 3D background (see below).
- Auto Update & Update Now: Whether to auto-update app icons & names and whether to update these now -- see above.
- Reset Hidden Apps: This setting un-hides any hidden apps. See below regarding hiding apps.
- Reset Renamed Apps: This setting changes app names back to their default. See below regarding renaming apps.
By default, the launcher uses the built-in app name and icon (from the installed apps). Oculus Store apps, however, sometimes do not contain correct names or icons. To address this, download these assets by going to Settings and choosing "Update Now". If "Auto-Update" is enabled, this will automatically download new app names and icons as they become available.
Note: Auto-update is enabled by default.
Note: Default repository for app icons and names is [https://github.com/tverona1/QuestAppLauncher_assets]. This can be configured in config.json (see below).
Custom 3D background images are supported. Both equirectangular (360 degree) and cubemap (6-side) images are supported. This is automatically detected based on aspect ratio (with cubemap having a 6:1 aspect ratio).
To set up custom 3D backgrounds:
- Copy your background images (either jpg or png) to the following location on your Quest: Android/data/aaa.QuestAppLauncher.App/files/backgrounds
- In "Settings", select the custom background.
For equirectangular (360 degree) images, here's a good source for free images: http://photopin.com/free-photos/equirectangular
For cubemap (6-sides) images, it must be a single image that represents the 6-sided cube with the following horizontal layout:
[ +x ] [ -x ] [ +y ] [ -y ] [ +z ] [ -z ]
Here's a good source for free cubemap images: http://humus.name/index.php?page=Textures
To set up the cubemap image, download an image (zip) file from the above site and extract the 6 individual images. Then use ImageMagick (https://imagemagick.org) to stitch together the six images into a single image with the following command:
magick montage posx.jpg negx.jpg posy.jpg negy.jpg posz.jpg negz.jpg -tile 6x1 -geometry "1x1+0+0<" -background none out.jpg
If there is an app that you would like to hide, highlight the app and press either the B or Y button on your controller. You can reset any hidden apps in Settings.
To rename an app (i.e. to pick a different app name / icon for it), highlight the app and press either A or X on the controller. This will show a list of apps from you can choose an alternate app name / icon. You can reset these changes back to default in Settings.
Note: It is recommended that you download the app names / icon packs first (see above) in order to populate a full list of app to choose from.
The below sections described ways to manually configure the launcher. This is intended for advanced users only and is typically not necessary, as everything is supported via the Settings UI within the app.
It is possible to manually configure app icons and names rather than automatically downloading them. This section describes how.
Create a file called appnames.json. Add an entry with package-id as key and the desired name. Example:
"com.company.myapp":{"name": "My Application"}
"com.othercompany.myapp":{"name": "Other Application"}
Copy this file (appnames.json) to the following location on your Quest: Android/data/aaa.QuestAppLauncher.App/files
Note: Multiple appnames*.json files are supported. If multiple files are present, they are applied in sorted order of the filenames. This allows for a single "master" appnames.json file and then additional files to override it (like appnames_custom.json).
Note: Text format is also supported. See below.
This section describes the syntax for appnames.json. The syntax for these entries are as follows:
"com.mycompany.myapp":{"name": "My Application"}
The launcher supports custom categories (tabs). This can be specified in the appnames.json file by adding up to two custom categories per entry. The syntax is:
"com.mycompany.myapp":{"name": "My Application", "category": "Action", "category2" : "Puzzle"}
The above example will categorize the two entries below in Action and Puzzle tabs:
Alternatively, txt format is also supported for appnames instead of json. The syntax is:
packageName,appName[,category1[, category2]]
Comments can be added to appnames.txt by prepending "#".
Create an iconpack.zip file that contains a jpg file per app with the package-id as the filename. Example:
com.mycompany.myapp.jpg
com.thirdcompany.yetanotherapp.jpg
Copy the iconpack.zip to the following location on your Quest: Android/data/aaa.QuestAppLauncher.App/files
Note: Multiple iconpack*.zip files are supported. If multiple files are present, they are applied in sorted order of the filenames. This allows for a single "master" iconpack.zip file and then additional files to override it (like iconpack_custom.zip).
Note: Individual jpg files are also supported at the /Android/data/aaa.QuestAppLauncher.app/files path. These override any corresponding jpgs in iconpack*.zip files.
The launcher can be customized by creating a config.json file and copying it to the following location on your Quest: Android/data/aaa.QuestAppLauncher.App/files. Note: These configuration options are accessible via the Settings UI, so typically you would not need to manually configure this file.
Here's an example config.json:
{
"gridSize": {
"rows": 3,
"cols": 4
},
"sortMode": "mostRecent",
"show2D": true,
"autoCategory": "top",
"customCategory": "right"
"autoUpdate": true,
"background": "backgrounds/my_background_360.jpg",
"downloadRepos": [
{
"repoUri": "tverona1/QuestAppLauncher_Assets/releases/latest",
"type": "github"
}
]
}
The default grid size is 3x3 cells. The grid size can be customized by specifying grid rows and columns as in the following example:
{
"gridSize": {
"rows": 2,
"cols": 4
}
}
Whether to sort apps alphabetically or by most recently used. Key is "sortMode" and valid values are "az" (default) or "mostRecent".
To show or hide 2D apps, set the "show2D" field to true (default) or false.
By default, the launcher will display automatic tabs (Quest, Go/GrearVr and 2D) and any custom tabs specified in appnames.txt file. These can be overridden with two fields - "autoCategory" and "customCategory". Both fields support the following values:
"off": No not display the categories
"top": Display categories on top
"left": Display categories on left-side
"right": Display categories on right-side
To enable automatic updating of new app icons and names, set autoUpdate to true. downloadRepos lists the repos from which to download. FOr now, we only support github repos.
The "background" field specifies a relative path to use as a custom 3D background. See earlier section on custom backgrounds.
- Assets/Scenes/QuestAppLauncher.unity: The main scene
- Assets/Plugins/Android: Android-specific implementation to retrieve installed apps etc, written in Java
- Assets/Scripts: Main set of C# scripts for grid population, scroll handling etc.
A huge thank you to fecheva [https://github.com/fecheva] for creating / maintaining the app names & icon packs!
Also thank you to noxx for creating the app's icon!