77 Commits

Author SHA1 Message Date
Jan
1267b8aa7b iw3 basis 2021-04-12 19:18:55 +02:00
Jan
1cc5be2f64 Load iw4x zones for iw4 2021-04-01 20:29:42 +02:00
Jan
1058ee7881 Write null memory at end of t6 fastfiles like the original linker does because the game's reader needs it for some reason 2021-03-22 09:49:42 +01:00
Jan
2a6d7c84c2 Add ZoneScriptString class to store zone script strings 2021-03-18 16:55:30 +01:00
Jan
2add1ba22d Make sure xchunk write size can specified to be smaller than xchunk size to respect zlib to add size instead of removing size due to not being able to compress 2021-03-18 11:47:41 +01:00
Jan
c9f88e5e93 Use ZoneConstants class for IW4 2021-03-16 13:19:56 +01:00
Jan
9d26c9c927 Add ZoneWriting basis 2021-03-15 22:36:07 +01:00
Jan
a7860c7c76 Add AssetLoader basis 2021-03-13 14:27:20 +01:00
Jan
12461d27e7 move parts to new common component to avoid circular dependency of zonecommon and objcommon 2021-03-03 12:56:15 -08:00
Jan
1a45cf2107 Fix more gcc compilation issues 2021-03-03 09:12:27 -08:00
Jan
a15fd17dfe Change alignment specifier to __attribute__((align(x)) for non VC++ 2021-03-03 15:58:55 +01:00
Jan
b4d8e9c17b Make compilation process compatible to linux on gcc 2021-03-03 06:21:25 -08:00
Jan
911e43d4c2 add dumping of iw4 vehicle files 2020-10-27 22:35:26 +01:00
Jan
3b1e62e398 Add dumping of iw4 weapon files 2020-10-26 01:00:24 +01:00
Jan
b5141bcd1c Use countof and enum num entries to get the amount of entries in t6 weaponfulldef 2020-10-25 19:51:34 +01:00
Jan
eb97560e0d Add dumping of T6 physconstraints 2020-10-25 13:14:16 +01:00
Jan
a925bd505d Fix assets being added to their pools twice when loaded from a fastfile 2020-10-25 11:41:26 +01:00
Jan
6cca00b8d8 Add dumping of t6 physpreset, tracer and zbarrier in their respective infostring files 2020-10-24 13:46:37 +02:00
Jan
7868916a25 Add dumping of T6 vehicles as vehiclefiles 2020-10-24 02:48:16 +02:00
Jan
eed7164b5b Save scriptstrings per zone and not per asset since that solves all problems with multiple assets of the same zone referencing the same struct in memory that has scriptstring indices 2020-10-23 15:54:27 +02:00
Jan
7acf07a4b4 Use offsetof macro instead of fixed offset values for weaponfields of t6 2020-10-20 17:30:10 +02:00
Jan
c86139b0fa Add dumping of t6 weapons 2020-10-20 12:49:20 +02:00
Jan
019e772cd2 Add dumping of iw4 loaded sounds 2020-10-18 17:41:14 +02:00
Jan
b8b8e4c267 Implement loading of the remaining iw4 assets which are the map assets 2020-10-11 12:22:20 +02:00
Jan
4a6c73c4d9 Fix XAnim Trans, Quat2, Quat alignment 2020-10-10 23:00:53 +02:00
Jan
6baf3416d4 Fix iw4 xanim to having an unsigned bonecount instead of signed 2020-10-10 13:33:58 +02:00
Jan
ba585426e9 Fix IW4 XAnimDynamicIndices to being loaded differently in trans, quat, quat2 2020-10-10 13:33:25 +02:00
Jan
e0e4fc255a Fix XModel quats and trans counts not being correct in IW4 2020-10-10 11:51:10 +02:00
Jan
af0dc46b31 Fix SoundAliasCustom loading for IW4 actually being loaded like const char** 2020-10-10 11:46:43 +02:00
Jan
6437d8daa4 Remove SndDriverGlobals references as an asset since it is non existant for IW4 PC builds 2020-09-15 12:54:32 +02:00
Jan
906d112619 Add loading of iw4 weapondef and vehicledef assets 2020-09-15 12:51:59 +02:00
Jan
c515747bc0 Add loading of iw4 font and addonmapents assets 2020-09-15 11:21:46 +02:00
Jan
fb93d7cb2f Add loading of iw4 assets clipmap and mapents 2020-09-15 10:44:45 +02:00
Jan
83d76acedc add structureddatadef loading code for iw4 2020-09-09 12:36:53 +02:00
Jan
0efff7d637 add iw4 tracerdef loading code 2020-09-09 12:08:09 +02:00
Jan
3bf47f058d Add LeaderboardDef asset loading for IW4 2020-09-09 12:03:14 +02:00
Jan
b4756c3688 Add IW4 ImpactFx loading code 2020-09-09 11:58:42 +02:00
Jan
ceeb1832cd Add IW4 GfxLightDef asset loading code 2020-09-09 11:54:15 +02:00
Jan
24195be273 Add Fx asset for IW4 2020-09-09 11:47:29 +02:00
Jan
bdbfb7114e Add menu loading for iw4 2020-09-08 20:52:29 +02:00
Jan
c1d2ac6604 Add localize entry to iw4 and skip snddriverglobals since the asset is not loaded but is still in the asset list of fastfiles 2020-09-08 13:10:54 +02:00
Jan
d35560ccd7 Add support for loading sound assets from iw4 zones 2020-09-08 12:11:16 +02:00
Jan
b25fe9a9f7 Added iw4 assets related to materials, xmodels 2020-09-07 18:19:20 +02:00
Jan
5e8173539b Generate zone code for IW4 for the first 3 assets 2020-09-07 14:14:07 +02:00
Jan
060e5678b5 Read IW4 signed headers 2020-09-06 14:39:19 +02:00
Jan
8ec525d3d2 ObjWriting: Dump FontIcon assets as csv files
According to the asset names this seems to be their original format. however since i didn't find any examples of that asset in raw form i just tried to come up with a realistic csv style for it
2020-02-23 02:02:11 +01:00
Jan
f0b66f0a35 ZoneCommon: List zone content in the order it was loaded 2020-02-19 14:10:50 +01:00
Jan
9572391082 Unlinker: Make zone files creators game dependent and in the unlinker project instead of the ObjWriting component 2020-02-18 17:15:51 +01:00
Jan
992e9cea30 ZoneLoading: Properly link assets as dependencies instead of only saving the name of the dependency 2020-02-18 13:16:39 +01:00
Jan
589347ce08 ZoneCommon: Add Texture pointer from OAT to GfxTexture union of T6 to be able to save loaded texture data in GfxImage 2020-02-07 20:54:40 +01:00