Commit Graph

508 Commits

Author SHA1 Message Date
Disquse
ca8eb31ae2 Resolve MRF saving issues
Should now be able to save any MRF with no difference comparing to original files

Remove debug dield from MrfFile
2021-11-06 08:17:21 +03:00
Disquse
11eb44dbd6 Early MRF saving code and tweaks
Saving is very fragile and might fail and generate wrong data if something is changed without respecting flags
2021-11-06 03:17:53 +03:00
Disquse
17b89cf4ee More MRF corrections 2021-07-16 20:24:01 +03:00
Disquse
8d399945cd A bit of findings about MRF structs 2021-06-12 14:20:21 +03:00
Disquse
fdf2c166f7 Basic parsing support for MRF files 2021-06-12 01:23:15 +03:00
dexy
4e987e523a Added FragGlassWindow flags lo/hi bytes for research purposes 2021-05-05 19:03:32 +10:00
dexy
37ac0ba62b Light hash calculation bounding box fix 2021-05-03 23:53:34 +10:00
dexy
5ebda6f0bb HD lights rendering in exterior and lodlights switching, lights falloff fix 2021-05-03 22:59:31 +10:00
dexy
2c8311c936 LodLights generator positions improvement 2021-05-03 00:57:14 +10:00
dexy
12dd40ea8e Light hash calculation using correct bounding boxes 2021-05-02 23:30:45 +10:00
dexy
7b628aeab2 Light hash calculation including archetype extensions 2021-05-02 23:09:21 +10:00
dexy
e18cf990fe Moved entity light hash generation to YmapEntityDef and added Lights array to entity 2021-05-02 04:57:24 +10:00
dexy
384ad0c9cb LodLights generator progress, correct hash for some lights 2021-05-02 00:33:13 +10:00
dexy
77e036e750 Spot lights geometry improvement, LodLights cone angles and game crash fixes 2021-05-01 21:17:43 +10:00
dexy
ea876743bc LodLights rotating and scaling 2021-04-30 18:19:54 +10:00
dexy
a8e212135c OccludeModel and BoxOccluder editing basics 2021-04-30 02:15:23 +10:00
dexy
7eec785459 Render window glass projections from fragments in model viewer and vehicle viewer 2021-04-27 21:29:42 +10:00
dexy
5cdde7a34f LodLights editing basics 2021-04-26 04:41:02 +10:00
dexy
edd8916c1f LodLights selection basics, replaces DistantLodLights mode 2021-04-22 15:16:11 +10:00
dexy
b3f9312790 Auto calculate ymap flags and extents options in project window 2021-04-21 19:07:32 +10:00
dexy
0f6474242d Added heightmap rendering and waterheight.dat file reading/rendering code 2021-04-21 06:26:32 +10:00
dexy
25df592731 Support for little endian heightmaps conversion 2021-04-18 20:39:49 +10:00
dexy
ab4a34cc53 Heightmap/XML conversion 2021-04-18 00:30:32 +10:00
dexy
ac14e716d8 Added missing YNV content flag 2021-04-17 06:51:33 +10:00
dexy
4751818703 YNV/XML conversion 2021-04-17 06:33:23 +10:00
dexy
6268298207 List and render DrawableArray (damaged) models for fragments in ModelForm (and VehicleForm) 2021-04-15 17:40:23 +10:00
dexy
e0bd87f51c Fixed ReadXML for Dat151PedR2PVG 2021-04-14 15:38:51 +10:00
dexyfex
80b5372cd7
Merge pull request #82 from cpast/cpast
Race-aware ped voice groups
2021-04-14 15:36:51 +10:00
dexyfex
b20af501e0
Merge pull request #94 from emcifuntik/master
Changed entity hash generation method to real one used in RAGE
2021-04-14 15:26:46 +10:00
dexy
66b1d619fe Fixed Monkey Mess 2021-04-14 15:08:38 +10:00
dexyfex
f83233f6fc
Merge pull request #95 from alexguirre/synth
Synth bytecode disassembler/assembler
2021-04-14 14:54:25 +10:00
dexyfex
8b5d4bcedb
Merge pull request #99 from carmineos/mpheist4/gtxd
Cayo Perico: Load mph4_gtxd.ymt
2021-04-14 14:52:23 +10:00
dexyfex
4271e16095
Merge pull request #101 from nikez/master
fix(gamefiles): Added proper description to game audio file
2021-04-14 14:52:01 +10:00
dexyfex
c407760674
Merge pull request #102 from Monkeypolice188/master
Dat54RelType Header Field Names (Update RelFile.cs)
2021-04-14 14:49:38 +10:00
dexy
d6b4d0b3a5 Improved error message for missing .dds files on XML import 2021-04-14 14:07:37 +10:00
dexy
fc0d84d9dd Fix for incorrect ordering of ChildIndices in skeletons after XML import 2021-04-08 01:37:21 +10:00
dexy
bee7eb22f7 Added code to generate Shaders.xml for XML plugins 2021-04-07 16:52:32 +10:00
Monkeypolice188
b196ef1b3b
Update RelFile.cs 2021-01-28 12:52:54 +00:00
Nikez
9b45cb7b54 fix(gamefiles): Added proper description to game audio file 2021-01-27 11:53:48 +01:00
carmineos
2a2375de85 mpheist4: load mph4_gtxd.ymt 2020-12-29 13:08:21 +01:00
alexguirre
07e80ef3fa Synth bytecode disassembler/assembler 2020-12-08 20:30:32 +01:00
Eugene Pogrebnyak
3e05173d11 Fixed hash generation to 100% fit RAGE one 2020-12-03 23:47:39 +03:00
Eugene Pogrebnyak
44c71139f1 Changed entity hash generation method to real one used in RAGE 2020-12-03 14:30:15 +03:00
Carmine Giugliano
622cbea65b BoundComposite: don't create duplicated ChildrenTransformation blocks 2020-05-31 12:35:24 +02:00
cpast
d4e7bb5af3 Name the PedR2PVG group of race-aware ped voice groups, as well as various entries for the voice group associated with particular races. 2020-05-26 16:59:40 -04:00
dexy
e77c2b95ec Bug fix for loading some modded drawables 2020-04-20 23:58:25 +10:00
Carmine Giugliano
7405a5d125 Added EPedBoneId enum 2020-03-30 17:59:38 +02:00
dexy
21645a3297 Particles resource packing improvement 2020-03-20 11:07:55 +11:00
dexy
767e54fa1f Particles resource packing improvements 2020-03-20 04:54:59 +11:00
dexy
57f6b71bf8 Improved ResourceBuilder performance and cleaned up old code 2020-03-19 23:14:59 +11:00
dexy
140510c67c Added ResourceAnalyzer to YptFile 2020-03-19 23:13:42 +11:00
dexy
be73ea2bcb Experimental resource packing improvements 2020-03-18 05:33:18 +11:00
dexy
213f734baf Improved ResourceAnalyzer 2020-03-18 05:32:16 +11:00
dexy
1ac95eebf6 Added RpfResourcePageFlags structure 2020-03-18 05:31:11 +11:00
dexy
da62abefcf Adjusted padding for BoundGeometry Materials array 2020-03-15 02:25:09 +11:00
dexy
38bb3ebb16 Changed Skeleton Bones into array and added SkeletonBonesBlock 2020-03-15 00:52:36 +11:00
dexy
1f516a87b3 Changed DrawableModels into arrays and added DrawableModelsBlock 2020-03-14 22:23:40 +11:00
dexy
e48503e130 Changed DrawableModel.Geometries to array 2020-03-14 01:30:56 +11:00
dexy
4941f86193 Improved array caching for ResourceAnalyzer 2020-03-13 23:23:54 +11:00
dexy
7712807c36 ResourceAnalyzer improvements 2020-03-13 04:21:30 +11:00
dexy
dcfe22ade7 Fragments group names reading/writing/packing improvements 2020-03-13 01:05:59 +11:00
dexy
82338b6a88 BoundGeomOctants reading/writing/padding improvements 2020-03-12 22:31:17 +11:00
dexy
b30853b6a3 ShaderParametersBlock length calculation and padding fix 2020-03-12 09:48:56 +11:00
dexy
463058e166 ResourceAnalyzer improvement for ResourcePagesInfo length 2020-03-12 09:45:01 +11:00
dexy
413877909e Resource analyzer improvements 2020-03-12 01:33:57 +11:00
dexy
65a3435fb9 TextureBase BlockLength fix, ResourceAnalyzer improvement, resource packing improvement 2020-03-12 00:05:49 +11:00
dexy
b89c707175 DrawableGeometry embedding BoneIds instead of using a separate block 2020-03-11 07:56:02 +11:00
dexy
a13856ee20 Experimental new resource packing fix 2020-03-11 07:15:52 +11:00
dexy
d63bc6e12b Experimental new resource packing 2020-03-11 07:14:15 +11:00
dexy
211764c0f9 Improved drawable shader parameters loading 2020-03-11 01:29:16 +11:00
dexy
d3bc78ddb4 Added ResourceAnalyzer 2020-03-10 22:50:02 +11:00
dexy
9aa228c1da Fix for XML/drawable conversion missing TextureParametersCount 2020-03-10 21:44:48 +11:00
dexy
9d41d329c4 ResourceDataReader pool improvement 2020-03-10 13:46:18 +11:00
dexy
e608912977 XML/YFT/YDR/YBN conversion VFT values added 2020-03-10 08:34:17 +11:00
dexy
408bcaf837 AWC/XML conversion peak chunk auto generation 2020-03-09 23:52:15 +11:00
dexy
33048b07bd AWC/XML conversion loop point bug fix 2020-03-09 05:52:21 +11:00
dexy
5b0fafa121 AWC/XML conversion improvements 2020-03-09 04:29:15 +11:00
dexy
665a2d67e5 Fix for UnkUshort ordering in XML/AWC conversion 2020-03-08 18:18:40 +11:00
dexy
419c63af93 Fixed accessibility on Dat54StreamingSound.Duration 2020-03-07 23:03:47 +11:00
dexy
b3857db929 Added stereo playback option in AwcForm 2020-03-07 07:00:35 +11:00
dexy
bae11fd2ce Fixed XML escaping issue 2020-03-06 23:01:50 +11:00
dexy
26183af00d Peds facial animations progress 2020-03-06 03:02:40 +11:00
dexy
917407c2e6 YED parsing progress 2020-03-05 10:40:54 +11:00
dexy
ad8fb02f14 YED parsing progress 2020-03-04 04:44:28 +11:00
dexy
721b04aa2e YED parsing progress 2020-03-03 21:27:49 +11:00
dexy
97c5e806d8 YED parsing progress 2020-03-03 07:50:25 +11:00
dexy
ddfce89912 YED parsing progress 2020-03-02 07:48:30 +11:00
dexy
30982ef45d YFT/XML conversion bug fix for FragMatrices (in FragDrawable) 2020-02-27 18:49:00 +11:00
dexy
44a5d4891b Fix for exporting fragments XML drawable array names 2020-02-26 14:50:12 +11:00
dexy
a41e7c5eb3 Increased resilience to some modded drawables 2020-02-25 23:30:41 +11:00
dexy
a18d99086b Changed working directory setting to .. instead of absolute path 2020-02-25 03:22:47 +11:00
dexy
c9b69bd6b7 Update to .net framework 4.8 and new csproj style, moved all CodeWalker project files into subfolder 2020-02-25 02:56:27 +11:00
dexy
e2ed6e0fb8 Update all projects to .net 4.7.2. Updated all nuget packages to latest version. Removed packages.config from CodeWalker.Core 2020-02-24 21:25:52 +11:00
dexy
05d971d8cf AWC/XML conversion bug fix 2020-02-11 07:09:41 +11:00
dexy
70b490e552 AWC/XML conversion bugfixes 2020-02-11 02:40:37 +11:00
dexy
86d01a4528 AWC/XML conversion bugfixes 2020-02-11 00:15:57 +11:00
dexy
6df258225e Stopped AWC files from being compressed on import 2020-02-10 22:24:51 +11:00
dexy
5e46e85b9e AWC/XML conversion 2020-02-10 21:36:10 +11:00
dexy
a347346f1f AWC/XML conversion progress 2020-02-10 06:33:38 +11:00
dexy
db3804fc92 AWC/XML conversion progress 2020-02-09 09:02:12 +11:00
dexy
81c2361013 AWC audio name hash resolution and sorting 2020-02-09 07:26:18 +11:00
dexy
cdda4b943e AWC research progress 2020-02-09 05:23:18 +11:00
dexy
5d1321e291 Fixed texture name XML escaping 2020-02-09 05:22:21 +11:00
dexy
cfa7243417 AWC research progress 2020-02-08 06:24:04 +11:00
dexy
6c1afda9a2 Added EncodeADPCM, optimised DecodeADPCM 2020-02-07 22:22:40 +11:00
dexy
84419cc2b7 Tidy up AwcAudio.GetWavStream 2020-02-07 19:27:23 +11:00
dexy
668e8a2841 AWC improvements 2020-02-07 04:02:55 +11:00
dexy
4020327e64 AwcFile parsing improvements 2020-02-06 05:33:12 +11:00
dexy
96cac975f5 Particles keyframe properties names 2020-02-05 06:03:47 +11:00
dexy
6a8cfe9e8b Particles property name hashes research 2020-02-05 04:07:41 +11:00
dexy
c88c0e96e5 Updated names in particles, added effects collections in YptFile 2020-02-05 03:13:06 +11:00
dexy
147b230082 YPT/XML conversion 2020-02-04 22:35:25 +11:00
dexy
dff9c8738e YPT/XML conversion progress? 2020-02-04 05:08:51 +11:00
dexy
c3e212d0d0 Fix for PSO/XML raw float array not using invariant culture 2020-02-04 03:26:51 +11:00
dexy
3f28d97556 YPT/XML conversion progress, tighter resource packing 2020-02-03 23:31:50 +11:00
dexy
3b2135e8e1 YPT/XML conversion progress 2020-02-03 10:09:51 +11:00
dexy
b11d350294 YPT/XML conversion progress 2020-02-01 07:03:02 +11:00
dexy
8b7474e1d0 Made progress action optional for RpfFile.Defragment 2020-01-28 01:21:53 +11:00
dexy
fd1efc3ee0 Added some names to FragPhysArchetype XML 2020-01-27 18:42:02 +11:00
dexy
63ad3024fe XML conversion textures folder name not using file extension 2020-01-27 18:19:45 +11:00
dexy
5f481bfd6f Fixed BVH generation for BoundComposite 2020-01-27 16:58:53 +11:00
dexy
839c4fc71c Particles file rearrangement 2020-01-27 15:45:42 +11:00
dexy
78a254fcc1 YPT viewing improvements 2020-01-27 07:26:27 +11:00
dexy
cedf2f73f6 Resource types cleanup 2020-01-27 06:35:15 +11:00
dexy
ad61b39920 Particles types progress 2020-01-27 05:48:17 +11:00
dexy
923c3e8a76 Particles structures progress 2020-01-27 04:40:20 +11:00
dexy
e7423c55db Particles file clean up and types research 2020-01-26 06:31:28 +11:00
dexy
ddbb5b9457 Bug fix for saving drawables/fragments from model viewer, fragments glass XML improvements 2020-01-25 21:31:01 +11:00
dexy
d7c3caaa1d Fixed YFT/XML conversion for cloth yft's 2020-01-25 19:21:40 +11:00
dexy
379b141b13 YFT/XML cloth improvements 2020-01-25 05:32:49 +11:00
dexy
8c50a8a441 Improved vehicle window glass XML conversion 2020-01-25 05:14:17 +11:00
dexy
a494583865 Vehicle glass windows research, fix for broken group names in modded yft's 2020-01-25 00:34:11 +11:00
dexy
bd18610dca YLD/XML conversion 2020-01-24 02:55:48 +11:00
dexy
7bc7d9612a YFT/XML conversion progress 2020-01-23 18:36:34 +11:00
dexy
4854afa037 YFT/XML conversion progress 2020-01-23 04:05:50 +11:00
dexy
de3aa9f83b YFT/XML conversion progress 2020-01-22 23:36:34 +11:00
dexy
88b4785a10 YFT/XML conversion progress 2020-01-22 05:02:14 +11:00
dexy
08d60877ee Added default attribute names for XML vectors reading 2020-01-22 02:45:27 +11:00
dexy
e44b2ef095 YFT/XML conversion progress 2020-01-21 03:12:36 +11:00
dexy
bec16ea42d YDR/YDD/XML conversion 2020-01-20 02:08:04 +11:00
dexy
9ed308df7a YDR/XML conversion progress 2020-01-19 02:36:28 +11:00
dexy
cd4c87cd71 YDR/YDD/YFT/YPT/XML conversion progress 2020-01-18 04:20:40 +11:00
dexy
f81958679a YTD/XML conversion 2020-01-17 23:02:55 +11:00
dexy
21a7c3e6e3 Texture UsageData research 2020-01-17 17:15:19 +11:00
dexy
d6eb18dee3 Removed YTD test in GameFileCache 2020-01-17 04:35:20 +11:00
dexy
c59047bdee DDS file import code, Texture unknowns research 2020-01-17 04:32:47 +11:00
dexy
529eb779a4 YBN/XML conversion polygon material bug fix 2020-01-17 03:45:35 +11:00
dexy
2939e76118 YBN/XML conversion 2020-01-16 18:03:24 +11:00
dexy
fa1a3ac00e Bug fix for modded .ydr saving 2020-01-15 20:03:16 +11:00
dexy
3f24a234e6 Collisions editing progress 2020-01-13 23:31:27 +11:00