BrettMayson / HEMTT

Build System for Arma 3
https://brettmayson.github.io/HEMTT
GNU General Public License v2.0
109 stars 40 forks source link

Not loading presets on launch #600

Closed DartRuffian closed 10 months ago

DartRuffian commented 10 months ago

HEMTT does not load mods from presets when launching. If the Steam Workshop ids are placed in workshop they (down)load and are added to the startup parameters like normal. Veteran29 also replicated the issue on their end.


HEMTT Version: 1.10.0 HTML Modlist (Pastebin). Located at .hemtt\presets\main.html Launch Properties:

[hemtt.launch.default]
workshop = []
presets = [
    "main"
]
dlc = []
optionals = []
parameters = []

Launching with hemtt.exe launch.

BrettMayson commented 10 months ago

Please try again on 1.10.1, some fixes related to HTML presets were included.

DartRuffian commented 10 months ago

Updated to 1.10.1, tried both presets = ["main"] and main.html, neither case loaded the mods listed in the preset.

BrettMayson commented 10 months ago

Very odd, I added your prefix as a test case and it passes just fine

DartRuffian commented 10 months ago

How should it be set in project.toml? Could be me just setting it incorrectly

BrettMayson commented 10 months ago

What you posted looks fine, adding the .hemttout/latest.log would be great too

DartRuffian commented 10 months ago

.hemttout/latest.log Only other change was adding an additional mod to the main.html file (done through the launcher and re-exported).

BrettMayson commented 10 months ago

I've sent you a build on discord if you could test with that and add the latest.log here

DartRuffian commented 10 months ago

latest.log using build with extra logging.

if workshop.is_empty() is correct I had if launch.workshop.is_empty() by mistake - Brett

Work-around is to include a single mod in workshop.

BrettMayson commented 10 months ago

Fixed on main, will be in 1.10.2