Optiroc / SuperFamiconv

Flexible and composable tile graphics converter supporting Super Nintendo, Game Boy, Game Boy Color, Game Boy Advance, Mega Drive, PC Engine and WonderSwan formats.
MIT License
155 stars 22 forks source link

can't use it at big image #21

Open gizaha opened 4 years ago

gizaha commented 4 years ago

I want to transform a 256x448 png to tiles, map and palette. I can't because it gives me tileset exceeds maximum size 1792 of 1024 maximum.

I cannot split it in two, because i want to keep the same palette (image is quantized with 7 subpalettes) and i must use the "no-discard" option.

Can we raise the tile limit?

Optiroc commented 4 years ago

Using superfamicom tileswith the -T(--max-tiles) option you should be able to generate as many tiles as you want. Using easy/shorthand mode, which generates palette, tiles and map data in one go, there are limits imposed. For any niche case or when you simply want more control you should use the palette/tile/map modes.

gizaha commented 4 years ago

You're right. But I try at a 256 color indexed picture with "superfamiconv palette" and it gives me "tile with too many unique colors" errors.

On Sat, Sep 19, 2020 at 11:46 PM David Lindecrantz notifications@github.com wrote:

Using superfamicom tileswith the -T(--max-tiles) option you should be able to generate as many tiles as you want. Using easy/shorthand mode, which generates palette, tiles and map data in one go, there are limits imposed. For any niche case or when you simply want more control you should use the palette/tile/map modes.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Optiroc/SuperFamiconv/issues/21#issuecomment-695354443, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKWMIZHDX5DLFOJUQJGGGCDSGUKBBANCNFSM4RTGHIMA .

Optiroc commented 4 years ago

Try superfamiconv palette --palettes 1 --colors 256, followed by the input/output paths.

gizaha commented 4 years ago

Thanks a lot it worked. That options was not written in the superfamiconv.md (help text file).

On Sun, Sep 20, 2020 at 1:13 AM David Lindecrantz notifications@github.com wrote:

Try superfamiconv palette --palettes 1 --colors 256, followed by the input/output paths.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Optiroc/SuperFamiconv/issues/21#issuecomment-695361394, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKWMIZBDWCEA5F3TBVDPI5TSGUUJVANCNFSM4RTGHIMA .

gizaha commented 4 years ago

Also i found one more problem. At shorthand mode, I create palette, create tiles and at the final phase of creating map it gives me "mapped tile exceeds allowed map..." so i put --map-height option. Then i again have this error, together with "no matching tile for position 0,448...".

I enclosed image to check yourself.

On Sun, Sep 20, 2020 at 1:16 AM George Zachariadis gizaha1@gmail.com wrote:

Thanks a lot it worked. That options was not written in the superfamiconv.md (help text file).

On Sun, Sep 20, 2020 at 1:13 AM David Lindecrantz < notifications@github.com> wrote:

Try superfamiconv palette --palettes 1 --colors 256, followed by the input/output paths.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Optiroc/SuperFamiconv/issues/21#issuecomment-695361394, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKWMIZBDWCEA5F3TBVDPI5TSGUUJVANCNFSM4RTGHIMA .

Optiroc commented 4 years ago

Thanks for the report. I’ll test this later today or tomorrow!

gizaha commented 4 years ago

Thanks for your responsibility and professionalism.

On Sun, Sep 20, 2020 at 4:49 PM David Lindecrantz notifications@github.com wrote:

Thanks for the report. I’ll test this later today or tomorrow!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Optiroc/SuperFamiconv/issues/21#issuecomment-695789408, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKWMIZHS5XC4WBUM5PIIZSDSGYB6BANCNFSM4RTGHIMA .

Optiroc commented 4 years ago

Hello again. I couldn't find any enclosed image here. Please try attaching it to the thread again, and also quote the exact arguments given, and I'll get back to you!

gizaha commented 4 years ago

I enclosed them in mail, guessing that they will be uploaded here also. I have problem in the map shorthand phase. One picture is 8bpp and second is 4bpp.

256x448 8bpp 256x448 4bpp 105 colors (quantized, 7subpalettes)

gizaha commented 4 years ago

Any update?

On Tue, Sep 22, 2020 at 11:10 AM David Lindecrantz notifications@github.com wrote:

Hello again. I couldn't find any enclosed image here. Please try attaching it to the thread again, and also quote the exact arguments given, and I'll get back to you!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Optiroc/SuperFamiconv/issues/21#issuecomment-696573207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKWMIZFKUYMPYTZ7L5P55FLSHBLV7ANCNFSM4RTGHIMA .

gizaha commented 4 years ago

Hello there. Do you find anything? Arguements are superfamiconv palette -v -i infile.png -d palette.clr --color-zero 000000 superfamiconv tiles -v -i infile.png -p palette.clr -d vram.pic -D -T 1792 -B 4 superfamiconv map -v -i infile.png -p palette.clr -t vram.pic -d map.map

Optiroc commented 3 years ago

I will get around to a batch of SuperFamiconv issues soon enough now :)

gizaha commented 3 years ago

Percect I appreciate. I wait for it, in order to put the rest "stage fatalities" in Killer Instinct.

On Mon, Feb 15, 2021 at 10:58 PM David Lindecrantz notifications@github.com wrote:

I will get around to a batch of SuperFamiconv issues soon enough now :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Optiroc/SuperFamiconv/issues/21#issuecomment-779444544, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKWMIZBCN3XLRLNW33PIECTS7GDF7ANCNFSM4RTGHIMA .