Commit Graph

25 Commits

Author SHA1 Message Date
1a105a3ea2 Update packages, fix unrar after major version upgrade 2025-03-02 16:01:21 -05:00
c931eeca86 Add command for writing cell edits over time 2023-11-15 16:59:28 -05:00
e85edff30a Fix bad interior cell data in db
I had a bad unique index on the `cells` table. This commit does not fix
it but has two backfill scripts that will allow me to fixup the data
before creating the new unique index.

`is_base_game` identifies cells that are from the `Skyrim.esm` shipped
with the game (and not from some mod that happens to also have a
`Skyrim.esm` with a 0,0 cell with a different form id, see:
https://github.com/thallada/modmapper-web/issues/8).

`dump_cell_data` now only dumps cells from `is_base_game` cells.

`deduplicate_interior_cells` removes duplicate cell and plugin_cell rows
caused by the buggy index.

I will need to upgrade the database and create a new index in a later
commit.
2023-11-08 01:10:49 -05:00
01444cd928 Update deps, rustfmt, clippy fixes 2023-04-20 00:47:14 -04:00
675c1dda8a Update skyrim-cell-dump to 0.4.1 2022-10-01 17:57:02 -04:00
2bb7b78cd5 Update skyrim-cell-dump to 0.4.0 2022-09-30 16:47:43 -04:00
183c60f52d Update dependencies 2022-09-30 13:26:30 -04:00
3c16787756 Update skyrim-cell-dump to 0.3.4 2022-09-30 13:03:59 -04:00
fe908799d7 Try to fix saving plugins with "\\" in path 2022-09-05 18:47:43 -04:00
b80edb49fa Serialize plugin hashes to strings
Avoids having dealing with JSON parsers on the frontend that loose precision and avoids having to convert integers to strings.
2022-08-08 23:37:27 -04:00
a78fa4772b Add cli option to save cell data json to directory 2022-01-17 19:25:07 -05:00
0989477b40 Upgrade skyrim-cell-dump to 0.3.1 2021-08-27 00:48:03 -04:00
Tyler Hallada
1169ef4536 Print human readable file size to log 2021-08-09 22:38:17 -06:00
Tyler Hallada
db2e73aa8e Skip unrar extract errors, update compress-tools 2021-08-09 11:10:57 -06:00
b2d17f6217 Refactor main.rs a bit, some fixes to 7zip fallback
Also adds reqwest timeouts
2021-08-07 00:53:56 -04:00
39ae7703b0 Upgrade skyrim-cell-dump and handle Cow<str>s 2021-07-23 23:40:05 -04:00
81f12da99c Upgrade unrar to master branch to fix Utf8Error 2021-07-23 19:34:03 -04:00
3fe09a8f8f Upgrade skyrim-cell-dump to 0.2.1
Fixes bug parsing Unofficial Skyrim Special Edition Patch
2021-07-21 22:26:16 -04:00
7eba0c6adc Upgrade skyrim-cell-dump to 0.2.0 2021-07-19 23:45:51 -04:00
5514fb5d29 Upgrade compress-tools to branch w/ fix for crash
See https://github.com/OSSystems/compress-tools-rs/issues/59 for details.
2021-07-16 00:13:38 -04:00
ccac5b71de Upgrade skyrim-cell-dump to 0.1.4 2021-07-15 10:39:06 -04:00
792e78391c Replace dbg macros with tracing events 2021-07-11 19:45:26 -04:00
Tyler Hallada
421f2b7071 WIP fix rar file extraction
Also, starting to break up into smaller functions
2021-07-03 16:00:18 -04:00
d6b8f4e74a Mostly working download loop done
Still need to fix a panic that happens on some .rar archive files.
2021-06-13 22:30:40 -04:00
b132a94c64 Initital commit
Not quite working yet. WIP.
2021-06-03 12:30:04 -04:00