Code Monkey home page Code Monkey logo

aseprite-rich-presence's Introduction

Aseprite Rich Presence

A simple to use Discord RPC application for Aseprite.

Requirements

  • Node v12.x.x - Download
  • NPM - Included with Node.
  • Windows Build Tools - check Setup.

Setup

  • Pull the repository contents, or download the repository ZIP and extract the contents.
  • In the console, type npm install --global windows-build-tools, this is required. Windows only.
  • After that is done, type npm install, this will install all of the needed packages.
  • Type node index.js and enter your Aseprite.exe path, to run the rich presence.

Alternative Setup - Windows only

  • Run windows-build-tools-install.bat.
  • When the installation is done, run npm-install.bat, this installs all needed packages.
  • Run start.bat and enter your Aseprite.exe path.
  • After everything is installed and configured, you don't need to install it anymore. Every time you need to run the rich presence, open start.bat.

Supported File Extensions

  • ASE/ASEPRITE,
  • JPG/JPEG,
  • PNG,
  • GIF,
  • Other extensions will be shown as image.

Note

  • Please note that only the currently open file name and extension will be shown on the presence.
  • If you see an Error: RPC_CONNECTION_TIMEOUT error, close the presence window, and open it again after 5 minutes.
  • To change your Aseprite.exe file path, open config.json in your favorite file editor, and change the path value to your new path.

How to get the Aseprite.exe path - Windows only

  • Right click on the Aseprite shortcut, and click Open file location. Aseprite Right Click
  • Copy the path in File Explorer, and add \Aseprite.exe to it. Copy File Path

License

  • This repository has been licensed by the MIT license: here.

aseprite-rich-presence's People

Contributors

ibrahimcaj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hamza-rafi

aseprite-rich-presence's Issues

Aseprite RPC Not working

Hey! I know this is an old repo but I just wanted to have that sort of RPC you guys made instead of the plain one that's in aseprite by default
I may just be doing something wrong here but I've really tried everything
Command: "node index.js"

internal/modules/cjs/loader.js:1109
    throw err;
    ^

SyntaxError: D:\games\Aseprite.v1.2.21\RPC\aseprite-rich-presence-master\config.json: Unexpected token g in JSON at position 18
    at parse (<anonymous>)
←[90m    at Object.Module._extensions..json (internal/modules/cjs/loader.js:1106:22)←[39m
←[90m    at Module.load (internal/modules/cjs/loader.js:928:32)←[39m
←[90m    at Function.Module._load (internal/modules/cjs/loader.js:769:14)←[39m
←[90m    at Module.require (internal/modules/cjs/loader.js:952:19)←[39m
←[90m    at require (internal/modules/cjs/helpers.js:88:18)←[39m
    at Object.<anonymous> (D:\games\Aseprite.v1.2.21\RPC\aseprite-rich-presence-master\path.js:4:16)
←[90m    at Module._compile (internal/modules/cjs/loader.js:1063:30)←[39m
←[90m    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)←[39m
←[90m    at Module.load (internal/modules/cjs/loader.js:928:32)←[39m

I'm not the best at js so I barely understand any of this, any amount of help would be huge
Thanks

no rich presence on linux

i'm running this on fedora 32, x64, kernel 5.9.11-100.fc32.x86_64

i went through the install instructions, set the path in the config file, generated a client id, and ran the node app. everything opens and runs fine, but discord doesn't actually show any rich presence; it's no different from running aseprite normally

$ aseprite --version
Aseprite 1.x-dev

built from the aseprite master branch, commit c0ac9208ff281c567a22f18d8312915f01337d1d

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.