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

Latest Site News

MTS Bob Ross Paint-Along Night - posted on 4th Sep 2017 at 10:54 PM
MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...


Picked upload! Lot Compressor

by Mootilda Posted 29th Nov 2010 at 2:30 PM - Updated 27th Nov 2013 at 2:56 PM by Nysha
38 Comments / replies (Who?) - 11 Feedback Posts, 14 Thanks Posts
Picked Upload! This is a picked upload! It showcases some of the best talent and creativity available on MTS and in the community.
LotCompressor Version 1.0:

Description:
The LotCompressor will make your lots smaller, so that they are easier to share. A "compress all" feature allows you to compress all of the lots in an entire neighborhood or subhood.

Although I wrote this utility to help with sharing lots and neighborhoods, it can also help to reduce the size of your save game on your hard drive by permanently reducing the size of your lot bin and all of your community lots. Since community lots are not saved as you play, the size reductions will remain in effect unless you modify these lots.

The LotCompressor shrinks the size of your lots by removing several unnecessary images. The missing images are not necessary and will regenerate the next time that you save your lot. Removing these images can significantly reduce the size of your lot. As an example, the subhood that I compressed went from 45 MB to 20 MB (see attached images). Your results may vary.

New forms of compression may be added at a later date. If you have ideas on how to compress lots further, please let me know.

Installation:
To install, just download LotCompressor.zip and unzip it. Run the EXE from the unzipped location.

This is "alpha" software and is still in development; it is not guaranteed to work and may corrupt your neighborhoods. Be sure to backup your game before using this tool.

I have included the source code for version 1.0 in LotCompressorSource.zip. There is no need to download this file unless you are a C# programmer who wishes to look at or modify the code.

Requirements:
- The program uses some DLLs from SimPE; they are included in the zip file.
- The LotCompressor is released under the GNU General Public License.
- You need the Microsoft .NET Framework 2.0 to run the LotCompressor:
http://www.microsoft.com/en-us/down...s.aspx?id=20137

Running under OS/X:
Please read this thread for information about running the LotCompressor under OS/X:
http://www.modthesims.info/showthread.php?t=366580

Instructions:

1) Backup your game files. The LotCompressor will NOT make backups for you.

2) Run LotCompressor.EXE. Click on Start.

3) Select the neighborhood and lot(s), or choose a lot from the LotCatalog. If your neighborhood is not in the standard location, use the Browse button to select the neighborhood. See Numenor's comment for instructions on accessing AnyGameStarter neighborhoods:
http://www.modthesims2.com/download...683#post2168683

4) Verify that you have selected the appropriate lot(s) and click on the Finish button.

5) Keep your backup until you are completely satisfied with the changes.

Operating System: Windows
Utility Type: Save Editors
Plugin Type: Not Applicable

You must have the expansion or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Sims 2
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
LotCompressor.zip | Description: Current version of the LotCompressor V1.0 643.8 KB 1,689 29th Nov 2010
LotCompressorSource.zip | Description: C# source code V1.0 - for programmers only 47.0 KB 306 29th Nov 2010
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:

1. Download: Click the download link to save the .rar or .zip file(s) to your computer.

2. Extract: Use WinRAR (Windows) or Stuffit (Mac) to extract the .package file(s) from the .rar or .zip file(s).

3. Extract: You must extract all files from the .zip file. I recommend that you create a new folder on your hard drive to hold all of these extracted files. A reasonable location would be in a subfolder of your C:\Program Files directory. I do not recommend that you place these files into your Downloads folder.

Need more information?
 
Page 1 of 2
38 Comments / Replies (Who?) - 19 Feedback Posts, 18 Thanks Posts
Thanks are currently OFF: Show Thanks Posts for this thread
Site Helper
Original Poster
#2 Old 29th Nov 2010 at 8:27 PM Last edited by Mootilda : 29th Nov 2010 at 9:45 PM.
Quote:
Originally Posted by Tymaporer
Gonna wait for feedback, to see if anyone gets corruption (not enough room on my disk to back my game up), but if it's safe I'm grabbing this.
This program is unlikely to corrupt your lots or neighborhood. Still, I really don't recommend using the program without a backup. At the very least, backup the lots that you actually intend to compress. You could backup to a USB stick, if you don't have enough room on your hard drive.

