Commit Graph

888 Commits

Author SHA1 Message Date
Kirill
7bc3630ef9
Update Ytyp Archetype Flags and Fix for Generate Capsule LODLight and Fix for Capsule HDLight (#205)
* Update EditYtypArchetypePanel.Designer.cs

64 - Unk07 archetype flag: disable sorting for shaders with alpha. Used for glass objects, has a bug of drawing through objects in a mirror and a white glare strip in specular shaders
524288 - Unk20 archetype flag: plays YCD animation on Dynamic objects. Works on objects with 131072 - Dynamic

* Fix for Generate Capsule LODLight

* Fix for Generate Capsule LODLight

* Fix for Capsule HDLight
2023-08-24 09:06:11 +10:00
gg781
595bb9a375
Add Support for D3DFMT_X8R8G8B8 (#214)
This would "fix" the exported xml from having "22" in the embedded texture's format block.
In before this 22 prevents the xml file from importing into blender via Sollumz, caused the common error "KeyError:22" when some people editing weird-making mods.
2023-08-23 13:26:48 +10:00
Monkeypolice188
023cc1eb47
Audio.rel.xml updates (#183)
* Audio.rel.xml updates

* Update RelFile.cs

* Audioconfig.dat4 changes + fix for config game crash

Credits to alexguirre for type & fieldname changes to ERSettings (prev UnkER) and Vector3 (prev Orientation)
2023-08-21 15:27:13 +10:00
dexy
5760d56134 Fixed Edit Archetype BSRadius regional number formatting issue 2023-08-21 15:10:52 +10:00
dexyfex
3bfd6ac9f8
Merge pull request #213 from ook3D/master
tweak(); updated Particle Unknowns to correct names
2023-08-21 14:48:04 +10:00
dexyfex
f8fa095322
Merge pull request #212 from alexguirre/clip-tags
Rename ClipTag.Unknown40/44 to Start/EndPhase
2023-08-21 14:47:19 +10:00
dexy
f7cc8cd317 Fix compile error, Lucas missed a ")" 2023-08-21 14:45:57 +10:00
dexyfex
ae9498f7d5
Merge pull request #211 from alexguirre/rpf
Fix crashes due to malicious RPFs
2023-08-21 14:41:54 +10:00
dexyfex
44878ff70f
Merge pull request #210 from alexguirre/fix-drawables
Auto-calculate drawables blocks size fields
2023-08-21 14:40:50 +10:00
dexyfex
e39ac3afd8
Merge pull request #209 from Lucas7yoshi/master
Order clips in ycd files alphabetically to improve readability
2023-08-21 14:39:32 +10:00
dexyfex
378e66ef3b
Merge pull request #204 from coltfox/bvh-extents-calc
Correctly calculate BVH item extents
2023-08-21 14:36:25 +10:00
dexyfex
734a7d9cbc
Merge pull request #203 from coltfox/octants
Calculate Octants during XML import, Auto calculate Vertices2 (Vertices shrunk by margin), Rename Vertices2 to VerticesShrunk
2023-08-21 14:33:10 +10:00
dexyfex
bbcbc90582
Merge pull request #201 from alexguirre/frame-filters
Support YFD XML import/export
2023-08-21 14:27:20 +10:00
dexyfex
eddd2c74a5
Merge pull request #192 from Disquse/fix-transform-multiply
Fix renderable transform multiply
2023-08-21 14:24:54 +10:00
dexyfex
c863cc1931
Merge pull request #185 from cpmodding/master
updated entity sets names for los santos drug wars DLC
2023-08-21 14:24:20 +10:00
dexyfex
62a430abc8
Merge pull request #177 from FumaPraQue/master
Fix importing occlusions from .ymap files
2023-08-21 14:23:51 +10:00
ook3D
ce3a0aa406 tweak(); updated Unknowns to correct names 2023-08-19 17:32:21 -04:00
alexguirre
6cf3c27e48 Rename ClipTag.Unknown40/44 to Start/EndPhase
These fields contain the phase range (time normalized between 0 and 1) during which the tag is active.
2023-08-16 17:38:34 +02:00
alexguirre
118305e481 Fix crashes due to malicious RPFs
RpfFile:
- Limit RPF entry names to 256 characters because long names can cause the RPFExplorer to freeze when opening its directory.
- Skip RPFs with paths longer that 5000 characters, which are probably an attempt to make CW run out-of-memory.

ExploreForm:
- Use `Path.GetExtension` directly instead of `FileInfo` to prevent `PathTooLongException`s.
- Check for invalid characters in file names to prevent `ArgumentException`s.
2023-08-12 10:03:28 +02:00
alexguirre
1dd9bc34a2 Auto-calculate drawables blocks size fields
`ShaderGroup.ShaderGroupBlocksSize` (aka `Unknown_30h`) contains the byte size divided by 16 of the ShaderGroup block and its children blocks, when they are packed contiguously in the resource file.

`DrawableBase.DrawableModelsBlocksSize` (aka `Unknown_9Ah`) is similar but with the size of the `DrawableModelsBlock`.

Incorrect values can cause crashes when the model is unloaded.

Discussed here https://discord.com/channels/329138547833700352/329142468102586368/1139264754767122533
2023-08-11 19:30:23 +02:00
Lucas7yoshi
8a30134c52 Order clips in ycd files alphabetically to improve readability for synched scene style dicts and general consistency 2023-08-08 19:08:39 -04:00
Colton Fox
1b074b4389 Correctly calculate BVH item extents 2023-07-28 16:47:11 -04:00
Colton Fox
91ab5bd6bb Rename Vertices2 to VerticesShrunk 2023-07-27 19:15:42 -04:00
Colton Fox
9137f8a169 Auto calculate Vertices2 (Vertices shrunk by margin) 2023-07-27 19:14:26 -04:00
Colton Fox
d0c4221670 Calculate Octants during XML import 2023-07-27 18:36:53 -04:00
alexguirre
071251e429 Support YFD XML import/export 2023-06-16 16:50:22 +02:00
Disquse
4bc8561a6d
Fix renderable transform multiply 2023-04-08 22:35:54 +03:00
cpmodding
9829cb92ba
updated entity sets names for los santos drug wars DLC 2022-12-13 13:43:34 +01:00
dexyfex
9d76f2c6c4
Merge pull request #180 from ultrahacx/master
Add missing shadow blur parameter in drawable XML
2022-11-06 11:24:53 +11:00
ultrahacx
3577c2872a Add missing shadow blur parameter in drawable XML 2022-11-03 19:53:21 +05:30
FumaPraQue
f0f23ded18 Fix importing occlusions from .ymap files
Occlude Models from imported .ymap files was not being recognized properly.
The triangles count being shown on Project window was always being 0.
2022-10-17 23:34:46 -03:00
dexyfex
6f5f0fde39
Merge pull request #162 from Rytrak/master
Fixed issue on light editor form
2022-09-08 10:28:35 +10:00
dexyfex
26d5fe1d82
Merge pull request #171 from ZerXGIT/master
Drag and drop feature for Project Explorer
2022-09-08 10:26:01 +10:00
dexyfex
0a9a55f7f2
Merge pull request #169 from cpmodding/master
updated entity sets names for DLCs
2022-09-08 10:24:50 +10:00
dexyfex
983ab5a977
Merge pull request #170 from alexguirre/mrf-research
MRF/XML conversion
2022-09-08 10:23:33 +10:00
cpmodding
ab35732e84
updated entity sets names for mpbiker DLC 2022-08-25 12:06:12 +02:00
alexguirre
ddf689ae81 MRF/XML conversion 2022-08-24 12:39:23 +02:00
ZerX
7917453b19 Drag and drop feature for Project Explorer 2022-08-19 13:13:29 +02:00
alexguirre
f0567d315b MRF research 2022-08-08 21:54:23 +02:00
cpmodding
861c4e5be1
updated entity sets names for mpsum2 DLC 2022-08-08 20:56:51 +02:00
dexy
ba16eab570 Fixed memory leak in RPF Explorer 2022-07-30 21:54:21 +10:00
dexy
cf81aebbb7 Allow patchday27ng DLC to be enabled if it is selected 2022-07-30 14:40:32 +10:00
PNWParksFan
bacbef88f5
Implement bulk delete tool for grass instances (#161)
* Added new Project panel for bulk grass delete

* Removed vs2015BlueTheme instance added unintentionally
2022-07-29 23:16:13 +10:00
dexyfex
cca75a00c5
Merge pull request #163 from cpmodding/master
added missing entity sets hashes for mptuner dlc
2022-07-29 22:48:54 +10:00
dexyfex
f2ad2de256
Merge pull request #166 from DurtyFree/patch-1
Create FUNDING.yml
2022-07-29 22:47:38 +10:00
dexy
c023671557 Fix for patchday27ng duplicating everything 2022-07-29 22:46:48 +10:00
Alexander Schmid
ff38d940d9
Create FUNDING.yml 2022-06-29 15:07:25 +02:00
dexy
bf5cf1bb6f Fix for .cut XML conversion: updated PSO structure definitions 2022-06-15 08:25:17 +10:00
cpmodding
4ed21ca9d8
added missing entity sets hashes for mptuner dlc 2022-06-09 11:55:44 +02:00
Rytrak
7503df47e5 Fixed issue on light editor form when clicking on delete light, treenode becomes empty 2022-05-24 01:37:16 +02:00