@gmvjs/rage
v0.1.1
Published
gmv: RAGE (GTA V)
Readme
@gmvjs/rage — RAGE (GTA V)
RAGE (GTA V, mods): .ydr, .ydd, .yft, .ytd dictionaries (DXT, BC4/5, BC7), pedestrians assembled from components.
An engine plugin for @gmvjs/core: formats, archives and game presets. Heavy parsers are loaded on demand (import() inside load), so adding the package costs almost nothing until a file of this engine is opened.
Installation
npm i @gmvjs/core @gmvjs/rageUsage
The whole engine (all games):
import { createRegistry, ViewerSession } from '@gmvjs/core';
import { rageEngine } from '@gmvjs/rage';
const session = new ViewerSession(createRegistry([rageEngine]));One game: a package subpath (the game preset and an engine limited to that game):
import { createRegistry, ViewerSession } from '@gmvjs/core';
import gta5 from '@gmvjs/rage/gta5';
const session = new ViewerSession(createRegistry([gta5.engine]), gta5.preset.id);Games (subpaths)
| Import | Preset | Game | Status | Only for this game |
|---|---|---|---|---|
| @gmvjs/rage/gta5 | gta5 | GTA V (mods: ydr/ydd/yft/ytd) | 🟡 beta | — |
Formats
| id | What | Files | Status |
|---|---|---|---|
| rage-ydr | GTA V drawable (.ydr) | .ydr | 🟡 beta |
| rage-ydd | GTA V drawable dictionary (.ydd: clothing, character parts) | .ydd | 🟡 beta |
| rage-yft | GTA V fragment (.yft: vehicles, characters) | .yft | 🟡 beta |
Dependencies
@gmvjs/core— plugin API, types, ZIP/folder archives, zlib, DDS/BC, geometry
Not done yet
- RPF archives (AES; keys must come from the user)
- Vehicles assembled from
.yftparts - GTA IV, RDR
License
MIT
If this project helps you, consider supporting its development on Patreon ❤️

