Commit graph

16 commits

Author SHA1 Message Date
e21aab7ded
Apply clippy lints 2025-07-01 14:11:03 +02:00
f3aeec196d
dtmt: Guess game directory from bundle path
When no explicit game directory is provided, try to guess it from the
bundle path given as argument during extraction.
2025-07-01 11:26:00 +02:00
3d05a2395e
Fix clippy warnings 2025-04-21 23:13:36 +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
7080dcb8de
sdk: Use common ljd flags
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
2023-10-30 14:07:00 +01:00
93db78d58f
sdk: Implement decompiling Lua
Closes #48.
2023-10-30 09:28:07 +01:00
fb88388acf
fix(dtmt): Fix extracting files with non-flattened file names
Fixes #51.
2023-03-06 09:26:24 +01:00
f61fab4257
feat: Implement building mod bundles 2023-01-07 21:27:26 +01:00
20c0382c22
refactor: Make operations on binary data sync
There is no benefit from making all operations on binary data read
in small, async steps directly from the file.
Since we know file sizes beforehand, it's less complex to read
the entire data blob into memory once, then operate on that
synchronously.
2023-01-06 13:30:18 +01:00
fddf8fcbbd
refactor: Remove synchronization for context parameter
The context is only written to during initial setup. After that
it is only ever read, so no synchronization is necessary.
2023-01-04 10:40:25 +01:00
5cc97959a5
feat: Improve error output during extraction 2022-12-28 18:29:26 +01:00
f94a8c8731
feat: Handle file variants 2022-12-11 12:09:31 +01:00
a76ea165ac
fix: Fix running out of file handles
Fixes #1.
2022-12-10 12:37:35 +01:00
78eb25368c
refactor: Apply clippy suggestions 2022-12-06 21:53:52 +01:00
905734019e
feat: Implement decompilation for package files 2022-11-25 16:17:35 +01:00
987a6ade9b
chore: Turn project structure into workspace 2022-11-18 10:44:01 +01:00
Renamed from src/bin/cmd/bundle/extract.rs (Browse further)