Commit graph

66 commits

Author SHA1 Message Date
Vsevolod Kremianskii
b6b66fdeec Add binary PTH to ASCII PTH tool 2021-03-31 15:24:00 +07:00
Vsevolod Kremianskii
9f955664fb Add tool to convert ASCII PTH to PTH
This is inteded to be used alongside KotorBlender.
2021-03-31 13:55:15 +07:00
Vsevolod Kremianskii
9c5be9b87a Refactor resource management
- Move GameID into libgame
- Move resource provider registration into Game
- Move GUI background loading into GameGUI
2021-03-23 13:21:24 +07:00
Vsevolod Kremianskii
48bc91a675 Add ERF/MOD writer 2021-03-20 14:24:22 +07:00
Vsevolod Kremianskii
be572da467 feat(tools): Add tool to create RIM archives from folders 2021-03-11 16:12:28 +07:00
Vsevolod Kremianskii
0e9aa13753 refactor: Rename *File classes to *Reader 2021-03-11 14:58:55 +07:00
Vsevolod Kremianskii
55180b4a53 fix(tools): Fix converting Vector GFF fields from JSON to GFF 2021-03-10 11:14:24 +07:00
Vsevolod Kremianskii
675e933844 refactor: Differentiate GOG TSL from Steam TSL
Steam TSL has slightly different cursors in the executable.
2021-03-10 00:58:11 +07:00
Vsevolod Kremianskii
2a5e99ec8b fix: Quaternions in GFF are stored as WXYZ, not XYZW 2021-03-09 15:55:03 +07:00
Vsevolod Kremianskii
2b736ca2bc feat(tools): When converting TPC to TGA, extract TXI to a file 2021-03-08 13:13:09 +07:00
Vsevolod Kremianskii
3c09fffd28 chore: Fix MSVC compilation warnings
Mostly related to implicit casts.
2021-02-25 15:37:19 +07:00
Vsevolod Kremianskii
f2367bd7fb fix: Fix JSON to 2DA conversion tool 2021-02-23 12:36:56 +07:00
Vsevolod Kremianskii
6eeabf8510 feat: Implement JSON to GFF conversion tool 2021-02-23 11:45:48 +07:00
Vsevolod Kremianskii
6d6d4714ed tools: Include field type in GFF to JSON output 2021-02-22 00:09:41 +07:00
Vsevolod Kremianskii
ceaac82d8a refactor: Refactor 2DA and GFF file formats
- Separate data structures and format handling
- Convert TwoDaRow into a POD structure
2021-02-21 23:33:30 +07:00
Vsevolod Kremianskii
4881131b47 build: Fix compilation errors on Debian 2021-02-20 02:29:27 -05:00
Vsevolod Kremianskii
18498202de refactor: Prefer boost::noncopyable to deleted copy constructors 2021-02-14 13:39:02 +07:00
Vsevolod Kremianskii
721e8c3e58 refactor: Use a single PixelFormat enum for textures and renderbuffers 2021-02-14 13:06:09 +07:00
Vsevolod Kremianskii
ccfb627a21 refactor: Use Texture abstraction in Video 2021-02-14 10:08:50 +07:00
Vsevolod Kremianskii
c927bffce8 feat: Implement specular IBL as part of PBR
While at it, refactor framebuffer and texture abstractions.
2021-02-12 19:28:02 +07:00
Vsevolod Kremianskii
2566e0d1e4 feat: Implement loading LIP files in conversations 2021-02-10 17:54:55 +07:00
Vsevolod Kremianskii
c02bfb4931 chore(tools): Cleanup, drop unimplemented operations
JSON to GFF and JSON to TLK converters need more analysis.
2021-02-09 22:47:04 +07:00
Vsevolod Kremianskii
2f4d568c15 refactor: Streamline and cleanup tools 2021-02-09 14:53:53 +07:00
Vsevolod Kremianskii
41dca204fa feat: Add JSON to 2DA conversion tool 2021-02-09 12:40:14 +07:00
Vsevolod Kremianskii
cf487d13bb refactor: Split reone-tools Convert command into ToJson and ToTga 2021-02-09 08:45:00 +07:00
Vsevolod Kremianskii
c50bd65822 chore: Make reone-tools read options from a separate config file 2021-02-09 08:38:37 +07:00
Vsevolod Kremianskii
c30a7a4dea feat(tools): Allow setting game and dest directories from reone.cfg 2021-01-30 11:38:30 +07:00
Vsevolod Kremianskii
5391301aed chore: Fix formatting after the GameID refactoring 2021-01-30 11:29:20 +07:00
Vsevolod Kremianskii
61f8ce452f refactor: Prefer to leave simple getters inside header files 2021-01-29 22:35:54 +07:00
Vsevolod Kremianskii
eaad08b980 refactor: Rename GameVersion to GameID 2021-01-29 20:23:54 +07:00
Vsevolod Kremianskii
8303e79689 fix: Fix segfault when converting TPC to TGA 2021-01-26 21:25:01 +07:00
Vsevolod Kremianskii
055daa571b style: Use make_shared/make_unique functions universally 2021-01-20 14:11:32 +07:00
Vsevolod Kremianskii
425a672d57 refactor: Make BifFile.getResourceData return a unique_ptr 2021-01-20 00:47:55 +07:00
Vsevolod Kremianskii
da1880d1db refactor: Move file loaders into format subdirectory 2021-01-19 13:56:51 +07:00
Vsevolod Kremianskii
e1a9b981ee refactor: Reuse KeyBifProvider in the ModuleProbe tool 2021-01-19 12:37:04 +07:00
Vsevolod Kremianskii
33345559e9 refactor: Refactor and document Resources
Make resource caches non-static members of the class.
2021-01-19 11:40:16 +07:00
Vsevolod Kremianskii
793cb45b22 refactor: Use file extensions in ResourceType, extract IResourceProvider 2021-01-19 10:53:12 +07:00
Vsevolod Kremianskii
52c7319cd7 feat: Add support for waypoints and sounds to ModuleProbe 2021-01-18 08:32:31 +07:00
Vsevolod Kremianskii
470d3b0b40 fix: Fix file tool execution 2021-01-18 08:03:36 +07:00
Vsevolod Kremianskii
6fd165cd38 feat: Add ModuleProbe tool
ModuleProbe generates a JSON file describing a game module.
2021-01-18 00:48:16 +07:00
Vsevolod Kremianskii
7e352bb33e feat: Add support for cube map TGA images 2021-01-14 21:57:59 +07:00
Vsevolod Kremianskii
181bc7992e chore: Cleanup TpcTool 2021-01-14 09:50:06 +07:00
Vsevolod Kremianskii
801cbb6d20 fix: Fix crash when particle has no texture 2021-01-13 20:56:25 +07:00
Vsevolod Kremianskii
672f86fecf feat: Implement TPC to TGA conversion in reone-tools 2021-01-13 20:30:48 +07:00
Vsevolod Kremianskii
348ebaf4d2 feat: Tools use input file directory as destination by default 2021-01-12 08:49:02 +07:00
Vsevolod Kremianskii
956bca3d64 chore: Update year in copyright notices 2021-01-02 22:06:11 +07:00
Vsevolod Kremianskii
176c435e07 chore: Sort includes 2020-12-22 22:36:22 +07:00
Vsevolod Kremianskii
c057421273 feat: Output row index when converting 2DA to JSON 2020-12-10 12:44:47 +07:00
Vsevolod Kremianskii
f8e6bf4257 refactor: Refactor GffStruct API 2020-12-10 12:39:26 +07:00
Vsevolod Kremianskii
83c69e1010 chore: Switch to a centralized copyright notice
Contributors are listed in a separate CONTRIBUTORS file.
2020-11-18 13:06:55 +07:00