Jan
414ff2f8d9
chore: move package json to root ( #813 )
...
* chore: move package json to root folder
* chore: also lint prettier codestyle
* chore: configure ModManUi files to use lf eof
* chore: update npm versions
* chore: update README of ModMan
* chore: adjust ci to use package json of root folder
2026-05-25 23:41:21 +02:00
Jan Laupetin
e1ec018f09
chore: modernize collision tree code
2026-05-24 11:38:21 +02:00
Jan Laupetin
a81548e300
fix: account for possible zero items when building aabb trees
2026-05-24 11:13:55 +02:00
Jan Laupetin
64d518405d
feat: calculate full collision tree for xmodels
2026-05-24 11:13:55 +02:00
Jan Laupetin
5cf0ce37c1
feat: calculate model collision tree with leafs
2026-05-24 11:13:55 +02:00
Jan Laupetin
a128fbeb5e
chore: imitate game xmodel behaviour in always having even tri count
2026-05-24 11:13:54 +02:00
Jan Laupetin
8a791816ed
chore: set XSurface deformed property when applicable
2026-05-24 11:13:54 +02:00
Jan Laupetin
e6aa66e0f0
chore: use templating for image dumper
2026-05-17 12:07:02 +02:00
Jan Laupetin
18dec9d2f2
fix: add missing iwi formats to iwi writers
2026-05-17 11:15:25 +02:00
Jan Laupetin
c49d2bc96f
fix: do not dump iwis with format unknown
2026-05-17 11:15:25 +02:00
Jan Laupetin
015544eb79
chore: reorder assignment of light def members slightly
2026-05-16 10:45:26 +02:00
njohnson
72dd51609f
Clang format.
2026-05-16 09:54:26 +02:00
njohnson
cd2346e174
Refactor something.
2026-05-16 09:54:26 +02:00
njohnson
336c9d8d86
Fix LMAP parsing and don't resolve till after ptr is ready.
2026-05-16 09:54:26 +02:00
njohnson
4208bab758
Remove un-needed constants and switch to parsing name by null character.
2026-05-16 09:54:25 +02:00
njohnson
d1b74c7230
Remove vestigial lmapLookupStart code.
2026-05-16 09:54:25 +02:00
njohnson
42ed9d8616
Move const to anonymous namespace.
2026-05-16 09:54:25 +02:00
njohnson
efbbc05626
Clang format.
2026-05-16 09:54:25 +02:00
njohnson
e92681914f
Add CreationState to fill in lightdef lookup start.
2026-05-16 09:54:24 +02:00
njohnson
531b4811ca
Fill in lookup start.
2026-05-16 09:54:24 +02:00
njohnson
54d4eaffd2
Added assert for attenuation image. Do not dump lmapLookupStart.
2026-05-16 09:54:24 +02:00
njohnson
92418daa6d
Add brackets for if. Do not dump lmapLookupStart.
2026-05-16 09:54:24 +02:00
njohnson
773fee4a03
T5 and T6 set lmapLookupStart to 0.
2026-05-16 09:54:24 +02:00
njohnson
7d3791a404
Change manual CString reader to std::getline builtin. Don't require cucoloris be present.
2026-05-16 09:54:23 +02:00
njohnson
e0c1ba1724
Remove unused max constant.
2026-05-16 09:54:23 +02:00
njohnson
2b3f680d48
feat: add t6 gfxlight dumper and loader
2026-05-16 09:54:23 +02:00
njohnson
5b6a725f78
feat: add t5 gfxlight dumper and loader
2026-05-16 09:54:23 +02:00
njohnson
3c15f8ad7e
feat: add iw5 gfxlight dumper and loader
2026-05-16 09:54:22 +02:00
njohnson
a905a6d161
feat: add iw3 gfxlight dumper and loader
2026-05-16 09:54:22 +02:00
Jan
6012b79cdc
Merge pull request #801 from michaeloliverx/cli-minimal-zone
...
fix(unlinker): respect `--minimal-zone` CLI arg
2026-05-15 17:22:39 +02:00
Jan Laupetin
e824e9a9de
chore: make DependencyAssetLookup a separate class
2026-05-15 15:35:23 +01:00
Jan Laupetin
f7f4deeecc
chore: choose appropriate extension for ipak file
2026-05-15 13:02:49 +01:00
Michael Oliver
9ecc3d06e8
fix(unlinker): respect minimal zone definition output
2026-05-15 11:48:33 +01:00
Jan Laupetin
71ca182524
feat: properly parse data from xenon ipaks
2026-05-12 23:44:53 +02:00
Jan Laupetin
e1bb8ae4d2
chore: enable reading of big endian ipaks
2026-05-11 23:54:25 +02:00
Jan Laupetin
7ae7cf85ff
fix: make sure ipak reading stops in time
2026-05-11 22:20:57 +02:00
Jan Laupetin
b2c271956a
chore: reorder methods of ipak entry read stream
2026-05-11 22:16:56 +02:00
Jan Laupetin
36b4ec7781
feat: add support for extracting ipaks to ImageConverter
2026-05-11 21:58:25 +02:00
Jan Laupetin
582d8abbbf
feat: reorder bones when their order is not corresponding to xmodel constraints
2026-05-03 21:01:38 +02:00
Jan Laupetin
92e236b1fe
chore: only allocate 3 floats per bone for applicable games
2026-05-03 17:19:48 +02:00
Jan Laupetin
875e1fb360
fix: properly load all root bones from gltf
2026-05-03 16:35:15 +02:00
Jan Laupetin
ff7b940e86
fix: properly dump gltf with root node in models with more than one root bone
2026-05-03 16:35:06 +02:00
Jan Laupetin
2d2ea30b45
fix: iw5 uses isFrictionInfinity as well
2026-05-03 16:00:30 +02:00
Jan Laupetin
a31d3c4b88
fix: iw4 physpreset uses FLT_MAX as infinite friction
2026-05-03 15:56:09 +02:00
Jan Laupetin
67bdb79654
fix: do not clamp iw4 physpreset mass
2026-05-03 15:46:52 +02:00
Jan Laupetin
0c1bc747dc
chore: update default root bone name to empty string and do not specify if matching default name
2026-05-03 13:51:56 +02:00
Jan Laupetin
ed1ed73c73
chore: warn about mismatching root bone name between model and xmodel json
2026-05-03 13:40:31 +02:00
Jan Laupetin
989d29b359
feat: support root bone name from xmodel json
2026-05-03 13:27:35 +02:00
Jan Laupetin
b7a22973e6
chore: make sure xmodel flags are unsigned
2026-05-03 13:09:03 +02:00
Jan Laupetin
4886767e67
chore: get rid of unnecessary class in XModelDumper
2026-05-03 13:09:03 +02:00