Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect which mod to load #20

Open
Palats opened this issue Oct 17, 2021 · 0 comments
Open

Detect which mod to load #20

Palats opened this issue Oct 17, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Palats
Copy link
Owner

Palats commented Oct 17, 2021

In the implementation, mapshot render uses the list of mods from the current Factorio install. It means that the render can include or exclude some mods compared to what the save was using in reality. Ideally, mapshot render should get the list of mods used by the save and only activate those.

A save file does contain the list of mods which were in use at the moment the save was created - this is displayed in the UI. Unfortunately, this information is only contained in script.dat, which format is largely an implementation detail of Factorio. That makes it hard for mapshot render to find out which mod to activate or deactivate at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant