bedrock-protocol
bedrock-protocol copied to clipboard
Test and workflow updates
Add data extraction and automatic update workflow
- index.js -- ran initially on CRON schedule to check for updates
- update1.js -- runs bedrock-protocol client against the updated server to collect data from server->client. Also runs a behavior pack to extract block data.
- disa.exe -- disassembly analysis for Minecraft bedrock edition server binary (combining data from both Linux/Win binaries). Has a basic x86 interpreter with some ugly string manipulation and state-tracking code.
- x86 disassembly analysis for the server software with symbol information is similar to decompiling the Minecraft Java Edition and running various extractors on the decompiled code
- Can be expanded to extract pretty much any desired data from the server software
- pdba.exe -- get symbol data from PDB file for Minecraft bedrock edition Windows server binary
- update3.js -- aggregate and finalize data, send to llm-services for further handling
New dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/[email protected] | environment, filesystem Transitive: eval, network, shell, unsafe | +174 |
109 MB | extremeheat |
| npm/[email protected] | environment, filesystem, network, shell | +2 |
177 kB | extremeheat |
does it work?
It works right now for extracting data/updating creates GH issue with some additional information like the mc-data helper-bot, but I've not implemented the auto PR generation yet.
Since the code is pretty big here I think it may make more sense to move the helper-bot code (the extractor part) outside of the repo to a new repo that's called over a workflow dispatch.
Maybe to https://github.com/PrismarineJS/minecraft-data-auto-updater ?