This mod allows you to import a Lua file containing coaster data into Planet Coaster 2.
Warning
This mod requires ACSE to work. Make sure you have it installed before proceeding.
- Download the latest release from the Releases page.
- Extract the contents of the ZIP file into your
Planet Coaster 2/Win64/ovldata.
Modding is not supported by Frontier, so use this mod at your own risk. It may cause unexpected behavior in the game.
We have a website that allows you to convert NL2 CSV files to Lua files that can be imported into Planet Coaster 2.
- Go to the Website.
- Upload your NL2 CSV file. (If you do not own a professional copy of NL2, you can use the NL2 CSV Exporter)
- The website will process the file and provide you with a Lua file.
- Follow the instructions provided by the website to add the Lua file to your game.
To build the mod you must have Cobra Tools installed.
- Package the UI (only necessary if you have made changes to the UI):
- Open a terminal in the
Mod_Importer/Maindirectory. - Run
python PPUIPkgFile.py -i ImporterUI.ppuipkg
- Open a terminal in the
- Run
Cobra Tools/ovl_tool_gui.py - In the GUI go Edit -> Preferences
Flatten LUA subfoldersoption toTrue. - Go File -> New and select the
Mod_Importer/Mainfolder. - Click File -> Save
To run the NL2 CSV to Lua converter website locally, you need to have Node.js installed.
- Open a terminal in the
Websitedirectory. - Run
npm installto install the required dependencies. - Run
npm run devto start the development server.
The website will automatically build when the repository updates. However, it is recommended to run npm run build to ensure that type/lint checks pass before committing changes.
Massive thank you to Inaki for the original effort to create a PC1 importer, which this mod is based on.
Another massive thank you to Distantz for creating the original NL2 CSV to Lua python converter which the website is based on.
And of course, thank you to Coppertine and the rest of the modding community for their support and listening to my weeks of trying to figure out crashes.
Massive shoutout to the following people for their contributions to this project! See the Emoji Key! (Contributing list provided by All Contributors)
Evan Pipta 🤔 🎨 💻 |
Parker 💻 🎨 🚧 🐛 |