2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 16:52:35 +00:00
Commit Graph

753 Commits

Author SHA1 Message Date
LJW-Dev 81ba499852 WIP: Updating code to follow laupentin's code review.
Done:
- Moved custom map structures to their own objcommon header file
- Updated GfxLightGridRow struct
- Reverted shader_bin file path
- Renamed Project Creator to BSP Creator
- Removed model loading from BSP creator
- Cleaned up BSP Creator and updated the names of structs
WIP:
- Update BSP calculation code to be more readable and use unique/shared ptrs
2026-05-16 09:44:22 +02:00
LJW-Dev 65235168b6 Added a default entity string if the entity file isn't given 2026-05-16 09:44:22 +02:00
LJW-Dev f3bf16405c FIxed techset dumping and loading to be the same, as well as added a missing image check to the BSP compiler to reduce the output prints when an image is missing. 2026-05-16 09:44:22 +02:00
LJW-Dev 68435e8c74 Updated Json Material loader to support passing JSON instead of a stream, and added techset loading code 2026-05-16 09:44:21 +02:00
LJW-Dev 7908549dc8 Updated custom map objloading code to match new structure. 2026-05-16 09:44:21 +02:00
LJW-Dev 6acf19da6d Another refactor to remove leacy code that isn't used anymore 2026-05-16 09:44:21 +02:00
LJW-Dev d1baabdba6 Update T6 json material loading to include JSON being passed directy instead of a stream. 2026-05-16 09:44:21 +02:00
LJW-Dev 836c6d924d Another refactor to clean up comments and code 2026-05-16 09:44:21 +02:00
LJW-Dev f7f290eeb2 remove GSC-Tool use 2026-05-16 09:44:20 +02:00
LJW-Dev 413b16e4d1 Second failed attempt at making shadows work 2026-05-16 09:44:20 +02:00
LJW-Dev 78d458382f Failed test to make shadows work 2026-05-16 09:44:20 +02:00
LJW-Dev 2b302e9a85 V1 release of custom map code 2026-05-16 09:44:20 +02:00
LJW-Dev 10da8b27b7 all known bugs fixed and loaded maps work correctly now. 2026-05-16 09:44:19 +02:00
LJW-Dev b0756ef8e1 fix: more incorrect paths 2026-05-16 09:44:19 +02:00
LJW-Dev 1ad7c8320e Fix: technqiues weren't opened with the proper file path. 2026-05-16 09:44:19 +02:00
LJW-Dev 61da5c2e08 WIP fix, loading is currently not working correctly 2026-05-16 09:44:19 +02:00
LJW-Dev a045518f7d Added the ability to dump and load technique sets.
note: techniques should be dumped in seperate files from technique sets, but compiling them all into the techset works as well but is harder to read.
2026-05-16 09:44:18 +02:00
LJW-Dev 264139fb4e Initial commit of BSP compilation 2026-05-16 09:44:08 +02: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
njohnson 1d6c028454 Clang format. 2026-05-02 12:04:51 +02:00
njohnson 0eb1f9f978 Add IW5 SndCurve dumper. 2026-05-02 12:04:51 +02:00
njohnson dec2ae96cb Add loader logic from IW4. 2026-05-02 12:04:50 +02:00
njohnson 3136a03754 Add dumper and loader call to parents. 2026-05-02 12:04:45 +02:00
Paging Red 759a3ccf0e Merge pull request #753 from pagingred/iw5_physpreset_dumper
feat: phys presets dumping and loading for IW3, IW5, T5
2026-05-02 12:01:59 +02:00
Jan 3dbc70755c Merge pull request #759 from michaeloliverx/asset-source-log
feat: add asset source description to loading logs
2026-05-01 22:04:36 +02:00
Jan Laupetin 3063550931 chore: adjust asset source description a bit 2026-04-27 21:29:14 +02:00
Michael Oliver 3aa28a0ded fix: IW3 ensure XModel::surfs is set in loader 2026-04-27 18:24:02 +01:00
Michael Oliver a3e6529925 feat: add asset source description to loading logs 2026-04-27 10:07:11 +01:00
Paging Red 010ac3ad3e Add IW3 PhysPreset dump logic (#744)
* Copied template from font.

* Create PhysPreset writer from Font dumper template.

* Completely refactor to match previous implementation.

* Remove files from previous implementation.

* Fix PhysPresetFields.

* Add missing fields and correct order.

* Add static infinity check as builtin does not work.

* Wasn't clang formatted.

* Remove unused 'perSurfaceSndAlias' field.

* Removed unsupported vals (tracer & vehicle) and un-needed vals (material).

* Make order match struct and mark 'tempDefaultToCylinder' as QBOOLEAN.

* Make order match struct and clamp vals for 'mass' and 'tempDefaultToCylinder'.

* Remove un-needed includes and add limits for float max.

* Remove clamping of mass.

* Use float max to determine if friction is infinite.

* Clang format.

* chore: formatting

* chore: do not use classes for obj constants

---------

Co-authored-by: njohnson <gitea.nicholasjohnson.info>
Co-authored-by: Jan Laupetin <jan@laupetin.net>
2026-04-23 23:27:34 +02:00
Jan Laupetin f9f93b33ec fix: bad image external loading condition for t6
* change picked from edd6aef2c578b65c3718dc55a2f366bc488f5243 by hc20k
2026-04-17 22:31:05 +02:00
Jan Laupetin a497efe67b feat: compile iw5 techsets 2026-03-18 23:04:41 +01:00
Jan Laupetin 64a36d89e1 feat: more detailed logs about what is being loaded 2026-03-15 19:23:54 +01:00
Jan Laupetin e8b9ece6bd feat: t5 techset compiling 2026-03-14 23:38:59 +01:00
Jan Laupetin daa891a922 feat: add techset compiling for IW3 2026-03-14 20:54:59 +01:00
Jan Laupetin 6e19b94b9b chore: use templated loaders for shaders in IW4,T6 2026-03-14 09:09:57 +01:00
Jan Laupetin 90d7f92ddd chore: replace all usages of removed ClassUtils macros 2026-03-06 00:13:04 +01:00