106 Commits

Author SHA1 Message Date
Jan
2a6ed376d2 Dump iw4 sound curves 2022-01-02 11:21:45 +01:00
Jan
bcafddd83a Dump and load iw4 physpresets 2022-01-02 10:25:48 +01:00
Jan
64a1e4c176 Fix menu visibility 2022-01-01 16:39:39 +01:00
Jan
5d1df29542 Make sure to only dump menu files once 2021-12-31 16:34:42 +01:00
Jan
f628d33a95 Properly dump and convert visible property for items 2021-12-29 17:04:18 +01:00
Jan
83492b907f Properly dump and render rect property for items 2021-12-29 17:04:03 +01:00
Jan
dcff6132b9 Fix menulist dumping functions not skipping nullptrs indices 2021-12-29 02:05:44 +01:00
Jan
ca9ee04738 Dump menu functions with a function like call 2021-12-28 19:49:20 +01:00
Jan
b0a9406f96 Fix not dumping enableDvar correctly 2021-11-01 17:19:17 +01:00
Jan
cd2cec3546 Correctly handle referencing assets when dumping menulist 2021-10-24 22:04:31 +02:00
Jan
568095f57e IW5 menu dumping initial commit 2021-10-24 22:00:31 +02:00
Jan
c1fd5b80a4 Write all menu function definitions on top of every menu list item 2021-10-24 16:22:36 +02:00
Jan
70c31143f4 if the menu list name matches the menu name, embed it directly 2021-10-24 15:38:59 +02:00
Jan
a2af7db92b Add missing nullptr check for newsticker iw4 menu dumping 2021-10-24 15:15:05 +02:00
Jan
805c00539b Move IW4 menu dumping logic to separate class and constants to common scope 2021-10-24 14:59:43 +02:00
Jan
4e5e6d05bd Implement function inlining for menu legacy mode 2021-10-24 10:35:57 +02:00
Jan
68c29cc22f Write type specific menu data 2021-10-23 19:41:58 +02:00
Jan
a89492d636 Skip unnecessary outer parenthesis for if clauses and expressions 2021-10-23 15:35:17 +02:00
Jan
601b683f8a Parse menu scripts with simplelexer to be able to format more pretty 2021-10-23 15:16:52 +02:00
Jan
c8214f769b Dump menu EventHandlerSet for IW4 2021-10-17 11:29:58 +02:00
Jan
96774b96ba Dump menu float expressions 2021-10-16 17:22:38 +02:00
Jan
0f7a8ca1c9 Dump IW4 menu statements 2021-10-15 22:19:17 +02:00
Jan
868bd070d0 Include and exclude asset type dumping configured by command line args 2021-10-11 18:47:53 +02:00
Jan
e70cbaa4ce Add operator types 2021-09-01 19:40:47 +02:00
Jan
163ac55fed IW4 dump simple menu file fields 2021-08-27 23:08:05 +02:00
Jan
963e6537ca Add T5 model dumping material texture semantic detection to other game's dumpers 2021-08-14 14:08:13 +02:00
Jan
3d2479698c Make XModelDumper context const if possible 2021-08-14 11:35:31 +02:00
Jan
bd9110fbb3 Check not only texture semantic but also name start and end to ensure to pick colormap for exporting models 2021-08-13 23:58:56 +02:00
Jan
76a7ca99c3 Add ObjDumper for general use 2021-08-13 22:34:42 +02:00
Jan
0478a88d15 Export vertex weights for xmodel export 2021-08-13 17:33:13 +02:00
Jan
767daca2ea Add generic XModel Export dumper without bone support yet 2021-08-13 09:40:12 +02:00
Jan
56ebbbcfa8 Fix iw4 obj material file setting ambient map instead of diffuse map for color maps 2021-08-01 02:18:18 +02:00
Jan
c1a30c89ac Fix iw4 obj material file using wrong extension 2021-08-01 02:17:49 +02:00
Jan
bb0adb0b22 Switch iw4 xmodel axis to be Y Up and -Z Forward 2021-08-01 01:13:01 +02:00
Jan
24145e15e2 Dump IW4 xmodels as obj 2021-08-01 00:30:12 +02:00
Jan
e324c20641 Make asset dumpers not provide different implementations for dumping to gdt and raw so any dumper can decide itself how many raw files and gdt entries it wants to make use of 2021-07-31 12:34:22 +02:00
Jan
12ac569bfa Dump images from GfxImageLoadDef 2021-04-28 00:05:56 +02:00
Jan
1cc5be2f64 Load iw4x zones for iw4 2021-04-01 20:29:42 +02:00
Jan
abcce11b00 Split InfoString classes into multiple files depending on loading and writing code 2021-03-24 13:51:21 +01:00
Jan
79c1284193 Add asset loader for localize files 2021-03-23 17:16:36 +01:00
Jan
2a6d7c84c2 Add ZoneScriptString class to store zone script strings 2021-03-18 16:55:30 +01:00
Jan
88b5eefe24 Create CsvStream class to replace CsvWriter 2021-03-11 12:43:33 +01:00
Jan
7e9dfe9127 move iw4 string arrays to commoniw4 header 2021-03-07 15:33:21 +01:00
Jan
ea7b1eadae Make dumpers works as gdt dumpers and raw dumpers 2021-03-06 13:25:08 +01:00
Jan
abb268a819 Add AssetDumperContext to bundle context fields for dumping
(cherry picked from commit ed8331280392ef3a2b4657c5dbd0880463d85f2c)
2021-03-05 18:11:56 +01:00
Jan
1a45cf2107 Fix more gcc compilation issues 2021-03-03 09:12:27 -08:00
Jan
1cd06668e0 Replace FileAPI with c++ streams and std::filesystem 2021-03-03 14:04:35 +01: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
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