SMD2Shrinker

    Joined
    Jul 21, 2013
    Messages
    2,932
    Reaction score
    460
    • Hardware Store
    Especially server owners have to deal with huge universes. This little tool shrinks them by removing empty segments from the .smd2 files.
    This tool can be run both from console and normally.

    Link: http://starmadedock.net/content/smd2shrinker.1771/

    Java7 or higher

    This tool removes a segment if all of the following is true:
    1. It isn't at 0 0 0 (where the entity's marker is)
    2. One of the following is true:
      1. It contains no blocks
      2. the "indexless" option is on and the segment isn't referenced by an index [may cause missing segments in some cases]
      3. the "illegalHead" option is on and the segment's contents can't be decyphered [may cause missing segments]
    When run from console, you can activate the "indexless" option by passing "--indexless" as an argument, and the "illegalHead" option can be activated by passing "--illegalHead" as an argument.
    Once can also set the amount of cores the cleaning task should run on by passing "--cores <cores>" as arguments. If the amount of cores to use is unspecified, all available cores will be used.
    If run normally(a.k.a without any parameters), the user will be asked about the options.

    When run from console, the paths to the files to shrink are passed as arguments. Instead of passing the path to a file to shrink, you can alternatively pass the path to the folder containing it as an argument.
    If run normally, the user will be asked to choose files, directories won't be selectable.

    Warning: even without any options, this tool may still cause missing segments. Before use, please back up the files.
     
    Last edited: