Skip to content

Every game plugin is missing its <game>_unknown.png fallback icon #391

Description

@avandenberghe

Summary

Tracking issue for a gap that is identical in all 9 game plugins: the class_id 0 "unknown" placeholder icon each installer seeds does not exist as a file anywhere.

Plugin seeded imagename class_images/ roster_classes/
bbguildeq eq_unknown missing missing
bbguildeq2 eq2_unknown missing missing
bbguildffxi ffxi_unknown missing dir missing (bbguildffxi#6)
bbguildffxiv ffxiv_unknown missing missing (bbguildffxiv#8)
bbguildgw2 gw2_unknown present missing (bbguildgw2#7)
bbguildlineage2 lineage2_Unknown missing missing
bbguildlotro lotro_unknown missing missing (race_images has one)
bbguildswtor swtor_unknown missing missing
bbguildwow wow_unknown not seeded n/a

Only bbguildgw2 ships one, and only in class_images/.

Why it matters now

#389 added a fallback chain ending at <prefix>_unknown.png. That last step is the one that makes a missing class icon degrade to a sensible placeholder rather than to nothing at all — and right now it can almost never fire, because the file is absent in 8 of 9 plugins. Filling these in is what turns #389 from "no broken image" into "always shows something".

It also covers the real case, not just the defensive one: class_id 0 is what a character gets when a sync can't map its class.

Note on sourcing

Unlike the GW2 elite-spec icons (bbguildgw2#8, pulled from the official render API) there is no upstream source for these — a generic "unknown" placeholder has to be authored per plugin, at that plugin's own icon size and in its style. bbguildlotro/images/race_images/lotro_unknown.png (a "?" glyph on the set's plate) is a good reference for what one should look like.

Note lineage2's seeded value is capitalised (lineage2_Unknown) unlike every other plugin — worth normalising to lowercase in the same pass, or the file has to match the odd casing.

Asset hygiene found in the same audit

Minor, non-blocking, can ride along:

  • bbguildwow/images/roster_classes/: wow_demon_hunter.fw.png and wow_demon_hunter.fw2.png (working files next to the real wow_demon_hunter.png)
  • bbguildwow/images/race_images/wow_pandaren_male.jpg — the only .jpg in a PNG set, 36x36 against the set's 24x24
  • bbguildlotro/images/race_images/lotro_man_bree.png — no seeded race references it (the installer seeds lotro_man)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions