-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify image requirements #123
Comments
Hello; internally, the tool uses ImageMagick to automatically resize the images and reduce the color count to the format supported by SGDK; additionally, if the image happens to be already in the correct format (PNG-8, 16 colors, 320x224), the tool will use them directly, without conversion. That being said, there's always a chance of there being a bug on the tool. Perhaps, if you share the project that was used for testing, I could take a look at it later |
Thanks for the quick reply! Big fan of your projects. |
Yes, there's something really weird going on:
I will have to debug this later. |
Yes, it's a weird bug; I'll try to make a few more tests later. |
It seems that the routine responsible for decompressing the tiles and loading them into video RAM is running out of memory in some of the images; still trying to figure out why. In order to test a possible workaround, I used RgbQuant-SMS to reduce the tile count; 1024 tiles for the image with 3 fairies and 768 for the one with a single fairy: With those two modifications, those images are showing again, though they lost some detail: Unfortunately, as said. this reduces the amount of details in the image, plus the fact that RgbQuant-SMS isn't really geared towards the Sega Genesis palette, at the moment. |
Thanks! This is all placeholder art so I'll try to direct the final art in a way that maximizes tile repetition. Hopefully the bug can be solved regardless, but it's great to at least have a metric of how pictures that don't work can be made to work. |
You're welcome; this bug shall be fixed eventually. |
I tried editing the test project with 3 new PNGs. All of them were saved with the same configuration (PNG-8, 16 colors, 320x224), yet only one of them works, despite being exported from Photoshop with identical configs. The others either don't appear or appear misaligned (in the way the Red Echidna picture also appears wrong when running the test project). Because there's no documentation of how images are converted, it's hard to troubleshoot the situation.
![bg3](https://private-user-images.githubusercontent.com/18738021/323040539-15f79b01-4fed-49d2-860c-c0274670b3cc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NjM2MDksIm5iZiI6MTcyNTY2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BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEyODk1ZTdjOWRhNWIyNjIzNTI4N2VjMTk2NGRiNjliOTM4NDJiNDFjZTc1NTkyZGIxZTg5OWVlNTEyYzk5YWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.SWv6BhVdKwINco5amSkOMOUUfnHCF52YaBUmTXcE7jo)
![bg1](https://private-user-images.githubusercontent.com/18738021/323040548-ff4173b3-6570-4eac-90ac-7d23c1ea74ea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NjM2MDksIm5iZiI6MTcyNTY2MzMwOSwicGF0aCI6Ii8xODczODAyMS8zMjMwNDA1NDgtZmY0MTczYjMtNjU3MC00ZWFjLTkwYWMtN2QyM2MxZWE3NGVhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIyNTUwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZiMmViZjFjMGFlOWM4Y2Q5YzIyOTRmMzA0NzRkNjIwYTg5MmQxYTNlNDc0ODUxNjYwOGI4M2QzNjU1NzNmZGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.pc5l7H5c925_xMTk3wPnipew_9s-0iiG3vykrIyUHSM)
![Captura de tela 2024-04-16 222757](https://private-user-images.githubusercontent.com/18738021/323040603-f16f26e0-6972-4d76-b021-48a8cfe29464.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NjM2MDksIm5iZiI6MTcyNTY2MzMwOSwicGF0aCI6Ii8xODczODAyMS8zMjMwNDA2MDMtZjE2ZjI2ZTAtNjk3Mi00ZDc2LWIwMjEtNDhhOGNmZTI5NDY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIyNTUwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE4NWRjNTA5OTQ3NDk0YTY1OWI2ZmM5Njc4Y2Y4OTE3NDMzNWQ0MjYyODRjODIyYmZmM2YwMTc0YmFjYTYxNDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Msc_kxu0-Ljbh4d7B5msLTcLmImHCTzxt6dR52JtjPo)
![Captura de tela 2024-04-16 222810](https://private-user-images.githubusercontent.com/18738021/323040608-328696b7-b9e4-4665-a0ee-189081edb7aa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NjM2MDksIm5iZiI6MTcyNTY2MzMwOSwicGF0aCI6Ii8xODczODAyMS8zMjMwNDA2MDgtMzI4Njk2YjctYjllNC00NjY1LWEwZWUtMTg5MDgxZWRiN2FhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIyNTUwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAyODY2MTBjYjMyY2Y5NjI5NWRmYWUzNzk3OGQyYmJjNGI0MzIxN2UxODdmYTJhZDhiYmZkMzJhZWQ2ZTRjYTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._4IBn1MUQEsBp0_5wlFz1WwEj5mL6yLt9qL2PJ_ryLs)
The text was updated successfully, but these errors were encountered: