Skip to content

Version Incompatibility

TeraProxy edited this page Jun 16, 2018 · 8 revisions

Introduction

To use your mouse input in the Dressing Room, Cosplayer is using a c++ dependency called "win-mouse" which has to be compiled for your system. The two important aspects here are your operating system's architecture and the modules version of your Node.JS installation. Cosplayer is by default compiled for Node.JS 10 on an x64 architecture.

If Cosplayer sends you a warning about a compatibility problem, here is what you can do to resolve it:

Node.JS 9 is not compatible with Cosplayer by default

You are most likely using PinkiePie's proxy. You have two options to resolve this.

  1. Use Caali's tera-proxy instead which uses Node.JS 10 (https://nodejs.org/dist/v10.4.1/node-v10.4.1-x64.msi) and has great other features like auto-updating: https://discord.gg/maqBmJV or
  2. Navigate to the folder "[tera-proxy]\bin\node_modules\Cosplayer\node_modules\win-mouse\bin\59", copy and paste the "addon.node" file to "[tera-proxy]\bin\node_modules\Cosplayer\node_modules\win-mouse\build\Release" and overwrite the old file

32-bit Node.JS is not compatible with Cosplayer

Uh-oh! There's no precompiled file available for your specific system. Don't worry though, there's still a way to make this work!

  1. Delete the "[tera-proxy]\bin\node_modules\Cosplayer\node_modules" folder
  2. Open a command prompt, navigate to the Cosplayer folder and then type "npm install win-mouse"
  3. You can delete the "[tera-proxy]\bin\node_modules\Cosplayer\node_modules\nan" folder afterwards (because it's already present in the main node_modules folder of tera-proxy)

Your current Node.JS is not compatible with Cosplayer

It is highly likely that you are using Electron to start up your tera-proxy (e.g. when you used Arborean Apparel before). Electron uses a very old Node.JS version and stopping to use it is a good idea.

  1. Make sure you are not starting your proxy with "ElectronStart.bat"
  2. If you are not using Electron anymore, you might want to delete the "[tera-proxy]\node_modules\electron" folder
  3. If you still get this error afterwards, make sure you install Node.JS 10 (https://nodejs.org/dist/v10.4.1/node-v10.4.1-x64.msi)

Clone this wiki locally