Game guide:Making your own custom TV channels: Difference between revisions

m
10 revisions imported
imported>Daniël du Toit
(Adding categories)
m (10 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 88:
 
==Search for the right Instance ID==
#'''Open "ClientFullBuild0.package" using s4pe'''<br />Start s4pe and click on "File", "Open". Navigate to your installation path: "Program Files (x86)\Origin Games\The Sims 4\Data\Client" and select the "ClientFullBuild0.package".<br />
#'''Activate filter to find all DATA files'''<br />Todo this: Simply activate "Filter active" (1), activate "Tag" (2), fill in "DATA" (3), and click on "Set" (4)<br /><br />
#'''Export all DATA files'''<br />Click on "Resource", "Select all" (This will take few seconds), and then on "Resource", "Export" and "To file .." and select the "Data" folder in "ModTheSims" (This will take more seconds).<br />
#'''Search for the video playlists'''<br />If you want to know how I got all playlists, click on the button below:<br />
#*Start "The Sims 4 Data Tool", click on "Browse" and open one random ".data"-file in the "Data" folder.
#*Click on the "Export all" button and wait for it to finish. This will convert all ".data"-files to ".txt"-files and put them into the "as_text" folder.
Line 100:
 
==Working with the STBL Strings==
#'''Open "Strings_<Your locals>.package" using s4pe'''<br />Start s4pe and click on "File", "Open". Navigate to your installation path: "Program Files (x86)\Origin Games\The Sims 4\Data\Client" and select the "Strings_<Your locals>.package".<br />
#'''Export the STBL file'''<br />Richt-Click on the STBL file, "Export" and "To file .." and select the "ChannelData" folder in "ModTheSims".<br />
#'''Edit the STBL file'''<br />Now you have to start the TS4 STBL Editor, click on "File", "Open STBL File" and select the exported STBL file.<br />You can edit the Strings directly in the Tool, but there is a very huge number of Strings and currently, we have no Search function in the tool (I'm working with release 1.2).<br />So we should simply export the STBL file to a more comfortable filetype: Click on Export and export it as an XML file to the "ChannelData" folder.<br /><br />Go into the Windows Explorer and open this XML using the Editor (Notepad) by right-clicking on it and select "Edit".<br /><br />Now hit the shortcut for searching: CTRL+F (For all germans: STRG+F).<br /><br />Then type in the IDs of the strings you want to edit. To shorten your work, here is the list of the IDs:<br /> {| id="inlinetable_62460" border="0" cellspacing="1"
|- ! data-column="0"| Channel ! data-column="1"| ID of the displayed text in the Channel menu ! data-column="2"| ID of the tooltip, which will appear on mouseover the channel name |- |Action |FF6ECE89 |17061643 |- |Comedy |6391A87D |F569CD4F |- |Kids |2DF89760 |C7F00AD8 |- |Cooking |4E8C22E3 |EB04D85E |- |News |E4727FBA |75632946 |- |Romance |A6EAE91B |D4AE3D3F |- |Sports |C5CAF575 |4F2091C7 |}<br />When you've found the string you want to edit, type in your favorite channel name between the <text>-Tag.<br />Save the file by pressing CTRL+S (For all germans: STRG+S). and close the Windows Editor.<br />Go back to the TS4 STBL Editor, click on "Import" and select the just now saved XML file.<br /><br />Then click on "File" and "Save". Sometimes the editor crashes for me by clicking only "Save", if it crashes for you too, select "Save as.." and overwrite STBL.
 
Line 110:
#*Type: '''_AVI 0x376840D7'''
#*Group: '''0x00000000'''
The instance has to be a new id that is not in use. You don't have to imagine an ID, still use s4pe.<br />To do that, make sure "Use resource name" is activated and fill in a unique name for your movie in the text field near to "Name".<br />(Don't use words like "Test", "Movie" and so on, they could be already used in the game).<br />'' For example, "FinalVideo.avi" contains the official Sims 4 tv commercial, so I filled in "Sims 4 TV Werbespot" (It's german )''<br />After you've chosen your favorite name, click on "FNV64". This will create a hopefully unique id in the "Instance" field.<br />''For me, the video file will have the instance: '''0xB1DCED21EFBD7BB0'''''<br />Now uncheck "Use resource name", otherwise s4pe will run into an error.<br />To finish the import, click on "OK".<br /><br />Important: Do not close s4pe, we're continuing with it in step 3 "Import the new Playlist DATA and save the Package".<br />
#'''Add the Custom Video to a Playlist'''<br />Now we have the new instance id, which will be added to the Video Playlist.<br />In the next step, you have to choose the TV Channel where you want to play your Custom Video.<br /><br />Start now a new instance of "The Sims 4 Data Tool" and click on the "Browse" button.<br />Go into the folder "C:\ModTheSims\ChannelData" and select your favorite channel data (See the list above to find the right file name).<br />''I will open the Kids Channel data: S4_545AC67A_00BF458B_88D4D4581A01C683%%+DATA.data''<br />You will now see a simple list in the main part of the tool:<br /><br />Then just right click on the last TGI item and click "Clone TGI: [Key]".<br /><br />The syntax of these TGI keys is similar to exported s4pe files: "[Type]-[Group]-[Instance]"<br />The only thing you have to do now: Double click on the cloned key and change the [Instance] to the newly generated one from the step before.<br />''I will change "0x376840D7-0x00000000-0x8F5640B725DAD241" to "0x376840D7-0x00000000-'''0xB1DCED21EFBD7BB0'''"''<br /><br />Just click on "Save" and save it into the folder "C:\ModTheSims\ChannelData\Edited".<br />Important: Do not rename the DATA file, because you need the right filename syntax for importing in s4pe.<br />
#'''Import the new Playlist DATA and the customized STBL file'''<br />You are very good. These are the very last steps. <br />Back into the opened s4pe, Right-Click on the space, then on "Import", "From file.." and select your edited DATA + the customized STBL file.<br />(Simply select the DATA and hit SHIFT while clicking on the STBL).<br />Make sure that "Use resource name" is disabled on the appearing import window and click on "OK".<br /><br />To finish the progress, save the package: Click on "File", "Save", go to "Users\Documents\Electronic Arts\The Sims 4\Mods" and name it uniquely (e.g. "Sims 4 Channel instead of Kids Channel.package").
 
==External links==
* https://modthesims.info/t/533897
[[Category:The Sims 4 game guides]]