Page 1 of 1
Issue with SMBX (1.3) not recognising/loading custom gfx from a level folder.
Posted: 2 Jan 2020, 6:17
by Snowburger
Hey,
I'm currently using the PGE Editor in order to create levels, and I'm using SMBX's playtest function through the editor to make sure everything is working as expected, and just to test the level in general.
I'm having an issue where I'm using custom GFX for one specific level (i.e. a file named "lvl" and a folder named "lvl" so obviously the custom GFX only appear in the one level. When in SMBX, the custom GFX don't load; it simply shows the original SMBX graphic. The custom GFX load fine in PGE and the folder has a standard layout, so I'm confused as to why the GFX aren't being picked up by SMBX. This only occurs with the level-specific custom GFX; the universal GFX work and appear normally.
Thanks for any help.
Posted: 2 Jan 2020, 20:14
by Wohlstand
Snowburger wrote:a file named "lvl" and a folder named "lvl"
I.e. a file is named as "lvl.lvl" and folder named as "lvl"? I may guess SMBX confused. Try to rename your level file into "meow.lvl" and folder into "meow" for a little test

Posted: 5 Jan 2020, 5:30
by Snowburger
Wohlstand wrote:Snowburger wrote:a file named "lvl" and a folder named "lvl"
I.e. a file is named as "lvl.lvl" and folder named as "lvl"? I may guess SMBX confused. Try to rename your level file into "meow.lvl" and folder into "meow" for a little test

Hi, this changed nothing, unfortunately :-(
Added after 16 minutes 38 seconds:Wohlstand wrote:Snowburger wrote:a file named "lvl" and a folder named "lvl"
I.e. a file is named as "lvl.lvl" and folder named as "lvl"? I may guess SMBX confused. Try to rename your level file into "meow.lvl" and folder into "meow" for a little test

Is there a viable alternative for testing levels?
Posted: 5 Jan 2020, 17:56
by Wohlstand
Okay, another question: in which format your custom GFX? If they are PNGs, you should use PNG2GIFs tool to make them be valid for vanilla SMBX 1.3. For SMBX-38A and SMBX2 that is not needed as they are supports PNG natively.
Posted: 9 Jan 2020, 18:57
by Snowburger
Wohlstand wrote:Okay, another question: in which format your custom GFX? If they are PNGs, you should use PNG2GIFs tool to make them be valid for vanilla SMBX 1.3. For SMBX-38A and SMBX2 that is not needed as they are supports PNG natively.
Sorry for all the problems, but how do I open the PNG2GIF tool? Every time I open it, it just does nothing. Something flashes up for a second, but nothing happens.
Posted: 9 Jan 2020, 22:25
by Wohlstand
Snowburger wrote:Wohlstand wrote:Okay, another question: in which format your custom GFX? If they are PNGs, you should use PNG2GIFs tool to make them be valid for vanilla SMBX 1.3. For SMBX-38A and SMBX2 that is not needed as they are supports PNG natively.
Sorry for all the problems, but how do I open the PNG2GIF tool? Every time I open it, it just does nothing. Something flashes up for a second, but nothing happens.
This!!!
was a very stupid bug in recent build, I have fixed it immediately by a report of another user, feel free to pull a newer PGE toolchain to fix that. https://github.com/WohlSoft/PGE-Project/commit/2c ... b49185d2cc968d4342a96431eeee63EDIT: Sorry, I misslooked the context, and I though you ran GIFs2PNG and got a broken PNGs from a source GIFs. It's a bug I have already fixed.
Added after 8 minutes 36 seconds:Snowburger wrote:Sorry for all the problems, but how do I open the PNG2GIF tool? Every time I open it, it just does nothing. Something flashes up for a second, but nothing happens.
Okay, It's a console tool, not GUI. You should use it from a command line: give to it the path to your PNG GFX where are stored, and it will convert them into GIFs format.