Commit Graph

497 Commits

Author SHA1 Message Date
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
ultrahacx
3577c2872a Add missing shadow blur parameter in drawable XML 2022-11-03 19:53:21 +05:30
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
dexy
4e8f789cf8 Fixed typo in YED XML importer 2022-02-01 01:59:29 +11:00
dexy
7a8977b277 YED/XML conversion 2022-01-31 19:39:42 +11:00
dexy
8c037e24f0 Use FloatUtil.ToString everywhere possible to preserve exact values 2022-01-31 00:14:44 +11:00
dexy
4e1b31d957 Improved FloatUtil.ToString to use G7 where possible while preserving exact values 2022-01-30 23:52:14 +11:00
dexy
b65d250774 Fix for broken player peds animating 2022-01-29 20:26:13 +11:00
dexy
bc14a1fd22 Improved animations game replication and performance 2022-01-28 06:25:41 +11:00
dexy
73402373e3 Fix for crash caused by bad entity LOD linkage 2022-01-28 04:50:10 +11:00
dexy
adcb997808 MRF progress 2022-01-27 03:35:50 +11:00
dexy
f669e62865 Audio explorer progress 2022-01-16 20:30:50 +11:00
dexy
80d175624f Audio explorer progress 2022-01-16 05:54:32 +11:00
dexy
d622cd33fa Use LodInParentYmap flag for LOD linking instead of index check hack 2022-01-16 00:00:48 +11:00
dexy
64f007d611 Audio explorer progress 2022-01-15 05:38:14 +11:00
dexy
75c3a0690b Audio explorer progress 2022-01-14 04:33:20 +11:00
dexy
df79715e6b Audio Explorer 2022-01-13 05:07:07 +11:00
dexy
e76e854ead Synth disassembly in XML instead of bytecode 2022-01-12 01:45:22 +11:00