Bald ist es soweit: Unsere nächste Leitstellenfahrt findet statt. Weitere Informationen findet ihr hier.
- Lizenzbestimmungen
- Alle Rechte vorbehalten. | All rights reserved. | Tous droits réservés.
- Empfohlene OMSI-Version
- Aktuell v2.3.x
- Vorausgesetzte kommerzielle Erweiterungen
- Keine
- Weitere Versionshinweise
- Es wird die JRE benötigt.
OMSI Garbage Collector
About:
The OMSI Garbage Collector (OGC) is a small tool that allows you to delete unused Sceneryobject-Directorys and Spline-Directorys.
The tool is a command line application, which requiers an installation of the JRE, which is downloadable here: https://adoptopenjdk.net/?vari…njdk11&jvmVariant=hotspot
Usage:
1. Enter the main path of the OMSI directory and let the program read through the maps
2. See through the result with "list objects" or "list splines"
3. Remove those unused directorys with "remove objects" or "remove splines"
Disclaimer:
You should have a backup from your file since the tool might list used objects as unused and removes them, thats due to not continous encoding of the .map files.
I am not responsible for any damage caused by using my Program
Please report any occuring bug.
Biffer
Hi Nico. I installed your OMSI Garbage Collector, but although it threw up a load of splines and scenery objects there didn't seem to be any mechanism to select which ones to delete. Am I missing something (like a few extra braincells, maybe)? The only thing I did differently was downloading the Java script from a different site (see post below from Lukas; Jan 31st 2021).
Thanks for any help/advice you may offer ... and Happy New Year!
Andy
Hallo Nico. Ich habe Ihren OMSI Garbage Collector installiert, aber obwohl er eine Menge Splines und Landschaftsobjekte hervorgeworfen hat, schien es keinen Mechanismus zu geben, um auszuwählen, welche gelöscht werden sollen. Vermisse ich etwas (vielleicht ein paar zusätzliche Gehirnzellen)? Das Einzige, was ich anders gemacht habe, war, das Java-Skript von einer anderen Seite herunterzuladen (siehe Beitrag unten von Lukas; 31. Januar 2021).
Vielen Dank für Ihre Hilfe/Ratschläge ... und ein frohes neues Jahr!
Andy
MeerrettichMeister Autor
Hi Andy,
you are not missing some extra braincells
There is no funtionality to specifically selecet splines/objects to delete since anything listed shouldn't be used anyway and is therefore "safe to delete".
Best regards
Nico
Biffer
Thanks, Nico! I will cancel that brain transplant now, fnaarg!
All best wishes,
Andy
drokz11
nice and easy
danke / thx
Sonnenwirt
Das ist was für den späten Frühjahrsputz - danke !
ma7t3
Vielen Dank, endlich kann ich mal etwas aufräumen
Lµkas
Servus! Nettes Tool, ich möchte mal anregen, den Link zu Java auszutauschen und auf den entsprechenden Download vom AdoptOpenJDK (https://adoptopenjdk.net/?vari…njdk11&jvmVariant=hotspot) zu verweisen. Erstens verweist java.com auf das unfreie JDK von Oracle (andere Lizenz), zweitens wird dort nur Java8 angeboten, was doch ziemlich überholt ist.
Lukas97
Bei mir lässt sich das Programm nicht ausführen. Es ist im OMSI-Hauptverzeichnis abgelegt, aber es läuft nicht. Muss man dabei etwas beachten?
Andvari
Java JDK installieren und schon läuft die Kiste
MeerrettichMeister Autor
Jup, es wird die Java Runtime Environement benötigt, da das Tool in Java geschrieben ist, die Website ist in der ReadMe verlinkt.
