217 Commits

Author SHA1 Message Date
ヒヤシンス
7b82d0cb58 docs: readme update 2025-06-27 17:48:33 +08:00
ヒヤシンス
c7c5dcd5c0 fix: apk not extracting 2025-06-27 17:42:32 +08:00
ヒヤシンス
b19e4ef9d8 fix: correct directory check and ensure version validation during catalog processing 2025-06-27 17:02:49 +08:00
ヒヤシンス
aef585fb55 docs: update README and add usage and library documentation 2025-06-27 16:51:23 +08:00
ヒヤシンス
ec68848f60 chore: add changelog for v2.0.0 2025-06-27 16:12:19 +08:00
ヒヤシンス
aa22a8dcf2 feat: added build ci 2025-06-27 15:50:17 +08:00
ヒヤシンス
0248491058 refactor: function move 2025-06-27 15:44:29 +08:00
ヒヤシンス
8914bba014 refactor: remove unused modules and update logging variables in downloader 2025-06-27 15:43:07 +08:00
ヒヤシンス
1f44c67b70 fix: typo 2025-06-27 15:23:51 +08:00
ヒヤシンス
e8bc0f02d9 chore: remove .idea 2025-06-27 07:11:40 +00:00
ヒヤシンス
92a09c3773 fix: downloading 2025-06-27 15:04:13 +08:00
ヒヤシンス
be521443db fix: global downloading and parsing catalogs in the second run 2025-06-27 14:53:03 +08:00
ヒヤシンス
d92b3d6c99 chore: added .idea to gitignore 2025-06-27 14:07:15 +08:00
ヒヤシンス
8b87260568 feat: added cli logic and update logic
- idk anymore my brain hurts
- added clear all helper for filemanager
- refactored apk fetch
2025-06-27 14:06:36 +08:00
ヒヤシンス
cb27504683 feat: added more logging 2025-06-27 11:57:17 +08:00
ヒヤシンス
38ecf8b252 feat: added cli parsing
- added cli parsing
- added multi collection parsing
- remove todo in docs
2025-06-27 10:52:47 +08:00
ヒヤシンス
6e8953444c refactor: streamline downloader and metadata handling
- removed unused `timeout` field and its associated logic from `ResourceDownloadBuilder`
- updated metadata constants and extraction rules for consistency
- added new metadata APK constant and updated patterns
- reorganized downloader category handling for simplicity
- added new update process diagrams to documentation
2025-06-27 10:01:29 +08:00
ヒヤシンス
dfb76f6736 chore: preparations 2025-06-26 21:56:05 +08:00
ヒヤシンス
94752ec06d fix: removed unused client 2025-06-26 21:09:09 +08:00
ヒヤシンス
99ac6c1173 chore: clippy fixes 2025-06-26 21:04:47 +08:00
ヒヤシンス
e282c75d58 feat: added verbose logging in cli 2025-06-26 21:03:49 +08:00
ヒヤシンス
405dcb8a44 feat: added verbose logging in cli 2025-06-25 14:46:27 +08:00
ヒヤシンス
4d93175227 feat: added cli 2025-06-25 14:15:36 +08:00
ヒヤシンス
a398a6e2fe feat: added feature flags for logging and error handling 2025-06-25 13:34:25 +08:00
ヒヤシンス
f661a9ba61 refactor: introduced smart pointers for shared ownership
- replaced direct struct references with `Rc` in managers, fetchers, and extractors for better memory management
- updated constructors and methods to accept and use `Rc`-wrapped instances
- refactored extraction rules into static constants for reusability
- streamlined APK and resource handling using centralized configurations
2025-06-25 13:19:15 +08:00
ヒヤシンス
42e8a2a5d9 refactor: reorganized modules
- moved `network` module from `helpers` to `utils` for better organization
- moved `cli` module from `utils` to the root namespace
- updated import paths across modules to reflect changes
- removed unused imports and cleaned up dependencies
2025-06-23 22:40:33 +08:00
ヒヤシンス
b547b118e7 refactor: added unified error handling with custom traits
- introduced `ErrorContext` and `ErrorExt` traits for error handling
- replaced direct `.unwrap()` and `.context()` usage with new traits
- improved error handling consistency across modules
- updated file, JSON, catalog, and APK processing to use `handle_errors`
- enhanced logging for detailed error messages
2025-06-23 22:36:19 +08:00
ヒヤシンス
8deac4ded6 refactor: reorganized imports and exposed core structs/functions
- standardized imports across modules for consistency
- introduced `pub use` to expose key structs/functions
- updated readme to mark library functions as exposed
- improved codebase structure by merging scattered import sources
2025-06-23 18:45:50 +08:00
ヒヤシンス
f6f12e5663 feat: added resource category filtering to downloader
- introduced `ResourceCategory` enum for filtering by type (assets, tables, media, all)
- updated `download` function to accept category filtering
- streamlined resource collection logic based on selected category
- improved logging for downloads with category information
2025-06-23 18:32:39 +08:00
ヒヤシンス
5491754a15 refactor: replace regex with lazy-regex and glob patterns
- removed `regex` dependency
- replaced manual regex usage with `lazy-regex` for precompiled patterns
- migrated glob matching logic to `glob::Pattern`
- updated configuration with static regex patterns
- streamlined file matching logic in extract module
2025-06-23 18:16:47 +08:00
ヒヤシンス
deedc8ec28 feat: added resource filtering to downloader
- introduced `ResourceFilter` with multiple filtering methods
- added `filter` module to manage filtering logic
- integrated filtering functionality into `ResourceDownloader`
- implemented filtering options like exact, contains, regex, and glob patterns
- updated `download` method to support optional filters
- added new dependencies: lazy-regex, glob, nucleo
2025-06-23 17:49:11 +08:00
ヒヤシンス
f1191baf12 feat: refactored resource handling
- added `GameResources` struct for unified resource definitions
- refactored catalog parsing for resources
- added resource downloader module with support for retries and timeouts
- improved directory handling and introduced `get_output_dir` function
- upgraded dependencies and added `rustls` feature to trauma
2025-06-23 16:15:22 +08:00
ヒヤシンス
ff1ab4da2b feat: restructured parser
- refactored catalog parser
- added enums for server region instead of strings
- improve server region matching
- unexposed catalog fetcher and parser function
- added proper api to catalog fetcher and parser
- fixed json order not preserved
2025-06-22 22:00:17 +08:00
ヒヤシンス
d667078fa3 feat: added japan catalog parsing
- added japan catalog parsing
- moved directory from catalog/data to catalog/global
2025-06-21 19:46:28 +08:00
ヒヤシンス
57ec65e779 feat: added japan catalog fetching
- added japan catalog fetching
- fix api structs are not public
- added saving to api_data.json
- refactored api and fetch
2025-06-21 17:29:34 +08:00
ヒヤシンス
cc35a0d5b8 feat: added japan catalog url
- added japan catalog url fetching
- added japana catalog url parsing
- fix apk extract not accepting glob patterns
- refactored api
- updated readme
2025-06-20 23:25:12 +08:00
ヒヤシンス
2a9b38cfae docs: readded banner 2025-06-20 21:36:00 +08:00
ヒヤシンス
9db59eec2a feat: added global catalogs
- added global catalog fetching
- added global catalog parsing
- moved api from apk to helpers
- fixed save_json not making directories
- refactored apk fetch
2025-06-20 21:32:30 +08:00
ヒヤシンス
f9915900ad chore: refactored extract and fetcher 2025-06-19 14:35:01 +08:00
ヒヤシンス
1f1173c817 feat: added apk extracting
- added apk extractor
- refactored fetch
- make library public
- added with config on file manager
2025-06-19 14:30:14 +08:00
ヒヤシンス
e3190b1d72 feat: downloading
- added apk download
2025-06-17 15:17:49 +08:00
ヒヤシンス
153b72bb20 feat: logging
- added logging
2025-06-17 14:04:42 +08:00
ヒヤシンス
1bfd2daf04 feat: json and file manager
- added json util
- added file manager util
- added check apk and download apk
- changed extract_download_url to extract_url
- added error handling to server config
2025-06-17 13:31:54 +08:00
ヒヤシンス
a8b2cb709d chore: added jetbrains stuff 2025-06-17 11:05:01 +08:00
ヒヤシンス
b6eef97f1d prepare: restarted project
- docs: readme update
- added apk parser (partial)
2025-06-17 11:02:05 +08:00
ヒヤシンス
f67fd4fd51 docs: correction needed 😭 2025-06-15 11:21:55 +08:00
ヒヤシンス
7fdead643a docs: readme update 2025-06-15 11:21:02 +08:00
ヒヤシンス
7d8a08d6d2 feat: expose apkparser
- introduced extractionconfig and extractiontule structures
- updated apkparser to support extraction configuration
- modified main.rs to utilize new extraction features
- adjusted cargo.toml for library and binary paths
2025-06-14 03:36:32 +08:00
ヒヤシンス
13229597b5 fix: tablebundle downloading index
- fix where tablebundle url in gamefiles is set to index instead of name
2025-06-14 00:22:18 +08:00
ヒヤシンス
41da26bdc5 release: 1.0.0
- change download method to streaming
- improve progress bar
- improve interface
- improve formating
- bump version
1.0.0
2025-04-04 10:42:02 +08:00