Commit Graph
17 Commits
Author SHA1 Message Date
Andrey AkhmichinandAlibek Omarov 54657c149b utils: mdldec: use separate options for sequences and textures. 2025-04-10 14:57:11 +05:00
Andrey AkhmichinandAlibek Omarov 7bfcd4cef0 utils: mdldec: add options to:
- disable log output.
 - use separate directories for smd and texture files.
 - avoid to write paranoia 2 motion types.
 - ignore filesize checks.
 - enable UV coords shifting.
 - show decompiler version.
 - show help.
2025-04-02 12:07:41 +03:00
Andrey AkhmichinandAlibek Omarov 92e976952e utils: mdldec: fix UV coords shifting yet again. 2025-04-02 12:07:41 +03:00
Andrey AkhmichinandAlibek Omarov 521bc675a2 utils: mdldec: smd.c: simplify proper bone rotation code. 2023-12-14 14:55:40 +03:00
Andrey AkhmichinandAlibek Omarov 845cee2578 utils: mdldec: smd.c: prevent division by zero. 2023-12-14 14:54:49 +03:00
Andrey AkhmichinandAlibek Omarov dabed4f9eb utils: mdldec: add separate directories creation for sequences and textures. 2023-12-05 11:18:47 +03:00
Andrey AkhmichinandAlibek Omarov 7a795edeb5 utils: mdldec: better validation checks. 2023-11-20 00:19:14 +03:00
Andrey AkhmichinandAlibek Omarov fc55a685e3 utils: mdldec: small optimizations. 2023-10-22 16:00:01 +03:00
Andrey AkhmichinandAlibek Omarov c551aefd77 utils: mdldec: add boneweights support. 2023-10-18 10:12:48 +03:00
Andrey AkhmichinandAlibek Omarov 6d318a4102 utils: mdldec: smd.c: replace loop with VectorMA. 2023-10-16 09:35:51 +03:00
Andrey AkhmichinandAlibek Omarov a19fb82d66 utils: mdldec: smd.c: add leading zero to number in sequence filenames. 2023-10-16 06:18:06 +03:00
Andrey AkhmichinandAlibek Omarov 26ef3e274c utils: mdldec: smd.c: linear movement loss fix. 2023-10-14 17:38:48 +03:00
Alibek Omarov cfdfdd5c93 utils: mdldec: add size argument to COM_FileBase calls 2023-04-26 05:20:45 +03:00
Andrey Akhmichinanda1batross 9917cba8fc utils: mdldec: add fixed uv coords support. 2022-02-12 22:06:31 +03:00
Gleb MazovetskiyandAlibek Omarov 5e0a0765ce Trim all trailing whitespace
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.

Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.

`git blame` becomes less useful on these lines but it already isn't very useful.

Commands:

```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
Andrey AkhmichinandAlibek Omarov 299e3fe957 utils: mdldec: small update. 2020-11-28 23:18:30 +03:00
Andrey AkhmichinandAlibek Omarov 7a58813254 utils: add studio model decompiler. 2020-03-04 09:23:12 +03:00