Comments (5)
I have implemented this now finally for the upcoming version 1.7.1.
However there is a catch: the API is actually limiting what I can realistically do here sadly. The complete mod list only returns information about the very latest release of a mod. That means I can only use the Factorio version of the latest release for filtering. For example if a mod has been released for both 0.15 and 0.16, if you filter by Factorio version the mod will only be listed under 0.16.
This is not optimal, however the only way to consider all available Factorio versions is to query the full release list of each mod from the sever. Considering how long it takes to query this information from the server for a single mod (in MMF this happens when clicking on a mod in the list) loading the entire list of currently over 3000 mods would take at least an hour, and that is also a generous estimate.
from modmyfactory.
I created a very hacky version to do this, the Factorio version is hardcoded because I couldn't find where the program stores that. I give no support for it, but I thought it might possibly be useful to someone.
https://github.com/HiddenKn/ModMyFactory/commit/1497cb17c4269c5f5fbd989d13b347aecd672063
Just realized that this only works for the latest version of the mod, so it might not be perfect if you want to filter for older versions of Factorio.
from modmyfactory.
Sorry about that comment. I'm stupid and blind.
from modmyfactory.
Thank you for your hard work on ModMyFactory, by the way.
from modmyfactory.
Thanks so much for the feature! I guess due to the rapid development of Factorio, the vast majority of use cases for this will be to filter for the latest Factorio version. So, the limitation you mention should be fine.
from modmyfactory.
Related Issues (20)
- ModMyFactory works but complains about 0.17's new hidden dependencies feature. HOT 1
- loading random mods HOT 3
- Auto-selecting updated mods HOT 3
- ModMyFactory and Factorio disagree about which mods are enabled HOT 1
- error whenver i click link HOT 1
- Not updating properly HOT 1
- Crash when selecting specific mod HOT 1
- Crash when launching pre-release version.
- Mod with missing dependency causes startup crash
- [REQUEST] Required dependencies HOT 1
- Crash on open HOT 1
- Not using system proxy setting HOT 1
- Mods not being enabled on launch of steam version HOT 2
- Crash on adding a new mod HOT 3
- [REQUEST] Cross-Platform? HOT 3
- Remove crashes HOT 1
- crashes right away HOT 1
- error while updating mods
- Do you actively monitor pull requests? HOT 1
- Putting MMF portable inside factorios install folder then adding a version from folder does infinite recursion until harddisk is full HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modmyfactory.