Lemmings Forums

NeoLemmix => NeoLemmix Main => Archived Bugs & Suggestions => Topic started by: GigaLem on February 20, 2017, 11:14:39 PM

Title: [Bug?][gstool] Lack of resolution feature = Inability to auto shrink pieces
Post by: GigaLem on February 20, 2017, 11:14:39 PM
Ok IMO The resolution feature didn't need to axed because I've tested a few terrain piece that were for Lemmini, they didn't shrink to fit neolemmix
But then I thought, its not enough proof so i tested an object again
(https://cdn.discordapp.com/attachments/199022433909473281/283374614640459776/unknown.png)
Second verse same as the first, personally I just say bring it back but just as a check to the tool will auto shrink pieces (Like they should) for the editor
There's a reason why I liked the older version just for conversion in another thread
Title: Re: [Bug?][gstool] Lack of resolution feature = Inability to auto shrink pieces
Post by: namida on February 21, 2017, 01:15:58 AM
Not a bug as such. But it is a removed feature that needs something to replace it.
Title: Re: [Bug?][gstool] Lack of resolution feature = Inability to auto shrink pieces
Post by: GigaLem on February 21, 2017, 02:07:55 AM
Quote from: namida on February 21, 2017, 01:15:58 AM
Not a bug as such. But it is a removed feature that needs something to replace it.
I Suggested on the post above about a check that could do the same thing
Title: Re: [Bug?][gstool] Lack of resolution feature = Inability to auto shrink pieces
Post by: namida on February 21, 2017, 11:17:32 AM
The issue is the tool can't magically know whether, for example, a 64x64 PNG file is a 2x resolution image that should be resized to 32x32, or an image that's intended to be 64x64 at 1x resolution and is just really big. Of course, during actual import of a Lemmini set that's another matter, but when importing from lone PNG files there's no way for it to know, and there should probably be some way that the user can tell it.

I can add options that would help with this (and will look into what might work well), but can't make the tool magically know everything.
Title: Re: [Bug?][gstool] Lack of resolution feature = Inability to auto shrink pieces
Post by: Simon on February 21, 2017, 11:49:19 AM
I don't see a way around NL-specific tooling for gadgets, you want to shrink the meta-info. :-/

For mere terrain: convert sourcefile.png -scale 50% targetfile.png, using ImageMagick's convert, and then write a shell loop around this. Even on Windows.

-- Simon
Title: Re: [Bug?][gstool] Lack of resolution feature = Inability to auto shrink pieces
Post by: namida on February 28, 2017, 02:49:19 PM
Loading (Super)Lemmini graphic sets seems to work fine.

For importing single images / image strips, I've added a "Lemmini Resolution" checkbox to the import dialog. If clicked, GSTool will reduce the resolution of the imported image.