Commit Graph

274 Commits

Author SHA1 Message Date
dexy
629ee125a5 Reset ped model to T pose when no animatino selected 2019-11-08 18:58:56 +11:00
dexy
8bea5281f0 Animations playback improvement? 2019-11-08 17:54:46 +11:00
dexy
9fc219e332 Fix for hair rendering, update peds meta types to be expandable objects 2019-11-08 14:22:10 +11:00
dexy
12c8fca74e Added new MetaNames 2019-11-08 12:25:25 +11:00
dexy
0a67d81053 Added new MetaNames 2019-11-08 04:17:07 +11:00
dexy
ef497b1f6d Animation playback improvements 2019-11-08 02:00:16 +11:00
dexy
465b21d7ac Peds form progress, playing peds animations and loading some textures 2019-11-07 23:14:39 +11:00
dexy
8bfca3a338 Peds form progress, new MetaNames, ped ymt metas parsing 2019-11-07 03:51:35 +11:00
dexy
90142cb6da Peds form beginnings, new MetaNames, updated index field types for Bone, added EBoneFlags 2019-11-06 04:53:20 +11:00
dexy
d5aa1c500c Added CalculateBoneHash method to Bone 2019-11-05 21:13:04 +11:00
dexy
4cc780a461 New MetaNames, Fragments glass windows progress, Renaming some things in Skeleton and Bone 2019-11-05 20:47:10 +11:00
dexy
8335fd065c Fix for generating bone bind transform inverse when not given, Skeleton bone star size fix in world view 2019-11-04 00:04:02 +11:00
dexy
6be0d5cb30 Skin mesh now using correct bone transforms 2019-11-03 22:43:39 +11:00
dexy
9f84ba8ad0 Added vertex shaders for skin mesh support 2019-11-03 06:25:20 +11:00
dexy
3462513e27 Fixed UV anim clips assignment to use geometry's ShaderID for the lookup. 2019-11-02 22:53:54 +11:00
dexy
d0eabc095a Tidying up some unused properties of Sequence, and commenting out original parsing experiment 2019-11-02 18:54:43 +11:00
dexy
b61899dedf Fix loading some YCDs 2019-11-02 18:37:21 +11:00
dexy
6f0a7d99f9 Experimental bone animations playing from YCD. Windmills, fans, radars, ufos etc 2019-11-02 18:14:36 +11:00
dexy
80b6f3742b Experimental UV animations playing from YCD. (some air cons broken!) 2019-11-02 06:46:45 +11:00
dexy
ec6eefe0e1 View/edit YND files as XML 2019-11-01 20:30:29 +11:00
dexy
fa268ec9c8 Replaced MetaTypeName.VECTOR3 with MetaName.FloatXYZ 2019-10-31 22:11:17 +11:00
dexy
96a561798c Fix for MLO Instance rotations 2019-10-31 19:01:06 +11:00
dexy
4834b8c520 Fixed casing issues with MetaNames which probably was causing XML issues. Moved shader param names to new ShaderParamNames enum to preserve casing. Moved meta type names to new MetaTypeName enum to avoid polluting MetaNames. 2019-10-31 17:11:12 +11:00
dexy
7adc4b6eea Merged upgrades to Clip and YcdFile 2019-10-31 14:56:40 +11:00
dexyfex
834cb6bde2
Merge pull request #56 from PichotM/patch-1
codewalkercore/archetype: portals objects deletion
2019-10-30 22:40:53 +11:00
dexyfex
2bba3d6e89
Merge pull request #53 from alexguirre/scenario-type-groups
Support for ScenarioTypeGroups in scenario files
2019-10-30 22:40:04 +11:00
dexyfex
dc8cc398ec
Merge pull request #54 from emcifuntik/master
Fixed name for ymts (Now we can add clothes as DLCs)
2019-10-30 22:39:24 +11:00
dexyfex
5b3db27da0
Merge pull request #52 from z87/master
Additional popgroups.ymt hashes from 1.41
2019-10-30 22:37:07 +11:00
pichotm
ec6080768b
codewalkercore/archetype: portals objects deletion
Support attached objects of portals deletion
2019-10-25 21:20:32 -04:00
Eugene Pogrebnyak
47a90ad790 Fixed name for ymts (Now we can add clothes as DLCs) 2019-08-09 01:24:02 +03:00
alexguirre
d260a58ee6 Add support for ScenarioTypeGroups in scenario files 2019-08-06 19:50:23 +02:00
z87
eeaf4b1552 Additional popgroups.ymt hashes from 1.41 2019-06-27 22:15:43 +03:00
PNWParksFan
8c05eac5b5 Added method to copy RpfFile to Mods folder, and some helper functions 2019-06-03 00:12:52 -07:00
dexy
023be70bb4 Model Material Editor 2019-03-22 01:29:37 +11:00
dexy
bc1efebe5c FBX importer v1, fix for YNDs DLC loading, fix for renamed NG encrypted RPFs, RelFile MetaNames addition 2019-03-20 21:21:47 +11:00
dexyfex
decc3dccb4 Fix for resources saving empty arrays 2019-03-13 04:23:30 +11:00
dexyfex
47113036ae Audio dat progress 2019-03-13 04:22:36 +11:00
dexyfex
08d1cdcdf3 Audio dat progress 2019-03-12 01:13:04 +11:00
dexyfex
3116c049fd
Merge pull request #46 from carmineos/update/boundmaterial
Updated BoundMaterial_s and added BoundsMaterialType To/From byte implicit cast operators
2019-03-07 16:50:14 +11:00
dexyfex
e49c1413c3 Dat151 progress 2019-03-07 16:46:42 +11:00
dexyfex
fc18820930 Dat151 progress 2019-03-06 01:20:31 +11:00
dexyfex
7f4e0a1571 Dat151 progress 2019-03-05 02:55:14 +11:00
dexyfex
bb5647d1c1 Dat151 progress 2019-03-04 00:24:30 +11:00
Carmine
ebf2e5df87 Updated BoundMaterial_s and added BoundsMaterialType To/From byte implicit cast operators 2019-03-02 18:57:10 +01:00
dexyfex
21c9eda43c Dat151 progress 2019-03-03 04:54:13 +11:00
dexyfex
9a13bc9aa3 Dat151 progress 2019-03-02 04:23:41 +11:00
smallo92
8183354186 Added more resolved hashes (#45)
* Update MetaNames.cs
Added additional strings for popgroups.ymt file. Thanks to FiveM.
2019-02-26 11:24:49 +11:00
Carmine Giugliano
58b725d7d2 Updated BoundComposite and BoundMaterial_s (#44)
* Added EBoundCompositeFlags and EBoundMaterialFlags
* Added properties for RoomId and PedDensity in BoundMaterial_s
2019-02-26 10:54:39 +11:00
dexy
0418e7743e Fix for saving texture resources 2019-02-21 16:37:55 +11:00
dexy
dd97b65933 Added Save methods to YvrFile and YwrFile 2019-01-29 00:35:23 +11:00
dexy
2622ea08b6 Added Save method to YptFile 2019-01-29 00:29:59 +11:00
dexy
75748ad3d0 Fixed bugs in RSC Meta/XML conversion 2019-01-28 23:51:52 +11:00
dexy
43f6acda7a Added Save method to YftFile 2019-01-28 18:10:25 +11:00
dexy
f0128223ef Added Save methods to YdrFile and YddFile 2019-01-28 13:13:45 +11:00
dexy
4d717e41dc Renamed StreamingSound UnkInt to Duration 2019-01-27 22:04:25 +11:00
dexy
40f1d81318 Updated ResourceBaseTypes, added Save method to YbnFile 2019-01-27 21:50:24 +11:00
dexy
3819d53890 Updated ResourceBaseTypes, added Save method to YtdFile 2019-01-27 17:14:10 +11:00
dexy
9c41a21217 Dat151 and Dat54 name and type updates 2019-01-26 09:56:44 +11:00
dexy
449fcb7424 Dat151 name updates 2019-01-25 09:23:53 +11:00
dexy
56b148a070 Dat151 name updates 2019-01-22 12:57:16 +11:00
dexy
c14590ff42 Generate LOD Lights tool (WIP) 2019-01-21 17:30:43 +11:00
dexy
d7be3a70d4 Updated names for game.dat151.rel 2019-01-21 12:24:02 +11:00
dexy
402fe391f3 Speech dat4.rel progress, dat151 XML improvements 2019-01-21 10:50:49 +11:00
dexy
6d8a785635 XML editing for audioconfig.dat4.rel 2019-01-20 16:54:42 +11:00
dexy
63a7b1bceb Updated names for rel.xml 2019-01-20 10:45:16 +11:00
dexy
053d561480 Remembering custom names from imported .rel.xml and .pso.xml files 2019-01-20 10:04:52 +11:00
dexy
33af1b45f8 RPF Explorer import/export .rel XML options 2019-01-20 09:34:44 +11:00
dexy
f1562e6da0 Audio dat.rel XML editing 2019-01-19 22:39:47 +11:00
dexy
3c38006a2b Dat54 progress 2019-01-19 21:04:43 +11:00
dexy
6533d842bc XML to audio dat.rel conversion progress 2019-01-19 14:28:45 +11:00
dexy
35d10a8e48 XML to audio dat.rel conversion progress 2019-01-19 04:31:13 +11:00
dexy
4d2f54c9c8 Dat151 progress 2019-01-18 11:36:49 +11:00
dexy
08c1ba28a2 Dat151 progress 2019-01-18 01:36:58 +11:00
dexy
ffb7399854 Dat151 progress 2019-01-16 22:19:55 +11:00
dexy
179afd5794 Audio dat.rel to XML conversion 2019-01-16 00:51:53 +11:00
dexy
9af0b41967 Fix for XML/PSO conversion inaccuracies 2019-01-14 12:25:03 +11:00
dexy
fbf57293c1 Skewy wheels bug fix 2019-01-13 22:18:57 +11:00
dexy
15adf26f81 Added MetaNames by 0x1F9F1 2019-01-13 20:40:55 +11:00
dexy
ac3bcb7f4e Added MetaNames by 0x1F9F1 - from companion app 2019-01-13 19:51:49 +11:00
dexy
6ecfe0f235 Fixed bug in reading some PSO arrays 2019-01-13 19:25:53 +11:00
dexy
9506069e35 Fixed bug in PSO/XML conversion for structure pointers 2019-01-13 18:13:03 +11:00
dexy
187f8379cd Vehicle viewer progress 2019-01-13 17:04:32 +11:00
dexy
987d121cc0 Cleaned up MetaNames commented hashes 2019-01-12 17:57:37 +11:00
dexy
e39784f817 Added MetaNames from dav90 2019-01-12 17:45:19 +11:00
dexy
04b7370ba0 Added MetaNames from dav90 2019-01-12 15:40:50 +11:00
dexy
66b498738a Fixing carcols file loading, VehicleForm tools panel added 2019-01-12 13:49:31 +11:00
dexy
d7d4054971 Fix for XmlMeta not importing Vector3 arrays properly, Added extra texture sampler options 2019-01-12 12:17:02 +11:00
dexy
f3c7538d78 Fixed vehicle license plates rendering 2019-01-11 20:40:13 +11:00
dexy
8dafe56db0 CarVariationsFile parsing 2019-01-11 19:56:57 +11:00
dexy
b22fd9fb76 CarModColsFile parsing 2019-01-11 18:56:56 +11:00
dexy
dce5c4d6ab CarColsFile parsing 2019-01-11 18:15:25 +11:00
dexy
3bd78d848d Vehicle files progress 2019-01-11 14:24:50 +11:00
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
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