ennea / warp-journal Goto Github PK
View Code? Open in Web Editor NEWHonkai: Star Rail gacha tracker and analysis.
License: MIT License
Honkai: Star Rail gacha tracker and analysis.
License: MIT License
To be able to use other pull tracking tools alongside warp-journal, it would be useful to have a button to extract the URL with the auth key and copy it to the user's clipboard. The URL could additionally checked for validity before doing so.
I have a shell script that does this for me, but since I need to open up warp-journal to update it anyway, using it also as the main entry point for other tools would be quite neat and not a lot of work since the code is basically already there.
With 1.3, the version inside the webCaches
subfolder has updated again (from 2.14.0.0 to 2.15.0.0). To make this future-proof, we should compare all folder names within that folder and determine the latest version in code.
ฮ ls HSR/StarRail_Data/webCaches/*/Cache/Cache_Data/data_2 -l
.rwxrwxrwx 1.1M fichte 2023-08-29 20:03 HSR/StarRail_Data/webCaches/2.14.0.0/Cache/Cache_Data/data_2
.rw-r--r-- 1.1M fichte 2023-08-30 22:58 HSR/StarRail_Data/webCaches/2.15.0.0/Cache/Cache_Data/data_2
Instead of generating all of the webCaches sub-directories (e.g. blob_storage, Cache, databases) as direct descendants, my install (custom location, Win11) has a versioned subfolder (webCaches/2.14.0.0
) with those same webCaches sub-directories under it that have been very recently updated by the game after playing. Note that this versioned subfolder may be different for other installs, or subject to change with future HSR updates.
The old path webCaches/Cache/Cache_Data/data_2
which is used by the powershell script is no longer updated. The new path according to my own installation is webCaches/2.14.0.0/Cache/Cache_Data/data_2
Opening the new log file location manually after opening records, closing HSR, and then searching for the most recent instance of https://api-os-takumi.mihoyo.com/common/gacha_record/api/getGachaLog
finds the URL needed for Manual Mode, which is undocumented and requires code repo diving to determine.
Consider including instructions in the Manual Mode UI on which URL to search for within those webCache files to make the manual mode more resilient to these types of upstream changes to the HSR webCache.
Since #3, we now use poetry to manage our Python environment and dependencies. This will most definitely need some updates. However, since I am only using Linux, I don't particularly care myself about a Windows installer. For now, people can use the old installer, but unfortunately because of the webCaches path update (#11), those aren't able to extract the gacha URL currently.
Ideally the build can be done using GitHub Actions, so I don't need to do some Wine shenanigans to build an installer.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.