Home | Download | Discussion | Help | Site Map | New Posts | Sign in

Latest Site News

2018 MTS Calendar Contest - posted on 12th Nov 2017 at 8:48 PM
MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Picked upload! Set Filters on Paintings by Reference

by scumbumbo Posted 13th Nov 2017 at 6:37 AM
28 Comments / replies (Who?) - 3 Feedback Posts, 1 Thanks Posts
Picked Upload! This is a picked upload! It showcases some of the best talent and creativity available on MTS and in the community.
Description

Ok, I hate the blobby paintings in the game produced by the Paint By Reference action at an easel and I know I'm not the only one that feels that way. I played around with a way to make the painting by reference not use that effect years ago to no avail. I turned my thoughts to the problem again today and realized that when paint by reference stores its images in the save game (in the clientDB.package file) it also stores a copy of the original image. A bit more playing around revealed the blobby painting is just a filter effect, similar to the ones used on the photography skill in the game.

So I figured, why not make the Set Filter command available to paintings, maybe that would clear that effect and to my surprise it really was that easy.

This simple little mod adds that Set Filter menu to all sim-created paintings. It won't do anything on a regular crafted painting, but when used on a paint by reference one it allows you to set any of the available filters quickly and easily. It will even work on a painting by reference that was created before installing the mod and the change will persist even if the mod is removed.

I also added a new interaction to allow setting the filter back to the "Painting" style should you end up deciding you liked that better.

Installation Instructions and Compatibility
  • This is a simple packaged XML mod, so just unzip the file into your mods folder.
  • Note that removing the mod will not restore the blobby painting effect, if you decide you don't want that you will need to set the painting filter back on prior to removal.
  • This mod was written and tested on Windows for The Sims 4 version 1.36.99.1020 (Nov 9, 2017).
  • The mod alters several of the game XML resources, and will conflict with any mods that modify the same resources:
    • S4_B61DE6B4_00000000_0000000000007F8B (object_Canvas_small)
    • S4_B61DE6B4_00000000_0000000000008F18 (object_Canvas_med)
    • S4_B61DE6B4_00000000_00000000000020FB (object_Canvas_large)
    • S4_B61DE6B4_00000000_00000000000039F6 (object_Canvas)
  • The mod adds a new interaction used to restore the blobby painting effect. It should not conflict with others mods:
    • S4_E882D22F_00000000_A49986499A6864F8 (immediateSI_Photos_SetFilter_Paint_BG)

Additional Credits
  • Kuree and all the others at Sims4Group who have put together the S4PE tool

You must have the expansion, game version or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Sims 4
Built with Game Version: 1.36.102.1
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
SetFiltersOnPaintingsByReference.zip | Description: Enable Set Filter Menu on Paintings by Reference 14.8 KB 1,441 13th Nov 2017
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:
1. Download: Click the File tab to see the download link. Click the link to save the .rar or .zip file(s) to your computer.
Read the upload description for installation instructions. If nothing else is specified, do the following:
No Extraction Required (Script Mods):
1. Cut and paste the .zip file(s) into your Mods folder
  • Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
  • Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\
Script mods need to be placed directly in \Mods or one level below that (e.g. \Mods\Scripts) – sub-folders nested any deeper won’t work.
Extraction Required (Everything Else):
1. Use WinRAR (Windows) to extract the .package file(s) from the .rar or .zip file(s).
2. Cut and paste the .package file(s) into your Mods folder
  • Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
  • Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\


Need more information?
  • Anyone can use both .rar and .zip files easily! On Windows, use WinRAR.
  • If you don't have a Mods folder, just make one.
  • Mod still not working? Make sure you have script mods enabled
 
Page 2 of 2
28 Comments / Replies (Who?) - 5 Feedback Posts, 22 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Test Subject
THANKS POST
#26 Old 17th Nov 2017 at 2:35 AM
Is there a way to download the default filter as a photoshop filter?
Lab Assistant
#27 Old Yesterday at 6:49 AM
I noticed something going on in the game, with my sims' newest paintings. All of his that he made previously before the mod work perfectly when I apply a filter etc.! But the new ones he made while having the mod seem to capture a different part of the room (rotated a bit and to the side) when I apply one of the filters. Is there any reason this might be happening? Thank you!!!
(the first picture is the original painting he made, and the second is with a saturated filter applied. All the filters do the same thing and it did this same thing on various paintings that he made.)
Screenshots

Cheers! =D

lkandak
Top Secret Researcher
Original Poster
#28 Old Yesterday at 8:52 AM Last edited by scumbumbo : Yesterday at 9:25 AM. Reason: Followup
Quote:
Originally Posted by lkandak
I noticed something going on in the game, with my sims' newest paintings. the new ones he made while having the mod seem to capture a different part of the room (rotated a bit and to the side) when I apply one of the filters. Is there any reason this might be happening?

I can't think of any reason why this would be happening, I'd have to play with it - is this always happening to you or a once in a while kind of thing? The mod doesn't change how the image is taken, that's all controlled by the main game engine - the Python scripts never see the actual texture images, or the filters themselves, believe me I tried to access them

I don't think I did more than one test paint by reference using that canvas size you're using in your screenshots, perhaps that has something to do with it. I'll do some trials and check the resulting JPEG images from the clientDB.package file to see what's going on behind the scenes, maybe it's storing a larger image for the original image and when changing the filter for the different canvas size it gets confused.

Followup - I can't seem to reproduce this occuring and the images in my clientDB.package file all look correct. Tried four paint by reference in each size and all was picture perfect. There's really only two things I can think of that could possibly do this: first I can see you have the Pets expansion, which I do not - perhaps that changes the paint by reference process somehow that I can't see without having the expansion. Or, possibly you have an outdated UI mod that is corrupting the paint by reference process - I can't think of anything an ordinary XML package mod could do to alter how the process works in that manner. It looks like the game is storing the "uncropped" image taken by the camera, which is not what should be happening.

Can anyone else, with or without the Pets expansion, duplicate this issue?
Top Secret Researcher
Original Poster
#29 Old Yesterday at 8:54 AM
Quote:
Originally Posted by zach615g
Is there a way to download the default filter as a photoshop filter?

No one seems to know where those filters are stored in the game packages, or even if they are. The Python code never sees the actual filters, it just sends a filter number to the game engine to request the texture of the image to be altered. And unfortunately the filter numbers are just numbers from zero through 'n', not an instance ID or anything.
Page 2 of 2