This repository was archived by the owner on Oct 27, 2024. It is now read-only.
Status Update #77
NathanVaughn
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone, just wanted to give a quick update on the status of the project.
First off, the project is not dead despite 3 months since the last release. I've recently been rewriting the entire codebase from scratch. The majority of the code for this project came out of a single caffeine-fueled evening shortly after MSFS 2020 came out. Since then, additional features and updates have been built upon this codebase, and it's just not worthwhile maintaining at this point. To get a bit technical, a large source of the issues have stemmed around data internally is generally passed around as strings. For example, a mod is generally represented in memory as a name as a string, and whether it is enabled or not. With this information, the program can then find it on disk. This proves to be clunky, though. If the mod then needs to be disabled, then all this same information needs to get passed to that function, which has to do the same thing, check if the file path is a symlink, move things around, etc. Long story short, this hasn't scaled way, especially with symlinks. So, I've been rewriting the codebase to be far more focused on passing around object types rather than strings. Now, a mod is represented as a
Modobject which has anabs_pathattribute, and anenableanddisablemethod (among others). I've also been using a lot of the more advanced Python concepts I've been learning recently like properties, decorators, etc. So what does this mean overall?Before:
After:
So yeah, that is what's going right now. You can follow along on my progress on the
rewritebranch. Currently, I'd say about 70% of the v1 functionality is present, though a fair amount of work still needs to be done on the newer features and more thoroughly testing things, especially around check for mod updates.Beta Was this translation helpful? Give feedback.
All reactions