Mods / Joy of Painting

Category: #Furniture
Author: Moby_
Side: Both
Created: May 29th at 12:52 PM
Last modified: Jun 7th at 2:17 PM
Downloads: 1327
Follow Unfollow 45

Latest file for v1.18.5: 1-click install

Warning: this mod is in development. It's stable enough to be used, but some things are sub-optimal.

(also I had a crash after shift+clicking an item to transfer it instantly. It's not happening anymore, but try to avoid doing that, it's probably due to the amount of data being transferred like for Photographic Memories)

If you find a bug, have a suggestion or want to talk, feel free to join my Discord server!


The second installment in the "Joy of..." series adds a new decorative block: the Painting!
Unlike vanilla paintings, this one is customizable.

The recipe for the painting is in the handbook. You will need 4 planks (any wood), 1 square-stitch linen and 4x0.5L of any dye (the handbook make it look like you need 4 times the same dye, you don't. You can mix them)

Once you have a painting, hold it in your hand and type the command:

.loadpainting [painting file name]

The painting file should be a .bmp (bitmap) with a resolution of 32x in your VintagestoryData/Paintings folder. The name that you will input in the command can't have any spaces, and you should not add the ".bmp" at the end of the name, it will be added automatically (so if you write it, it will look for a paintingname.bmp.bmp)
The great part is that only you need to have the file: it's then uploaded to the server so everyone can see it!

Oh, also, you can place paintings on the floor or on ceilings!


Please note: painting synchronization might take a short time after you loaded the painting. The painting might still not be loaded if you place it immediatly afterwards depending on server lag. Once it's placed though, if it works, it won't change.


Making bitmaps

If you want to make a bitmap for a painting, you can use Paint.NET (Windows only), it's what I use, it's pretty simple to understand and MUCH better than MS Paint.

You can resize the image with image -> resize (check "keep proportions" and force the smallest dimension to a multiple of 32), then crop it with Image -> canvas size (or something) to make sure that both dimensions are multiples of 32.

You can then split it into 32x32 squares with the rectangle selection tool, copy it, create a new image, paste it, then File -> Save as..., enter the name and under it select "Bitmap"

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.3.0 882 Jun 7th at 2:17 PM Show Install now
v1.3.0-pre.5 168 May 31st at 9:36 AM Show Install now
v1.3.0-pre.4 30 May 31st at 9:12 AM Show Install now
v1.3.0-pre.3 29 May 31st at 9:00 AM Show Install now
v1.3.0-pre.2 32 May 31st at 8:55 AM Show Install now
v1.3.0-pre.1 28 May 31st at 8:37 AM Show Install now
v1.2.0 51 May 30th at 3:22 PM Show Install now
v1.1.0 27 May 30th at 2:22 PM Show Install now
v1.0.0 28 May 30th at 10:39 AM Show Install now
v0.1.0 52 May 29th at 1:03 PM Show Install now

7 Comments (oldest first | newest first)

💬 Moby_, Aug 17th at 8:22 AM

Accensus Yeah, it's incompatible with .NET 7, since Photographic Memories isn't either I'm guessing that it has to do with the image loading libraries, I'll update it in the following days (along with trying to add Craluminium's update, which makes the mod significantly more user-friendly)

💬 Accensus, Aug 10th at 3:33 PM

Doesn't seem like it's working on 1.18.8. The client-main.txt log in VintagestoryData/Logs provides the necessary information. I'm not pasting the whole thing here, but it can easily be replicated by just launching the game.

Gist of it is this:
10.8.2023 18:07:48 [Error] [jopainting] Exception thrown when attempting to retrieve all types of the assembly jopainting, Version=, Culture=neutral, PublicKeyToken=null: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method 'GetPixel' in type 'jopainting.PaintingBitmap' from assembly 'jopainting, Version=, Culture=neutral, PublicKeyToken=null' does not have an implementation.

💬 Edel_Recke, Aug 5th at 9:59 AM

How to make paintings with 32x64 or 64x32 or longer?

There are several in other mods...


💬 DanaCraluminum, Jun 9th at 7:09 AM

Next update will bring a lot of new features and fixes

💬 Maelstrom, Jun 2nd at 8:23 PM

Ooooooo..  Now I can add all my Cthulhu and Lovecraftian images in game.  😍

💬 ElectroNikkel, May 30th at 9:43 PM

Craluminum, I think the same.

💬 DanaCraluminum, May 29th at 1:14 PM

Criminally underrated mod

(edit comment delete)