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

Latest Site News

Theme Catchup2018 - posted on 1st May 2018 at 1:50 PM
MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...
Advertisement:

STBLize

by Buzzler Posted 2nd Oct 2015 at 8:45 PM - Updated 2nd Oct 2015 at 10:02 PM by Buzzler
Open thumbnail gallery
Advertisement:
This is a small console tool to generate STBL resources from XML input files. It's based on twallan's STBL.

usage
The usage is the same as in twallan's version.

1. Write your XML file
The input file is composed of a bunch of KEY and STR tags enclosed in a TEXT tag. The position of the KEY and STR tags is important with the KEY tag first and the STR tag afterwards and so on.
Code:
<?xml version="1.0"?>
<TEXT>
  <KEY>Key1</KEY>
  <STR>Value1</STR>
  <KEY>Key2</KEY>
  <STR>Value2</STR>
</TEXT>


2. Compile the file using STBLize
The first argument when starting STBLize needs to be the path to the XML file. You can start a command line and actually start STBLize from there like some sort of caveman.

The recommended way is to copy the STBLize.exe to the folder where your XML file is located and then simply drag the XML file on the STBLize executable.


You can find more in-depth information about what to use this for and how to write it in this tutorial by yours truly: Tutorial:Sims_3_Localized_Codingwiki

requirements
STBLize is a .NET program and requires .NET 4.

but why?
The original STBL.exe uses manual XML parsing. As such it is vulnerable to different formatting, whitespaces etc. When you e.g. use indention in the original one, the keys will get messed up. STBLize interprets the input files as actual XML. Because of that, it completely ignores the formatting of the input files.

sources
The sources are attached. It's the whole Visual Studio 2012 solution. If I remember correctly, the solution format of VS2010 and VS2013 is exactly the same. Dunno about VS2015.

terms of use
STBLize and its sources are in the public domain. To my best knowledge this should be in line with twallan's TOUs.

credits
Credits to twallan for the original STBL.exe
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
STBLize.zip | Description: Executable 3.8 KB 317 2nd Oct 2015
STBLize_Sources.zip | Description: Source Code 5.7 KB 180 2nd Oct 2015
45 Thanks Say Thanks
Quick Guide:

1. Click the file listed on the Files tab to download the file to your computer.
2. Extract the zip, rar, or 7z file. Now you will have either a .package or a .sims3pack file.

For Package files:

1. Cut and paste the file into your Documents\Electronic Arts\The Sims 3\Mods\Packages folder. If you do not already have this folder, you should read the full guide to Package files first: Sims 3:Installing Package Fileswiki, so you can make sure your game is fully patched and you have the correct Resource.cfg file.
2. Run the game, and find your content where the creator said it would be (build mode, buy mode, Create-a-Sim, etc.).

For Sims3Pack files:

1. Cut and paste it into your Documents\Electronic Arts\The Sims 3\Downloads folder. If you do not have this folder yet, it is recommended that you open the game and then close it again so that this folder will be automatically created. Then you can place the .sims3pack into your Downloads folder.
2. Load the game's Launcher, and click on the Downloads tab. Find the item in the list and tick the box beside it. Then press the Install button below the list.
3. Wait for the installer to load, and it will install the content to the game. You will get a message letting you know when it's done.
4. Run the game, and find your content where the creator said it would be (build mode, buy mode, Create-a-Sim, etc.).


Extracting from RAR, ZIP, or 7z: You will need a special program for this. For Windows, we recommend 7-Zip and for Mac OSX, we recommend Keka. Both are free and safe to use.


Need more help?

If you need more info, see:

Expansion/Stuff packs required:
Sims 3

4 Comments / replies (Who?)

11 Favourited

495 Downloads

22,374 Views

Operating System: Windows
Utility Type: Miscellaneous
Plugin Type: Not Applicable

Tags: #STBL

Advertisement:
Advertisement: