ModdingAssistant / modding-ollama /skill /modules /texture-patch-hunt.md
Elmerfudge's picture
Upload folder using huggingface_hub
4befc65 verified
|
Raw History Blame Contribute Delete
2.4 kB
# texture-patch-hunt
> Find the best texture/resource-pack patch for each mod on a modpack's "Missing Mods" list (Sphax/BDCraft and others).
## Ask first
Target Minecraft version, where the files go, resolution ceiling (512x is huge).
## Access facts
- BDCraft often blocks plain fetches (403), and its mod-patch index (`https://bdcraft.net/downloads/purebdcraft-minecraft/mod-patches/`) is JavaScript-rendered: use `browser_fetch` if available; otherwise use `web_search` for `"<Mod>" bdcraft patch`.
- MediaFire/Dropbox pages: fetch the page, find the real download link; if blocked, collect links and hand them to the user.
- Keep requests small and save results to the workspace as you go.
## Step 1: query the BDCraft index (browser_fetch with js, after the page loads)
```js
Array.from(document.querySelectorAll('.mod_result_item'))
.filter(d=>/^(NAME1|NAME2)$/i.test((d.querySelector('.mod_title')||{}).textContent||''))
.map(d=>d.querySelector('.mod_title').textContent+' ['+(d.querySelector('.mod_type')||{}).textContent+'] => https://bdcraft.net'+d.querySelector('a').getAttribute('href')).join('\n')
```
Try name variants (spaced "Little Tiles", drop version suffixes, search the parent mod). `Mod` = released; `Work in Progress` = partial.
## Step 2: pull downloads from each thread
Check BOTH MediaFire and Dropbox (`?dl=1`), filter filenames by Minecraft version, expand collapsed "Show" spoilers.
## Step 3: release vs request
Read the first post. "Can anyone make..." with no links, or threads in requests sections, are requests, not patches.
## Step 4: fallbacks in order
Parent mod's patch (mark Partial) -> modpack texture patches (read their own "Missing Mods" section) -> Modrinth/CurseForge packs (for 1.12.2: Not Enough Pixels, then Faithful 32x Modded; fetch each pack's full mod list and cross-reference the whole outstanding list at once) -> `web_search` `"<Mod>" texture pack <version>`.
Prefer the target version; otherwise take the closest and FLAG the gap. Rename third-party archives `<ModName>-<PackName><version>.zip`.
## Output
CSV + Markdown report in the workspace, columns: `ModName, TextureFound, TextureSize, MCVersion, Source, DownloadLink, Notes`. Group: found on BDCraft / elsewhere / partial-parent / nothing found / to verify. Notes always record release vs WIP, version mismatches, typos in the source list, and why something was ruled out.