Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

Latest commit

 

History

History
187 lines (119 loc) · 5.84 KB

PimpMyClient.md

File metadata and controls

187 lines (119 loc) · 5.84 KB

How to juice up your Discord Client

Installation method has been primarily made keeping Windows in mind but if you use any other OS, usually replacing the file path works

Discord Installation Folders:

Windows - /%LOCALAPPDATA%/discord/app-1.0.xx

Linux - /usr/share/discord

Mac - /Library/Application Support/Discord

https://savelocation.net/discord for more info.

Step 1

A good base client. There is no elaboration. Only one choice, Kernel.

How install?????

You will need a recent node.js version, with pnpm installed, regardless of the way you install Kernel. To do that, after installing node.js open a terminal and run:

npm i -g pnpm

Recommended Method

Windows

  • Download the latest Kernel-Windows.exe.

  • Make a folder "kernel" and place the downloaded installer in it.

  • Close discord completely.

  • Run the installer, click Install and then it should automatically detect the path to your discord installation.

  • If it didn't detect the path to your discord installation, then click on browse and navigate to C:\Users%username%\Appdata\Local\Discord\app-1.0.xx.

  • Click on Kernel Path and select the folder "kernel" from the second step.

  • Then click on Install. Make sure both the toggles are set to "On".

To verify if the installation was successful, open discord, press ctrl+shift+i and see if it says "Loading Packages..." anywhere.

Arch

You can run this handy script:

The Old Method (will install the dev version of kernel)

Copy and paste this entire block into your PowerShell terminal.

iwr https://get.pnpm.io/install.ps1 -useb | iex
pnpm env use --global latest
mkdir kernel
cd kernel
git clone https://github.com/kernel-mod/browser
cd browser
pnpm i
cd ..
git clone --branch dev https://github.com/kernel-mod/electron
cd electron
pnpm i
pnpm run build
cd ..

Now head to https://github.com/kernel-mod/installer-cli/releases and get the one suited for your system. Save this file to the Kernel folder made in the previous step.

Now run:

installer-cli -i path/to/electron/app -k path/to/kernel/dist/folder

or if you wanna be spoonfed, open your PowerShell terminal in the Kernel folder and run:

if you're on stable-

./installer.exe -i $env:LOCALAPPDATA\Discord\app-1.0.9004 -k electron\dist

if you're on canary-

./installer.exe -i $env:LOCALAPPDATA\DiscordCanary\app-1.0.46 -k electron\dist

then you go the discord folder, open index.js found at application/resources/app/index.js and replace the contents with the following

const location = require("path").resolve(require("./package.json").location, "kernel.asar");
require(location)?.default?.({startOriginal: true});

Why Kernel?

kernel is epic

and can run packages/plugins/themes from almost all client mods.

Here are some cool packages to run:

Powercord Plugins

https://github.com/strencher-kernel/pc-compat

BetterDiscord Plugins

https://github.com/strencher-kernel/bd-compat

Cumcord Plugins

Best way to install cumcord now is openasar :D. just add

"js":"fetch('https://raw.githubusercontent.com/Cumcord/builds/main/build.js').then(async x => eval(await x.text()))"

to your settings.json (%APPDATA%/discord/settings.json on Windows, ~/.config/discord/settings.json on Linux, replace discord with discordcanary for Canary, and so on)

To install these in Kernel, simply git clone their respective repos to your Kernel packages folder.

Handy Installer for recommended packages :-

Copy and paste this entire block into your PowerShell terminal (opened inside the kernel folder).

cd packages
git clone https://github.com/strencher-kernel/settings
cd settings
pnpm i
cd ..
git clone https://github.com/strencher-kernel/pc-compat
cd pc-compat
pnpm i --production
cd ..
git clone https://github.com/strencher-kernel/bd-compat
cd bd-compat
pnpm i --production
cd ..
git clone https://github.com/strencher-kernel/webpack
git clone https://github.com/Henry-Hiles/kernel-package-downloader
git clone https://github.com/slow/discord-utilities
git clone https://github.com/strencher-kernel/no-sentry

Step 2

I assume you have already installed Kernel, bd-compat, pc-compat and Cumcord. I also assume you have configured them and downloaded your favorite plugins and themes for them. An obvious concern is speed and performance issues due to so many compats. While Kernel manages to hold its own, things can always get better. That's where OpenAsar comes in.

How Install??

https://openasar.dev

If using with kernel, do remember to replace the in-use app-original.asar in your Discord install's folder with the app.asar downloaded for OA but rename it to app-original.asar.

Step 3

Join these servers to get support and help.

Read the FAQ channels and the pinned messages in the support channels before crying for help.

Kernel - https://discord.gg/8mPTjTZ4SZ

OpenAsar - https://discord.gg/neMncS2

Cumcord - https://discord.gg/FhHQQrVs7U

Note:- To get support for any of the compat plugins, use the #package-support channel in the Kernel server. The servers below are listed to get support from plugins that you may want to run through the compat layers. Asking for support for the compat plugins in the servers below is not recommended and may get you kicked from those servers.

BetterDiscord - https://discord.com/invite/0Tmfo5ZbORCRqbAd

Powercord - https://discord.gg/powercord