Quote:
Originally Posted by FranH
Thank you for doing this: I've been using the "Compressorizer" to shrink my lots for a very long time. This will definitely replace that program for lot shrinking.
By the way, using the compressorizor does not corrupt lots, so I'm pretty sure that this program should not as well.
The Compressorizer and the LotCompressor do completely different things and you can't generalize from one to the other. In fact, you can probably use both to get the maximum compression. When I used the Compressorizer on Brainania, it was reduced by another 2 M.

The LotCompressor does something very simple: it removes a bunch of images which are generated by the game each time that the lot is saved. Because of this, it's a relatively safe procedure.

If I remember correctly, the Compressorizer runs a routine to compress the text strings within a package. I can certainly look into adding this functionality to the LotCompressor.

I'm sure that there are other optimizations which can be performed. For example, I've noticed that unoccupied lots still contain information about the relationships between sims in the neighborhood where the lot was created. This is pretty useless information if the lot is unoccupied, so it may be possible to safely remove that information as well.
Site Helper
Original Poster
#3 Old 30th Nov 2010 at 12:26 AM
The LotCompressor has nothing to do with CC. Brainania has no CC at all and yet the lots were compressed by more than 50%.
Site Helper
Original Poster
#4 Old 30th Nov 2010 at 4:11 PM
Quote:
Originally Posted by zoom3465
Can this help lots run faster/smoother?
No, probably not. The hard drive savings are temporary. As soon as you play and save a lot, the images are added back into the lot package. Since the game does this automatically every time that you save a lot, compressed lots will not speed up or slow down your game.

This means that compression of residential lots will be lost as soon as you play the lot. Compression of lots within the lot bin and compression of community lots tend to be permanent, but that's just because those lots are never regenerated.

Because lot compression is lost as soon as the lot is saved, there isn't much use in compressing residential lots that you are currently playing. However, I definitely recommend that residential lots be compressed just before you share them.
Field Researcher
#5 Old 30th Nov 2010 at 6:42 PM
So then, am I correct in assuming that The LotCompresor is only of value to those who share their lots?
Site Helper
Original Poster
#6 Old 30th Nov 2010 at 8:00 PM
I created this utility to reduce the size of lots and neighborhoods when they are shared.

However, if you would like to save hard drive space, then it makes sense to compress your lot catalog and all of your community lots. The LotCompressor can also be used to reduce the size of any permanent backups that you make.
Site Helper
Original Poster
#7 Old 4th Dec 2010 at 4:59 AM
Quote:
Originally Posted by niol
3. As much as I remember and know about Compressorizer is it's nothing more like zip-compressibility without the ability to deal with redundant files and etc. So for maximum file-size reduction in file-sharing, if one means to use compression method to reduce data and file redundancy, one'd better not to use it. Indeed, one had better have the files in lot packages uncompressed, namely no in-game default compression on all files. Such in-game default compression was probably chosen only for running efficiency at the time and will enervate the compressibility of any stronger compression methods. One may use rar or 7z or uha for better compression than zip by then.
Yes, this makes sense to me. When I used the compressorizer on Brainania, it saved a few meg, but when I zipped the results, there was basically no difference in the size of the zip file. That really seems to indicate that the compressorizer uses the zip compression algorithm.

On the other hand, my LotCompressor algorithm made a huge difference in the resulting zip file.
Top Secret Researcher
#8 Old 4th Dec 2010 at 2:16 PM
Mootilda, is the lot bin display picture one of the pictures that will be deleted and the game regenerates later?
Site Helper
Original Poster
#9 Old 4th Dec 2010 at 3:46 PM
Quote:
Originally Posted by Honeywell
Mootilda, is the lot bin display picture one of the pictures that will be deleted and the game regenerates later?
No. I retain that picture for the obvious reason.

However, if you intend to upload your lot to the Exchange, you will not want to use the LotCompressor. The pictures of the floorplans which appear on the Exchange are deleted by the LC.
Test Subject
#10 Old 14th Jan 2011 at 9:52 PM
I see that this work with community lots which is fantastic. I wondered what it did with business lots. Since I guess those do save, will this work or would I have to keep compressing the lot? Or not bother?
Site Helper
Original Poster
#11 Old 15th Jan 2011 at 12:18 AM
If a lot is saved when you leave it, then the game will add the pictures back into the lot.
Test Subject
#12 Old 7th Sep 2011 at 1:03 AM
I have been looking all over for this type of Mod...Thank you so much.
Page 1 of 2