8928d22bf6
Delay mod loading
...
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
The initial implementation of DML ended up loading mods quite late,
which did give it the benefit of all `Manager`s being available.
This change therefore moves mod loading until after those are
initialized.
But contrary to old DML, we still create a separate game state to make
sure the game doesn't advance until mods are loaded. This avoids race
conditions like the one where LogMeIn needs to come early in the load
order.
2023-11-23 20:28:36 +01:00
6a15519ed0
Prevent excessive debug logs
2023-11-23 20:28:34 +01:00
510cbcb8b4
Use version number from Nexus import
...
Non-bundled mods come without a `dtmt.cfg`, and therefore without a
version number. But we need a version number at import to compare to
for the Nexus update check.
2023-11-23 20:28:33 +01:00
2f746debf3
Use mod name from Nexus if necessary
...
Non-bundled mods come without `dtmt.cfg` and therefore no way to
provide a user friendly name. Similar to the other fields, use the one
from Nexus in that case.
2023-11-23 20:28:31 +01:00
b85d54ea1c
Fix Nexusmods API key not being loaded from config
2023-11-23 20:28:30 +01:00
e162f68457
Fix missing Mods.original_require
2023-11-23 20:28:28 +01:00
eee1f500b8
Use template engine to build mod_data.lua
...
The string-building version became too complex to maintain properly.
2023-11-23 20:28:27 +01:00
dfaa39cd54
Move deployment directory for legacy mods
...
This moves it back to its original place at `$game_dir/mods`.
2023-11-23 20:28:25 +01:00
3d7d301627
Implement deploying non-bundled mods
...
Closes #113 .
2023-11-23 20:28:24 +01:00
266d63c20d
Apply clippy lints
2023-11-23 20:28:22 +01:00
8715cf5309
Apply formatting
2023-11-23 20:28:21 +01:00
e52c2b4cff
Add mod config option for loose files
...
Just the field in the config file, for now.
2023-11-23 20:28:20 +01:00
de1bd64007
Merge pull request 'CI Improvements' ( #143 ) from feat/ci into master
...
Reviewed-on: #143
2023-11-23 20:27:54 +01:00
fa3f517aed
Generate checksums for artifacts
...
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Closes #138 .
2023-11-23 20:23:48 +01:00
0cb86efe91
Use correct owner for packages
2023-11-23 19:40:09 +01:00
ff98a4a511
Merge pull request 'CI Improvements' ( #142 ) from issue/color-eyre into master
...
Reviewed-on: #142
2023-11-23 15:30:30 +01:00
92546f6f5e
Fix pipeline status
...
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Since the PR pipeline is not re-applied on new commits, the `pr.head.ref`
variable doesn't get updated, and isn't suitable for the status
reporting.
2023-11-23 15:23:40 +01:00
b86ea337d1
Fix build script
2023-11-23 15:23:02 +01:00
4c96bcf5ba
Improve CI log output
lint/clippy Checking for common mistakes and opportunities for code improvement
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
2023-11-23 13:31:43 +01:00
d956e75146
Fix step names
2023-11-23 13:19:00 +01:00
96f3625b7a
Fix submodule refs
build/msvc Build for the target platform: msvc
lint/clippy Checking for common mistakes and opportunities for code improvement
build/linux Build for the target platform: linux
2023-11-23 13:16:03 +01:00
dc80b5ffee
Merge pull request 'CI improvements' ( #141 ) from feat/ci into master
...
Reviewed-on: #141
2023-11-23 11:50:40 +01:00
edac52e73f
ci: Use proper resource for commit statuses
2023-11-23 11:48:18 +01:00
f30dc95385
ci: Use resource for Gitea package upload
test Testing the new resource type
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
2023-11-22 16:22:26 +01:00
f2e0b5e1fb
Merge pull request 'Use exit status to determine LJD failure' ( #140 ) from feat/ljd into master
...
Reviewed-on: #140
2023-11-17 15:56:29 +01:00
4ec44720b0
sdk: Don't fail decompilation on LJD error
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
2023-11-17 15:10:20 +01:00
46a61a7473
Use exit status to determine LJD failure
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
2023-11-17 09:58:53 +01:00
6eb3137429
Merge pull request 'Improve CI' ( #128 ) from feat/ci into master
...
Reviewed-on: #128
2023-11-13 16:18:35 +01:00
c2cdeedb2c
ci: Add caches
...
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Closes #126 .
2023-11-13 16:13:26 +01:00
a90614f2e9
ci: Implement uploading build artifacts
...
Closes #127 .
2023-11-13 14:32:11 +01:00
b7b76412a3
Merge pull request 'oodle: Fix linking statically' ( #121 ) from issue/static-linking into master
...
Reviewed-on: #121
2023-11-08 11:12:25 +01:00
afe4e82c47
ci: Copy the correct library files
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
2023-11-08 10:50:42 +01:00
fc759c005d
oodle: Fix building for target Windows
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
2023-11-08 09:43:50 +01:00
5f43fd17ba
Vendor ansi-parser
...
The fork updates `nom` to version 7, removing rustc's deprecation
warning.
2023-11-08 09:43:18 +01:00
9aae4c1e29
Fix CI build task
2023-11-07 15:47:38 +01:00
08d417fd5d
Update steamlocate-rs
...
While this is an unstable dev release, its only significant change is
exactly the one I need: dropping `steam-vdf` and its out-of-date `nom`
dependency.
2023-11-07 15:45:58 +01:00
f197b1944b
ci: Fix incorrect exit code
...
lint/clippy Checking for common mistakes and opportunities for code improvement
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
The runner wouldn't properly exit with a failure code, so it always
looked like success in the UI.
2023-11-07 10:54:13 +01:00
db8194efec
Update crates
lint/clippy Checking for common mistakes and opportunities for code improvement
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
2023-11-07 09:25:01 +01:00
48f98a43fe
oodle: Fix linking statically
lint/clippy Checking for common mistakes and opportunities for code improvement
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
2023-11-06 13:42:51 +01:00
6a2eccb630
Merge branch 'feat/lua'
...
* feat/lua:
sdk: Use common ljd flags
sdk: Don't wait for cleanup
sdk: Implement decompiling Lua
2023-10-31 10:50:53 +01:00
7080dcb8de
sdk: Use common ljd flags
lint/clippy Checking for common mistakes and opportunities for code improvement
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
2023-10-30 14:07:00 +01:00
57224622d9
sdk: Don't wait for cleanup
lint/clippy Checking for common mistakes and opportunities for code improvement
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
2023-10-30 09:28:15 +01:00
93db78d58f
sdk: Implement decompiling Lua
...
Closes #48 .
2023-10-30 09:28:07 +01:00
8fba489bb3
Merge branch 'issue/118'
...
* issue/118:
Update dependencies
2023-09-26 10:05:31 +02:00
2f5939d44d
Update dependencies
...
lint/clippy Checking for common mistakes and opportunities for code improvement
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
Fixes #118 .
Through changes in nightly feature flags, `proc-macro2` needed to be
updated.
2023-09-26 09:56:31 +02:00
70e22e1dfb
Assign mod loader as global manager
2023-08-30 01:36:46 +02:00
a98b9fae95
Merge pull request 'Fix FFI import' ( #116 ) from fix/ffi into master
...
Reviewed-on: #116
2023-07-22 14:40:59 +02:00
6ef4c2e094
refactor: Format Lua code
2023-07-22 14:39:51 +02:00
9b8f07d125
fix: Fix FFI import
2023-07-22 14:39:35 +02:00
e42ab9c1ff
Merge pull request 'feat(dtmm): Guard certain Lua libraries behind a setting' ( #114 ) from feat/unsafe-lualibs into master
...
Reviewed-on: #114
2023-04-25 16:52:29 +02:00