Stormworks: Build and Rescue New monitor sizes in Pony’s Lua IDE

Auto Draft 1 -
Auto Draft 1 -
Unfortunately CrazyFluffyPony won’t be adding new features to the Lua IDE. This means that the new screens just announced won’t be compatible with it. This guide will show you how to edit files from the IDE to have it support these new screen sizes.


Downloading The IDE

Firstly, you will need to download the IDE for offline use. Go to the – and click the three bars at the top left. Then click Download for offline use. This should start a download of a zip file called Once the file is downloaded, unzip it to wherever you want. 

Modifying The Files

Now that you have the IDE downloaded, you need to edit some files. 
Firstly make sure that you have some sort of text editor that allows you to view what line you are on, such as notepad++ or sublime text. 
Then, open up the editor-master folder that was unzipped, and open index.html in a text editor. If you just double click it, it will most likely open in a browser, but you want to right click the file and open it with your text editor. Once you have index.html opened, go to line 208 or ctrl+f and type monitor-size. Once you have found something that looks like this: 

<select id=”monitor-size” name=”monitor-size”> <option value=”1×1″>1×1</option> <option value=”2×2″>2×2</option> <option value=”3×3″>3×3</option> <option value=”5×3″>5×3</option> <option value=”9×5″>9×5</option> </select>

Replace the entire section with: 

<select id=”monitor-size” name=”monitor-size”> <option value=”1×1″>1×1</option> <option value=”1×2″>1×2</option> <option value=”1×3″>1×3</option> <option value=”2×2″>2×2</option> <option value=”2×3″>2×3</option> <option value=”3×3″>3×3</option> <option value=”5×3″>5×3</option> <option value=”9×5″>9×5</option> </select>

Now save the file and close it. 
1/2 files done. 
Now in the editor-masterfolder there will be a scripts folder, and inside it a file called all.js. Open this file in the text editor once again and go to line 16975. This script is very long, if you can’t find the specific object listed below, you can ctrl+f and enter SIZES until you find it. The object should look like this: 

const SIZES = { “1×1”: {width: 32, height: 32}, “2×2”: {width: 64, height: 64}, “3×3”: {width: 96, height: 96}, “5×3”: {width: 160, height: 96}, “9×5”: {width: 288, height: 160} }

You need to replace all of that with this: 

const SIZES = { “1×1”: {width: 32, height: 32}, “1×2”: {width: 64, height: 32}, “1×3”: {width: 96, height: 32}, “2×2”: {width: 64, height: 64}, “2×3”: {width: 96, height: 64}, “3×3”: {width: 96, height: 96}, “5×3”: {width: 160, height: 96}, “9×5”: {width: 288, height: 160} }

Again save this file and now you should be able to open index.html with your favourite web browser and see that you can select the new screen sizes. 
If it does not work properly or not show up with the new sizes, you can try opening the src folder, then scripts, then canvas.js and repeating the same in the previous step. If you still have issues, leave a comment and I’ll see what I can do. Enjoy 🙂 

Written by gorillaa

Here we come to an end for Stormworks: Build and Rescue New monitor sizes in Pony’s Lua IDE hope you enjoy it. If you think we forget something to include or we should make an update to the post let us know via comment, and we will fix it asap! Thanks and have a great day!

Be the first to comment

Leave a Reply

Your email address will not be published.