Commit graph

553 commits

Author SHA1 Message Date
58071958d2
sdk: Add decompiled SJSON texture file
In addition to the actual image file, also write a `.texture` engine
file.
2025-05-30 14:23:14 +02:00
67f313107e
sdk: Add dictionary group for texture categories 2025-05-30 14:23:11 +02:00
db27dd9f39
feat(sdk): Implement partial texture decompilation 2025-05-30 14:07:34 +02:00
43ab1127a8
Merge pull request 'chore(deps): update rust crate tokio to v1.45.1' (#252) from renovate/tokio-1.x-lockfile into master
All checks were successful
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #252
2025-05-30 13:53:19 +02:00
a072364ff0
Merge pull request 'chore(deps): update rust crate clap to v4.5.39' (#253) from renovate/clap-4.x-lockfile into master
All checks were successful
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #253
2025-05-30 13:18:49 +02:00
93c0325881
Merge pull request 'fix(deps): update rust crate reqwest to v0.12.18' (#254) from renovate/reqwest-0.x-lockfile into master
Reviewed-on: #254
2025-05-30 13:18:41 +02:00
dcc58729f8
Merge pull request 'Disable excessive rebase for Renovate' (#255) from feat/renovate into master
All checks were successful
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #255
2025-05-30 11:53:31 +02:00
138cb79ff6
Disable excessive rebase for Renovate 2025-05-30 11:52:44 +02:00
d66dcb5cfd
fix(deps): update rust crate reqwest to v0.12.18
All checks were successful
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
2025-05-28 16:31:22 +00:00
3901355f9d
chore(deps): update rust crate clap to v4.5.39
All checks were successful
build/linux Build for the target platform: linux
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
2025-05-27 18:16:25 +00:00
220f37c728
chore(deps): update rust crate tokio to v1.45.1
Some checks are pending
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
lint/clippy Checking for common mistakes and opportunities for code improvement
2025-05-24 15:01:28 +00:00
5e3260767b
Merge pull request 'Miscellaneous changes extracted from the WIP textures branch' (#241) from feat/misc into master
All checks were successful
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
Reviewed-on: #241
2025-05-21 11:06:52 +02:00
1fc302bb1b
Merge pull request 'chore(deps): update rust crate zip to v3' (#248) from renovate/zip-3.x into master
All checks were successful
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
Reviewed-on: #248
2025-05-21 11:05:54 +02:00
6ef50fee32
Merge pull request 'chore(deps): update rust crate minijinja to v2.10.2' (#242) from renovate/minijinja-2.x-lockfile into master
All checks were successful
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #242
2025-05-21 11:04:34 +02:00
14eded5b7e
chore(deps): update rust crate zip to v3
All checks were successful
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
2025-05-21 08:31:45 +00:00
5e1581b428
chore(deps): update rust crate minijinja to v2.10.2
All checks were successful
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
2025-05-21 08:31:36 +00:00
0b2669fe1f
Merge pull request 'chore(deps): update rust crate clap to v4.5.38' (#244) from renovate/clap-4.x-lockfile into master
All checks were successful
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #244
2025-05-21 10:29:16 +02:00
d1dbb3e05d
Merge pull request 'chore(deps): update rust crate bitflags to v2.9.1' (#247) from renovate/bitflags-2.x-lockfile into master
Reviewed-on: #247
2025-05-21 10:29:09 +02:00
d1fba0b040
Merge pull request 'chore(deps): update rust crate tokio to v1.45.0' (#243) from renovate/tokio-1.x-lockfile into master
Reviewed-on: #243
2025-05-21 10:28:58 +02:00
1e9738c953
chore(deps): update rust crate tokio to v1.45.0
All checks were successful
build/linux Build for the target platform: linux
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
2025-05-20 13:16:37 +00:00
1975435805
chore(deps): update rust crate clap to v4.5.38
All checks were successful
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
lint/clippy Checking for common mistakes and opportunities for code improvement
2025-05-20 13:16:29 +00:00
ca677606fa
chore(deps): update rust crate bitflags to v2.9.1
All checks were successful
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
2025-05-20 13:16:25 +00:00
5819c66b74
Merge pull request 'chore(deps): update rust crate tempfile to v3.20.0' (#245) from renovate/tempfile-3.x-lockfile into master
All checks were successful
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #245
2025-05-20 15:12:20 +02:00
164cb7bc13
chore(deps): update rust crate tempfile to v3.20.0 2025-05-20 12:46:31 +00:00
c289ca3d9b
Merge pull request 'chore(deps): update rust crate csv-async to v1.3.1' (#249) from renovate/csv-async-1.x-lockfile into master
Some checks are pending
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #249
2025-05-20 13:46:55 +02:00
f521e20f2b
chore(deps): update rust crate csv-async to v1.3.1
All checks were successful
build/linux Build for the target platform: linux
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
2025-05-15 22:16:23 +00:00
7b95918000
Refactor code for file injection
All checks were successful
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
I ended up wrapping the raw data in a `BundleFile` twice.
I also made '--compile' the default, as it should be much less often
that raw data needs to be inserted. Even files that are essentially raw
binary blobs, like `.wwise_event`, still have some custom fields that
need to be accounted for.
2025-04-22 23:17:01 +02:00
636279edfe
Use macro to generate file type enum and impls
Some checks are pending
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
Due to the large amount of variants, and the different kind of values
connected to each variant (hash, extension name) being scattered
across the various `impl` blocks, the file became rather convoluted.

While I don't generally like the indirection of macros or meta
programming, it's not that bad with Rust, thanks to Rust Analyzer being
able to attach diagnostics to the source inside the macro definition,
and the ability to generate the macro's output for validation.

Therefore, the new macro allows putting all data used for this enum
definition into a single block.
2025-04-22 23:03:12 +02:00
43e3bf7b60
Add cmdline to tracing output
Can come in handy when other people report problems and show the error
message or full log, but not the command line.

Setting that span to `level = "error"` ensures that it won't be disabled
by level filters.
2025-04-22 22:58:00 +02:00
48683638f6
Merge pull request 'chore(deps): update rust crate bincode to v2' (#204) from renovate/bincode-2.x into master
All checks were successful
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
Reviewed-on: #204
2025-04-22 14:51:45 +02:00
f5940f995e
Merge pull request 'Fix build script' (#240) from feat/ci into master
Reviewed-on: #240
2025-04-22 14:51:24 +02:00
5bb0f2acf5
Fix build script 2025-04-22 14:50:37 +02:00
60d9ec0580
Merge pull request 'chore(deps): update rust crate cli-table to 0.5.0' (#210) from renovate/cli-table-0.x into master
Some checks failed
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #210
2025-04-22 00:16:24 +02:00
cd4a953a63
Update bincode
All checks were successful
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
2025-04-22 00:14:43 +02:00
72ab8811c3
Ignore broken pipe error when printing dictionary
All checks were successful
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
stdout closing prematurely is normal behaviour, e.g. piping into `head`.
2025-04-22 00:06:34 +02:00
3c7393f28a
Merge pull request 'chore(deps): update rust crate steamlocate to v2.0.1' (#217) from renovate/steamlocate-2.x-lockfile into master
Some checks failed
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
Reviewed-on: #217
2025-04-22 00:01:30 +02:00
afb5bc0795
chore(deps): update rust crate bincode to v2
Some checks failed
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
2025-04-21 22:01:13 +00:00
ddc69112bc
chore(deps): update rust crate cli-table to 0.5.0
All checks were successful
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
2025-04-21 22:01:08 +00:00
cf8daeb3f2
Merge pull request 'fix(deps): update rust crate url to v2.5.4' (#229) from renovate/url-2.x-lockfile into master
Some checks failed
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
Reviewed-on: #229
2025-04-21 23:56:48 +02:00
83de50409b
Fix locating Steam game path
All checks were successful
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
2025-04-21 23:55:55 +02:00
6e58449dac
fix(deps): update rust crate url to v2.5.4
All checks were successful
build/linux Build for the target platform: linux
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
2025-04-21 21:46:13 +00:00
bf5c21dd03
chore(deps): update rust crate steamlocate to v2.0.1
All checks were successful
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
2025-04-21 21:46:09 +00:00
813b927da0
Merge pull request 'Miscellaneous changes' (#239) from feat/ci into master
Some checks failed
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #239
2025-04-21 23:34:39 +02:00
bb6396c932
Fix build script
All checks were successful
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
2025-04-21 23:15:08 +02:00
3d05a2395e
Fix clippy warnings 2025-04-21 23:13:36 +02:00
38a023bea6
Move serde_sjson to its own project 2025-04-21 22:52:54 +02:00
9ac13834a1
Commit lock file changes
Seems like Renovate missed this.
2025-04-21 18:45:18 +02:00
1a000371fa
Treat lint warnings as errors in CI
Warnings will not show up if they don't fail CI.
2025-04-21 18:41:59 +02:00
e33e02457b
Merge pull request 'chore(deps): update rust crate minijinja to v2.9.0' (#234) from renovate/minijinja-2.x-lockfile into master
Some checks failed
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #234
2025-04-21 18:37:01 +02:00
6aabf8f38b
Merge pull request 'fix(deps): update tokio-tracing monorepo' (#231) from renovate/tokio-tracing-monorepo into master
Some checks failed
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
Reviewed-on: #231
2025-04-21 18:35:44 +02:00