The DP STBL Editor serves as a perfectly capable stand-alone Windows editor for STBL Text String. It was concocted with the help of VS 2012 that uses the .Net 4.5. This particular utility feature was designed basically to help the people in need for a plethora of translation requirements for the mods such as the mod translators or mod creators. It comes with the capability that helps extract the package file directly from STBL file.
This effectively helps the translators with no experience in use of S4PE in order to extract STBL files in the language that is needed to be updated.
Additionally, this feature comes with several other functionalities such as importing the changes from the XML files along with exporting the STBL tables in the form of XML. The feature also compares two different STBL files in order to generate XML files that come with certain differences amidst themselves.
This particular utility uses a standard naming scheme based on the S4PE for opening/saving the “.stbl” files. However, you don’t need to worry regarding the same unless you plan on generating a whole new STBL. This program is designed to handle the same. The resource file name for STBL will follow a pattern such as: S4_220557DA_00000000_YYXXXXXXXXXXXXXX.
The description for this patterned file name goes as follows:
S4 – All the Sims 4 based exported resources coming from the S4PE use this prefix
220557DA – This package file comes with Resource ID meant for STBL files. Each of the resource type present in the packages of Sims 4 comes with a specific Resource ID. For the STBL files, the code is always 0x220557DA.
800000000 or 00000000 – This is a Group ID for the STBL files present in the package files. The standard is always set at 0x800000000 when the “Use High-Bit Group” gets enabled. However, the set standard changes to 0x00000000 when disabled. The overall standard for each EA is to keep this option enabled.
YYXXXXXXXXXXXXXX – This is the instance Identification for the STBL files in the package files. The part “YY” of this particular ID defines the base language of the STBL. On the other hand, the “XXXXXXXXXXXX” part for the ID is same regardless of the language of STBL file. This thing is unique across all the packages. For the English language string, the “YY” part is set at “00” which gives a unique ID dubbed at “24072D2A2C5142”.
Language Code List
Open: –This code helps open up an existing variant of the “.stbl” file that has been exported from the package in order to be edited.
Save:- If STBL was retrieved from the “.stbl” file with no special characters present in its name, this option will actually save this file back using same name carried before. Else, the same shall be treated like the “Save As” option.
Save As:- This code displays all the list of possible languages meant for saving STBL file along with the needed Instance ID based textbox.
Export To All Languages:- Using this code will aid current translation value to be loaded over to the grid and exported into the STBL files meant for each language loaded. This creates 17 various STBL files inside Editor folder.
Import XML:- This particular code option does 2 different things. 1-If the STBL file has already been opened; XML is then merged with existing records.
2 – If the STBL files haven’t been opened; this inserts new records as defined in XML while allowing access to editing.
Export To XML:- This code records all the recent records to get exported to the XML format.
Close:- It closes down the recently opened file of STBL format.
The menus located towards the top half of the window come with a specific functionality such as importing/opening/exporting, language options, and conversion utilities. The prime table that is located towards the center screen displays current STBL records that have been loaded. A right-click on the records shall open up the context-menu allowing for the deletion of a record, insertion of new record, and reversal of a record that has already been deleted. The deleted records shall show-up backed by red-background till the moment they are saved. Any of these deleted records with red-backgrounds can easily be reversed with a right-click that will undo the deleted action.
Now, inserting new record shall open up the new dialog meant for creation of new string for the recent STBL file. It needs an almost instantaneous ID along with a text meant for that instant ID. This ID can be entered manually or entered using a “Generate Button” provided beside post entering the text. The longer is the text that is entered into a string before hitting Generate Button; chances for generation of a unique Instance ID can easily be increased. After the same has been saved, the newly inserted records shall come with yellow background.
Clicking over text of the existing record for STBL allows the change of text to a whole new value. The changed value shall be seen with a green background up until file is saved.
Set Language:-This allows selection of a language meant for the utility known as the DP STBL Editor. All of the strings over the forms have been globalized.
Use High-Bit Group:-This menu command allows the configuration of saving the STBL files either with Group ID-0x00000000 else with the alternative ID-0x800000000. As per EA’s standards, the default for the same is “True”.
Create Difference XML:-This particular tool allows for opening of a 2nd STBL file that shall be compared easily with currently loaded records for STBL.
Batch Apply Difference XML:-This particular menu option opens up the dialog that eases the selection of “Difference XML” that is generated via the utility. It also aids with the selection of a folder that contains more than one STBL files inside it. Menu Descriptions
Conversion between XML & the Table Formats
This one is just another “Helper” that is used by a Sims 4 player and mod developers. Click over the menu command that brings up the pop-up allowing for selection of the type of overall conversion required.
- XML-to-Table Conversion: This will take the XML file created using “Export to XML” or the “Create Difference XML” in order to save the text file along with codes for MTS forum that are needed for displaying new strings within Table format inside a post.
- Table-to-XML Conversion: This particular conversion does just the opposite.
Any translators looking forward to help with the translation of the strings meant for this particular utility can look for the same inside the file named Localization.data. This particular file is an XML one that is saved with the “.data” extension which means, it can easily be opened with the help of any kind of text editor. The strings in need for translation are saved in the attribute named “TextValue”.