Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!

STBLize

SCREENSHOTS
1,106 Downloads 64 Thanks  Thanks 15 Favourited 39,490 Views
Uploaded: 2nd Oct 2015 at 8:45 PM
Updated: 2nd Oct 2015 at 10:02 PM
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