Skip to content

Installation

Prvd 'M Wrong is distributed as several packages that needs to be installed into your game.

For Luau, either use a pre-built Roblox model, install from Pesde, or install from Wally. For Roblox TypeScript, use the NPM package. Otherwise, build from source.

From Templates

New projects can use pre-configured templates with Prvd 'M Wrong out of the box, published under the @prvdmwrong/templates repository.

  1. From a terminal, clone the @prvdmwrong/templates repository:

    git clone https://github.com/prvdmwrong/templates.git
    cd templates
    
  2. Clone any of the templates inside the repository:

    • For Luau projects:
      • Use the luau-barebones template for a pre-configured barebones prelude.
      • Use the luau-comprehensive template for a comprehensive prelude including Darklua string requires, Wally with types, and plenty of goodies.
    • For Roblox TypeScript projects:
      • Use the rbxts-barebones template for a pre-configured barebones prelude.
      • Use the rbxts-comprehensive template for a comprehensive prelude including ESLint and Prettier pre-configured.

Manual Installation

For Luau, Prvd 'M Wrong can be installed as a pre-built Roblox model, a Pesde package, or a Wally package. For Roblox TypeScript, Prvd 'M Wrong can be installed as an NPM package.

Pesde

Prvd 'M Wrong can be installed as a Pesde package. Pesde packages are published under the @prvdmwrong scope in dai's Pesde registry.

Pesde is strongly recommended over other installation methods for it's versatility.

  1. From a terminal, add the desired Prvd 'M Wrong package:

    # it's recommended to alias prvdmwrong/core with prvd!
    pesde add prvdmwrong/core -a prvd
    
  2. Import the desired Prvd 'M Wrong package through the roblox_packages directory:

    local prvd = require(ReplicatedStorage.roblox_packages.prvd)
    

Using Wally through Pesde

Prvd 'M Wrong can be installed with Pesde's Wally compatibility layer. Notably, older versions of Prvd 'M Wrong published on Wally prior to Pesde 0.5 can be used.

Wally packages are published under the @prvdmwrong scope in Uplift Game's Wally registry.

This can be used as a backup option when Prvd 'M Wrong Pesde packages break.

  1. From a terminal, add the desired Prvd 'M Wrong package, noting the wally# specifier:

    # it's recommended to alias prvdmwrong/core with prvd!
    pesde add wally#prvdmwrong/core -a prvd
    
  2. Import the desired Prvd 'M Wrong package through the roblox_packages directory:

    local prvd = require(ReplicatedStorage.roblox_packages.prvd)
    

Roblox

Prvd 'M Wrong can be installed as a Roblox model.

Prvd 'M Wrong 0.2 has not been released yet, so distributed 0.2 models are unavalible. See Build from Source for building Roblox models by source.

  1. Visit the GitHub releases to find the desired Prvd 'M Wrong version.
  2. Click the "Assets" dropdown to view the downloadable files.
  3. Click on prvdmwrong.rbxm to download the bundled Prvd 'M Wrong packages.
  4. Open Roblox Studio to import the model. If you are just following the tutorials, just an empty baseplate will do.
  5. Right-click on ReplicatedStorage, and select "Insert from File". Select the prvdmwrong.rbxm you just downloaded. A new folder called prvd should appear with the bundled packages.
  6. Import the desired packages through the imported prvd folder:

    local ReplicatedStorage = game:GetService("ReplicatedStorage")
    local prvd = require(ReplicatedStorage.prvd.core)
    

Wally

Prvd 'M Wrong can be installed as a Wally package. Wally packages are published under the @prvdmwrong scope in Uplift Game's Wally registry.

Consider using Pesde over Wally.

  1. Add the desired Prvd 'M Wrong package in your wally.toml manifest:

    # it's recommended to alias prvdmwrong/core with prvd!
    [dependencies]
    prvd = "prvdmwrong/core@0.2.*"
    
  2. From a terminal, install all Wally packages:

    wally install
    
  3. Import the desired Prvd 'M Wrong package through the Packages directory:

    local prvd = require(ReplicatedStorage.Packages.prvd)
    

NPM

For TypeScript projects that compile using Roblox TypeScript, Prvd 'M Wrong can be installed as an NPM package.

NPM packages are published under the @prvdmwrong scope in the NPM registry.

  1. From a terminal, add the desired Prvd 'M Wrong package:

    npm i @prvdmwrong/core
    
  2. Import the package through node_modules:

    import prvd from "@prvdmwrong/core"
    
  1. From a terminal, add the desired Prvd 'M Wrong package:

    pnpm i @prvdmwrong/core
    
  2. Import the package through node_modules:

    import prvd from "@prvdmwrong/core"
    
  1. From a terminal, add the desired Prvd 'M Wrong package:

    yarn add @prvdmwrong/core
    
  2. Import the package through node_modules:

    import prvd from "@prvdmwrong/core"
    

Environment Setup

Because Prvd 'M Wrong does not publish packages under the @rbxts scope, Roblox TypeScript will refuse to use it.

While this helpfully prevents you from using other node_modules, Roblox TypeScript needs to be configured to use Prvd 'M Wrong.

This only needs to be done once per each environment.

  1. Add @prvdmwrong to node_modules in your project file(s), it may be nested behind several levels:

    "node_modules": {
        "$className": "Folder",
        "@rbxts": {
            "$path": "node_modules/@rbxts"
        },
        "@prvdmwrong": {
            "$path": "node_modules/@prvdmwrong"
        }
    }
    
  2. Add @prvdmwrong to tsconfig.json's typeRoots, it may be nested behind several levels:

    "typeRoots": [
        "node_modules/@rbxts",
        "node_modules/@prvdmwrong"
    ],
    

Build from Source

Prvd 'M Wrong can be built from source.

It is not recommended to build Prvd 'M Wrong from source. Consider using one of the listed installation methods instead. This section is only for Prvd 'M Wrong contributors.

  1. From a terminal, clone the @prvdmwrong/prvdmwrong repository:

    git clone https://github.com/prvdmwrong/prvdmwrong.git
    cd prvdmwrong
    
  2. Checkout the 0.2 branch:

    git checkout 0.2
    
  3. Install all required tooling with Rokit:

    rokit install
    
  4. Run the build script:

    lune run build
    

    Configuration options are availible in prvdmwrong.toml for each packages and the whole repository.

  5. Find the distributables in the build directory.

    • build/packages has individual source files for each package that can be published to Wally/Pesde/NPM
    • build/models has individual .rbxm models for each package
    • build/prvdmwrong.rbxl is a Roblox game with all built Prvd 'M Wrong packages in ReplicatedStorage
    • build/prvdmwrong.rbxm is a .rbxm model with all built Prvd 'M Wrong packages