Commit Graph
100 Commits
Author SHA1 Message Date
Jan 963e6537ca Add T5 model dumping material texture semantic detection to other game's dumpers 2021-08-14 14:08:13 +02:00
Jan ee22face41 Add T5 model dumping 2021-08-14 13:57:32 +02:00
Jan f052a97886 Fix T5 loading and dumping images 2021-08-14 13:57:18 +02:00
Jan 1e1485cedc Add IW3 xmodel dumping 2021-08-14 11:35:41 +02:00
Jan 3d2479698c Make XModelDumper context const if possible 2021-08-14 11:35:31 +02:00
Jan 2028809734 Add IW5 XModel dumping 2021-08-13 23:59:06 +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 a43d8bdd34 Add missing tuple header for std::tie 2021-08-13 22:39:57 +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 2c96bc5ef8 Fix signed/unsigned issue with IW3 AssetLoaderGfxImage 2021-07-31 12:57:18 +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 e544d043bd Fix rawfile dumping and loading for iw5 2021-07-24 13:51:41 +02:00
Jan 7afc5d42b0 Fix more IW5 command and struct mistakes 2021-07-24 10:54:13 +02:00
Jan 29f72cde7a Add missing IW5 commands 2021-07-23 23:07:15 +02:00
Jan c88987f7dc Remove unnecessary iw4 alignments 2021-07-23 23:06:35 +02:00
Jan df8e909736 Make IW5 rawfile dumper sanitize names before dumping 2021-07-23 19:39:35 +02:00
Jan 16e7a2c471 Fix IW5 xmodel using invHighMipRadius by accident 2021-07-23 19:39:21 +02:00
Jan 88710cb3bf IW5 Fixups 2021-07-23 16:28:59 +02:00
Jan 02b0f11c29 Fix iw4 FxGlassPiecePlace having wrong size due to accidentally using union instead of struct 2021-07-23 01:12:56 +02:00
Jan f201dfafd8 IW5 support initial commit 2021-07-23 01:12:36 +02:00
Jan c6ea52018a Fix simple lexer not recognizing newlines after spaces 2021-07-10 10:53:18 +02:00
Jan eedfccc617 Add IW4 localize asset loader 2021-07-10 10:53:03 +02:00
Jan ae9633b696 Change ZoneCode zone writing template so it marks elements as following before writing them to ensure being able to write recursive structs 2021-06-24 16:59:43 +02:00
Jan 0492a87cbd fix t5 rawfile loader not compressing gsc and csc files as the loader expects it 2021-06-24 16:59:03 +02:00
Jan b3029c0d28 Fix T5 obj loader using wrong types for some assets 2021-06-24 16:58:34 +02:00
Jan 2ac1ec7cb0 Add zone writing for T5 2021-06-24 16:58:12 +02:00
Jan 910ffb3195 Fix T5 alignment issues 2021-05-19 18:30:12 +02:00
Jan 224da79cf4 Fix T5 command and alignment errors 2021-05-13 18:53:38 +02:00
Jan 8bd225afca Fix gcc alignment issues 2021-05-12 22:07:41 +02:00
Jan bb3e7d9e88 Load T5 fastfiles 2021-05-12 21:47:34 +02:00
Jan e3a3d012e6 Add Commands for T5 2021-05-12 19:23:27 +02:00
Jan 4823fe036e Fix gcc t5 asset structs errors 2021-05-09 09:42:29 +02:00
Jan 157e540302 more t5 stuffs 2021-04-27 19:31:26 +02:00
Jan 2edca7a57e Add T5 basis 2021-04-27 18:19:32 +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 315790b638 Fix gcc compilation 2021-05-08 16:48:45 +02:00
Jan a8c62de081 Add written variable for zone writing code to be able to differ between written data and original data 2021-05-08 16:41:42 +02:00
Jan acc11a1609 Fix IW4 fastfile writer factory steps 2021-05-08 16:41:21 +02:00
Jan 54579deea4 Fix IW4 XModel Surfaces not being copied even though they are being loaded into the temp block 2021-05-08 14:02:38 +02:00
Jan 4d37d37fd7 Add IW4 zone writing 2021-05-08 14:02:08 +02:00
Jan 843b861b1b Load GfxImageLoadDef for all supported games 2021-04-28 18:19:30 +02:00
Jan 156d7aa5cd Make zone write add insert pointer even if reusable member does not have struct type 2021-04-28 15:31:12 +02:00
Jan 775bf01752 Add Image loading for dds textures for iw3 2021-04-28 15:29:56 +02:00
Jan 8ca0eef429 Add MapEnts dumper for IW3 2021-04-28 15:28:49 +02:00
Jan 12ac569bfa Dump images from GfxImageLoadDef 2021-04-28 00:05:56 +02:00
Jan 687d1185a3 Add IW3 zone writing 2021-04-17 11:19:55 +02:00
Jan e6a10fb992 fix iw3 gcc compatibility 2021-04-15 18:35:36 +02:00
Jan 1c97c9beee Remove unnecessary iw3 asset dumper comments 2021-04-15 17:09:38 +02:00
Jan 7c6d2f0f41 Add iw3 objloading 2021-04-15 17:09:04 +02:00
Jan 73eb76c991 Only overflow block when align goes over block boundary instead of only hit it because load can be 0 2021-04-15 17:08:51 +02:00
Jan 12c2629061 Make xmodel counts unsigned for iw3 2021-04-15 17:08:02 +02:00
Jan 248fef3d3c fix iw3 gfxworld runtime sizes 2021-04-15 14:08:05 +02:00
Jan 07fb470466 add iw3 asset dumping basics 2021-04-15 13:42:19 +02:00
Jan dbcbb4a4b3 Make sure assets need to be declared as temp block to be located in temp block to handle special case of iw3 stringtable not being in temp block 2021-04-15 13:42:03 +02:00
Jan 742cb596e6 Fix iw3 xanim not using different structs for dynamic indices 2021-04-15 11:45:17 +02:00
Jan 4e05bc6b44 Fix errors in iw3 commands and structs 2021-04-15 10:37:39 +02:00
Jan ecef868903 Add loading of iw3 fastfiles 2021-04-14 19:41:41 +02:00
Jan 15c896862c fix soundbank conversion warning 2021-04-14 18:40:34 +02:00
Jan 6b72ac080f Finish iw3 zone code generation 2021-04-14 18:39:54 +02:00
Jan adae75a7a6 add rest of iw3 commands 2021-04-14 16:49:17 +02:00
Jan ce61ef8a45 iw3 clipmap, sounds, image commands 2021-04-14 12:07:45 +02:00
Jan 8342395823 IW3 Material Commands 2021-04-12 22:07:55 +02:00
Jan 1267b8aa7b iw3 basis 2021-04-12 19:18:55 +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 05303313be Load iwis of version 6 (cod4) 2021-04-02 18:15:33 +02:00
Jan 8fbda2d1bb Fix iwiwriter8 using size of header for iwi27 2021-04-02 18:13:47 +02:00
Jan 1cc5be2f64 Load iw4x zones for iw4 2021-04-01 20:29:42 +02:00
Jan 590a108a1b Fix IW4 zone loading 2021-03-30 11:19:56 +02:00
Jan 31407e62e2 Fix InfoString not properly iterating through gdt entry parents when converting 2021-03-28 13:15:29 +02:00
Jan 6acbd0e2be Make asset loading context assets in gdts override their previously defined assets with the same name 2021-03-28 13:08:28 +02:00
Jan 648fed20a6 Fix zone definition parser adding spaces after field to field value 2021-03-28 13:07:45 +02:00
Jan 49f19d95c2 Fix error messages on error when loading gdt 2021-03-28 13:07:14 +02:00
Jan 41b4fb8c9a Apply gdt parent entry gdf to children 2021-03-28 12:27:23 +02:00
Jan a42f75c85e Respect gdt parents when converting to infostring 2021-03-28 12:21:47 +02:00
Jan 579c0747d0 Add loading of gdt entries to info based assets 2021-03-28 12:07:36 +02:00
Jan d9abf12b16 Move unlinked gdt files to source_data and reference unlinked gdts in zone definition file 2021-03-28 10:20:24 +02:00
Jan 4f995751ce Add load argument to unlinker to load zones before trying to unlink specified zones
this allows to make sure certain ipaks are loaded before dumping
2021-03-27 16:45:30 +01:00
Jan 7d4029b21f Add physconstraints loading 2021-03-27 14:00:55 +01:00
Jan 0dd7de3a0d Fix missing break in ZBarrier loader when counting barriers 2021-03-27 14:00:44 +01:00
Jan 8030a0238f Add phys preset loading 2021-03-27 10:50:20 +01:00
Jan 679fb6d398 Add tracer loading 2021-03-27 10:50:09 +01:00
Jan 23653e3067 Add ZBarrier loading 2021-03-27 10:49:49 +01:00
Jan 7d7fdb16aa Fix not dumping sound alias hash as hex 2021-03-27 10:49:19 +01:00
Jan 888b33a9c6 Add AssetLoader for attachments 2021-03-27 00:01:33 +01:00
Jan f226e6363d Remove unused headers from AssetLoaderWeapon 2021-03-26 16:01:37 +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 540e631fd5 Make sure last field in infostring is still output even if it is empty 2021-03-26 15:26:44 +01:00
Jan 3520a9bd2c Use new helper functions ParseAsArray and ParseAsPairs of InfoStringToStructConverterBase to parse notetracksoundmap and hidetags 2021-03-26 12:12:32 +01:00
Jan aaf350d088 Add calculation of fields not specified via weapon fields to asset loader weapon 2021-03-25 13:34:14 +01:00
Jan cb3e4386a9 Fix weapon asset loader not linking weaponfulldef attachment uniques to weaponvariantdef 2021-03-25 13:33:05 +01:00
Jan 593493d5fc Fix weapon asset loader not using scriptstring value but instead field name as value 2021-03-25 13:32:39 +01:00