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  Super luigi fan on 10-09-20, 03:30 pm)
Red Koopa
Do you know da wea?

Karma: 36
Posts: 77/124
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
Porcupo
I do things sometimes

Karma: 829
Posts: 113/318
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 Red Paratroopa
Not Edible

Karma: 3366
Posts: 1139/1447
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
この記号は… 解読できないよ…


Karma: 6012
Posts: 2696/2723
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 Red Paratroopa
Not Edible

Karma: 3366
Posts: 1140/1447
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
Snifit
Goomba's run the world...

Karma: 332
Posts: 14/279
Since: 08-27-20
I've had this happen before, and messed up and corrupted my hack, so make a backup just in case.
_________________________

Current Hack Progress
World 1 - Complete
World 2 - W2 Castle
World 3 -
World 4 -
World 5 -
World 6 -
World 7 -
World 8 -

Game's Channel:
https://www.youtube.com/channel/UCqA5CgsW-CTfD56DCa2kvYw/channels
Posted on 10-08-20, 08:28 pm
この記号は… 解読できないよ…


Karma: 6012
Posts: 2697/2723
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