Step 7: Editing the XML filesNow the real fun starts. So let’s get to work!
Editing 5 Sim Data filesMeaning the following files:
Leniad_paintingCategory_LenClassicArtPaintings
Leniad_recipe_Painting_LenClassicArtPaintings_Large
Leniad_recipe_Painting_LenClassicArtPaintings_Supersize_Small
Leniad_recipe_Painting_LenClassicArtPaintings_Landscape
Leniad_recipe_Painting_LenClassicArtPaintings_Landscape_Medium
Change the name in that line:
<I name="Leniad_paintingCategory_LenClassicArtPaintings" schema="PieMenuCategory" type="Object">
So it becomes:
<I name="Havem_paintingCategory_SannyDisneyPaintingsPartOne" schema="PieMenuCategory" type="Object">
Change the number after the x in that line:
<T name="_display_name">0xF80ED7B1</T>
Here you use the hex 32 you got in the previous step. So in this case you use the number of the Collection. So this line becomes:
<T name="_display_name">0x0225B058</T>
The next are the Sim Data files of the sizes. Here again you change the name line:
<I name="Leniad_recipe_Painting_LenClassicArtPaintings_Landscape" schema="PaintingRecipe" type="Object">
And the number in the following line:
<T name="name">0x454DD22C</T>
Only this time you use the Landscape hex 32 instead. So it becomes:
<T name="name">0x31C45AF1</T>
You do that with the other 3 files too, only you use the hex 32 of Landscape (you use the Landscape hex 32 for the Landscape Medium too), Large and Super-Size.
Editing Pie Menu Category TuningMeaning the following file:
Leniad_paintingCategory_LenClassicArtPaintings
You change the name and the s= number in the following line:
<I c="PieMenuCategory" i="pie_menu_category" m="interactions.pie_menu_category" n="Leniad_paintingCategory_LenClassicArtPaintings" s="16773700853572770115">
You get the name from the Windows folder where you renamed this file and you get the s= number when you click on “Data” besides the XML. The s= is the TuningId.
So it becomes:
<I c="PieMenuCategory" i="pie_menu_category" m="interactions.pie_menu_category" n="Havem_paintingCategory_SannyDisneyPaintingsPartOne" s="15675234289774386831">
The next you change is the following line:
<T n="_display_name">0xF80ED7B1<!--LenClassicArt_name in string table--></T>
For the numbers after the x you take the hex 32 of the collection again and you change the name to the collection name. So it becomes:
<T n="_display_name">0x0225B058<!--Sanny Disney Picture Collection One_name in string table--></T>
Editing Recipe Tuning file “PaintingStyle”Meaning the following file:
Leniad_PaintingStyle_LenClassicArtPaintings
Again you change the following two lines as you did with the previous one, the Pie Menu:
<I c="PaintingStyle" i="recipe" m="crafting.painting" n="Leniad_PaintingStyle_LenClassicArtPaintings" s="18204767109833688860">
<T n="_display_name">0xF80ED7B1<!--LenClassicArt_name in string table--></T>
Editing 4 Recipe Tuning files from sizesMeaning the following files:
Leniad_recipe_Painting_LenClassicArtPaintings_Landscape_Medium
Leniad_recipe_Painting_LenClassicArtPaintings_Landscape
Leniad_recipe_Painting_LenClassicArtPaintings_Large
Leniad_recipe_Painting_LenClassicArtPaintings_Supersize_Small
With these 4 Recipe Tuning files it’s a little bit more to change. You again start at the top with the second line:
<I c="PaintingRecipe" i="recipe" m="crafting.painting" n="Leniad_recipe_Painting_LenClassicArtPaintings_Large" s="8366258488065332566">
Then the 44th line and the 47th are to change:
<V t="enabled" n="base_recipe">
<T n="enabled">5340286128065923540<!--Leniad_recipe_Painting_LenClassicArtPaintings_Landscape--></T>
</V>
<V t="enabled" n="base_recipe_category">
<T n="enabled">16773700853572770115<!--Leniad_paintingCategory_LenClassicArtPaintings--></T>
Changing the 44th line: You get the number from the recipe tuning file of the Landscape file at the Data tab. It’s the TuningId again.
So the 44th line becomes in this example:
<T n="enabled">2843393714320486782<!--Havem_recipe_Painting_SannyDisneyPaintingsPartOne_Landscape--></T>
Changing the 47th line: You get number and the name from the Pie Menu Category Tuning. The number is the TuningId again.
So the 47th line becomes in this example:
<T n="enabled">15675234289774386831<!--Havem_paintingCategory_SannyDisneyPaintingsPartOne--></T>
TIPP 5 for shortcuts:
You can copy these lines and paste them to the other 3 Recipe Tuning recipes from the sizes, as they need the exact same lines.
The next changes are the lines 226 to 228. So the following:
<T n="name">0x008CBF2E<!--LargeLenClassicArt_name in string table--></T>
<T n="painting_style">18204767109833688860<!--Leniad_PaintingStyle_LenClassicArtPaintings--></T>
<T n="phase_interaction_name">0x008CBF2E<!--LargeLenClassicArt_name in string table--></T>
You change the name and the numbers after the x – in both cases (name or phase interaction name) it’s the hex 32 of the size, so in this example from Large. For explanation: The “name” is for the category and the “phase interaction name” is the name that pops up while painting. It’s the name on the activity icon.
As for the “painting_style” – you get the TuningID and name from the Recipe Tuning you changed before the Recipe Runing sizes.
So in my example the lines become:
<T n="name">0x3A8FBF2B<!--Large Sanny Disney Part One Paintings _name in string table--></T>
<T n="painting_style">16787056216019903242<!--Havem_PaintingStyle_SannyDisneyPaintingsPartOne--></T>
<T n="phase_interaction_name">0x3A8FBF2B<!--Large Sanny Disney Part One Paintings _name in string table--></T>
TIPP 6 for shortcuts:
Copy and paste the middle line 227, the “painting_style” line, as the other 3 sizes need the exact same line.
TIPP 7 for shortcuts:
Landscape and Landscape Medium need the exact same lines from 226 to 228.
Editing 3 Recipe Tuning files from the 001 recipesMeaning the following files:
Leniad__Easelpainting_LenClassicArtPaintings_Large001
LenClassicArtPaintings_LandscapeTexture_001
LenClassicArtPaintings_SupersizeTexture_001
At this point of the mod we only change the 2nd line, because you will start your first testrun with the mod soon!
So this means only the following needs to change:
<I c="PaintingTexture" i="recipe" m="crafting.painting" n="Leniad__Easelpainting_LenClassicArtPaintings_Large001" s="8146412927138567579">
You get the name from the folder where you renamed the file and the s= number is again the TuningId in Data.
So in this example it becomes:
<I c="PaintingTexture" i="recipe" m="crafting.painting" n="Havem__Easelpainting_SannyDisneyPaintingsPartOne_LargeTexture_001" s="9063954968621651281">
Repeat with the other two 001 recipe files.
Editing Painting Enabler Snippet TuningSo this means changing the following:
Leniad_recipePaintingEnablerLenClassicArt
Here you change the lines 1 and 7 to 10.
So you start with the first line:
<I s="17779823340130638085" n="Leniad_recipePaintingEnablerLenClassicArt" c="CCRecipeInstance" i="snippet" m="s4studio_craftables">
Again you get the s= numbers from Data from the TuningId and the name from the folder where you renamed the file.
In my example this line becomes:
<I s="13501011281005868766" n="Havem_recipePaintingEnabler_SannyDisneyPaintingsPartOne" c="CCRecipeInstance" i="snippet" m="s4studio_craftables">
Then you change lines 7 to 10:
<T>5340286128065923540<!--Leniad_recipe_Painting_LenClassicArtPaintings_Landscape--></T>
<T>17566534733102635958<!--Leniad_recipe_Painting_LenClassicArtPaintings_Landscape_Medium--></T>
<T>8527216174427677081<!--Leniad_recipe_Painting_LenClassicArtPaintings_Supersize_Small--></T>
<T>8366258488065332566<!--Leniad_recipe_Painting_LenClassicArtPaintings_Large--></T>
Here you get the numbers and names from 4 the Recipe Tuning files you changed before. The numbers are the TuningIds in Data or the s= numbers in the XML.
So in my example the lines become:
<T>2843393714320486782<!--Havem_recipe_Painting_SannyDisneyPaintingsPartOne_Landscape--></T>
<T>13290134071256347568<!--Havem_recipe_Painting_SannyDisneyPaintingsPartOne_Landscape_Medium--></T>
<T>7816002473394218351<!--Havem_recipe_Painting_SannyDisneyPaintingsPartOne_Supersize_Small--></T>
<T>4592198248897892036<!--Havem_recipe_Painting_SannyDisneyPaintingsPartOne_Large--></T>
Editing the last snippet (Collection snippet)So that means the following:
LenClassicArtPaintings_Snippet
Change the numbers and the name in the second line, so in the following:
<I s="10983752982004951887" n="LenClassicArtPaintings_Snippet" c="CCPaintingTextureInstance" i="snippet" m="s4studio_craftables">
The numbers you find in Data again, it’s the TundingId and the name you get from your folder, where you renamed the files.
So in my example it becomes:
<I s="14633495532992860214" n="Havem_SannyDisneyPaintingsPartOne_Snippet" c="CCPaintingTextureInstance" i="snippet" m="s4studio_craftables">
The next line you change is the 5th line. So this line:
<T>18204767109833688860<!--Leniad_PaintingStyle_LenClassicArtPaintings--></T>
It’s the TuningId and the name from the first Recipe Tuning file you change, so in my case from:
Havem_PaintingStyle_SannyDisneyPaintingsPartOne
In my example it becomes:
<T>16787056216019903242<!--Havem_PaintingStyle_SannyDisneyPaintingsPartOne--></T>
After this you delete the recipe lines of the recipes 002 to finish, so that in the end only the 001 recipes remain.
One recipe is 3 lines, from the starting <U> to the ending </U>.
Now you change the remaining 001 recipes:
<U>
<T n="texture">399732045771243623<!--RecipeTuning: LenClassicArtPaintings_LandscapeTexture_001--></T>
</U>
<U>
<T n="texture">13119597145575619528<!--RecipeTuning: LenClassicArtPaintings_SupersizeTexture_001--></T>
</U>
<U>
<T n="texture">8146412927138567579<!--RecipeTuning: Leniad__Easelpainting_LenClassicArtPaintings_Large_001--></T>
You get the numbers and names from the Recipe Tuning files above. The numbers are the TuningIds from Data again.
So in my example they become:
<U>
<T n="texture">1271231045814518859<!--RecipeTuning: Havem_SannyDisneyPaintingsPartOne_LandscapeTexture_001--></T>
</U>
<U>
<T n="texture">15595643020080764596<!--RecipeTuning: Havem_SannyDisneyPaintingsPartOne_SupersizeTexture_001--></T>
</U>
<U>
<T n="texture">9063954968621651281<!--RecipeTuning: Havem__Easelpainting_SannyDisneyPaintingsPartOne_LargeTexture_001--></T>
</U>