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.
-
From a terminal, clone the
@prvdmwrong/templates
repository: -
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.
- Use the
- 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.
- Use the
- For Luau projects:
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.
-
From a terminal, add the desired Prvd 'M Wrong package:
-
Import the desired Prvd 'M Wrong package through the
roblox_packages
directory:
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.
-
From a terminal, add the desired Prvd 'M Wrong package, noting the
wally#
specifier: -
Import the desired Prvd 'M Wrong package through the
roblox_packages
directory:
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.
- Visit the GitHub releases to find the desired Prvd 'M Wrong version.
- Click the "Assets" dropdown to view the downloadable files.
- Click on
prvdmwrong.rbxm
to download the bundled Prvd 'M Wrong packages. - Open Roblox Studio to import the model. If you are just following the tutorials, just an empty baseplate will do.
- Right-click on
ReplicatedStorage
, and select "Insert from File". Select theprvdmwrong.rbxm
you just downloaded. A new folder calledprvd
should appear with the bundled packages. -
Import the desired packages through the imported
prvd
folder:
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.
-
Add the desired Prvd 'M Wrong package in your
wally.toml
manifest: -
From a terminal, install all Wally packages:
-
Import the desired Prvd 'M Wrong package through the
Packages
directory:
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.
-
From a terminal, add the desired Prvd 'M Wrong package:
-
Import the package through
node_modules
:
-
From a terminal, add the desired Prvd 'M Wrong package:
-
Import the package through
node_modules
:
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.
-
Add
@prvdmwrong
tonode_modules
in your project file(s), it may be nested behind several levels: -
Add
@prvdmwrong
totsconfig.json
'stypeRoots
, it may be nested behind several levels:
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.
-
From a terminal, clone the
@prvdmwrong/prvdmwrong
repository: -
Checkout the
0.2
branch: -
Install all required tooling with Rokit:
-
Run the build script:
Configuration options are availible in
prvdmwrong.toml
for each packages and the whole repository. -
Find the distributables in the
build
directory.build/packages
has individual source files for each package that can be published to Wally/Pesde/NPMbuild/models
has individual.rbxm
models for each packagebuild/prvdmwrong.rbxl
is a Roblox game with all built Prvd 'M Wrong packages in ReplicatedStoragebuild/prvdmwrong.rbxm
is a.rbxm
model with all built Prvd 'M Wrong packages