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
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
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
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
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
cpmodding
9829cb92ba
updated entity sets names for los santos drug wars DLC
2022-12-13 13:43:34 +01: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
0a9a55f7f2
Merge pull request #169 from cpmodding/master
...
updated entity sets names for DLCs
2022-09-08 10:24:50 +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
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
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
dexy
c023671557
Fix for patchday27ng duplicating everything
2022-07-29 22:46:48 +10: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
dexyfex
911fe4ef3b
Merge pull request #160 from cpmodding/master
...
updated entity sets names from day one interiors and all DLCs
2022-05-21 10:53:13 +10:00
dexyfex
46aaddee44
Merge pull request #159 from Monkeypolice188/master
...
Audio updates
2022-05-21 10:21:55 +10:00
dexy
1648378010
FXC/XML conversion
2022-05-20 17:52:51 +10:00
dexy
a2f34ddf05
FxcFile Save method and loading improvements
2022-05-20 12:11:25 +10:00
cpmodding
bce00c1bdb
updated entity sets names from day one interiors and all DLCs
2022-05-15 17:26:34 +02:00
Monkeypolice188
01b959f524
Audio updates
2022-05-09 22:48:35 +01:00
dexy
9904e92082
Improved conversion of struct arrays to/from byte arrays
2022-05-08 20:54:21 +10:00
dexy
df77346daf
Fix for cachefile loading due to update2.rpf being used in latest game update
2022-04-27 08:37:34 +10:00
dexy
520eee6f81
YPDB/XML conversion
2022-03-30 20:13:01 +11:00
dexy
12750ff595
CacheDat/XML conversion
2022-03-29 23:32:29 +11:00
dexy
1cbbc1a6e0
Refactor XML import into XmlMeta class to be more consistent with XML exporting
2022-03-27 14:01:25 +11:00
dexy
77d18307fa
Merge branch 'master' of https://github.com/dexyfex/CodeWalker
2022-03-20 11:09:45 +11:00
dexy
a12ccd6947
Add null checks for name hashing to help avoid crashes for some resources
2022-03-20 11:09:24 +11:00
dexyfex
ba1d465eb4
Merge pull request #154 from alexguirre/fix-wrapper-sound
...
Fix reading/writing of Dat54WrapperSound
2022-03-20 11:03:52 +11:00
alexguirre
f82f2ea7bf
Fix reading/writing of Dat54WrapperSound
2022-03-14 21:40:29 +01:00
alexguirre
59b4850371
Support YPDB files
2022-02-23 23:28:47 +01:00
dexy
8998b8c808
Bug fix for reading/writing MrfNodeClip based on flags value
2022-02-07 00:28:14 +11:00
dexy
2bd5cacaf1
Added parsing of distantlights dat files
2022-02-02 05:48:18 +11:00
dexy
c45f170de4
MRF progress
2022-02-01 22:59:24 +11:00
dexy
9d53fa9318
YVR/XML conversion improvements
2022-02-01 20:35:34 +11:00
dexy
defbbead62
Added MRF MetaNames from Disquse
2022-02-01 20:11:24 +11:00
dexy
d367dbebe5
YVR/XML and YWR/XML conversions
2022-02-01 02:46:36 +11:00