modty / lol-vo-extract

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lol-vo-extract

League of Legends Champion Voices Download/Extract/Rename with events.

Most of implementation based on CDTB's by Node.js 10.X+. Sincerely Thanks!

ATTENTION PLEASE

lol-vo-extract does not guarantee 100% match for all events for all skin:

  • Because different skins have different production dates and packaging formats, it is very easy to extract out unknown events.
  • Sometimes the literal and actual trigger are different!

Some not perfect match as following:

  • Lux: Not all events from skin*.BIN and _event.bnk can match. Need to match manually through data/EventIDMap/Lux.json;
  • Twist Fate: VO and SFX are not independent of each other. Need to increase sfxLevel.
  • Mecha Kingdoms Jax: The event JaxRelentlessAssault shows that the trigger of this is to activate the passive Relentless Assault. But in the actual game, the trigger is to use the R skill Grandmaster's Might.

Installation

lol-vo-extract requires Node.js v10.X+ or higher for ES2015, Async function and BigInt support. (v8.X+ maybe OK, v6.X+ should be not)

Install NPM Package before use:

npm install

NOTE: lol-vo-extract depend on xxhash. It is a C library that need to rebuild when installing. If rebuild failed, consider install Windows-Build-Tools at first.

Usage

The entry file is index.js. All extracted files will be stored in _final folder:

cd lol-vo-extract
node index

lol-vo-extract use config.js to determine everything. config.default.js is sample.

module.exports = {
	channel: 'pbe-pbe-win',
	solution: 'game',
	cdn: 'https://lol.dyn.riotcdn.net',

	proxy: false,
	// proxy: { host: '127.0.0.1', port: 9000, },

	hero: 'annie',
	lang: 'en_us',

	sfxLevel: 0,

	skinMax: 20,

	finalFormat: 'wav',

	rextractorConsolePath: 'D:/RavioliGameTools/RExtractorConsole.exe',
};

SFX

VO and SFX are two types of sound that each skin has. They are usually independent of each other. But some skins use each other. We can choose to parse SFX events and audios by modifying the sfxLevel option in config.js.

  • Level 0, no SFX events and sounds;
  • Level 1, use SFX events;
  • Level 2, use SFX events and extract SFX audios;

Convert WEM to WAV/OGG

Currently, lol-vo-extract can extract WEM directly without RExtractor.

lol-vo-extract also support convert WEM to WAV or OGG by calling RExtractorConsole.exe. You need to configure rextractorConsole at first.

module.exports = {
	// ...
	rextractorConsolePath: 'D:/RavioliGameTools/RExtractorConsole.exe',
	// ...
};

About


Languages

Language:JavaScript 100.0%