95fc6c160b
dtmt: Implement name overrides
...
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
For most of the game files, we don't know the actual name, only the hash
of that name. To still allow building bundles that contain files with
that name (e.g. to override a game file with a custom one), there needs
to be a way to tell DTMT to name a file such that its hash is the same
as the one in the game.
The initial idea was to just expect the file name on disk to be the
hash, but that wouldn't allow for arbitrary folder structures anymore.
So instead, there is now a new, optional setting in `dtmt.cfg`, where
the modder can map a file path to an override name.
2024-07-18 09:50:48 +02:00
b7e26eee57
refactor(sdk): Split BundleFileType into its own file
2024-07-17 11:14:22 +02:00
e56176e341
Merge pull request 'Fix printing hashes with leading zeroes' ( #180 ) from issue/list-with-leading-zeroes into master
...
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #180
2024-07-13 10:35:42 +02:00
a47167b735
Fix printing hashes with leading zeroes
...
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 #179
2024-07-12 15:58:39 +02:00
bf87e0c571
Merge pull request 'Extend mod loader logging' ( #178 ) from feat/extend-mod-load-logging into master
...
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #178
2024-07-12 15:06:08 +02:00
a4e78f1c6b
Log deployment data
...
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 #168
2024-07-12 14:35:43 +02:00
1020efe53d
Add version field to mod loader logging
...
Ref: #168
2024-07-12 14:34:55 +02:00
ba31d51098
Align Crashify property with Fatshark
...
They recently submitted a PR to DML with their preferred property names,
so we should match that.
Ref: #168
2024-07-12 13:41:29 +02:00
0539b6b456
Strip block whitespace in templates
...
Ref: #168
2024-07-12 13:41:19 +02:00
9ad9d21402
Merge pull request 'Add application icon' ( #174 ) from feat/icon into master
...
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #174
2024-07-12 11:48:13 +02:00
84606814fd
Add application icon
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
2024-07-10 23:27:43 +02:00
aaccedb85f
Merge pull request 'Pull ModLoader in' ( #156 ) from feat/builtin-dml into master
...
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #156
2024-07-10 23:23:37 +02:00
e6f1e7c117
Fix load order verification
...
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
With `.enumerate()` after `.filter()`, the resulting indices didn't
properly map back to the overall mod list anymore. But the checks
afterwards relied on that.
Moving the `.enumerate()` before the `.filter()` makes sure that the
indices are correct.
2024-07-10 21:54:51 +02:00
91651a8467
Apply linter fixes in mod_main.lua
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
2024-07-10 20:02:27 +02:00
05df72635a
dtmm: Pull ModLoader in
...
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
Closes #155 .
2024-07-10 19:49:00 +02:00
644848c8c6
Merge pull request 'Perform various optimizations' ( #173 ) from feat/optimization into master
...
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
Reviewed-on: #173
2024-07-10 19:45:52 +02:00
0f14834e2d
Remove string_template
...
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
Use minijinja for all templates
2024-07-10 18:41:38 +02:00
94b64b4619
Update zip
2024-07-10 18:40:52 +02:00
b403751228
Update ansi-parser
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
2024-07-09 16:16:50 +02:00
96a7eeb1e0
Implement faster hex string parsing
2024-07-09 16:16:48 +02:00
ef4c2a1d94
Update interprocess
2024-07-09 16:16:46 +02:00
9577d70423
Add missing build tools to CI image
2024-07-09 16:16:44 +02:00
189c3199a0
Update bitflags
2024-07-09 16:16:42 +02:00
b8ac80562a
Update zip
2024-07-09 16:16:37 +02:00
3546bc8faa
Update bindgen
2024-05-15 21:57:45 +02:00
4bc5777a4b
Update notify
2024-05-15 20:04:47 +02:00
0c4c078b10
Update dependencies
2024-05-15 19:24:57 +02:00
ae30499a49
Remove unused dependency
2024-05-15 19:19:54 +02:00
647cb1b8bd
Update fastrand
2024-05-15 19:16:34 +02:00
ecd235be05
Update ansi-parser
...
Patched to update heapless while waiting for the merge request.
2024-05-15 19:14:07 +02:00
bac75e1c9a
Update confy
2024-05-15 18:58:08 +02:00
21df6cfc5c
Update reqwest
2024-05-15 18:52:58 +02:00
6030917ade
Update steamlocate
...
The actual update already happened, but `cargo oudated` cannot handle
the suffix, so we must update the `Cargo.toml` as well.
2024-05-15 16:37:28 +02:00
dfd51513da
Update strip-ansi-escapes
...
Removes duplicate dependency of arrayvec.
2024-05-15 16:32:45 +02:00
535a30a7ca
Add simpler shell parser
...
This obsoletes `shlex`. The quoting turned out unnecessary, and the
splitting supported a lot more than we need. It also forced
unncessary allocations: The splitting doesn't add any characters and
keeps UTF-8 intact, so returning slices from the input is perfectly
possible.
Though this particular implementation will only come to use in the
future, as `CmdLine` still requires that the slices are cloned.
Still, the custom implementation performs about 3x faster.
2024-05-15 16:32:44 +02:00
7a1727ff3b
Merge pull request 'Update CI image' ( #175 ) from feat/updates into master
...
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #175
2024-05-15 16:25:46 +02:00
ec578f4953
Update CI image
...
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
Updates for
- Rust
- LLVM
- Xwin
2024-05-15 15:30:54 +02:00
e1277783a3
Merge pull request 'Update dependencies' ( #172 ) from feat/updates into master
...
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #172
2024-05-15 15:30:12 +02:00
86ed5c327f
Update crates
...
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
`steamlocate` changed its API again.
`shlex` deprecated `quote`, but that will be addressed later.
2024-05-15 13:41:44 +02:00
cfee6d9121
Fix clippy lints
2024-05-15 13:41:42 +02:00
4ad30a8a12
Update color-eyre
...
We no longer need to patch `ansi-parser`.
2024-05-13 16:31:58 +02:00
6edd8e92c9
Merge pull request 'dtmm: Replace icon for mod update notification' ( #165 ) from feat/upload-icon into master
...
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #165
2023-12-05 14:39:37 +01:00
103775e032
dtmm: Replace icon for mod update notification
...
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 #158 .
2023-12-05 14:28:12 +01:00
1bc0fe28fb
Merge pull request 'dtmm: Extend NexusInfo' ( #163 ) from feat/nexus-info into master
...
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #163
2023-12-05 13:15:33 +01:00
169f4deea9
Merge pull request 'dtmm: Enforce skipping packages for non-bundled mods' ( #162 ) from issue/non-bundled-packages into master
...
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #162
2023-12-05 10:45:17 +01:00
a0791cba41
dtmm: Extend NexusInfo
...
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
This provides forward compatibility, in case I ever want to use those
fields. If I only added them at the time when they are needed, I would
need to come up with a process to load the `nexus.sjson` with missing
fields.
Closes #130 .
2023-12-05 10:40:29 +01:00
5f5d46ffa7
Merge pull request 'Add link to open mod on Nexus' ( #160 ) from feat/nexus-link into master
...
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #160
2023-12-05 10:13:06 +01:00
52a19e771c
Merge pull request 'Use Nexus mod name when available' ( #159 ) from issue/mod-title-details-pane into master
...
Reviewed-on: #159
2023-12-05 10:12:56 +01:00
0fb10d9d69
dtmm: Enforce skipping packages for non-bundled mods
...
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
Fixes #161 .
2023-12-05 10:11:51 +01:00
57771617ff
dtmm: Add link to open mod on Nexus
...
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 #157 .
2023-12-04 16:48:18 +01:00