Commit Graph

955 Commits

Author SHA1 Message Date
ook3d
58cf06ec2d Update ymap entity flags 2024-05-19 17:45:23 -04:00
ook3d
3462cc3e17 Update train node types
correct names and add missing 6th train node type
2024-05-19 17:28:11 -04:00
dexyfex
f9a3559263
Merge pull request #225 from nikez/master
fix: type06 data types
2023-12-13 09:24:38 +11:00
dexyfex
332b751576
Merge pull request #226 from ook3D/master
Update Unknown Values And Flags
2023-12-13 09:24:00 +11:00
dexy
d04d11c151 Expressions research from alexguirre 2023-12-13 09:19:28 +11:00
dexy
f473fb6a5d Fix for GTAV exe update 2023-12-13 09:17:43 +11:00
ook3d
370de41da6 Update Unknown Flags and Values 2023-11-25 22:53:37 -05:00
Nikez
dc449b0abf fix: type06 data types
Co-authored-by: z3t4s <26795431+z3t4s@users.noreply.github.com>
Co-authored-by: okqut <38298546+okqut@users.noreply.github.com>
2023-11-23 11:16:41 +01:00
dexy
b55458b113 Ynd research V2 by fish-cfx
Some refactoring and adjustments by dexy
2023-09-04 20:48:50 +10:00
dexyfex
d2293660b4
Merge pull request #217 from rollschuh2282/master
edit portal flags, add names
2023-09-04 11:33:34 +10:00
rollschuh2282
4cd57db350 fix too long text 2023-09-03 18:41:19 +02:00
rollschuh2282
7d294e6c57 update Portal flag names 2023-09-03 18:39:14 +02:00
dexyfex
11591fa008
Merge pull request #216 from alexguirre/fix/clip-hash-escaping
Escape ClipBase.Hash when writing XML
2023-09-03 22:28:20 +10:00
dexyfex
427116e38b
Merge pull request #215 from ook3D/master
Updated more .ypt Unknowns
2023-09-03 22:27:08 +10:00
alexguirre
7542dabb71 Escape ClipBase.Hash when writing XML
Some YCDs have special characters in the clip hash, which causes
the XML to be invalid.
2023-09-03 11:07:10 +02:00
ook3D
65c9778695 Update Unknown_7Ch 2023-08-31 17:06:45 -04:00
ook3D
4cdf69445a Updated more .ypt Unknowns 2023-08-31 01:37:34 -04:00
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