fmm icon indicating copy to clipboard operation
fmm copied to clipboard

Headless Server support?

Open tisba opened this issue 7 months ago • 0 comments

Hey there!

I'm running a private Factorio server and found this tool. Great idea! Currently I'm updating my mods for my Factorio (on macOS, but doesn't matter) and then use rsync to copy everything from ~/Library/Application Support/factorio/mods/* to the server.

I compiled fmm from main (based on 4a25c4d994c2517b7080dc34849ed99c473a5516) via go install github.com/raiguard/fmm@latest. Running ~/go/bin/fmm update from within the factorio server directory yields "invalid game directory".

I suspect https://github.com/raiguard/fmm/blob/4a25c4d994c2517b7080dc34849ed99c473a5516/lib/manager.go#L40 is the cause expecting a specific layout that is not compatible with the headless server.

.
├── config
├── docker-compose.yml
├── factorio-current.log
├── factorio-previous.log
├── mods
├── player-data.json
├── saves
├── scenarios
├── script-output
└── temp

For example ./config looks like this:

config/
├── map-gen-settings.json
├── map-settings.json
├── rconpw
└── server-settings.json

tisba avatar Jul 24 '25 08:07 tisba