Skip to content

nomi-san/RitoClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


RiotClient

RitoClient Electron

🤿 Deep dive into your RiotClient


🔨 Building

Prerequisites

The current RiotClient is 32-bit app, so you need the latest preview .NET 9.0 SDK that supports x86.

Build steps

git clone https://github.com/nomi-san/RitoClient.git
cd RitoClient
dotnet publish -c Release -r win-x86 -o bin\

🌟 Getting started

Installation

bin/
  |__ RitoClient.dll
  |__ preload/
     |__ hello.js
  1. Create a symlink named dwrite.dll in your RiotClientElectron folder that points to the output RitoClient.dll.
admin$ mklink "path\to\Riot Client\RiotClientElectron\dwrite.dll" "bin\RitoClient.dll"
  1. Put your JavaScript files in preload folder
console.info('%c RitoClient ', 'background: #eb0029; color: #fff', 'Hi Im Gosu :)')
  1. Launch your RiotClient and enjoy!

Key bindings

  • Ctrl + Shift + R to reload the client
  • Ctrl + Shift + I to open the remote DevTools

image

🤔 FAQs

Why C# AOT?

For testing the latest .NET SDK and Native AOT. Some code in this repo come from PenguLoader but C# version.

Why no more IFEO?

The new RiotClient Electron uses single executable for both browser process and renderer process, so the IFEO debugger will not work due to chrome_elf.

Why remote DevTools?

The new method is to enable remote debugger inside the Electron app, however the app has disabled built-in DevTools. Cannot create a BrowserWindow, so the remote DevTools should be opened in your web browser.