wyler Posted September 9, 2021 Posted September 9, 2021 (edited) Mods Optimizer View File Hello everyone, this is a small application that I made for myself in a hurry. I'm not sure that this forum is the best place for such utilities, but since the main task of this application for me is inextricably linked with the content from this forum, I decided to share it here. Correct me, if I'm wrong ? Description I often come across releases of some kind of creative work (sims, lots, etc.), in which the author includes absolutely all the custom content used in the creation. And, unfortunately, I always passed such releases because of the problem of duplicate files. A lot of the custom content that comes with the releases is already in my mods folder. Structured. I'm not sure I fully understand how EA solves duplicate mods folder problems, but as a developer I can tell you for sure that the physical memory of my disk and the RAM of the EA process are not infinite ? This utility allows you to scan your mods folder and your desired custom content folder in order to find only those files that you don't actually have. As a result, you will get a new folder with custom content that you can safely place in your mods folder. Note: this is proof of concept app, which can have bugs. If you have any questions or comments please contact me, I will try to help. Version 1.0.1 Fast Scan added. You can find it in new panel for settings (on by default) With Fast Scan new.mp4 Without Fast Scan old.mp4 Submitter wyler Submitted 09/10/2021 Category Uncategorized Requires May require latest .NET Runtime. Edited September 10, 2021 by wyler Version update 3
luanabuthorny Posted September 10, 2021 Posted September 10, 2021 Ohh, this is awesome! I’ll try it! I usually prefer when people add all the CC used to the files (as only one or two zips, when I see more than 10 separate downloads I just don’t download it) so I can avoid missing content, but I probably have duplicates there. This app will be very useful, thanks!! 1
wyler Posted September 10, 2021 Author Posted September 10, 2021 2 hours ago, Luanapt2 said: Ohh, this is awesome! I’ll try it! I usually prefer when people add all the CC used to the files (as only one or two zips, when I see more than 10 separate downloads I just don’t download it) so I can avoid missing content, but I probably have duplicates there. This app will be very useful, thanks!! Enjoy
Guest Posted September 10, 2021 Posted September 10, 2021 Well, it did not fine missing items. I had downloaded some CAS recently, and i noticed there were merged files in it. I believe these were from other DLC's as they where missing meshes. So i think i am ok and not missing anything. To check the structure and dependence is really great idea. Thanks for making it.
wyler Posted September 10, 2021 Author Posted September 10, 2021 2 hours ago, wutpickel said: Well, it did not fine missing items. I had downloaded some CAS recently, and i noticed there were merged files in it. I believe these were from other DLC's as they where missing meshes. So i think i am ok and not missing anything. To check the structure and dependence is really great idea. Thanks for making it. I'm not sure I understood you correctly. The utility checks the files for similarity, but not the content inside the files. If you have two files whose internal content overlaps, but not 100% the same, then these two files will be marked as different. It is potentially possible to check CC internal content in detail but I'm not really familiar with CC files structure to yet.
Perfumed Penguin Posted September 11, 2021 Posted September 11, 2021 For some reason when I tried to launch the .exe, I got a message saying that windows could not access the specified path... Is this a "me" problem? If so, would someone be so gracious as to tell me how to fix it?
Perfumed Penguin Posted September 11, 2021 Posted September 11, 2021 3 minutes ago, imfrickinhungry said: For some reason when I tried to launch the .exe, I got a message saying that windows could not access the specified path... Is this a "me" problem? If so, would someone be so gracious as to tell me how to fix it? Pardon the ring! It was an antivirus issue! (F-Secure is awful)... ?
wyler Posted September 11, 2021 Author Posted September 11, 2021 2 hours ago, imfrickinhungry said: Pardon the ring! It was an antivirus issue! (F-Secure is awful)... ? App is not signed with any certificate, so some antivirus software can block it from running. Also a lot of depends on your windows profile rights, most of us have admin rights, but even in this case windows blocks modifications on system disk for apps not started in admin mode.
Guest longboy97 Posted September 11, 2021 Posted September 11, 2021 this is groundbreaking and should have a national holiday for its release day if it works well
ringfinger Posted September 11, 2021 Posted September 11, 2021 Your optimizer won't start, it tells me that some more software needs to be installed. Why didn't you mention this in the description?
wyler Posted September 11, 2021 Author Posted September 11, 2021 45 minutes ago, ringfinger said: Your optimizer won't start, it tells me that some more software needs to be installed. Why didn't you mention this in the description? Hello, please read description again
ringfinger Posted September 11, 2021 Posted September 11, 2021 31 minutes ago, wyler said: Здравствуйте, пожалуйста, прочтите описание еще раз Sorry, I didn't pay attention. This is not for me. Command line games are not my thing...
wyler Posted September 11, 2021 Author Posted September 11, 2021 11 minutes ago, ringfinger said: Sorry, I didn't pay attention. This is not for me. Command line games are not my thing... Раз уж вы переводите на русский, будет удобнее и мне вам написать на русском. .NET Runtime можно скачать с официального сайта Microsoft. Вам не требуется ничего делать с консолью, все устанавливается как обычная программа.
Demi-lich Posted September 13, 2021 Posted September 13, 2021 What is the difference with ModConflictDetector?
wyler Posted September 13, 2021 Author Posted September 13, 2021 7 hours ago, Demi-lich said: What is the difference with ModConflictDetector? I'm not familiar with ModConflictDetector, but from brief description can say that the difference is in included features. MCD has a lot of features related to management of your mods folder. My tool is focused on helping to avoid duplications in mods folder, by analyzing incoming CC.
deadly55 Posted September 25, 2021 Posted September 25, 2021 Even with the latest .net it's still asking for it and refuses to run. 1
blueyuji Posted September 27, 2021 Posted September 27, 2021 What is the difference between the 4 different versions?
hawk777 Posted September 28, 2021 Posted September 28, 2021 The latest NET is installed. It does not start. Writes that version 5 is required, although version 5 is already installed.
HeathenSunrise Posted September 28, 2021 Posted September 28, 2021 So if it doesn't actually check file contents (listing what tunings are being overridden would be REALLY nice) all it's basically doing is checking file names and file size? FYI - duplicate resources just increase load times, when it does the resource mapping to it's great internal dictionary it will just replace resources that have already been loaded with the same resource. But considering the load times are a pain in the ass anyway, anything that removes unneeded load times is a good thing. Might I suggest adding a fuzzy file name check as well. A resource filename downloaded from "Mod the Sims" gets changed automatically so the file names may differ when downloaded from another source, but be the same anyway. It will also help find slight version variants. I recommend FuzzySharp, but there are lots of options. One or two questions though, why the json library? Also if it's written in .Net why can I not decompile it? I haven't busted a gut, I have not run your application and am unlikely to ever do so. I have my own methods of finding duplicate files, namely https://powershell.one/tricks/filesystem/finding-duplicate-files But I realise it might be a bit complicated for some, so your application is a welcome addition to the tool box for modders. Thank you for sharing.
HeathenSunrise Posted September 28, 2021 Posted September 28, 2021 11 hours ago, blueyuji said: What is the difference between the 4 different versions? Bug fixes probably, considering the version number changes I would suggest just downloading the one with the largest version number. 1
wyler Posted September 28, 2021 Author Posted September 28, 2021 10 hours ago, LordMemnoch said: So if it doesn't actually check file contents (listing what tunings are being overridden would be REALLY nice) all it's basically doing is checking file names and file size? FYI - duplicate resources just increase load times, when it does the resource mapping to it's great internal dictionary it will just replace resources that have already been loaded with the same resource. But considering the load times are a pain in the ass anyway, anything that removes unneeded load times is a good thing. Might I suggest adding a fuzzy file name check as well. A resource filename downloaded from "Mod the Sims" gets changed automatically so the file names may differ when downloaded from another source, but be the same anyway. It will also help find slight version variants. I recommend FuzzySharp, but there are lots of options. One or two questions though, why the json library? Also if it's written in .Net why can I not decompile it? I haven't busted a gut, I have not run your application and am unlikely to ever do so. I have my own methods of finding duplicate files, namely https://powershell.one/tricks/filesystem/finding-duplicate-files But I realise it might be a bit complicated for some, so your application is a welcome addition to the tool box for modders. Thank you for sharing. Hello, this app does nothing with file names, it compares files by hashes, so file name doesn't matter. JSON is default type for configuration files since .NET Core was introduced. I'm not using any obfuscators, so don't know why you have problems with decompiling. Latest .NET compiler includes AOT compilation for several cases, so de-compilation may become complicated, but, of cause, not impossible.
wyler Posted September 28, 2021 Author Posted September 28, 2021 13 hours ago, hawk777 said: The latest NET is installed. It does not start. Writes that version 5 is required, although version 5 is already installed. Make sure to install .NET Desktop Runtime. For example from here
hawk777 Posted September 28, 2021 Posted September 28, 2021 1 hour ago, wyler said: Обязательно установите .NET Desktop Runtime. Например отсюда Thank you! The app is up and running!
FtmSimsLover Posted February 15, 2024 Posted February 15, 2024 Tells me I need to install .net even though I downloaded and installed it from the link you provided above to someone else having the same problem. I am using the most recent version of .net, did this mod just not get updated to work with anything higher than 5.0?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now