Author Topic: [Bug][Player] Background gets lost during conversion from Old Formats  (Read 1331 times)

0 Members and 1 Guest are viewing this topic.

Offline Strato Incendus

  • The King of Shimmiers (crowned by Flopsy ;D )
  • Posts: 1754
  • #RIP Spearer/Grenader (2020 - 2021)
    • View Profile
Steps to reproduce:

1) Open a level in Old Formats level editor to check whether it has a background (e.g. one in a standard Lemmings graphic set like Marble, Fire etc., with mobius's added backgrounds)
2) Check the translation table for that style in New Formats data --> translation to see whether it references background objects
3) Open the same level in New Formats level editor; you'll find that the background is the standard black, even if the appropriate background is mentioned in the translation table

This does not affect the monocoloured backgrounds from e.g. Lemmings 2, because they don't actually refer to image files, but are drawn "on the fly".

Both this and the fact that this error has to do with the New-Formats NeoLemmix player, rather than the editor, were told to me by namida.
My packs so far:
Lemmings World Tour (New & Old Formats), my music-themed flagship pack, 320 levels - Let's Played by Colorful Arty
Lemmings Open Air, my newest release and follow-up to World Tour, 120 levels
Paralems (Old Formats), a more flavour-driven one, 150 levels
Pit Lems (Old Formats), a more puzzly one, 100 levels - Let's Played by nin10doadict
Lemmicks, a pack for (very old) NeoLemmix 1.43 full of gimmicks, 170 levels

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: [Bug][Player] Background gets lost during conversion from Old Formats
« Reply #1 on: August 11, 2019, 04:35:26 AM »
Bumping this, so that it's more visible - I'm going to look into this before the V12.6.0 release.
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: 12399
    • View Profile
    • NeoLemmix Website
Re: [Bug][Player] Background gets lost during conversion from Old Formats
« Reply #2 on: August 12, 2019, 08:25:21 AM »
Okay, so there are two parts to this - the first part is an issue with the translation tables, and the second part is an issue with NeoLemmix itself.

The NeoLemmix part of this is fixed in commit 97079B3.

All translation tables currently included with NeoLemmix are fixed in commit A0E0396. To fix any custom ones - you need to go through it, find the $BACKGROUND entries, and change it so that the first one's INDEX is 0, the second is 1, etc. The fixed table, together with NeoLemmix V12.6.0 stable (or an experimental released later than this post), should be able to open the levels with the correct backgrounds in place.
« Last Edit: August 13, 2019, 09:47:21 AM by namida »
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)