Skip to content

PJK136/stardb-exporter

 
 

Repository files navigation

stardb-exporter with inventory exporter

This is a fork of stardb-exporter with a feature to export the inventory (artifacts, weapons and materials) as easily as achievements.

image

The feature is still in alpha testing, any comments are welcome!

You can download it here:

You will also need to install pcap (please see the original readme below).

It works the same way as the original stardb-exporter: run the game but don't go through the door, run the exporter, click on Inventory Exporter, go through the door, and wait for a button to copy the inventory to your clipboard. It will be in the GOOD format so it is ready to be imported anywhere else.

For the moment, these are the hard-coded filters:

  • Artifacts: at least at level 1 and at least a rarity of 3* (to avoid importing non-leveled artifacts and 1-2 stars are marked as invalid by Genshin Optimizer) or equipped if characters are exported
  • Weapons: at least a rarity of 4* or at least at level 2 or at least at refinement 2 or is locked or equipped if characters are exported

I haven't changed any other functionality including the sponsored section so I'm not related to anything else except the Inventory Exporter.

The protocol parser is also a fork I made to add the support for the inventory: auto-artifactarium.

This is my first project in Rust, so please forgive me for any bad practices in the code. 😅

If you're interested, I can maintain it, add more features (e.g., UI for setting a minimum level for exporting, etc.) and/or make a pull request upstream.

The feature doesn’t specifically require stardb-exporter (but thanks to them, I was able to release this first version so easily!). If there’s demand for it, I can also try to make it standalone or integrate it into other tools.

You’re also free to reuse the code (at least the part I wrote) and improve it however you want, I'm glad to share the knowledge with other players. Just please credit me somewhere in your work.

Feel free to reach out to me here in this repository or on Discord with any questions.

Thanks to @konkers for the character import feature.

Thanks to @IceDynamix, @hashblen, and @juliuskreutz for their publicly available work, which made this possible.

Original Readme of stardb-exporter

Instructions

This method will not work on any kind of VPN

  • Download and install pcap

  • Note for WiFi users:

    • Windows: During Npcap installation, ensure Support raw 802.11 traffic (and monitor mode) for wireless adapters is ticked.
    • Linux and Macos: Make sure you enable monitor mode for your wireless adapter.
  • Download the latest release:

  • Launch the game to the point where.

    • HSR: The train is right before going into hyper speed
    • Genshin: Right before entering the door
  • Execute the exporter (You might need to do this as admin/root) and wait for it to say Device <i> ready~!.

  • Go into hyperspeed/Enter the door and it should copy the export to your clipboard.

  • Paste it here.

Building from source

For linux users, you need to set the CAP_NET_RAW capability

sudo setcap CAP_NET_RAW=+ep target/release/stardb-exporter

Special thanks

Thank you @IceDynamix for providing the building blocks for this with their reliquary project!

Thank you @hashblen for creating protocol parsers that don't need any further updates (auto-reliquary and auto-artifactarium)!

Thank you @emmachase for providing support wherever she can!

About

Stardb exporter fork with inventory exporter (artifacts, weapons & materials)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 97.7%
  • Nix 1.2%
  • Python 1.1%