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/templatesrepository: -
Clone any of the templates inside the repository:
- For Luau projects:
- Use the
luau-barebonestemplate for a pre-configured barebones prelude. - Use the
luau-comprehensivetemplate for a comprehensive prelude including Darklua string requires, Wally with types, and plenty of goodies.
- Use the
- For Roblox TypeScript projects:
- Use the
rbxts-barebonestemplate for a pre-configured barebones prelude. - Use the
rbxts-comprehensivetemplate 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_packagesdirectory:
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_packagesdirectory:
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.rbxmto 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.rbxmyou just downloaded. A new folder calledprvdshould appear with the bundled packages. -
Import the desired packages through the imported
prvdfolder:
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.tomlmanifest: -
From a terminal, install all Wally packages:
-
Import the desired Prvd 'M Wrong package through the
Packagesdirectory:
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
@prvdmwrongtonode_modulesin your project file(s), it may be nested behind several levels: -
Add
@prvdmwrongtotsconfig.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/prvdmwrongrepository: -
Checkout the
0.2branch: -
Install all required tooling with Rokit:
-
Run the build script:
Configuration options are availible in
prvdmwrong.tomlfor each packages and the whole repository. -
Find the distributables in the
builddirectory.build/packageshas individual source files for each package that can be published to Wally/Pesde/NPMbuild/modelshas individual.rbxmmodels for each packagebuild/prvdmwrong.rbxlis a Roblox game with all built Prvd 'M Wrong packages in ReplicatedStoragebuild/prvdmwrong.rbxmis a.rbxmmodel with all built Prvd 'M Wrong packages