Commit Graph

71 Commits

Author SHA1 Message Date
Daan Vanden Bosch
329ca0e539 Made low-level quest objects structurally cloneable again. 2020-07-19 18:11:17 +02:00
Daan Vanden Bosch
6fd94c1de2 Improved PRS compression performance. 2020-07-19 00:13:49 +02:00
Daan Vanden Bosch
8b8e87c8c5 Quest entities are now backed by an ArrayBufferBlock so that a "custom entity properties" feature can be added later. 2020-07-18 23:00:48 +02:00
Daan Vanden Bosch
cd67e214f1 Introduced Block concept to represent a continuous chunk of bytes. 2020-07-17 00:00:17 +02:00
Daan Vanden Bosch
2eaf4fe455 Upgraded all dependencies and fixed linting issues. 2020-07-14 20:57:50 +02:00
Daan Vanden Bosch
f8d4507b34 Fixed bug in Widget.finalize_construction. Fixed linting warnings. 2020-07-14 19:46:11 +02:00
jtuu
e0eadeb1ed Fixed an optional module not really being optional (prs-rs). 2020-07-02 17:39:47 +03:00
jtuu
d5c72152e8 Added definitions for opcodes f8b0-f8b5. 2020-06-02 06:38:38 +03:00
jtuu
103de10b02 Ensure object has the right amount of properties when converting QuestObjects to DatObjects. 2020-06-01 21:38:56 +03:00
jtuu
0d4a15a035 Changed typings of array writing methods in AbstractWritableCursor to be more permissive.
The purpose of this change is to allow using TypedArrays with these methods.
2020-06-01 19:44:45 +03:00
jtuu
6cb6be92d7 Made prs-rs an optional module.
Compression will fall back into the JS implementation if program is not built with prs-rs.
2020-06-01 01:17:26 +03:00
jtuu
172b8e2fd4 Added tests for WASM PRS 2020-05-31 22:24:34 +03:00
jtuu
08b55f8b11 WebAssembly PRS compression/decompression. 2020-05-30 07:06:08 +03:00
jtuu
6c3eb9fd26 Fixed opcode unknown_f961 definition. 2020-05-28 21:10:52 +03:00
Daan Vanden Bosch
9492515b25 Added docs to two NPC properties. 2020-05-01 14:40:32 +02:00
Daan Vanden Bosch
38f4bdd484 Renamed "Debug Log" to "Debug" and moved all debugging related buttons to its toolbar. 2020-04-30 18:27:19 +02:00
Daan Vanden Bosch
599cab4b2b Fixed all formatting and linting errors introduced by upgraded eslint and prettier. 2020-04-25 20:29:20 +02:00
Daan Vanden Bosch
928bdfc12a Fixed issues with incorrectly transformed NJ model meshes. 2020-02-01 18:34:15 +01:00
Daan Vanden Bosch
f4d9cb290e Additive blending now also works for xj models. Darkened the collision geometry to better accommodate additive blending. 2020-01-18 21:26:49 +01:00
Daan Vanden Bosch
06e1a8e60b Added "additive" blending for the materials that need it. 2020-01-18 20:01:22 +01:00
Daan Vanden Bosch
a92dbcc287 Object models are now loaded completely. 2020-01-17 22:42:11 +01:00
Daan Vanden Bosch
50d1ff7f93 Fixed bug in object code writer. Strings in the object code are now written correctly when the format is DC/GC. 2020-01-16 22:55:47 +01:00
Daan Vanden Bosch
b276ba988e Quests can now be saved in GC format. 2020-01-16 21:45:20 +01:00
Daan Vanden Bosch
542f61bf0c Improved error handling in viewer. 2020-01-06 23:32:14 +01:00
Daan Vanden Bosch
8580cd4f66 The model viewer now shows a problems popup when loading a file failed or succeeded with some problems. 2020-01-06 21:09:44 +01:00
Daan Vanden Bosch
7f5accf790 AFS archives with compressed XVM texture archives are now supported. 2020-01-06 14:04:05 +01:00
Daan Vanden Bosch
20d5b0d52d Added textures to character class models in model viewer. 2020-01-03 00:50:19 +01:00
Daan Vanden Bosch
93e05ea614 - Moved instructions/opcodes and DFA code to core to avoid dependency from core to quest_editor
- When the assembly worker updates map designations, it now takes map_designate and map_designate_ex into account
2020-01-02 18:42:08 +01:00
Daan Vanden Bosch
f36b102ec1 Fixed bug in .bin format detection. 2020-01-02 15:39:55 +01:00
Daan Vanden Bosch
f4b8b30590 .bin and .dat files can now be loaded directly. 2020-01-02 15:26:40 +01:00
Daan Vanden Bosch
f968d0047c GameCube .qst files are now parsed correctly. 2020-01-02 15:00:26 +01:00
Daan Vanden Bosch
0035588e43 The different .qst formats are now unpacked correctly. 2020-01-02 13:44:34 +01:00
Daan Vanden Bosch
16b1d0934b The texture viewer can now deal with textures in an AFS archive. 2020-01-02 00:55:55 +01:00
Daan Vanden Bosch
53ca625d43 Added AFS parser. Character class asset loading can now be stopped by calling the CharacterClassAssetLoader's dispose method. 2020-01-01 20:15:39 +01:00
Daan Vanden Bosch
02708a0436 Static data formats now conform to the rest of the project's code style. 2020-01-01 16:05:23 +01:00
Daan Vanden Bosch
050e0ffd57 Added Vol Opt part 2. 2020-01-01 14:26:14 +01:00
Daan Vanden Bosch
de20e7b82f - Bugfix: FlatMappedListProperty wouldn't recompute its value and emit an event when it's computed property changed
- Event section IDs are now immutable
- Top level events can now be added
2019-12-27 23:33:34 +01:00
Daan Vanden Bosch
99d50d754d Replaced js-logger. Improved testability with mocks, improved test configuration and code improvements. 2019-12-25 00:17:02 +01:00
Daan Vanden Bosch
f8a9c65086 NPC wave numbers are now shown in the entity info view. 2019-12-21 15:56:24 +01:00
jtuu
8582a25bc3 Lint 2019-11-16 18:07:21 +02:00
jtuu
2267419c8e Fixed a bug where parsing RLC files would always fail.
Caused by the PRC buffer cursor not being rewound before and after decryption.
Fixes #3.
2019-11-12 22:23:38 +02:00
jtuu
2caa4eea2b Fixed a bug in QST header parsing.
Headers were parsed incorrectly if the basename of the file chunk was less than 5 characters.
2019-10-17 23:36:25 +03:00
jtuu
4499009e5a Added methods for reading strings at specific offsets to Cursor. 2019-10-11 12:48:49 +03:00
jtuu
aad45b0929 Added methods for writing data at a specific offset to WritableCursor. 2019-10-11 10:39:13 +03:00
Daan Vanden Bosch
ff8f02fe5b Refactored events model and added a basic view for it behind a feature flag. 2019-10-10 23:11:52 +02:00
Daan Vanden Bosch
c287fdeb2f Renamed event-related types. Updated feature list. 2019-10-10 19:47:38 +02:00
Daan Vanden Bosch
2d534d2567 primitive reinterpretation functions are now while converting NPCs to dat data. 2019-10-10 13:56:15 +02:00
Daan Vanden Bosch
9803bfe125 Wave data is now parsed/written and converted to models. 2019-10-10 13:47:43 +02:00
Daan Vanden Bosch
ee4a293d3e Fixed some bugs. 2019-10-03 00:18:11 +02:00
Daan Vanden Bosch
ed571b9061 Added asm meta data to IR. 2019-10-02 19:57:43 +02:00