Lemmings Forums

NeoLemmix => Bugs & Suggestions => Closed => Topic started by: Strato Incendus on June 09, 2019, 12:24:24 PM

Title: [Bug][Player] Background gets lost during conversion from Old Formats
Post by: Strato Incendus on June 09, 2019, 12:24:24 PM
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.
Title: Re: [Bug][Player] Background gets lost during conversion from Old Formats
Post by: namida 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.
Title: Re: [Bug][Player] Background gets lost during conversion from Old Formats
Post by: namida 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.