57 Commits

Author SHA1 Message Date
Jan
868bd070d0 Include and exclude asset type dumping configured by command line args 2021-10-11 18:47:53 +02:00
Jan
013e8c3f2a Improve T6 model dumping color selection criteria 2021-08-14 16:11:10 +02:00
Jan
d5780a1124 Add Model dumping for T6 2021-08-14 15:39:40 +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
4f212562fc Start dumping snd aliases 2021-04-27 15:23:24 +02:00
Jan
b1fce0f4fb Add T6 vehicle team value for neutral 2021-04-27 15:22:56 +02:00
Jan
4e8d1806cc t6 alias dumping stuff 2021-04-11 09:04:58 +02:00
Jan
12ac569bfa Dump images from GfxImageLoadDef 2021-04-28 00:05:56 +02:00
Jan
62d9309922 Remove SndBankDumper commented out code 2021-04-05 18:52:27 +02:00
Jan
3cda71d1e7 Dump SoundBank asset data files 2021-04-05 18:50:42 +02:00
Jan
7d7fdb16aa Fix not dumping sound alias hash as hex 2021-03-27 10:49:19 +01:00
Jan
055dd5e840 Dump and read attachment and attachment uniques to and from weapon files 2021-03-26 15:27:37 +01:00
Jan
613943b28c Move GDT and info string prefix constants into objconstants file 2021-03-25 11:12:46 +01:00
Jan
2d97185c8f Move fields and string arrays for info string assets to common component 2021-03-24 15:50:36 +01: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
39a1485be6 Add T6 attachment unique dumper 2021-03-07 17:51:02 +01:00
Jan
ba1bca775b Move T6 string arrays to CommonT6 header 2021-03-07 15:30:48 +01:00
Jan
5db7eaeec3 Add T6 Attachment dumper 2021-03-07 15:25:58 +01:00
Jan
313e9e9f1a Remove reference asset names from info strings 2021-03-06 21:20:13 +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
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
6cca00b8d8 Add dumping of t6 physpreset, tracer and zbarrier in their respective infostring files 2020-10-24 13:46:37 +02:00
Jan
71c291ade2 Fix t6 weapondumper not freeing temporary fulldef 2020-10-24 12:50:54 +02:00
Jan
7868916a25 Add dumping of T6 vehicles as vehiclefiles 2020-10-24 02:48:16 +02:00
Jan
c68debc3da Add T6 playeranimtype from zombie mode for dumping weapons 2020-10-23 16:22:24 +02:00
Jan
70da70de65 Dump t6 weapon explosiontag in weaponfile 2020-10-23 15:55:30 +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
f8e7a10789 Also remove string reference in scriptstring callback from WeaponDumper 2020-10-23 13:35:50 +02:00
Jan
2e61f46544 Make InfoStringDumper scriptstring callback return std::string instead of const std::string& since a reference is not needed 2020-10-23 13:26:32 +02:00
Jan
99195232bb Add dumping of hideTags and noteTrackSoundMap to weapons for T6 2020-10-23 12:55:07 +02:00
Jan
6cca45fc26 Add scriptstring value callback to weapon loading of t6 2020-10-23 12:52:44 +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
d942c5a625 Make AbstractAssetDumper use the XAssetInfo instead of the raw asset pointer to be able to access dependencies and scriptstrings 2020-10-20 12:48:53 +02:00
Jan
641ee15775 Move iwi writer for version 27 in its iwi27 namespace 2020-10-17 15:00:10 +02:00
Jan
14666ed944 Dump a few iw4 assets 2020-09-09 18:40:01 +02:00
Jan
3a69b3b0b0 ObjWriting: Use CsvWriter class for StringTables 2020-02-23 13:16:04 +01:00
Jan
4b87e9c086 ObjWriting: Add additional known hashes for fonticon aliases 2020-02-23 13:10:02 +01: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
000022afe9 ObjWriting: Add DDS writer basis 2020-02-19 15:54:10 +01:00
Jan
b436781632 ObjWriting: Use proper extension when dumping image files 2020-02-19 15:52:07 +01:00
Jan
87d760f6d7 ObjWriting: Use configured image output format when trying to dump images 2020-02-19 15:36:49 +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