28 Commits

Author SHA1 Message Date
comp500
d5290ebd32 Eradicate variable-size integer types where not used by interface or as index (fixes #107) 2022-06-16 21:32:15 +01:00
comp500
0f3096e251 Use the correct directories for non-mod files; use .pw.toml extension
The mods-folder option is now replaced with two new options: meta-folder and meta-folder-base
This allows non-mod files to use the correct directory based on their category; with correct
import of resource packs/etc from CurseForge packs, and the ability to override this behaviour.
To improve the reliability of packwiz metadata file marking (in the index), new files now use .pw.toml
as the extension - any extension can be used, but .pw.toml will now be automatically be
marked as a metafile regardless of folder, so you can easily move metadata files around.
Existing metadata files will still work (as metafile = true is set in the index); though in
the future .pw.toml may be required.
2022-05-16 21:06:10 +01:00
comp500
0c5ff0b7bb Change backend request code to use new CurseForge API (WIP)
See the packwiz Discord for more information, as the changes with the new API Terms and Conditions have some implications for packwiz.
This commit isn't fully functional yet; I have more changes to make.
2022-05-07 18:18:57 +01:00
comp500
3fb350f244 Pass through optional-disabled on CF import (fixes #93) 2022-03-07 18:22:29 +00:00
comp500
2dd0a1ae78 Fix component version message in cf import (fixes #90) 2022-02-20 17:14:44 +00:00
comp500
f58e16ff81 Batch CF import file requests for significantly improved speed 2022-02-14 19:13:27 +00:00
comp500
226a376be9 Import author/version metadata from CurseForge packs 2022-02-10 16:32:55 +00:00
comp500
4abf3340a1 Move to packwiz org 2021-12-28 16:28:34 +00:00
comp500
96a2d5fdf6 Update loader/mc versions from imported CF packs (fixes #70)
also refactored internal modloader handling!
2021-11-22 14:44:08 +00:00
comp500
b628e2762c Switch to better semver library and add pack-format field 2021-10-12 18:51:02 +01:00
comp500
896b9548de Fabric filtering and native export for CurseForge 2021-06-15 03:09:49 +01:00
comp500
8cbe7d4c61 Add pack-root option (fixes #27) 2021-06-04 02:10:29 +01:00
comp500
49d7b26b2e Add no-internal-hashes mode 2021-05-04 19:56:56 +01:00
comp500
f46ff894cc Change ModID/FileID structs to use AddonFileReference 2019-11-13 21:24:08 +00:00
comp500
5dfe23e51d Implement pack importing/exporting for downloaded Curseforge packs
Abstract out hash implementations
Implement file saving/downloading
2019-11-12 22:11:40 +00:00
comp500
3a4abe0574 Note to self 2019-10-24 18:43:38 +01:00
comp500
c853f0ff07 Abstract file access, implement zip reading 2019-10-24 18:30:06 +01:00
comp500
8956ec9bcb Make import look in more places for packs
Now supports Curse/Twitch instance names
and folders containing minecraftinstance.json or manifest.json
2019-09-20 01:37:38 +01:00
comp500
2ac050a25b Implement file copying in import 2019-09-19 20:35:26 +01:00
comp500
c364a08220 Create the modpack if it doesn't exist 2019-09-19 18:24:24 +01:00
comp500
47a2dccffe Ignore cached file data, re-request it 2019-09-19 18:12:21 +01:00
comp500
fd9ecbe6d4 Rewrite part of importing to support other types
Going to scrap a load of this code though, as I am going to make it
re-request the file data
2019-09-19 17:57:13 +01:00
comp500
4fea7ceebf Switch to cobra/viper 2019-09-16 21:44:40 +01:00
comp500
e7ed7d8d11
Update the pack hash when adding/importing mods 2019-06-14 18:12:14 +01:00
comp500
8eeb509565
Update index in import/add, improve index funcs 2019-06-14 18:07:58 +01:00
comp500
683e125987
Improve import code, add promptui dep 2019-06-13 21:44:49 +01:00
comp500
25747ad8bd
It Actually Works!!! 2019-06-12 21:35:44 +01:00
comp500
b43849ccdd
Commit WIP import command 2019-06-12 15:10:04 +01:00