Commit Graph
21 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 ccb8d611c6 public: add getopt implementation from NetBSD libc. 2025-04-02 12:07:41 +03:00
Andrey AkhmichinandAlibek Omarov f4d98c056e utils: mdldec: handle unknown options. 2025-04-02 12:07:41 +03:00
Andrey AkhmichinandAlibek Omarov 779adcd838 utils: mdldec: bump version to 1.2. 2025-04-02 12:07:41 +03:00
Andrey AkhmichinandAlibek Omarov 16e2ce0aeb utils: mdldec: avoid brackets. 2025-04-02 12:07:41 +03: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 ea70989fd2 utils: mdldec: Fix resource names validity checks. 2025-03-24 01:24:31 +03:00
Andrey AkhmichinandAlibek Omarov 520fc33394 utils: mdldec: fix wrong conditions. 2023-12-28 20:36:39 +03:00
Andrey AkhmichinandAlibek Omarov f9b6389248 utils: mdldec: create full destination path into "Kratisto's mdldec" maner. 2023-12-05 11:18:47 +03:00
Andrey AkhmichinandAlibek Omarov c448c7b0b1 utils: mdldec: avoid double ".smd" extension output. 2023-11-22 11:05:34 +03:00
Andrey AkhmichinandAlibek Omarov 8d7b9c2f01 utils: mdldec: always write trailing slash for non-empty destination path. 2023-11-22 11:03:28 +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 f343f0da41 utils: mdldec: return different errorcodes on error. 2023-10-16 09:36:26 +03:00
Alibek Omarov cfdfdd5c93 utils: mdldec: add size argument to COM_FileBase calls 2023-04-26 05:20:45 +03:00
Alibek Omarov 76c7273600 utils: mdldec: remove usage of string functions with unspecified size 2023-04-23 18:30:44 +03:00
Andrey Akhmichinanda1batross cbcb90638b utils: mdldec: try to create user defined destination directory. 2022-06-30 18:13:46 +03:00
Andrey AkhmichinandAlibek Omarov 9bc3d6d315 utils: mdldec: better validity checks. 2021-01-10 02:31:19 +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 7a58813254 utils: add studio model decompiler. 2020-03-04 09:23:12 +03:00