SHOCKWAVE XR for Magic Leap 2
Level 1 preview · Beta

The wireframe anti-grav racer in mixed reality: the track runs through your
room, drawn as glowing vector lines.

WHAT'S IN HERE

  shockwave.apk     the app
  files/            game data and music (shockwave.data + six .ogg tracks)
  install.sh        installer for macOS / Linux
  install.bat       installer for Windows

WHY IS THIS NOT ONE APK?

The app reads its game data and music from its own folder on the headset
(/sdcard/Android/data/com.rogerboesch.shockwave/files/), not from inside the
APK. That keeps the app small and lets the data and music change without a
new build. For this preview the files are copied over separately. Installing
only the APK gives you a game with nothing to load, so use the installer.

A single-APK version with everything bundled is planned.

YOU NEED

  - A Magic Leap 2 in developer mode, connected over USB-C
  - adb (Android platform-tools):
      https://developer.android.com/tools/releases/platform-tools
    macOS with Homebrew:  brew install android-platform-tools
  - The headset must be worn once to accept the USB debugging prompt

INSTALL

  macOS / Linux:  open a terminal in this folder and run
                    ./install.sh
  Windows:        double-click install.bat
                  (or run it from a command prompt in this folder)

The installer installs the APK, copies the data and music, and starts the game.

Manual install, if you prefer:

  adb install -r -g shockwave.apk
  adb shell mkdir -p /sdcard/Android/data/com.rogerboesch.shockwave/files
  adb push files/. /sdcard/Android/data/com.rogerboesch.shockwave/files/
  adb shell am start -n com.rogerboesch.shockwave/android.app.NativeActivity

CONTROLS

  Trigger   throttle, analogue: half a pull is half the power
  Roll      steering: tilt the controller left or right
  Bumper    air brakes
  Menu      recentre the track

UNINSTALL

  adb uninstall com.rogerboesch.shockwave

This is a beta. Feedback welcome: https://rogerboesch.games/shockwave-xr/

(c) Roger Boesch
