Commit Graph

234 Commits

Author SHA1 Message Date
dexy
6c244c6406 Replaced CMapData and CEntityDef property gets with field gets for performance 2019-01-09 18:09:12 +11:00
dexy
f74fde1c67 RPF explorer now loading all archetypes for better texturing in model viewer (for eg DLC drawables) 2019-01-09 12:47:03 +11:00
dexy
da7a9e106f HD textures option in model viewer 2019-01-09 12:15:38 +11:00
dexy
1af436b403 Stopped HD ytd's getting loaded when HD texture not enabled, changed cache stacks to queues, added distance property to entity 2019-01-08 18:57:24 +11:00
dexy
9dde38c930 HD textures (WIP), vehicles.meta gtxd loading 2019-01-06 05:04:33 +11:00
dexy
e4c2dddf10 Updated MetaNames 2018-12-29 11:10:49 +11:00
dexy
9191a3da5e Renamed audio interior room Unk00 to MLO room 2018-12-28 20:34:16 +11:00
dexy
1d1295c29d Dat151 progress 2018-12-28 19:02:21 +11:00
dexy
a4ca5f812d Dat151 progress 2018-12-27 21:37:44 +11:00
dexy
2d77d76e0c Dat151 progress 2018-12-27 11:53:53 +11:00
dexy
77d9c4e4c8 Dat151 progress 2018-12-27 00:20:39 +11:00
dexy
05d302a4e1 Dat151 progress 2018-12-25 22:40:49 +11:00
dexy
df34b6f614 Dat151 progress 2018-12-25 14:55:46 +11:00
dexy
3bfe19bf80 Dat151 progress 2018-12-25 00:29:24 +11:00
dexy
2d20746c65 Dat151 progress 2018-12-24 23:34:44 +11:00
dexy
7660a228eb Renamed skin vertex types and adjusted vertex layouts 2018-12-21 20:11:28 +11:00
dexy
6e2c81675e Added basic DLC subpacks support 2018-12-20 22:35:19 +11:00
dexy
f2c2bba99d Added some MetaNames hashes 2018-12-20 20:52:42 +11:00
dexy
cd9b54b3b8 Fixed file corruption when saving ytyps with CMloTimeCycleModifiers 2018-12-20 13:38:39 +11:00
dexy
7c31cfb6ee XML to PSO conversion (experimental) 2018-12-20 04:28:43 +11:00
dexy
37afa2335c Moved entity sets checkboxlist to MLO Instance tab on entity panel. Added support for updating/saving MLO instance data. Added support for updating/saving TImeArchetype data. 2018-12-16 22:32:33 +11:00
dexy
13a57102a9 Selectable OccludeModels, also occluder ymap indices now displayed 2018-12-15 12:12:57 +11:00
dexy
3533260884 Rendering OccludeModels when in Occlusion mode 2018-12-15 04:09:02 +11:00
dexy
ca7f270c5c Added Occlusion mode and render YmapBoxOccluders (OccludeModels todo) 2018-12-15 01:46:48 +11:00
dexy
0ec052ddbc XmlMeta bug fix for IntFlags2 2018-12-14 22:33:19 +11:00
dexy
f84b51d1c1 Save RSC Meta files to RPF directly from Meta Editor form 2018-12-14 21:23:05 +11:00
dexy
e7f5238c33 Added PsoTypes generated struct and enum infos, and new MetaNames 2018-12-14 02:14:14 +11:00
dexy
775bbe79a8 Fixed new train track bug/crash 2018-12-11 15:33:39 +11:00
dexy
0c4001fa4b Improved RenderableCache item invalidation, Added Performance Statistics window 2018-12-05 16:23:34 +11:00
dexy
9f701ee44b Merge branch 'master' of https://github.com/dexyfex/CodeWalker 2018-12-05 11:47:28 +11:00
dexy
61afd7c24f TestAudioYmts function in GameFileCache 2018-12-05 11:47:15 +11:00
dexyfex
e004a5ad18 Merge remote changes with local 2018-12-03 19:59:06 +11:00
Soloman
462e464c2f Ability to edit YTYP files and MLO Entity Defintions + Revisions to grass brush (#33)
* - Add ability to edit/add ytyp files to project.
- Add ability to edit/add ytyp archetype files to ytyp.
- Add ability to add/remove entities from mlo archetype defs.
- Add ability to save ytyp files.
- Add dialog popup before optimizing grass batches.
- Fix grass batches not being selected when chaning selection in project explorer.
- Merged with upstream/master.
- Squashed last 4 commits for PR cleanliness.

* Fixed windows forms reference error.

* - Added error checking to deleting mlo entities.
- Fixed various bugs with deleting mlo entities.
- Fixed edit archetype panel Asset Type box.
- Removed redundant/unnecessary.
- Removed backwards references between MCEntityDef and YmapEntityDef. All ymap entity to mcentity references are grabbed using indecies in the MloInstanceData class.
- Fixed "YmapMenu" not showing when selecting entities/mlo entities in project form.

Current bugs:
- Loading a ytyp file -- mlo entities are not editiable, and are created in the world.
- entitysets are not editable (properly).
- Removing an mloinstancedef from a ymap does not delete the mlo instance's gizmo from the world, and it's still selectable. (Although all references are lost, and I believe collected by the GC?)

* - Moved archetype initialization methods YmapFile.InitYmapEntityArchetypes(GameFileCache gfc)  and MloInstanceData.InitYmapEntityArchetypes(GameFileCache gfc)
- Added ability to load mlo instance defs through ymap files.
- Fixed add method for mlo archetypes.

* - Removed SetOrientationInv.
- Removed unreachable code + updated comment.
- Renamed CreateEntity to CreateYmapEntity, and renamed params for consistency.

* Split calls to CreateYmapEntity() and MloArchetype.AddEntity().

* Fixed redundant rotation inversions.

* - Added ability to select rooms.
- Changed tree view grouping for mlo entities.
- Fixed projectexplorer selection bugs.
- Added ability to toggle mlo entity sets.
- Fixed some change events when editing archetypes.
2018-12-03 19:54:04 +11:00
dexyfex
3b8b99551e Merge remote changes with local 2018-08-15 09:00:05 +10:00
dexyfex
4da1e3d8c7
Merge pull request #30 from neos7/master
Added checkbox to disable rendering of drawables and minor fields renamed
2018-08-15 08:50:44 +10:00
dexyfex
f550f99a90
Merge pull request #29 from indilo53/master
YtypFile - Add AddArchetype, RemoveArchetype and Save
2018-08-15 08:50:10 +10:00
Carmine
b3069321e1 Replaced floats with Vector3 for JointRotationLimit_s Min and Max 2018-08-14 12:15:52 +02:00
Carmine
1b94cd4f04 Renamed Min and Max limits in JointRotationLimit_s 2018-08-11 18:15:23 +02:00
Carmine
8caee271f7 Renamed some fields in Bone 2018-08-11 18:13:52 +02:00
Jérémie N'gadi
af930fa4ec YtypFile - Add AddArchetype, RemoveArchetype and Save 2018-07-26 22:16:54 +02:00
Soloman N
6bce9acbcd Some revisions to grass brush.
- Made some changes to the way I check for deleting instances.
- Added a new bounding box check for painting grass.
- Made GetNewGrassBounds return a bounding box instead of our parameters
- Added new Expand method to bounding box util
- Added instance radius check and instance brush check to project form for possible future instance types (Props)
- Added grass brush gizmo
- Updated gui for grass instance batch panel
- Fixed bug with GoToPosition (with bounds)
2018-06-10 09:36:50 -04:00
Soloman N
b971beb5bf added grass painting 2018-06-07 12:42:41 -04:00
dexyfex
0b6432ceff GenerateNavMeshPanel WIP 2018-06-02 02:25:12 +10:00
dexyfex
4c131fa0af Nav mesh progress 2018-05-06 14:55:54 +10:00
dexyfex
bab1bee460 Nav mesh progress 2018-05-05 01:58:23 +10:00
dexyfex
b18b1e7672 Nav mesh progress 2018-05-02 00:28:47 +10:00
dexyfex
bab6668021 Nav mesh progress 2018-05-01 22:34:52 +10:00
dexyfex
a56e87d64a R30_dev1 2018-05-01 15:11:08 +10:00
dexyfex
6ae802a910 Fixed XmlMeta and MetaXML flags/hash conversion bugs. 2018-05-01 15:03:35 +10:00
dexyfex
176da9faf1 Merge branch 'master' of https://github.com/dexyfex/CodeWalker 2018-05-01 13:21:10 +10:00
dexyfex
945bf410cc Staging random bug fixes 2018-05-01 13:20:39 +10:00
Carmine
4235c5a0c2 BoundsMaterialTypes: Read colours from materialfx.dat 2018-04-03 14:27:15 +02:00
dexyfex
a85eb257be Rendering support for missing/new vertex type used by some vehicles 2018-03-17 01:03:37 +11:00
dexyfex
f5d384601e Projects code to support audio placements editing 2018-03-17 00:16:57 +11:00
dexyfex
8b72fc1220 Editing points and portals in navmesh, improved DX error message 2018-03-14 12:36:43 +11:00
dexyfex
761278fd0b Navmesh/paths rendering depth bias, navmesh points and portals now selectable 2018-03-12 04:42:20 +11:00
dexyfex
07330891bf Removed unnecessary SharpDX. prefixes 2018-03-11 01:27:13 +11:00
dexyfex
9e448fdacc Nav mesh editing improvements 2018-03-11 01:12:08 +11:00
dexyfex
ab64a82791 Ynv polygon properties editing 2018-03-10 04:58:44 +11:00
dexyfex
68273e7dca Refactored loading resource files from raw byte array code 2018-03-08 12:15:28 +11:00
dexyfex
a68523b2ef Improved interior info display and XML conversion 2018-03-07 13:12:20 +11:00
dexyfex
05ec5e5b76
Merge pull request #17 from neos7/master
Little fix for some vanilla gtxd.meta
2018-03-05 21:43:56 +11:00
dexyfex
da24d38812 Updated MetaTypes init data, Fixed XmlMeta not importing some things 2018-03-05 20:37:51 +11:00
Carmine
035a973f91 GtxdFile: Added BOM check required for some vanilla gtxd.meta 2018-03-04 17:18:25 +01:00
dexyfex
6da590530b Fix for typing in textboxes when trying to move the camera in world view. Fixed debugging property exceptions in ResourceBaseTypes 2018-03-04 21:35:33 +11:00
dexyfex
4ff94156e7 Rendering scenario vehicles at correct height 2018-03-04 06:24:15 +11:00
dexyfex
69ea4d5c35 Merge branch 'master' of https://github.com/dexyfex/CodeWalker 2018-03-04 00:03:32 +11:00
dexyfex
c093aa4736 New Project Window 2018-03-04 00:03:08 +11:00
Carmine
e2b59d2ca5 Fixed sbyte types in handler of ArrayOfBytes 2018-03-02 01:15:55 +01:00
Carmine
8baef77ecd Added some missing hashes taken from dav90's PSO_RBF_XMLExport_V5.7 2018-03-01 23:13:19 +01:00
Carmine
f5b8da104c Added GetParsedArrayOfBytes WriteParsedArrayOfBytesNode to handle ArrayOfBytes when converting to/from XML 2018-03-01 23:09:15 +01:00
Carmine
974e67ce46 Ymap: Added bit 10 (of contentFlags) assertion for GrassInstanceBatches 2018-02-27 19:18:20 +01:00
Carmine
a7cbfa7be3 Ymap: Removed useless rage__fwGrassInstanceListDef array 2018-02-27 19:08:16 +01:00
Carmine
eaa2af2150 Merge branch 'master' of http://github.com/dexyfex/CodeWalker 2018-02-27 18:30:26 +01:00
Carmine
42e34e1578 Ymap: Added saving of GrassInstanceBatches for MetaBuilder, updated BuildInstances (guided by dexy so if it's working thank him, if it's broken blame neos) 2018-02-27 18:29:46 +01:00
dexyfex
e58baa79f4 RPF Explorer drag & drop folders, delete folders with items, render bug fix 2018-02-28 03:46:06 +11:00
dexyfex
38f4031da0 Render vehicle wheels 2018-02-27 03:05:59 +11:00
dexyfex
9a81c0ea63 RPF Explorer Drag&Drop. Fixed bug (typo) in defragment tool. 2018-02-26 23:49:06 +11:00
dexyfex
a590df5035 Snap to ground and grid options 2018-02-25 23:30:29 +11:00
Carmine
bbdd014f39 CalcExtents: Fixed typo in streamingExtents for grass batches 2018-02-24 21:44:56 +01:00
Carmine
9a78b3cd13 Added BuildInstances, AddGrassBatch and RemoveGrassBatch, removed lodoffset in grass batches extents calculation 2018-02-24 21:17:26 +01:00
Carmine
2e09a96329 LightAttributes_s: renamed Unknown_1Bh as Flashiness and splitted Type into Type + GroupId (according to openFormats) 2018-02-24 21:12:14 +01:00
dexyfex
cbd242b8cc Moved all GameFiles to CodeWalker.Core 2018-02-25 00:59:00 +11:00
dexyfex
709bf125ce Created CodeWalker.Core 2018-02-24 22:52:58 +11:00