Public Works Department -- Utility Programs

No votes yet

Handy programs I've written to help you with maintenance tasks for The Sims 2.

Handy Dandy "Stylizer" Utility!

No votes yet

This program uses the XML output file from Delphy's Download Organizer and its own XSL files (attached) to create formatted reports.  Since it's a Java program, it will run on Windows, Mac or other operating system supporting JRE 1.6 or later.

  • The hair-recolors.xsl file produces a list of hair meshes and their recolors.  If all or most of the recolors have the same color bin after them, they probably need to be binned. 
  • The mesh-texture-crossref.xsl file produces a list of all Body, Clothing, and Hair meshes and their recolors. Replaced by mesh-texture-crossref2.xsl, a newer, faster version.
  • The skintone-bodymeshes.xsl file produces a list of Skintones and the custom meshes they use.  If you use default replacement meshes or ski, they'll be listed too. 
  • The object-mesh-texture-crossref3.xsl file produces a list of object meshes and their associated textures.  This may run slowly until I optimize it.

Rough instructions: 

  1. Unzip to a folder (not in C:\Program Files if you use Vista).
  2. Copy PackageDB.xml from the Download Organizer folder to the Stylizer folder.
  3. Run the program. 
    1. Choose one of the XSL files that came with Stylizer.
    2. Choose the PackageDB.xml file.
    3. Type a filename to receive the HTML output.  You can use the same filename prefix as the XSL file, but be sure to change the suffix to html!
  4. View the HTML file to learn about your downloads!

If you get bizarre error dialogs, post a picture and I'll try to figure out what happened.

For technical people: This program can be used to apply any XSLT file to any appropriate XML file.  Enjoy!

Warning!  This program operates on the PackageDB.xml file produced by Delphy's Download Organizer.  If you don't have DDO, this program won't do much for you!

AttachmentSize
Stylizer.zip49.23 KB
hair-recolors.zip784 bytes
mesh-texture-crossref2.zip813 bytes
skintone-bodymeshes.zip784 bytes
object-mesh-texture-crossref3.zip921 bytes

SimText

Your rating: None Average: 8.5 (4 votes)

I wrote this handy little utility program because I was tired of Windows 98 taking several minutes to repaint the folder windows when I dragged multiple package files into Downloads.  In addition, I had to make folders for each site to place the package files in, leading to more time spent and introducing potential misspellings.

An artist I really liked tended to name her wallpaper files oh so creatively "white1," "blue3," etc.  I got very tired of opening the files with SimPE so I could look at the descriptions, so SimText acquired the ability to read the TXT descriptions and allow you to change the filename to the description!

My answer: SimText! 

Installing SimText

To install SimText, simply unzip it and place it on your hard drive in a convenient location.  Double click its icon, and you'll see this dialog:

About SimText

Yes, I really started writing this program in 2006!  Anyhow, here's what the buttons do:

  • Set Menu Options -- Adds several options to the context menu for package files, including a best guess at where your My Documents folder is located.  If  you uninstall SimText or install a newer version of SimPE, you may have to run SimText and choose this option again.
  • Advanced Options -- Allows you to navigate to your My Documents folder before adding the options to the context menu.
  • Clear Menu Options -- Part of the uninstall process, you must run SimText from its icon and click this button before deleting the SimText executable.

Advanced Options

Advanced Options
This dialog shows you the "best guess" for the location of the Downloads folder.  If  you're running Windows Vista, The Sims 2 Double Deluxe or any of the other 3-in-1 expansion packs for The Sims 2, it will probably be wrong.  To correct this, simply click the Set Path button.
Set Path
This dialog allows you to navigate to the location of your Downloads folder.  You may also type the path in the entry field.
Any Cancel button will stop the configuration process and return you to the Desktop.
OK saves the path you have selected and adds several options to the context menu for package files.

Normal Operation of SimText

Simply right click on any package file or select several and right click one of them.  A context menu similar to this one will appear:
Context Menu
 You'll notice some new options below the standard "Open," which probably opens your package file in SimPE, if  you have that program installed.
  • One Click Install -- The workhorse of SimText.  It will grab the name of the folder where the package file currently is, such as XMSims or Wooden Simolean, create a folder with that name in your Downloads folder, and move the package file into it.
  • Rename Using STR# Resource -- This powerful function of SimText displays the STR# and CTSS resources found in the package file and helps you compose a new file name from them.
  • Sims2 Disable -- Allows you to quickly disable groups of package files for testing and mod conflict resolution.

One Click Install

This option seamlessly moves all selected files into a subfolder of your Downloads folder with the same name as the folder they are currently located in. 

If this folder does not exist, you will be asked if SimText should create it for you.  For this reason, you may want to install just one package file first, then install en masse.

If this option seems to do nothing, there will be an error log created in the same folder with the SimText executable.  Check that file for helpful information.

Rename Using STR# Resource

Creating the New Filename

In this particular case, the creator chose a good filename!  However, if you have a files with names like Hair01-1, SimText will greatly simplify giving them more meaningful names by showing you the ToolTip text assigned by the creator.  Just click in the upper entry field where you want the ToolTip text to appear, select the line in the lower list box, and click the Insert button.

Sims 2 Disable

This option changes the suffix of the file name from .package to .packagedisabled.  This should prevent your game from loading that piece of custom content the next time you play.  To reenable the custom content, just right click again and choose Sims2 Enable

Disabled Package Context Menu

Oops, I Didn't Mean to Do That!

All of SimText's operations can be reversed by choosing Undo from the Edit menu of any folder window. 

Uninstalling SimText

You must follow these directions to uninstall SimText, or unusable menu items will be left in your context menu!

  1. Run SimText from its icon.  Choose Clear Menu Items.
  2. Delete the SimText executable and its log file from the folder you placed it in during installation.

Compatibility

Works perfectly with Win98 and WinXP.  Modified to work with Vista, but I don't have that operating system, so it's untested.  I have people testing under Win7 and will report back!

Warning: If you uninstall or update SimPE, you will need to run SimText from the prompt again.  This is because SimPE assumes that it "owns" all associations with the "package" suffix, deletes all of them, and recreates just the ones it needs.  SimPE is a lot of things, but sometimes, it just isn't a good Windows citizen!

AttachmentSize
SimText.zip26.35 KB

Theme Handler from Ancient Castaways

No votes yet

AncientHighways created a script to automate maintenance of theme games.  We proudly present his work here!

Instructions for configuring the script are included in the zip file.  Please read this, and ask before doing anything which could damage your existing games!

AncientHighways gave permission to redistribute his work when he closed Ancient Castaways.

AttachmentSize
Play.zip2.26 KB