Getting rid of all but one unique paint texture in a room

Method 1

This method works great if you do not have more than one set of painted objects, but if you have more than one set of colors that you've already painted you should skip this method.

1. BACK UP YOUR SAVE

2. Exit and Save your escape simulator room

3. Open the directory which contains the files for this room

4. See the millions of paint files and textures

5. Open your Room.room file in VSCode

6. Find the first example of painted objects inside this room file. It should look something like this:

"paintTextures": [ { "fileName": "dudqtspcpp.png", "rendererPath": "" } ],

7. Select the first portion, up until the name of the paint texture:

"paintTextures": [ { "fileName": "

8. Go to "Selection > Select First Occurrence". (Take Note of the hotkey listed on the right)

9. Press the hotkey until you've selected everything you want to

10. BE REALLY CAREFUL NOT TO CLICK YOUR MOUSE

11. Anything you do with your keyboard now will interact with all of those locations you've created a cursor.

12. Press Shift + "END" to highlight and move your cursor to the end of the line

13. Press Shift + Left arrow until you are no longer highlighting `.png",`

14. Type in the name of your new file

15. Delete all but one of the paint/texture files

16. Rename the last texture file to the new name

17. Save your Room.room file and exit VSCode

18. Open the room and enjoy.

Method 2

This is a variation of Method 1, but involves parenting all the ones you'd like to change to the same object.

1. Parent all of the objects you want to change to the same empty and give it a name you won't forget, like... `Cilantro`

2. BACK UP YOUR SAVE

3. Exit and Save your escape simulator room

4. Open the directory which contains the files for this room

5. See the millions of paint files and textures

6. Open your Room.room file in VSCode

7. Find your parented object in the room file and get its id

"propID": { "value": "Cube" }, "ID": { "value": 26 }, "parentID": { "value": 0 }, 8. Find the first child of this object by searching for its parent ID

"parentID": { "value": 26 },

9. Highlight parentID and the value

"parentID": { "value": 26 },

10. Go to "Selection > Select First Occurrence". (Take Note of the hotkey listed on the right)

11. Press the hotkey until you've selected everything you want to

12. BE REALLY CAREFUL NOT TO CLICK YOUR MOUSE

13. Anything you do with your keyboard now will interact with all of those locations you've created a cursor.

14. Move your cursor with your arrow keys until you get down to the painted texture fileName

"paintTextures": [ { "fileName": "

15. Move the cursor to the first quotation mark after the colon on this line

16. Press Shift + "END" to highlight and move your cursor to the end of the line

17. Press Shift + Left arrow until you are no longer highlighting `.png",`

18. Type in the name of your new file

19. Click on your screen to remove all the extra cursors

20. Search through the document and make sure that you didn't break anything / only changed lines you wanted to

21. Rename the last texture file to the new name

22. Save your Room.room file and exit VSCode

23. Delete all but one of the paint/texture files

24. Open the room and enjoy.

Source: https://steamcommunity.com/sharedfiles/filedetails/?id=2866793191					

More Escape Simulator guilds