Author Topic: [BUG][PLAYER] Auto-generated rank graphics broken?  (Read 1510 times)

0 Members and 1 Guest are viewing this topic.

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
[BUG][PLAYER] Auto-generated rank graphics broken?
« on: November 03, 2022, 09:18:30 AM »
Haven't looked into the cause at all, so not sure if it's a bug, an edge case, or just something weird in the particular setup, but in this screenshot posted on Discord by GigaLem, the rank graphic has a "Rank graphic not found" image instead of generating a placeholder.

My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: [BUG][PLAYER] Auto-generated rank graphics broken?
« Reply #1 on: November 05, 2022, 08:39:45 PM »
Found the cause of this, and fixed in commit ff3a702.

If you are experiencing this bug, go into your NL installation's "gfx/menu/" subfolder and delete any file named "rank_graphic.png" or "group_graphic.png". This file may exist from older versions of NL; and the way NL handles loading menu screen graphics is "attempt to load graphic file from pack, if this fails, fall back to gfx/menu/ directory". It was only if this too failed, it would fall back to auto-generating it (which on a clean install, this would fail). I've now made some changes so that these two files would only be loaded from the pack, not from the default graphics.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)