All Projects → mob-sakai → unity-activate

mob-sakai / unity-activate

Licence: MIT License
A tool to activate Unity license.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to unity-activate

react-change-highlight
✨ a react component to highlight changes constantly ⚡️
Stars: ✭ 79 (+172.41%)
Mutual labels:  npm-package
XToolset
Typed import, and export XLSX spreadsheet to JS / TS. Template-based create, render, and export data into excel files.
Stars: ✭ 110 (+279.31%)
Mutual labels:  npm-package
beginner-windows-npm-gulp-webdev-tutorial
Beginner guide for users on web development with node.js/npm + gulp terminal commands. You'll learn how to use other terminal commands like git, gulp, bower, yarn, and more!
Stars: ✭ 40 (+37.93%)
Mutual labels:  npm-package
babel-plugin-source-map-support
A Babel plugin which automatically makes stack traces source-map aware
Stars: ✭ 41 (+41.38%)
Mutual labels:  npm-package
spiderable-middleware
🤖 Prerendering for JavaScript powered websites. Great solution for PWAs (Progressive Web Apps), SPAs (Single Page Applications), and other websites based on top of front-end JavaScript frameworks
Stars: ✭ 29 (+0%)
Mutual labels:  npm-package
tinder-client
❤️ NodeJS Tinder Client
Stars: ✭ 50 (+72.41%)
Mutual labels:  npm-package
awesome-open-source-licensing
Cool links, tools & papers related to Open Source Licensing
Stars: ✭ 17 (-41.38%)
Mutual labels:  license-management
js-types
List of JavaScript types
Stars: ✭ 74 (+155.17%)
Mutual labels:  npm-package
secure-env
Env encryption tool that will help you prevent attacks from npm-malicious-packages.
Stars: ✭ 53 (+82.76%)
Mutual labels:  npm-package
midtrans-node
Unoffficial Midtrans Payment API Client for Node JS | Alternative for Midtrans Official Module | https://midtrans.com
Stars: ✭ 15 (-48.28%)
Mutual labels:  npm-package
Dynamic-Web-TWAIN
Dynamic Web TWAIN for package managers
Stars: ✭ 35 (+20.69%)
Mutual labels:  npm-package
vogels-promisified
DynamoDB library Vogels promisified
Stars: ✭ 19 (-34.48%)
Mutual labels:  npm-package
angular-environment
AngularJS Environment Plugin
Stars: ✭ 78 (+168.97%)
Mutual labels:  npm-package
php-legal-licenses
A utility to help generate a file containing information about dependencies including the full license text.
Stars: ✭ 62 (+113.79%)
Mutual labels:  license-management
ngx-interactive-paycard
Interactive Angular payment card library.
Stars: ✭ 71 (+144.83%)
Mutual labels:  npm-package
awesome-starless
A curated list of awesome repositories with few stargazers but has a huge users.
Stars: ✭ 38 (+31.03%)
Mutual labels:  npm-package
komit
An interactive prompt for conventional commit messages that doesn't get in your way. Designed to run as a git hook.
Stars: ✭ 29 (+0%)
Mutual labels:  npm-package
wakatime-client
🖥 JavaScript Client for https://wakatime.com/developers
Stars: ✭ 29 (+0%)
Mutual labels:  npm-package
notifyme
react-notification-timeline is a react based component helps in managing the notification in time-based manner.
Stars: ✭ 94 (+224.14%)
Mutual labels:  npm-package
unique-names-generator
Generate unique and memorable name strings
Stars: ✭ 356 (+1127.59%)
Mutual labels:  npm-package

unity-activate

A tool to automate the manual activation of unity license using puppeteer.

Inspired by https://github.com/MizoTake/unity-license-activate (@MizoTake).

npm license downloads release semantic-release





Usage as a node module:

npm install unity-activate
const { ActivatorOptions, Activator } = require('unity-activate');

(async () => {
    new Activator({
        file :'input.alf',
        username :'username',
        password :'password',
        authKey :'authenticator_key',
        serial :'serial_code',
        out :'output_dir',
      }).run();
})();





Usage as a command-line utility:

# Installation:
npm install -g unity-activate
Usage:
  $ unity-activate [opts] <*.alf>

Activate Unity activation license file (Unity_v***.alf or Unity_lic.alf)
NOTE: If two-factor authentication is enabled, the verify code will be requested.

Options:
  -o, --out <dir>              Output ulf file to the specified directory (default: .)
  -u, --username <username>    Username (email) to login Unity (default: $UNITY_USERNAME)
  -p, --password <password>    Password to login Unity (default: $UNITY_PASSWORD)
  -k, --key <key>              The authenticator key to login (default: $UNITY_KEY).
  -s, --serial <serial>        Serial key to activate (default: $UNITY_SERIAL). If empty, activate as personal license.
NOTE: Unity Personal Edition is not available to companies or organizations that earned more than USD100,000 in the previous fiscal year.
 
  -d, --debug                  Run "headful" puppeteer (default: false)
  -h, --help                   Display this message 
  -v, --version                Display version number



Step 1: Get a license request file

Create a license activation file and import license file by command.

# On Windows:
$ "C:\Program Files\Unity\Editor\Unity.exe" -batchmode -createManualActivationFile

# On macOS:
$ /Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -createManualActivationFile

Or, with UnityHub (Settings > License Management > MANUAL ACTIVATION > SAVE LICENSE REQUEST).



Step 2: Request a license (*.ulf)

Run unity-activate to download the *.ulf file.

# For personal license (with interaction):
$ unity-activate ***.alf
$   > enter the username and password
$ username: [email protected]
$ password: *****
...

# For personal license:
$ unity-activate --username [email protected] --password your_password ***.alf

# For professional license (with --serial option):
$ unity-activate --username [email protected] --password your_password --serial your_serial_code ***.alf

# Use environment variables instead of options:
$ export [email protected]
$ export UNITY_PASSWORD=your_password
$ export UNITY_SERIAL=your_serial_code # If empty, activate as personal license.
$ unity-activate ***.alf



Step 3: Activate your license

Now that you have your license file, you can activate your Unity account by command.

# On Windows:
$ "C:\Program Files\Unity\Editor\Unity.exe" -batchmode -manualLicenseFile ***.ulf

# On macOS:
$ /Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -manualLicenseFile ***.ulf

Or, with UnityHub.



Option: Activate with authenticator key

Signing in to Unity requires authentication via email or a authenticator app (eg. Google Authenticator). You can use an authenticator key instead of those.

$ unity-activate --username [email protected] --password your_password --key your_authenticator_key ***.alf

How to obtain authenticator key

  • Login to Unity account and activate new two factor authentication.
    Go to https://id.unity.com/en/settings/tfa/new and click Start setup
  • Select Authenticator App and click Next
  • Click Can't scan the barcode?.
    Find and save the authenticator key
  • Verify activation with Google Authenticator. You can also verify using a QR code





Contributing

Issues

Issues are very valuable to this project.

  • Ideas are a valuable source of contributions others can make
  • Problems show where this project is lacking
  • With a question you show where contributors can improve the user experience

Pull Requests

Pull requests are, a great way to get your ideas into this repository.

Support

This is an open source project that I am developing in my spare time.
If you like it, please support me.
With your support, I can spend more time on development. :)





License

  • MIT

Author

See Also

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].