Commit graph

244 commits

Author SHA1 Message Date
lzwdgc
195e8a0c5a [paker] Add more autoextensions. 2024-02-03 02:44:26 +03:00
lzwdgc
c05e24dc20 Initial paker. 2024-02-03 02:37:07 +03:00
lzwdgc
308312f54a Misc. 2024-02-03 02:36:53 +03:00
lzwdgc
763f4aeb95 [unpaker] Unify m1 and m2 unpakers. 2024-02-02 23:21:09 +03:00
lzwdgc
9146cf6900 Unpaker updates. 2024-02-02 23:06:17 +03:00
lzwdgc
98beb2b4f5 [unpaker] decode_f1 is never called. 2024-02-02 17:25:55 +03:00
lzwdgc
25b01495eb Misc. 2024-02-02 05:04:19 +03:00
lzwdgc
0b8d81ea37 Misc. 2024-02-02 05:03:17 +03:00
lzwdgc
748d1c2ff3 Update. 2024-02-01 03:44:09 +03:00
lzwdgc
31123f11fa Initial script2txt v2. 2024-02-01 00:59:17 +03:00
lzwdgc
3e2c9ba25f Update. 2023-01-10 20:05:02 +03:00
lzwdgc
23d1a49ece Update readme. 2023-01-10 17:39:49 +03:00
lzwdgc
ff7af660c7 [unpaker2] Cleanup. 2023-01-10 17:35:10 +03:00
lzwdgc
9c92592398 [unpaker2] RLEW decompression. 2023-01-10 17:31:26 +03:00
lzwdgc
b3c0b0489e [unpaker2] lzma decoder. 2023-01-10 15:46:25 +03:00
lzwdgc
6b1db00fe6 [unpaker2] Some RLEW experiments. 2023-01-10 14:41:39 +03:00
lzwdgc
e0343576b7 Update unpaker2. 2023-01-10 04:58:51 +03:00
lzwdgc
ca9427b409 Update unpaker2. 2023-01-10 04:36:50 +03:00
lzwdgc
1d2ef0e7ea Update unpaker2. 2023-01-10 04:12:54 +03:00
lzwdgc
3fdfc08750 Initial m2 unpacker (unpaker2). 2023-01-10 02:42:16 +03:00
lzwdgc
74bffbda51 Update. 2022-12-20 21:06:37 +03:00
lzwdgc
3e6326747e Add missing db save. 2021-06-04 16:57:07 +03:00
lzwdgc
c01c10f2d0 Fix script2txt build. 2021-02-20 23:16:41 +03:00
lzwdgc
2ca07e9b11 Fix linux build. 2021-02-15 15:56:24 +03:00
lzwdgc
dc8733dd49 Update for manager changes. 2021-01-08 04:43:16 +03:00
lzwdgc
ea250f11ea [mmp_extractor] Fix ue4 z scales and heightmap values. Required Z scale for the map is printed into the info file. 2020-12-13 00:39:52 +03:00
lzwdgc
aea765a7b2 Misc. 2020-12-10 03:19:49 +03:00
lzwdgc
c2565c4cb5 Restore animations reading when first animation header n = 0. 2020-12-10 03:19:44 +03:00
lzwdgc
649fb9fb97 Remove unused def. 2020-12-09 23:33:03 +03:00
lzwdgc
7a7abb8253 Some fbx animation stubs. 2020-12-09 22:27:20 +03:00
lzwdgc
1185a57df6 More verbose help message. 2020-12-09 22:27:02 +03:00
lzwdgc
50bd8a4a22 [mmo_extractor] Fix crashes. 2020-12-09 21:32:56 +03:00
lzwdgc
2137d165d5 Fix 32-bit build. 2020-12-09 21:32:31 +03:00
lzwdgc
e0d8f31839 Throw exception on unknown object. 2020-12-09 21:32:23 +03:00
lzwdgc
deba3b5e72 [mmo_extractor] Improve yaw calculations. Remove hardcoded angle. Fix atan2 arguments to correctly calculate yaw. 2020-12-09 18:48:15 +03:00
lzwdgc
4158345612 Improve animations reading. 2020-12-09 18:46:37 +03:00
lzwdgc
d6e290855c Clarify animated textures. 2020-12-09 18:45:55 +03:00
lzwdgc
2ce251997d Fix C++20 array comparison. 2020-12-09 14:19:20 +03:00
lzwdgc
1c0bea8a9c [model] Fix reading vertices. 5th attempt. (1 - initial, 2 - initial + minus x, 3 - modern, 4 - Yakim's.) 2020-12-09 05:12:20 +03:00
lzwdgc
0f06403862 [mod_converter] Allow to process and print loaded .mod files from Viewer.exe from AIM2 SDK. 2020-12-09 05:10:07 +03:00
lzwdgc
27b175238a Throw on unknown axis system. Explicitly add default one. 2020-12-09 05:09:20 +03:00
lzwdgc
40c9393a43 Misc. 2020-12-09 05:08:49 +03:00
lzwdgc
3283a0193a Misc. 2020-12-09 05:08:21 +03:00
lzwdgc
4e86ad3aae [mmo_extractor] Allow to set mapname. 2020-12-09 05:03:29 +03:00
lzwdgc
a604488ed8 Add natvis for model types. 2020-12-08 23:04:32 +03:00
lzwdgc
e96ed6e2fa Add comment. 2020-12-08 22:38:12 +03:00
lzwdgc
0c33c1870d Misc. 2020-12-08 22:17:12 +03:00
lzwdgc
ed66fa5ba1 Remove commented line. 2020-12-08 22:12:07 +03:00
lzwdgc
dd840fcbd2 Update default coordinate system value. Add according switch case and default clause. 2020-12-08 22:11:49 +03:00
lzwdgc
e2228f51c1 Remove unused function. 2020-12-08 22:03:47 +03:00
Yakim3396
77a4319ad0 Fix face mirroring use std::swap 2020-12-08 20:46:25 +03:00
Yakim3396
e9cab14ae6 Disable mirroring on axis and flip faces 2020-12-08 19:57:05 +03:00
lzwdgc
3640d875f6 Rename check method to be able to be included in UE4. 2020-12-08 18:42:34 +03:00
lzwdgc
58e1c6eafb Fix emitter usage. 2020-12-08 18:41:33 +03:00
lzwdgc
d16180dce7 Pass yaml by value. It has internal shared pointers to root document. 2020-12-08 18:41:22 +03:00
lzwdgc
c61cb0117e Fix headers. 2020-09-19 01:36:01 +03:00
lzwdgc
1f3ebf67e7 [db] Write sql from processed db. 2020-09-18 23:31:15 +03:00
lzwdgc
217ba181c0 [db] Prepare strings as utf-8. 2020-09-18 23:30:54 +03:00
lzwdgc
8fdac09842 Send errors to stderr. 2020-09-18 23:30:40 +03:00
lzwdgc
6819cd92fc [db] Keep raw strings. 2020-09-18 23:30:25 +03:00
lzwdgc
36f5234afb Use exceptions in default case. 2020-09-18 23:30:04 +03:00
lzwdgc
fd543790dd Add member function to process db into more friendly form. 2020-09-18 22:27:57 +03:00
lzwdgc
5f6c3e1fcf Better parameter name. 2020-09-18 22:27:30 +03:00
lzwdgc
fffc6f08f3 Fix includes order. 2020-09-18 22:27:12 +03:00
lzwdgc
068f0e185e Process db better. Respect value size. 2020-09-18 22:26:57 +03:00
lzwdgc
9a9082dfb7 Read more models. 2020-09-18 22:26:19 +03:00
lzwdgc
5327fe3e70 Move string conversion functions into common.cpp. 2020-09-18 22:26:10 +03:00
lzwdgc
c261342d6b Fix printing paths. 2020-09-16 14:42:46 +03:00
lzwdgc
962c12374f Handle models with additional faces. 2020-09-16 14:20:02 +03:00
lzwdgc
b5013c3fc6 Write raw r16 heightmap back again. 2020-09-16 14:19:34 +03:00
lzwdgc
d39c091312 Update to C++20. 2020-09-10 13:34:07 +03:00
lzwdgc
170fad79d7 Better variable name. 2020-09-07 01:12:55 +03:00
lzwdgc
771c8e4697 Do not fix uv coords when printing .obj. 2020-03-08 18:36:57 +03:00
lzwdgc
08c0e49cf4 [db_add_lang] Make functions static. 2020-03-07 01:22:03 +03:00
lzwdgc
25454a9e0d [db_add_lang] Set current path to lang dir. 2020-03-07 01:21:52 +03:00
lzwdgc
6b68a19cc2 Add todo. 2020-03-06 14:06:40 +03:00
lzwdgc
6bb005e5cc Remove using namespace. 2020-03-06 14:05:40 +03:00
lzwdgc
0265eb5e89 Better .obj offsets for different groups. 2020-03-06 14:04:15 +03:00
lzwdgc
1011a80add Finish link faces algorithm. Fbx export is not properly working with it. 2020-03-06 13:57:34 +03:00
lzwdgc
3b614b2da1 Disable link faces by default as uvs work is not over. Restore basic link faces. 2020-03-06 13:38:19 +03:00
lzwdgc
33787f94ae Refactor fbx output. 2020-03-05 03:04:21 +03:00
lzwdgc
baacacc44b More model data transformations. 2020-03-05 01:05:04 +03:00
lzwdgc
7325952708 Allow to load .mod files exported from M2 SDK Viewer. 2020-03-05 01:04:21 +03:00
lzwdgc
1bf7903a62 Do not print any SHAPE blocks. 2020-03-02 04:11:57 +03:00
lzwdgc
0336abf712 Misc. 2020-03-02 04:11:47 +03:00
lzwdgc
56a2422efa Misc. 2020-03-02 03:52:14 +03:00
lzwdgc
4fbe749be7 Add fbx conversion for win viewer. 2020-03-01 22:45:50 +03:00
lzwdgc
e8edda1ccf Allow to rotate data for .obj files. Add eWindows3DViewer axis system. 2020-03-01 22:22:26 +03:00
lzwdgc
4eb4e232a2 Refactor. Turn on link faces by default. 2020-03-01 21:39:47 +03:00
lzwdgc
e262989492 Fix link faces algorithm. 2020-03-01 21:20:19 +03:00
lzwdgc
6a74caf0d0 Initial dummy implementation of model patching. 2020-03-01 14:02:08 +03:00
lzwdgc
0faadd0756 Add blender enum entry. 2020-02-29 04:21:46 +03:00
lzwdgc
d2b64bdc25 Propagate axis system when printing. But disable during .obj print for now. 2020-02-29 04:19:19 +03:00
lzwdgc
3c5c756eaa Add stub of internal rotate facility. 2020-02-29 03:51:46 +03:00
lzwdgc
a1390640b5 Add aim_vector3f typedef. 2020-02-29 03:48:07 +03:00
lzwdgc
4fecc76b59 Fix models export. Improve export coordinate system selection. 2020-02-29 03:33:55 +03:00
lzwdgc
13c12f9bd3 Update for string changes. 2020-01-23 21:20:29 +03:00
lzwdgc
e96b6d0bea Improve wide paths support. 2020-01-12 22:16:48 +03:00
lzwdgc
d9b49e957d Update sw build. Update emitter addition. 2019-10-29 02:46:49 +03:00
lzwdgc
1c146ad9e3 Update sw script. Rename Context to Emitter. 2019-05-23 20:04:00 +03:00