Pages: 1
Posted on 10-05-20, 08:40 pm (rev. 3 by KingNeerrrd on 10-06-20, 12:12 am)
Arceus gave me a crippling romhacking addiction

Karma: 4
Posts: 2/3
Since: 09-30-20
Whenever I try to import a pallet for the title of my hack i've been working on, I get an error that says "png must be y" and "too :". I have literally no idea what this means. the png is 50 x 50, is just 10 colors, and I cannot import it no matter what I do. If you know how to fix this or have encountered this yourself, please let me know!
_________________________
Join My Discord and Sub to my youtube channel:

https://discord.gg/KVV4m3VHTf

https://www.youtube.com/channel/UCYQ2z_HOO3w3UoY6OSP0G-g
Posted on 10-05-20, 11:22 pm (rev. 1 by  luigi bros 4 on 10-09-20, 03:30 pm)
Shyguy
ho ho ho merry xmas

Karma: 69
Posts: 77/82
Since: 08-01-19
can you show us a screenshot of your error

Edit:Nevermind he posted a screenshot
Posted on 10-06-20, 12:13 am
Paratroopa
I do things sometimes

Karma: 381
Posts: 113/150
Since: 08-07-17
i think the image youre trying to import is the wrong size
Posted on 10-06-20, 12:16 am (rev. 1 by  poudink on 10-06-20, 12:17 am)
Giant Goomba
Five years. Time, amirite?

Karma: 2724
Posts: 1139/1226
Since: 02-12-16
also that NCG's almost certainly meant to be viewed in 4pbb
_________________________
Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m.

Posted on 10-06-20, 05:17 am
swamped with work

Karma: 5354
Posts: 2696/2709
Since: 01-17-13
y always means the height axis in game development (and in just about everything).
the error you got does imply that something is wrong with the height. so ask yourself this, why is the file you're trying to import much greater in height than the file you're trying to import it into?
that's because the file you're trying to import it into isn't being viewed as 4pbb format. click the tickbox for it, it's essentially the equivalent of deploying the compressed file. as you'll see, the file you've got open in the editor won't be a pile of purple mess anymore. that's when you know the file is deployed properly.

this is a must for editing any file.
Posted on 10-06-20, 02:50 pm
Giant Goomba
Five years. Time, amirite?

Karma: 2724
Posts: 1140/1226
Since: 02-12-16
it's got more to do with colors than with compression. 4pbb is for files that use 16 color palettes and 8pbb is for files that use 256 color palettes.
_________________________
Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m.

Posted on 10-07-20, 02:34 pm (rev. 1 by KingNeerrrd on 10-07-20, 02:36 pm)
Arceus gave me a crippling romhacking addiction

Karma: 4
Posts: 3/3
Since: 09-30-20
Wow, attention from some of the biggest names on the site! Thank you guys for your help!
_________________________
Join My Discord and Sub to my youtube channel:

https://discord.gg/KVV4m3VHTf

https://www.youtube.com/channel/UCYQ2z_HOO3w3UoY6OSP0G-g
Posted on 10-07-20, 06:09 pm
Goomba


Karma: 29
Posts: 14/24
Since: 08-27-20
I've had this happen before, and messed up and corrupted my hack, so make a backup just in case.
_________________________
My Current hack
:https://nsmbhd.net/file/HNbGbiALDqwVvNfk/Return%20To%20NSMB%20Logo.png:
Posted on 10-08-20, 08:28 pm
swamped with work

Karma: 5354
Posts: 2697/2709
Since: 01-17-13
glad to know you worked it out. the same method should enable you to properly edit all files.

Posted by poudink
it's got more to do with colors than with compression. 4pbb is for files that use 16 color palettes and 8pbb is for files that use 256 color palettes.

indeed. I prioritized making it easy to understand over being accurate there. it's not like I know all the technical details.

Posted by OfuzzyboiO
I've had this happen before, and messed up and corrupted my hack, so make a backup just in case.

generally you won't corrupt your ROM from this little of a file edit, but backups are always good. unless you corrupt the ROM header, you should still be able to pull out all your modified files if you really can't restore whatever you broke. one good way to do so is to make a patch via nsmbe SOLELY for the "list of edited file" it produces. this list points you to all the files you ever modified on the ROM, hence enabling you to track them down and export them manually.

also.. I'm suspecting you imported the image directly from nsmbe's file browser rather than through the graphic editor. that's the one surefire way I can think of to make your ROM crash upon loading the file.
Pages: 1