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

Cannot install mods without the TUI #72

Open
icosamuel opened this issue Oct 22, 2024 · 3 comments
Open

Cannot install mods without the TUI #72

icosamuel opened this issue Oct 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@icosamuel
Copy link

icosamuel commented Oct 22, 2024

What happened?

In a Dockerfile, I need to be able to install mods in a description fashion. The TUI and CLI options aren't the same. I can't for example install mods on a profile, or directly to an installation. So far I've got

FROM wolveix/satisfactory-server:latest

RUN apt update \
    && apt install -y wget \
    && rm -rf /var/lib/apt/lists/*

RUN wget https://github.com/satisfactorymodding/ficsit-cli/releases/latest/download/ficsit_linux_amd64 \
    && chmod +x ficsit_linux_amd64 \
    && mv ficsit_linux_amd64 /usr/bin/ficsit

RUN ficsit installation add ./gamefiles \
    && ficsit profile new monitoring

but Then, there are no documented options to:
Image

Here's the discord thread for cross-reference

Version

0.6.0

What OS are you seeing the problem on?

Linux

What architecture are you seeing the problem on?

amd64

Relevant log output

No response

Any extra info:

No response

@icosamuel icosamuel added the bug Something isn't working label Oct 22, 2024
@justabaka
Copy link

Also a command like 'ficsit mods update' woyld be nice.

@icosamuel
Copy link
Author

I found a workaround last night:

There's the profiles definitions file in /home/steam/.local/share/ficsit/profiles.json That's where I could define my list of mods and their version requirements

{
    "profiles": {
        "Default": {
            "mods": {
                "FicsitRemoteMonitoring": {
                    "version": ">=1.0.10",
                    "enabled": true
                }
            },
            "name": "Default",
            "required_targets": null
        }
    },
    "selected_profile": "Default",
    "version": 0
}

after that a quick ficsit apply downloads the mods in my installation! I think this might be worth documenting in the docs

Installing mods

2024-10-24T13:24:35.67736544Z  INF disk/main.go:58 using local disk path=/config/gamefiles
2024-10-24T13:24:35.997718503Z INF cli/installations.go:464 starting installation concurrency=5 path=/config/gamefiles
2024-10-24T13:24:35.99774277Z  INF cli/installations.go:612 downloading mod mod_reference=SML version=3.8.0 link=https://api.ficsit.app/v1/version/65QfGTdqzCdCBH/LinuxServer/download
2024-10-24T13:24:35.997783565Z INF cli/installations.go:612 downloading mod mod_reference=FicsitRemoteMonitoring version=1.0.10 link=https://api.ficsit.app/v1/version/11Q1c4ZekerKY/LinuxServer/download
2024-10-24T13:24:37.6535224Z   INF cli/installations.go:642 extracting mod mod_reference=SML version=3.8.0 link=https://api.ficsit.app/v1/version/65QfGTdqzCdCBH/LinuxServer/download
2024-10-24T13:24:40.677523571Z INF cli/installations.go:642 extracting mod mod_reference=FicsitRemoteMonitoring version=1.0.10 link=https://api.ficsit.app/v1/version/11Q1c4ZekerKY/LinuxServer/download
2024-10-24T13:24:40.78015796Z  INF cli/installations.go:544 installation completed path=/config/gamefiles

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
Status: 📋 Backlog
Development

No branches or pull requests

3 participants